Top_Item - DfBaseList

The item that is first in the display window

Type: Property

Access: Read/Write

Data Type: Integer

Parameters: None

Syntax
 Property Integer Top_Item

Read Access: Get Top_Item to IntegerVariable
Write Access: Set Top_Item to IntegerVariable/Value


Description

The top_item of a menu class object is the item that is first in the display window. That item may change through scrolling or direct navigation, i.e., incremental search. If the programmer sets the top_item, then the list will adjust itself to display the new item selected at the top of the list. If the selected item is outside the range of valid item numbers, then the operation is ignored. If the operation results in the current_item being moved off the screen, then the current_item is set to the top_item.

set top_item to (current_item(self)  5)
 
if top_item gt 10 send list_full