User Tools

Site Tools

한국어

jcontrols_cf35:jimagebutton

jImageButton

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.

PressedImage and ReleasedImage Properties

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:

  • PNG, 32-bit, 96DPI
  • PNG, 24-bit, 96DPI
  • PNG, 32-bit, 72DPI
  • PNG, 24-bit, 72DPI
  • JPG, 96DPI
  • JPG, 72DPI
  • BMP, 24-bit, 96DPI
  • BMP, 24-bit, 72DPI

Text Features

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.

jcontrols_cf35/jimagebutton.txt · Last modified: 2016/04/14 11:03 (external edit)