What happens when the user clicks First Record with the cursor in the 72nd record in the block, as shown in the Exhibit?

View the exhibit.

In the OrderItemsForm, you have a control with a button that users can click to navigate to the first
record in the block. The button has keyboard Navigable and Mouse Navigable set to No.
You are coding a When-Button-Pressed trigger for the First Record button with the following code:
SCROLL_UP;
WHILE FORM_SUCCESS LOOP
SCROLL_UP;

END LOOP;
What happens when the user clicks First Record with the cursor in the 72nd record in the block, as
shown in the Exhibit?

View the exhibit.

In the OrderItemsForm, you have a control with a button that users can click to navigate to the first
record in the block. The button has keyboard Navigable and Mouse Navigable set to No.
You are coding a When-Button-Pressed trigger for the First Record button with the following code:
SCROLL_UP;
WHILE FORM_SUCCESS LOOP
SCROLL_UP;

END LOOP;
What happens when the user clicks First Record with the cursor in the 72nd record in the block, as
shown in the Exhibit?

A.
The cursor successfully navigates to the first record.

B.
A runtime error is encountered because there is no scroll bar for the block.

C.
The display scrolls so that the first record is visible, bur the cursor stays on the last visible
record, which should be record 10.

D.
The form goesinto aninfinite loop and has to be killed by using operating system commands.

E.
internal navigation to the first record occurs, but the visible cursor remains on record 72. You
should add the SYNCHRONIZE command to synchronize the display with theinternal state of the
form.

F.
Because there is no scroll bar, the cursor navigates only as far as the first visible record, which
is record 63.

Explanation:
SCROLL_UP built-in
Description
Scrolls the current block’s list of records so that previously hidden records with lower sequence
numbers are displayed. This action displays records that were “above” the block’s
display.SCROLL_UP puts the input focus in the instance of the current item in the displayed
record that has thehighest sequence number.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Padmanabhan

Padmanabhan

Answer A

ngayathri81

ngayathri81

A is correct answer