setimagelist
Previous Topic  Next Topic 

This attaches a set of icons to the a dialog item.


example:


       form(This, "TabFrame", setimagelist( [ redblob, amberblob, greenblob ] )),


When referencing an image start at 0. Thus in the above example 0=redblob, 1=amberblob, etc.


Form items such as tabframes, listviews, and treeviews can have icon images attached to them. These images can then be displayed in specific areas of the item such as next to a tab in a tabframe.


At the moment the images are restricted to a set of built-in images but it is intended to allow external *.ICO files to be referenced in future.


The current set of built in images are:


  redblob

  amberblob

  greenblob

  redcross

  bluequestion

  greentick

  purplecross


N.B. A 'treeview' with tickboxes will already have an image list attached to it in order to display the selection state of a node and its children, viz. selected, unselected, or partially selected, i.e. some children selected, some not.