Button controls create buttons that respond to simple click events with graphical presentations for the normal, hover and pressed states.
They are not connected to the database or any direct window functionality, but are useful for utility purposes.
If present, this function is called when the buttoncontrol is pressed. (i.e. mouse clicked and released on button)
Sets the color used to draw the icons. The color is used to modulate the pixel colors of the bitmap images.
A color value in the form "AARRGGBB" where the components are hexadecimal digits specifying the alpha (transparency),
red, green and blue channels, respectively, in the range 0 .. 255. If alpha is zero or not defined, FF is assumed.
Sets the names of the icon resources used for drawing the state icons in the contol. Setting them through this function overrides the
values given in the control definition.
The icon for the normal state
The icon for the pressed state
The icon for the hover state