"bold"
Sets the font to bold.
Synopsis
shape.bold(bool mode);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
mode |
TRUE = bold FALSE = normal |
Description
Sets the font to bold.
Example
Sets the font of a textEdit to bold. Note that you have to select the text if you set the text to bold using a button. If you, however, set the font to bold in the initialize script, the font is set to bold automatically.
main()
{
TEXT_EDIT1.bold(TRUE);
}
Assignment
TextEdit