bgiSetRichTextBoxText

Category: BGI GUI

Syntax:

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


Parameters

Returns

Int



Summary

Replaces the whole text of a rich text box. The new text is in the control's own font, and the caret goes to the start.

Takes richTextBoxID (Int) and text (String). A line break may be Chr(13)+Chr(10), Chr(13) or Chr(10); each counts as one character.

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

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn