Gambas Documentation - /comp/gb.qt4/_draw_style/button

/comp/gb.qt4/_draw_style/button

# _Draw_Style.Button (gb.qt4)

Sub Button ( X As Integer, Y As Integer, Width As Integer, Height As Integer, Value As Boolean [ , Flag As Integer, Flat As Boolean ] )

Draws a push button frame.

- X, Y, Width, and Height are the dimensions of the button.

- Value is TRUE if the button is pressed, FALSE if the button is depressed.

- Flag is a combination of style drawing flags.

- Flat is TRUE if the button is flat, FALSE if the button is beveled.