Chapter Contents |
Previous |
Next |
_EVENT_ |
Category: | System Variable |
Details | |
Example | |
See Also |
Details |
In order to use _EVENT_, you must use the DECLARE or LENGTH statement to declare it as a character variable. If _EVENT_ is not declared, the following error is produced when the _select or _objectLabel method executes:
ERROR: Expecting string (P), received SCL number (symbol '_EVENT_').
_EVENT_ has a valid value only when a window control's _select or _objectLabel method is executing. _EVENT_ can have one of the following values:
' '
(blank) |
Modification or selection |
'D' |
Double click (An 'S' select event always precedes a 'D' double click event.) |
'C' |
Command |
'P' |
Pop-up menu request |
'S' |
Selection or single click |
Example |
The following _select method prints the value of _EVENT_ when a window control is modified.
length _event_ $1; SELECT: method; call super(_self_,_select); put _event_=; endmethod;
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.