Control Object Properties
ItemState Numeric value indicating the state of the item
   
Description Numeric value indicating the state of the item

This property is used in conjunction with 'StateBitmaps$ which defines the state bitmaps. Once the state bitmaps are set, each item/row/entry may set its 'ItemState property to determines what image is to appear next to the row text depending on the state. A maximum of 15 states can be assigned with the -- 1 thru 15. A state of 0 (zero) causes no state indicator to be displayed.

For example, assuming the list box is defined with 3 images. The first image will appear if the item state is 1, the second image will appear if the item state is 2 and the third image will appear if the item state is 3.

See State Indicators.

   
Used by TREEVIEW