radio_group/get selected button [message #77740] |
Fri, 09 November 2001 01:44 |
Joe
Messages: 138 Registered: November 1999
|
Senior Member |
|
|
hi,
is there a built-in function to get the selected button of an radio group or do i have to parse the checked property of each radio button until i've found the checked button.
thanx
----------------------------------------------------------------------
|
|
|
Re: radio_group/get selected button [message #77741 is a reply to message #77740] |
Fri, 09 November 2001 03:52 |
Shilpa
Messages: 59 Registered: November 2001
|
Member |
|
|
Assumptions: A radio group called RG is in a block called CONTROL. There are 2 radio buttons associated with this radio group called RB1 and RB2 and the values associated with RB1 & RB2 are 'FIRST' and 'SECOND' respectively.
IF :CONTROL.RG = 'FIRST' THEN
MESSAGE('The first radio button is selected.');
ELSIF :CONTROL.RG = 'SECOND' THEN
MESSAGE('The second radio button is selected.');
ELSE
MESSAGE('Nothing is selected');
END IF;
Hope this helps!!!
----------------------------------------------------------------------
|
|
|