Syntax:
set color to {value} set the mode of {browser} to [custom] [awt] set the size of {actor}/{textbox} to {size} set the text of {textbox} to {text} set set the font of {textbox} to [Serif/SansSerif/Monospaced/Dialog/DialogInput] [plain/bold/italic] [size {n}] set the text color/colour of {textbox} to {colour} set the text position of {textbox} to {left} {top} set the border of {textbox} to square/round {n} {colour}/transparent
Keyword handler:
linguist.graphics.keyword.GKSet.class
Runtime handler(s):
linguist.graphics.handler.GHSetColor.class linguist.graphics.handler.GHScrollMode.class linguist.graphics.handler.GHSetTextboxTextColor.class linguist.graphics.handler.GHSetTextboxTextPosition.class linguist.graphics.handler.GHSetTextboxText.class linguist.graphics.handler.GHSetTextboxFont.class linguist.graphics.handler.GHSetTextboxBorder.class linguist.graphics.handler.GHSetActorSize.class
Function:
The first form enables you to set the current drawing color to any valid color value. See also on draw and draw. You can only use this command inside an on draw callback.
The form set the mode of {browser} enables you to specify which of the two scrolling modes used by the ICE Browser should be applied to this browser. You'll have to experiment to find out the difference between custom and awt.
The form set the size of {item} enables you to change the size of that item.
The remaining forms deal with textboxes, enabling the content text (i.e. the displayed characters), the font, the text color and position and the border style to be specified. The {n} in the border style is the radius of the rounded corners.
Example(s):
set color to color 200 12 84 set the mode of MyBrowser to custom set the size of BigFish to 200 100 set the text of Label5 to "Contents:" set the font of Label5 to Dialog bold set the text color of Label5 to color 200 12 84 set the text position of Label5 to 4 2 set the border of Label5 to round 4 color 200 12 84