I have seen answers for capturing events from user-created controls on wizard pages, but how do you do it for controls created as a result of a call to CreateInputOptionPage?
For example:
InputOptionPage := CreateInputOptionPage (wpWelcome,
'Options',
'Select your option',
'Please choose from one of the three options below:'
True, False);
InputOptionPage.Add ('Option 1') ;
InputOptionPage.Add ('Option 2') ;
InputOptionPage.Add ('Option 3') ;
will create an option page with a radio group on it. I don't intend selecting any of the options by default and want to force the user to do so. As a visual clue I want to gray out the "Next" button while none are selected.
How do I add an OnClick
handler for the radio buttons?