OOPS, I meant checked, not clicked for the property. Also, the control
options you can also use besides the radio type.
Bruce
Hi Kevin,
Below are the control properties and method. After that are the only
dialog events triggered on a radio button.
I guess using a radio button control you are very limited. Only one
property which is Boolean to let you know it is checked. And the method that
forces it to be clicked. Of course being a control there are ID's associated
with the event that is inside the XML setup to identify which radio button
was clicked or checked. In other words, if the ID is looked at inside the
event procedure and that it's event corresponds to the list below, the rest
is what you decide to do with it.
If the control is a radio button.
Properties
* Checked
* LeftText
* TextAlignment
Methods
* Click
The Dialog Events for a radio button:
radiobuttonClicked
0
A radio button was clicked
radiobuttonDisable
4
A radio button was disabled
radiobuttonDoubleClicked
5
A radio button was double clicked
radiobuttonFocus
6
A radio button was focused
radiobuttonBlur
7
A radio button was blurred
Sent: Wednesday, August 17, 2011 1:10 PM
Subject: creating a dialog with radio buttons
Hi Chip:
I am trying to create a dialog in my ProofReading script in which the
user can set each of the proofreading options to his/her preference.
I have created the dialog using the UI Design App using a set of radio
buttons for each proofreading feature, and it appears on the screen
the way I had envisioned it.
I am not sure, however, how to deal with Radio buttons in an event
handler. I looked at the class 14 examples and they are very helpful,
but I need to find an example of an event handler which handles radio
buttons.
Can you, or anyone else, help me with this?
Kevin Huber