HasImage Property (HeaderItemFormat Objects)

Applies to TestComplete 15.42, last modified on September 08, 2022

Description

Indicates that the header item has an additionally assigned image from the image list.

Declaration

TestObj.HasImage

Read-Only Property Boolean
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following object:

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

Returns True if the item has an image and False otherwise.

Remarks

To get this image use the wImage property.

Example

To view an example that demonstrates how to use the HasImage property, see Getting Header Items' Images in Desktop Windows Applications.

See Also

Determining Header Items' Format Settings in Desktop Windows Applications
Getting Header Items' Images in Desktop Windows Applications
IsBitmap Property (HeaderItemFormat Objects)
IsOwnerdraw Property (HeaderItemFormat Objects)
wImage Property (Header Controls)

Highlight search results