ndicates which image from the StateImages list to display for the node. Delphi syntax:property StateIndex: Integer;C++ syntax:__property int StateIndex = {read=FStateIndex, write=SetStateIndex, nodefault};DescriptionUse StateIndex to display an additional image for the node that reflects state information. If StateIndex is -1 then no state image is drawn.意思就是说你可以指定每个节点的状态,根据不同的状态显示不同的图标 用StadeImages属性关联ImageList.
用StadeImages属性关联ImageList.