The jImageButton
control is identical to the jbutton control, but instead of PressedAppearance
and ReleasedAppearance
properties, it has PressedImage
and ReleasedImage
properties to provide the appearance of the control using image files.
The PressedImage
property provides the image to display when the button is pressed, and the ReleasedImage
property provides the image to display when the button is not pressed.
Currently the image does not scale with the size of the form and is always aligned to the top-left corner. Therefore, using an image the with the precise dimensions of the form is recommended.
jControls CF 35 supports the following image formats:
jImageButton
employs the same text features used by many of the other controls in the jControls CF35 library including ForeColor
, TextOffset
, TextAlignment
, and TextWrap
. See Text Features for more information.