Radio buttons checked status not working
Posted: Mon Oct 24, 2011 8:04 am
I've made a custom dialog with 3 radio controls on it. These correctly bind to underlying script variables and I can detect them correctly in my code.
However, whilst the dialog is visible I want to enable/disable certain other controls on the dialog according to which radio button is selected. Specifically I want to enable an edit box and browse button when the third radio button is chosen.
I'm fairly sure I should be able to accomplish this using the object rules settings for the dialog. I added rules for each RadioButton.Checked proptery to set the various other control.Enabled to True/False but it doesn't work.
The problem is the radio buttons don't ever seem to be marked as 'Checked'. I've tried Checked = TRUE, Checked = True and Checked = 1. Am I missing something obvious?
Attached is a screenshot of my dialog and rule behaviours.
I can supply the form code or sample project if you wish.
I'm using IA9R2SP3 btw.
Thanks kindly.
However, whilst the dialog is visible I want to enable/disable certain other controls on the dialog according to which radio button is selected. Specifically I want to enable an edit box and browse button when the third radio button is chosen.
I'm fairly sure I should be able to accomplish this using the object rules settings for the dialog. I added rules for each RadioButton.Checked proptery to set the various other control.Enabled to True/False but it doesn't work.
The problem is the radio buttons don't ever seem to be marked as 'Checked'. I've tried Checked = TRUE, Checked = True and Checked = 1. Am I missing something obvious?
Attached is a screenshot of my dialog and rule behaviours.
I can supply the form code or sample project if you wish.
I'm using IA9R2SP3 btw.
Thanks kindly.