Category: BGI GUI
Syntax:
bgiSetRichTextFormat:Int(richTextBoxID:Int, bold:Int, italic:Int, underline:Int, fontSize:Int, fontName:String, colourR:Int, colourG:Int, colourB:Int)
Int
Sets the format for what is appended, inserted and typed from now on, and applies it to the selection if there is one.
Takes richTextBoxID (Int), bold (Int), italic (Int), underline (Int), fontSize (Int) in points (0 or less is 10), fontName (String) (empty is Arial), colourR (Int), colourG (Int), and colourB (Int). Text typed in place of a selection keeps the selection's format instead, as on Windows.
Returns 1 on success, 0 if rich text box not found.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn