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

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.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/8c21bf5937d9d96e85257324003b934b.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1