bgiInsertRichText

Category: BGI GUI

Syntax:

bgiInsertRichText:Int(richTextBoxID:Int, text:String)


Parameters

Returns

Int



Summary

Puts text in place of the selection, or at the caret when nothing is selected, in the format last set with bgiSetRichTextFormat, and leaves the caret after it.

Takes richTextBoxID (Int) and text (String). It works on a read-only box too: read-only stops only the user.

Returns 1 on success, 0 if rich text box not found.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn