igiBeginPopupModal

Category: IGI

Syntax:

igiBeginPopupModal:Int(title:String)


Parameters

Returns

Int



Summary

A popup window that must be dealt with before anything else: the rest of the screen is dimmed and blocked.

Takes title (The popup's title and name).

Returns: 1 while the popup is open.

View detailed documentation online



Example
If igiBeginPopupModal("Quit?") Then
    igiText("Really quit?")
    If igiButton("Yes") Then running = False
    igiSameLine()
    If igiButton("No") Then igiCloseCurrentPopup()
    igiEndPopup()
EndIf

BambooBasic © 2026 Michael Denathorn