bgiOpenFolderDialog

Category: BGI GUI

Syntax:

bgiOpenFolderDialog:String(title:String, defaultPath:String, window:Int)


Parameters

Returns

String



Summary

Displays a Windows Browse For Folder dialog and returns the selected folder path.

Takes title (String), defaultPath (String), and window (Int).

Returns folder path as string on success, empty string if user cancels or window not found.

View detailed documentation online



Example

;No example implemented yet



On the Web

Not possible: a browser can't give a page a folder path. It returns "" (and warns once in the browser console). See BGI on the web.


BambooBasic © 2026 Michael Denathorn