To customize the Program Painter

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
From the Editors page
On the Editors preferences page, you can set background and foreground colorization options for all of the AMB painters, and turn on basic color mode. You can also change the cursor style to a cross-hair cursor, and set a color and size for it.
  1. From the AppMaster Builder perspective, click AppMaster Builder preferences page .
  2. In the left pane, click Editors.
  3. Set options as desired; then click OK.

    For complete details on each field and control on this page, see the Editors user interface reference topic.

    Note: If you prefer to view code using a single background and a single foreground color, set these colors using the controls in the Basic color mode group. When specified, basic color mode overrides colorization settings specified on the Editors - Program Painter - Colorization page.
From the Editors - Program Painter page
On the Editors - Program Painter preferences page, you can set options that dictate how code is entered into the painter.
  1. From the AppMaster Builder perspective, click AppMaster Builder preferences page .
  2. In the left pane, expand Editors; then click Program Painter.
  3. Set options as desired; then click OK.

    For complete details on each field and control on this page, see the Editors - Program Painter user interface reference topic.

From the Editors - Program Painter - Colorization page
On the Editors - Program Painter - Colorization page, you set colorization options for specific code structures.
Note: If you prefer to override the color scheme defined here and instead edit code using a single background and a single foreground color, set these colors on the Editors preferences page using the controls in the Basic color mode group.
  1. From the AppMaster Builder perspective, click AppMaster Builder preferences page .
  2. In the left pane, expand Editors > Program Painter; then click Colorization.
  3. Check Enable colorization.
  4. To change the color for a structure:
    1. Select a structure on the Appearance color options list.
    2. Double-click the Color field.
    3. Select a color; then click OK.
  5. To define a custom color:
    1. On the Color dialog box, click Define Custom Colors.
    2. To define a color, either use the cross hairs and slider, or type a value into each field.
    3. Click Add to Custom Colors.
  6. When all colors are set as desired, click OK.

    For complete details on each field and control on this page and its associated dialog boxes, see the Editors - Program Painter - Colorization and Color dialog box user interface reference topics.

From the Editors - Program Painter - Content Assistant page
On the Editors - Program Painter - Content Assistant preferences page, you can set options to enable the content assistant and customize how it works.
  1. From the AppMaster Builder perspective, click AppMaster Builder preferences page .
  2. In the left pane, expand Editors > Program Painter; then click Content Assistant.
  3. Set options as desired; then click OK.

    For complete details on each field and control on this page, see the Editors - Program Painter - Content Assistant user interface reference topic.

From within the Program Painter
While you are running the Program Painter, you can toggle the cross-hair cursor on and off, and customize its size and color.
  1. To toggle the cross-hair cursor on or off, press Alt + + (on the numeric keypad) or Alt + +/= (on the character keyboard).
  2. While toggled on, use the following short-cut key combinations to change the size and/or color of your cross-hair cursor:
    Alt + 1 through Alt + 9 Sets the line thickness from 1 to 9 pixels.
    Alt + 0 (zero) Changes the color of the cursor. Each time you press this combination, the color changes and continues to change with entered each key-stroke combination until all defined colors have been displayed; then the sequence begins again.