Parameters
- g
- GDI+ graphics surface
- r
- Image rectangle
- backColor
- Background color
- foreColor
- Foreground (text) color
- font
- Font of text
- halign
- Horizontal alignment
- valign
- Vertical alignment
- pressed
- Whether the button is pressed
- focus
- Whether it is in focus
- text
- Text of button when not pressed
- textDown
- Text of pressed button
- nAlign
- Alignment of text with respect to image in button
- textOrientation
- Orientation of text
- wordWrap
- Whether text wraps to multiple lines
- shadowSize
- Size of the shadow around the button
- darkColor
- Color of the shadow (dark part of button)
- lightColor
- Color of light part of button
- pictUp
- Picture (image) when button is not pressed
- pictDown
- Picture (image) when button is pressed
- bLocked
- Whether the cell is locked
- prefix
- Whether the ampersand character underlines text
- style
- Determines the button style
- mouseOver
- True if mouse is over button