Defining and Maintaining TextBox Control Skins

The Controls sheet, shown in the following image, is displayed when the TextBox control is selected in the Control Type combo box.

The list of controls for the TextBox control is then displayed in the Control type skin List table.

To define or maintain a text box control skin

  1. Perform the actions that you require to define a TextBox control skin or change an existing skin. For details about the areas of the Controls sheet that are common to all control types, see "Using the Controls Sheet".

  2. If you do not want a default background color for hint text in a text box, uncheck the Default hint backColor check box. The common Color dialog is then displayed, to enable you to select the hint background color that you require for your text box skin. Alternatively, click the Set button at the right of the check box if you want to change the default hint background color by selecting the required value in the common Color dialog.

    The default value of #80000000 means that the default text box hint background color defined by the TextBox class hintBackColor property value is used, but you can select your required hint background color by unchecking this check box and then selecting a color or defining your own custom color in the common Color dialog that is displayed.

    The value applies only if the TextBox class hintText property is not null (""), the hint text is displayed (that is, the text box is empty), and the JadeSkinTextBox class hint value is not #80000000 (the default). The property value is also ignored when the hint text is displayed and the text box text is disabled, in which case the text box is drawn in its disabled state (with the hint text still displayed).

  3. If you do not want a default foreground (text) color for hint text in a text box, uncheck the Default hint foreColor check box. The common Color dialog is then displayed, to enable you to select the hint foreground color that you require for your text box skin. Alternatively, click the Set button at the right of the check box if you want to change the default foreground hint text color by selecting the required value in the common Color dialog.

    The default value of #80000000 means that the default text box hint foreground color defined by the TextBox class hintText property value is used, but you can select your required hint foreground color by unchecking this check box and then selecting a color or defining your own custom color in the common Color dialog that is displayed.

    The value applies only if the TextBox class hintText property is not null (""), the hint text is displayed (that is, the text box is empty), and the JadeSkinTextBox class hint value is not #80000000 (the default). The property value is also ignored when the hint text is displayed and the text box text is disabled, in which case the text box is drawn in its disabled state (with the hint text still displayed).