[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== Radio Buttons (OpenInsight 32-bit Specific) ====
=== At 26 JUL 2007 06:50:43AM David E Schranz wrote: ===
{{tag>"OpenInsight 32-bit Specific"}}
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.
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=8C21BF5937D9D96E85257324003B934B|View this thread on the forum...]]