The jImageLamp
control is identical to the jLamp control, but instead of OnAppearance
and OffAppearance
properties, it has OnImage
and OffImage
properties to provide the appearance of the control using image files.
The OnImage
property provides the image to display when the lamp is on, and the OffImage
property provides the image to display when the lamp is off.
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 control is recommended.
jControls CF 35 supports the following image formats:
jImageLamp
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.