General information
Category:
Coding, syntax & commands
Title:
Where is an option group's value updated?
Does anyone know how an option group detects which option button was selected and how it updates it's Value accordingly?
I want a form to return Form.OptionGroup.Value when a user selects a button by pressing enter. If I trap the enter in the button's keypress event, the OptionGroup's value has not yet been updated. However, if I try trapping via the InteractiveChange event of the OptionGroup, I miss out when the user presses enter on the first item in the list (because it is selected by default so no change took place).
I could set the initial value of the first button to 0 instead of 1 but I'd prefer to find a way around that if I could.
Any ideas?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only