ScreenField methods syntax

From m204wiki
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

%number = sfield:Column

%outSfield = sfield:DeepCopy



%currentHighlight = sfield:Highlight sfield:Highlight = newHighlight

%currentBoolean = sfield:Invisible sfield:Invisible = newBoolean

%currentNumber = sfield:Itemid sfield:Itemid = newNumber

%currentBoolean = sfield:Modified sfield:Modified = newBoolean

%currentBoolean = sfield:Numeric sfield:Numeric = newBoolean

%currentBoolean = sfield:Protected sfield:Protected = newBoolean

%number = sfield:Row

%screen = sfield:Screen

sfield:SetCursor[( [position])]

%currentString = sfield:Value sfield:Value = newString

%number = sfield:Width