ActionKey (Screen function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:Screen:ActionKey subtitle}} | {{Template:Screen:ActionKey subtitle}} | ||
The <var>ActionKey</var> | The <var>ActionKey</var> [[Classes and Objects#readWrite|readOnly]] property returns an <var>[[Screen classes#ActionKey enumeration|ActionKey]]</var> enumeration which is the keyboard key that activated the last screen read. | ||
==Syntax== | ==Syntax== |
Revision as of 22:25, 16 November 2012
Return name of key that activated last screen read (Screen class)
The ActionKey readOnly property returns an ActionKey enumeration which is the keyboard key that activated the last screen read.
Syntax
%key = screen:ActionKey
Syntax terms
%key | A declared ActionKey enumeration value. |
---|---|
screen | A reference to an instance of a Screen object. |
Usage notes
- The ActionKey enumeration ToNumber method provides integer values that you can use in a value-testing loop in conjunction with the User Language Jump statement, as demonstrated in "Screen object sample code".