IconList
Previous  Next

Methods

Add(icon AS Stream) : Adds the icon at the specified stream to the icon list. A stream is the connection returned by FileOpen.  e.g

FileOpen(stream, AppPath & "\ico_news.ico", cRandom)
IconList1.Add(stream)
FileClose(stream)

AddIcon(icon AS Icon) : Adds the icon, probably from a control property to the icon list.

Clear: Empties the icon list.

Item(index AS Int) : Icon : Returns the icon at the specified index in the icon list.

New1 : Creates a new IconList which is very similar to a Basic4PPC ImageList except that it stores icons.


Properties

ControlRef : Control [I] : Gets a reference to the underlying control.

Count: Int [I] : Gets the number of icons in the list.

DLLVersion : Double [I] : Gets the version number of this library.