Vcl.Outline.TOutlineOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

type TOutlineOptions = set of TOutlineOption;

C++

typedef System::Set<TOutlineOption, TOutlineOption::ooDrawTreeRoot, TOutlineOption::ooStretchBitmaps> TOutlineOptions;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Vcl.Outline.pas
Vcl.Outline.hpp
Vcl.Outline Vcl.Outline

Description

TOutlineOptions represents the style in which an outline is drawn.

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.



See Also