RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Outline.TOutlineOption Enumeration

TOutlineOptions represents the style in which an outline is drawn.

Pascal
TOutlineOption = (
  ooDrawTreeRoot,
  ooDrawFocusRect,
  ooStretchBitmaps
);
C++
enum TOutlineOption {
  ooDrawTreeRoot,
  ooDrawFocusRect,
  ooStretchBitmaps
};

Outline

TOutlineOptions is a set of TOutlineOption values. Together they influence the way an outline is drawn. Each TOutlineOption value is described below:

Value 
Meaning 
ooDrawTreeRoot  
The first item (Index value of 1) is connected to the root item by the outline tree. This means that the tree will extend from the top of the outline to all the first level items. Without ooDrawTreeRoot, all first level items appear leftmost in the outline, not connected by the tree.  
ooDrawFocusRect  
The outline draws a focus rectangle around the selected item.  
ooStretchBitmaps  
The outline stretches the standard bitmaps (PictureLeaf, PictureOpen, PictureClosed, PicturePlus, PictureMinus) to fit in the size of the item, determined by the size of the Font of the Text. Without ooStretchBitmaps, the bitmaps will be cropped if larger than the height of the item text, or won't fill up the entire item space if smaller than the text.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!