bgiGetRichTextCaretPosition

Category: BGI GUI

Syntax:

bgiGetRichTextCaretPosition:Int(richTextBoxID:Int)


Parameters

Returns

Int



Summary

Gets the current caret (cursor) position in a rich text box.

Takes richTextBoxID (Int).

Returns cpMin (caret position at selection start) on success, 0 if rich text box not found.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn