CursorItemId (Screen function)
Return the item ID of field at the cursor position (Screen class)
CursorItemId is a Callable-function that returns the numeric item ID of the ScreenField where the cursor is currently located. A ScreenField is assigned an item ID either when it is instantiated by the AddField method, or if it is (re-)specified with the Itemid method.
Syntax
[%number =] screen:CursorItemId
Syntax terms
%num | A numeric variable to contain the returned item ID. If no item ID was assigned to the screenField, zero is returned. |
---|---|
screen | A reference to an instance of a Screen object. |