Style.PaintButton (gb.qt4)

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

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.