![]() Chapter Contents |
![]() Previous |
![]() Next |
| Radio Box: _getValue |
| Inherited | from Widget |
| Syntax | |
| Details | |
| Example |
Syntax |
| CALL NOTIFY (radio-box-name, '_getValue', button-value); |
| Argument | Type | Description |
|---|---|---|
| button-value |
N | returns the numeric value assigned to the active button. If the active button does not have a value, then the number of the active button is returned. |
| Details |
If a radio box has been assigned a character value in the Value on Selection window, the _getValue method causes a program halt. Use the _getText method to return the value of a radio box that has a character value.
| Example |
_getValue returns the value of the active station in RBOX1 and assigns it to the variable VALUE. Each station in RBOX1 represents a different number of guests at a dinner party.
call notify('rbox1','_get_value_',value);
_msg_='You have made reservations for '
|| value || ' guests.';
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.