CursorItemId (Screen function): Difference between revisions
Jump to navigation
Jump to search
m (re-<var>) |
m (unvar) |
||
Line 6: | Line 6: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th | <tr><th>%num</th> | ||
<td>A numeric variable to contain the returned item ID. If no item ID was assigned to the <var>screenField</var>, zero is returned. </td></tr> | <td>A numeric variable to contain the returned item ID. If no item ID was assigned to the <var>screenField</var>, zero is returned. </td></tr> | ||
<tr><th | <tr><th>screen</th> | ||
<td>A reference to an instance of a <var>Screen</var> object.</td></tr> | <td>A reference to an instance of a <var>Screen</var> object.</td></tr> | ||
</table> | </table> |
Revision as of 10:26, 28 June 2011
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. |