Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Objects and Properties > SCROLL
|
|
Purpose
|
.Scroll allows you to specify the visual appearance of the vertical scroll bar in a Paging Cycle object.
|
Syntax
|
ObjectReference.Scroll = Value
|
Operation
|
ObjectReference is the Tag Name of the Paging Cycle object
Value is an alphanumeric variable or string literal
|
Remarks
|
The value of this property can only be set, not retrieved.
The value can be one of Classic, Standard or Off.
Classic option displays the vertical scroll bar in traditional PROIV style.
Standard setting displays a scroll bar similar in appearance and behaviour to a Windows scroll bar. Clicking on the scroll bar arrows will move through the display one record at a time. Dragging the scroll bar thumb will advance or retreat the display to the record on which the mouse is released (a tool tip shows the current record). The size of the thumb in relation to the size of the scroll bars indicates the ratio of the number of records displayed on the Paging Cycle to the number of records seen so far by the Client.
The size of the thumb can be controlled by the .AutoCount and .RecordCount command.
Off setting turns off the display of the scroll bar. Arrow keys or Function Keys need to be used to move the cursor up and down the Paging Cycle.
The default value is Classic.
The retrieved value is returned in upper case.
|
Example
|
To set the scroll bar style to Standard for a Paging Cycle whose Tag Name is OrderScreen:
OrderScreen.Scroll = "Standard"
|
Comment on this topic
Topic ID: 510086