Unicode Controls & Classes for VB6 - Version 4

ctlUniMenu.ImageArray Property

Permits you to specify a Collection of StdPictures to display automatically in menu items
when you configure them at design time. See remarks...

Syntax
Public Property Get ImageArray () As Collection
Public Property Set ImageArray (ByRef oCollImages As Collection)
Parameters
Parameter Description
ByRef oCollImages As Collection The collection of StdPictures
Remarks
How to use this feature
- Use a | after the caption to setup images at design time (ex. Item2|2 uses the second image in the ctlUniMenu.ImageArray collection)

- Create a collection, add images clones ([ctlImageBag.GetPictureClone]) to the collection
- Set the new collection to the ctlUniMenu
Set ctlUniMenu.ImageArray = YourCollection