Chapter Contents

Previous

Next
Toolbar: _getCmd

Toolbar: _getCmd



Returns the command that runs when the current button is selected or deselected


Syntax
Details
See Also

Syntax

CALL NOTIFY (toolbar-name, '_getCmd', button-name, down-cmd, up-cmd);

Argument Type Description
button-name
C specifies the name of the button
down-cmd
C returns the command that runs when the button is selected
up-cmd
C returns the command that runs when the button is deselected; if the button is a push button, you must pass in a variable even though no command has been specified


Details

If you specify only one argument for this method, it is assumed to be cmd-string and _getCmd behaves as described in the Widget class and returns the command for the entire toolbar.

If the button has Check Box or Radio Group behavior, another command can be run when the button is explicitly deselected ( Check Box) or another button is selected ( Radio Box).

See Also

_getCmd in the Widget class.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.