![]() Chapter Contents |
![]() Previous |
![]() Next |
| Toolbar: _setCmd |
| Syntax | |
| Details | |
| See Also |
Syntax |
| CALL NOTIFY (toolbar-name, '_setCmd', button-name, down-cmd, up-cmd); |
| Argument | Type | Description |
|---|---|---|
| button-name |
C | specifies the name of the button |
| down-cmd |
C | specifies the command to run when the button is selected |
| up-cmd |
C | specifies the command to run when the button is deselected; if the button is a push button, enter a null value (' ') |
| Details |
The command that runs depends on the selection style of the button and the type of action:
| If the button is a... | Descriptione user... | Then... |
|---|---|---|
| push button | selects the button | down-cmd runs |
| check box | selects the button | down-cmd runs |
| deselects the button | up-cmd runs | |
| button in a radio group | selects the button | down-cmd runs |
| selects another toolbar button in the radio group | up-cmd runs |
| See Also |
_setCmd in the Widget class
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.