Current_Item - DfBaseList
The object that the end user is currently pointing to
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer Current_Item
| Access Type | Syntax |
|---|---|
| Read Access: | Get Current_Item to IntegerVariable |
| Write Access: | Set Current_Item to IntegerVariable/Value |
Description
The current_item of an object is the object that the end user is currently pointing to. Each menu has a current item at all times. The constant current is a shorthand way of identifying the current item. When users move from one item to the next, the interface will send the set current_item message to the focus. If the object needs to scroll, the screen will be updated immediately. The message item_change is also triggered by this event.
set Current_Item to 5
if (Current_Item = 7) ;
set Current_Item to 0