comp • gb.qt4 • style • paintbutton

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 ] )

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.