ButtonGadget()
Syntax
ButtonGadget(#Gadget, x, y, Width, Heigth, Text$ [, Flags])
Description
Create a button gadget in the current GadgetList. #Gadget will be the number returned by EventGadgetID() command.
'Flags' are optionnals and can be composed of one or several of the following constants:#PB_Button_Right : Aligns the button text to right #PB_Button_Left : Aligns the button text to left #PB_Button_Default : Makes the button look as the default button of the window #PB_Button_MultiLine : If the text is too long, it will be displayed on several line #PB_Button_Toggle : Creates a toggle button: one click makes it pushed, another will release it
Supported OS
Windows, AmigaOS, Linux