RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOutline.OutlineStyle Property

Specifies how the outline tree is displayed.

Pascal
property OutlineStyle: TOutlineStyle;
C++
__property TOutlineStyle OutlineStyle;

Set OutlineStyle to one of the following values:

Value 
Meaning 
osText  
Displays node text (specified in Text) only.  
osPlusMinusText  
Displays plus picture (specified in PicturePlus), minus picture (specified in PictureMinus), and node text (specified in Text).  
osPictureText  
Displays open picture (specified in PictureOpen), closed picture (specified in PictureClosed), leaf picture (specified in PictureLeaf) and node text (specified in Text).  
osPlusMinusPictureText  
Displays plus picture (specified in PicturePlus), minus picture (specified in PictureMinus), open picture (specified in PictureOpen), closed picture (specified in PictureClosed), leaf picture (specified in PictureLeaf), and node text (specified in Text).  
osTreeText  
Displays lines connecting outline nodes and node text (specified in Text).  
osTreePictureText  
Displays lines connecting outline nodes, open picture (specified in PictureOpen), closed picture (specified in PictureClosed), leaf picture (specified in PictureLeaf), and node text (specified in Text).  

Note: If the Style property is otOwnerDraw, the value of OutlineStyle is ignored. The connecting lines, node bitmaps, and node text must all be drawn in an OnDrawItem event handler.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!