Home » Oracle » 1z0-151 » What message will be displayed when the button is clicked.
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:
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.
A. -4
B. 1 -2 -3
C. 1 -field1 -Check Values
D. Field1 -1 – Check Values
E. 1 – CONTROL.FIELD1 – CONTROL.FIELD1
F. 1 – CONTROL.FIELD1 – CONTROL.CHECK_VALUES
G. :field1 – :SYSTEM.cursor_item – :SYSTEM.trigger_item
Correct Answer: F
Explanation/Reference:
Explanation:
*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.Fieldl, as the focus is in Fieldl.
*SYSTEM.TRIGGERJTEM
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.
Download Printable PDF. VALID exam to help you PASS.
|
|