Using native pictures

Follow these guidelines when using native pictures in the Modifier.

Push buttons

When you use them for push buttons, two native pictures are required. The “button up” picture is displayed when the button is not being clicked. The “button down” picture is displayed when the button is being clicked. Often, the button up and button down pictures are drawn to produce a three-dimensional effect (offsetting the button down picture one pixel down and to the right) when the button is pushed. To have the best appearance, the native pictures used should be the same physical size.

The following illustration shows the native pictures used for a lookup button. The button up and button down pictures were synchronized so the correct picture is displayed for each platform. Native pictures can be created so they appear as similar as possible, or different for each platform.

[spacer]

Visual switches

Visual switches can be used to display a series of native pictures. For each image displayed, only one native picture is required. To have the best appearance, all native pictures used for the visual switch should be the same physical size.


Documentation Feedback