Radio buttons [message #590281] |
Tue, 16 July 2013 11:20 |
|
thelearner
Messages: 133 Registered: April 2013 Location: INDIA
|
Senior Member |
|
|
I have some doubts about Radio buttons,
1) how to validate radio buttons in WHEN-RADIO-CHANGED?
2) how to disable a radio button?
3) how to disable a text item when a radio button is un-checked.
4) how to assign default value to radio button like(1,2,3...) or(A,B,CD,...)
Thanks & Regards,
The Learner.
|
|
|
Re: Radio buttons [message #590292 is a reply to message #590281] |
Tue, 16 July 2013 15:13 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
- What would you validate for a radio button? It can't have any other value than these you designed
- SET_ITEM_PROPERTY built-in, ENABLED set to FALSE
- You can't "uncheck" a radio button (but you can do that with a checkbox). Anyway: the same built-in as in 2)
- In its Property Palette or programatically, as
:block.radio_button_item := 1;
|
|
|