|
VADELIA |
|
|
|
(I) (C) |
Section for use
SFTKY_PROCESS
Syntax
SFTKY GraphicalObject FunctionKey ContextSensitiveMenuOption
FunctionKey |
→ |
01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
||
| 19 | 20 | 21 | 22 | 23 | 24 | None |
||
ContextSensitiveMenuOption |
→ |
AlphaConstant | None |
Description
This instruction is used to execute a sequence of VADELIA instructions where a graphic object GraphicObject is in focus (pre-selected) and the user has pressed the function key FunctionKey associated with the softkey, or has selected the option ContextSensitiveMenuOption from the object's context-sensitive menu, where applicable.
The function key FunctionKey is optional. By default, the key used is the one defined in the standards.
In case the instruction concerns a graphic object placed in a list, the system uses the current line's values to initialize the context, at the SFTKY instruction level. Similarly, in the END_SFTKY instruction, the system uses the context's values to update the current line's fields.
Example
SFTKY CUSTOMER_ID
CALL CUSTOMER_PGM
END_SFTKY
SFTKY CUSTOMER_ID 05
CALL CUSTOMER_PGM
END_SFTKY
SFTKY CUSTOMER_ID 05 'List'
CALL CUSTOMER_PGM
END_SFTKY
* a context-sensitive option 'List' is automatically assigned to the CUSTOMER_ID object
* the CUSTOMER_PGM program is called when executing this option or by pressing function key F5