Applies to

Bitmap controls only.

Description

Specifies the image to display for a multi-image bitmap.

Usage

currentimage = Get_Property (windowID"IMAGENUMBER")

oldimage = Set_Property (windowID"IMAGENUMBER"newimage)

Remarks

Values passed in Set_Property and returned by both Get_Property and Set_Property:

ValueDescription
ImageAn integer between 1 and the value of the IMAGECOUNT property, inclusive.

This property is used with IMAGECOUNT to display multi-image bitmaps. A multi-image bitmap is divided horizontally into frames, or images, which are equal in width. Typically, OpenInsight automatically determines which image to display, as in the case of bitmapped buttons. For the bitmap control, however, only the first image is automatically displayed. The IMAGENUMBER property allows the currently displayed image to be set programmatically. For a bitmapped button, the images are defined as follows:

NumberPush-ButtonCheck Button
1Up (no focus)No check (no focus)
2Down (no focus)Checked (no focus)
3DisabledDisabled, no check
4MouseMouse down
5Up (focus)Check (focus)
6Down (focus)No check (focus)

See also

IMAGECOUNT and BITMAP properties.

  • No labels