Screen methods syntax

From m204wiki
Revision as of 15:44, 16 February 2011 by DmeWiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

The syntax for each of the Screen class methods is shown below.

Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of Screen methods.

%key = screen:ActionKey

[%sfield =] screen:AddField[( [Row= number], [Column= number], - [Width= number], [Color= fieldColor], - [Protected= boolean], [Highlight= highlight], - [Numeric= boolean], [Modified= boolean], - [Invisible= boolean], [Autoskip= boolean], - [Itemid= number], [Value= string])]

%number = screen:Columns

%outscreen = screen:Copy

%currentNum = screen:CursorColumn screen:CursorColumn = newNum

[%num =] screen:CursorItemId

%currentNum = screen:CursorRow screen:CursorRow = newNum

%outscreen = screen:DeepCopy

%currentActionKey = screen:MaxActionKey screen:MaxActionKey = newActionKey

%screen = %(Screen):New

%currentNum = screen:NewFieldColumn screen:NewFieldColumn = newNum

%currentNum = screen:NewFieldRow screen:NewFieldRow = newNum

%currentFieldColor = screen:ProtectedColor screen:ProtectedColor = newFieldColor

%currentHighlight = screen:ProtectedHighlight screen:ProtectedHighlight = newHighlight

[%key =] screen:Read[( [string])]

%number = screen:Rows

%currentFieldColor = screen:UnprotectedColor screen:UnprotectedColor = newFieldColor

%currentHighlight = screen:UnprotectedHighlight screen:UnprotectedHighlight = newHighlight