LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents
Product DocumentationLabWindows/CVIATTR_ALLOW_ROOM_FOR_IMAGESCurrent page
Table of Contents

ATTR_ALLOW_ROOM_FOR_IMAGES

ATTR_ALLOW_ROOM_FOR_IMAGES

Type: Control attribute
Description: Specifies whether, when calculating the list box height, to assume that one or more list box labels may contain an image. Normally, the calculation of the list box height takes into account the image height only if there currently is an image in the list box. If the list box is initially empty, the list box height is calculated without regard to images. Thus, when an image is added to a list box label, the height of the control may increase. To make sure that the list box height always takes into account the height of an image, set this attribute to TRUE.

(Note: Images are added to list box labels by using SetListItemImage.)

0 = List box item height takes into account the image height only if one or more item labels currently contain an image

1 = List box item height always takes into account the image height
Control Types: List boxes.
Data Type: integer
Default Value: 0
LabWindows/CVI
Compatibility:
LabWindows/CVI 4.0 and later

Values

0 False
1 True
In This Section
Was this information helpful?

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit