bgiCreateLink

Category: BGI GUI

Syntax:

bgiCreateLink:Int(displayText:String, url:String, x:Int, y:Int, width:Int, height:Int, parent:Int, isEvent:Int)


Parameters

Returns

Int



Summary

Creates a link: underlined text that opens a web address when clicked.

Takes displayText (String), url (String), x (Int), y (Int), width (Int), height (Int), parent (Int) and isEvent (Int).

Returns gizmo ID, or 0 if parent not found.

With isEvent false a click opens the address in the desktop's web browser. With it true nothing opens; instead the click raises BGI_EVENT_COMMAND_CLICK with ID BGI_EVENT_ID_LINK, and bgiGetLinkURL gives the address.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn