Maintaining Common Properties

Use the Common page of the Properties dialog, accessed by clicking the Common icon, to define the common properties for your form or control. The Common page is displayed when you first access the Properties dialog. (For an example of the Common page, see "Maintaining Properties for Your Form or Control", earlier in this chapter.)

To change the common properties of your form or control

  1. Click the property that you want to change. The property is then highlighted and the associated common property list box or text box enables you to make a selection or entry.

  2. If a text box is associated with the property, make your change by overwriting the existing value in the text box.

  3. If a list box is associated with the property, click on the list box and then make your selection from the menu that is displayed.

  4. If you click the non-default selection in the list box for the dragCursor property or the mouseCursor property, the common File Open dialog is displayed, to enable you to select your image file.

  5. When you click on the skinCategoryName property, a combo box with a list of skin category names is displayed.

    The list contains only those category names that are assigned to a skin of the same type or superclass type as the window currently selected in the Painter. The list box also contains a blank entry, to enable you to clear the current skin category name. When the required skin has not been loaded into the current development environment, you can also specify a skin category name that is not displayed in the list.

To change the parent of a control

  1. Click on the control whose parent you want to change. The property is then highlighted.

  2. Select the parent property and then select the Change item in the drop down list box that is then displayed. This list box enables you to change the direct parent of the control to the form or to another control. The Change Parent dialog is then displayed.

    The control selected in the JADE Painter is displayed in the Control text box, for informational purposes only. (If you want to change the parent of another control, you must first close the Change Parent dialog and repeat steps 1 and 2 in this process.)

    The current parent object of the selected control is highlighted in the Parent list box.

  3. In the Parent list box, select the form or control that you want the selected to reference at run time.

  4. Click the OK button. Alternatively, click the Cancel button to abandon your selection.

The display properties of a control are relative to the parent control. Changing the parent form or container of a control affects the placement and visibility of the child control.