PxPlus User Forum
Main Board => Discussions => Programming => Topic started by: James Zukowski on May 17, 2022, 11:42:18 AM
-
Is there any way to obtain the properties for a specific entry in a Radio_Button group? For example, how could I determine whether RB.Ctl:3 is disabled or hidden?
We've got some older programs that will be updated in the future. When they're all done, we'd like to simply remove or hide the specific button that refers to those programs and have conditional references adjust the text accordingly.
Any ideas?
-
If your radio buttons are called rb, then you can check the individual properties by setting the id property to the button index:
rb.ctl'id=1
PRINT rb.ctl'enabled
-
Just what I needed. Thanks!