JadeSkinControl Class and Subclasses

The JadeSkinControl class is the abstract superclass that provides the definition of elements common for each control that can be skinned.

Use the properties of the JadeSkinArea class to define the image drawn for the active border and the inner (client area) of each control. When erasing the inner area of a control:

  1. If the control backBrush property of the form is not null, the inner area is erased using that brush.

  2. If the control skin has a JadeSkinArea class imgInner property value that is a brush, the inner area is erased using that brush.

  3. If the backColor property of the skin area is not Default_Color and the backColor property of the control is the default value or the skin was set by using the Control class setSkin method, erase using the backColor property value of the skin.

  4. If the value of the backColor property of the control is Color_3DFace and the form of the control has a skin whose backColor property is not set to Default_Color, the inner area is erased using the backColor property value of the form’s skin.

  5. Erase using the backColor property value of the control.

  6. If the control was erased using a color and the skin of the control has an inner image defined in the JadeSkinArea class imgInner property that is not a brush (that is, the JadeSkinArea class innerIsBrush property is set to false), that image is drawn centered in the inner area.

Skins do not apply to the ActiveXControl, MultiMedia, and Ocx control classes, as these are totally drawn by the controls themselves.

If an application is active with a skin set, a second application initiated from the same jade.exe executable is now drawn using the current Windows theme if that application does not have a skin set.

For details about the class constants and properties defined in the JadeSkinControl class, see "JadeSkinControl Class Constants", and "JadeSkinControl Properties", in the following subsections. For details about defining and maintaining skins, see "Defining and Maintaining JADE Skins at Run Time", in Chapter 2 of the JADE Runtime Application Guide.

JadeSkinWindow

JadeSkinBaseControl, JadeSkinBrowseButtons, JadeSkinButton, JadeSkinCheckBox, JadeSkinComboBox, JadeSkinFolder, JadeSkinFrame, JadeSkinGroupBox, JadeSkinJadeDockBase, JadeSkinJadeEditMask, JadeSkinJadeMask, JadeSkinJadeRichText, JadeSkinLabel, JadeSkinListBox, JadeSkinOleControl, JadeSkinOptionButton, JadeSkinPicture, JadeSkinProgressBar, JadeSkinScrollBar, JadeSkinSheet, JadeSkinStatusLine, JadeSkinTable, JadeSkinTextBox