Radio Buttons (OpenInsight 32-bit Specific)
At 26 JUL 2007 06:50:43AM David E Schranz wrote:
I can change the Back colour of individual radio buttons (in a radio group) but I haven't managed to change the Fore Colour. Could I be doing something wrong? Is this possible?
I need to do this mainly because disabling the radio group gives a hardly legible readout (washed out grey) so at least I would like to play with colour for a radio group bound to a symbolic field for its individual buttons. Any help would be appreciated.
At 27 JUL 2007 06:13AM Paul Evans wrote:
Hi David,
Do you mean like this?
* Disable the control
call set_property( @window : ".RADIO_1", "ENABLED", 0 )
* But we always want the the labels to be enabled…
call set_property( @window : ".RADIO_1.RADIO_1", "ENABLED", 1 )
call set_property( @window : ".RADIO_1.RADIO_2", "ENABLED", 1 )
At 27 JUL 2007 06:25AM Paul Evans wrote:
Taking this one step further, we can also disable individual radio buttons within a group…
* Enable button 1
call set_property( @window : ".RADIO_1.RADIO_1", "ENABLED", 1 )
* Disabled button 2
call set_property( @window : ".RADIO_1.RADIO_2", "ENABLED", 0 )
* Enable button 3
call set_property( @window : ".RADIO_1.RADIO_3", "ENABLED", 1 )
* Enable the control
call set_property( @window : ".RADIO_1", "ENABLED", 1 )
At 31 JUL 2007 03:11AM David E Schranz wrote:
Yes, that did it, thanks.