Freetutes.com

VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering


You are here: Visual Basic > Advanced VB6 tutorial > Chapter 4

ImageHeight and ImageWidth Properties and ListImages Property of ImageList Control in Visual Basic 6 (VB6)

The ImageHeight and ImageWidth properties of the ImageList control identify the height and width in pixels (not in twips!) of images belonging to the ListImages Collection. These properties are read/ write at design time (from the Custom Properties window) and at runtime. The Height and Width properties identify the size of an image in pixels.

Note that after the first image is added to the ListImages, all other images must be the same height and width; otherwise an error will occur. If you need to include different-sized icons in an application, you can use multiple ImageList controls, one for each size needed.

ListImages Property

The ListImages property returns a reference to the collection of ListImage objects (ListImages Collection) contained within an ImageList control.

Related topics on ImageList Control


  

.<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © Freetutes.com | All Rights Reserved