09-06-2010, 05:10 PM
If you want to declare/set a global variable before showing the toolbar, you can run the toolbar from a function:
Function toolbar_launcher
Toolbar Toolbar547
Function toolbar_launcher
int+ GlobalVariable=0
mac "Toolbar547"
;;or
;mac "toolbar" win("window to which the toolbar will be attached")
Toolbar Toolbar547