Radiobuttons not responding

ValDog

Active Member
Licensed User
Longtime User
I have three radiobuttons in a panel, all set to Enabled and Visible in the Designer. Checked is set to True for one of them and to False for the other two. When I compile and run the program, they display just fine, but do not respond to a touch. Any suggestions?
 
Yes, I've created the events - generating members for the CheckedChange event for each radiobutton.
 
Upvote 0
There is always a chance of forgotten pieces of code somewhere, disabling the radio buttons, while it could also be a disabled panel.
 
Upvote 0
OK, I've stripped my code down to the bare essentials. Once running, select Configure from Menu, scroll down to last panel to see the subject radiobuttons.
Thanks for looking at this.
 

Attachments

Upvote 0
In the Config Activity you must repalce in these lines:
Code: Copy
rb10cm.Enabled = Main.bGP10m
rb1m.Enabled = Main.bGP1m
rbContact.Enabled = Main.bGPContact
Enabled by Checked !
Code: Copy
rb10cm.Checked = Main.bGP10m
rb1m.Checked = Main.bGP1m
rbContact.Checked = Main.bGPContact
The three variables are False so your RadioButtons are disabled and won't work !

Best regards.
 
Upvote 0
As I've said earlier, there should be a piece of code disabling the radioButtons. Check your updateSetup sub in config for these lines:
Code: Copy
rb10cm.Enabled = Main.bGP10m
    rb1m.Enabled = Main.bGP1m
    rbContact.Enabled = Main.bGPContact
I suspect you should change enabled to checked.
 
Upvote 0
Back
Top