View the Exhibit to examine the form.
The text items (Field1, Field2, and Field3) and the button (Check_Values) are in the CONTROL block. The Mouse Navigate property of the button has been set to No.
The following code as been written in a When-Button-Pressed trigger on the Check_Values button:
MESSAGE(:field1| | ' - ' | | :SYSTEM.cursor_item | |
' - ' | | :SYSTEM.trigger_item);
With the focus in Field1 and the values 1, 2, and 3 in the text items, what message will be displayed when the button is clicked.
* SYSTEM.CURSOR_ITEM
Represents the name of the block and item, block.item, where the input focus (cursor) is located.
The value is always a character string.
In this scenario the value is CONTROL.Field1, as the focus is in Field1.
* SYSTEM.TRIGGER_ITEM
Represents the item (BLOCK.ITEM) in the scope for which the trigger is currently firing. When referenced in a key trigger, it represents the item where the cursor was located when the trigger began. The value is always a character string.
In this scenario the value is CONTROL.CHECK_VALUES, as the CHECK_VALUES button is being clicked.
Currently there are no comments in this discussion, be the first to comment!