bgiLoadRichTextFile

Category: BGI GUI

Syntax:

bgiLoadRichTextFile:Int(richTextBoxID:Int, filepath:String)


Parameters

Returns

Int



Summary

Loads RTF (Rich Text Format) file into rich text box with formatting.

Takes richTextBoxID (Int) and filepath (String).

Returns 0 if file open fails.

View detailed documentation online



Example

;No example implemented yet



On the Web

Reads from the web file store (the browser's local storage). RTF keeps its formatting; any other file is read as plain text. To read a file from the user's computer, use bgiImportFileWeb first. See BGI on the web.


BambooBasic © 2026 Michael Denathorn