CursorItemId (Screen function)

From m204wiki
Revision as of 19:02, 31 January 2011 by Tom (talk | contribs) (→‎CursorItemID function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This callable function returns the numeric item ID of the ScreenField where the cursor is located. A ScreenField is assigned an item ID either when it is instantiated by the AddField method (“AddField” on page 894), or if it is specified with the Screenfield Itemid method.

  [%num =] %screen:cursorItemID
CursorItemID syntax
%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.