ScreenField methods syntax

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

The syntax for each of the ScreenField 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 ScreenField methods.

%currentFieldColor = sfield:Color sfield:Color = newFieldColor

%num = sfield:Column

%outSfield = sfield:DeepCopy

sfield:Delete

%currentHighlight = sfield:Highlight sfield:Highlight = newHighlight

%currentBoolean = sfield:Invisible sfield:Invisible = newBoolean

%currentNum = sfield:Itemid sfield:Itemid = newNum

%currentBoolean = sfield:Modified sfield:Modified = newBoolean

%sfield = %(ScreenField):New

%currentBoolean = sfield:Numeric sfield:Numeric = newBoolean

%currentBoolean = sfield:Protected sfield:Protected = newBoolean

%num = sfield:Row

%outsfield = sfield:Screen

sfield:SetCursor[( [position])]

%currentString = sfield:Value sfield:Value = newString

%num = sfield:Width