T O P I C R E V I E W |
peter.cook |
Posted - 10/08/2005 : 03:15:17 AM Origin Version (Select Help-->About Origin): 7.5SR5 Operating System: Win 2000
Hi,
I want to alter buttons eg simple text buttons at runtime and so have a general question as to what can be done via coding. The reason is I would like to share templates across similar appplications which have different requirements.
My immediate example is that I can change numitems (eg to 1) property but am then left with a large background corresponding to the original width.
The next requirement would be to change the text and code behind the button.
Any help would be great thanks.
Cheers,
Pete
|
1 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 10/08/2005 : 07:46:54 AM Hi Pete,
UIM objects can be sized and moved with standard object properties... tbutn.width, tbutn.height, tbutn.left and tbutn.top.
tbutn.l1$="Button Text";
Button code is in the Label Control box. The only way to change it is to put all action in a file... run.section(File,Section) ...and edit the file.
Mike Buess Origin WebRing Member |
|
|