Chapter Contents |
Previous |
Next |
SETFKEY |
Category: | Keys |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
CALL SETFKEY(key-name,command); |
Type: Character
Type: Character
Details |
You can use SETFKEY only in entries that have a DISPLAY window containing fields or text. You cannot use it to assign function key settings in windows that use BLOCK to display block menus.
Example |
Use FKEYNAME to return the name of a particular function key and GETFKEY to return the command that is assigned to the function key. If the command is not CANCEL, then SETFKEY assigns the CANCEL command to the function key.
INIT: keyname=fkeyname(1); command=getfkey(keyname); if (command ne 'CANCEL') then call setfkey(keyname,'CANCEL'); return;
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.