Dear experts,
I'm trying to figure out how to change the OptionGroup background field to color based on the value of the option button.
I found that the control is transparant: OptionGroup.BackStyle 0 and can be changed to normal OptionGroup.BackStyle 1 and then the interior color can be set by the BackColor property.
I'd like the OptionGroup BackColor to be green on Yes/True and red on No/False.
Can someone please help me with this code?
Thanks
Best regards,
Siegfried
I'm trying to figure out how to change the OptionGroup background field to color based on the value of the option button.
I found that the control is transparant: OptionGroup.BackStyle 0 and can be changed to normal OptionGroup.BackStyle 1 and then the interior color can be set by the BackColor property.
I'd like the OptionGroup BackColor to be green on Yes/True and red on No/False.
Can someone please help me with this code?
Thanks
Best regards,
Siegfried