Unit Ddxoutl

*****************************************************} { } { Delphi Visual Component Library } { } { Copyright (c) 1995 Borland International } { } {

Classes

TDDXCustomOutline -
TDDXOutline -
TDDXOutlineNode - TDDXOutlineNode } { The TDDXOutlineNode is an encapsulation of an outliner item.

Functions

Register -

Types

EOutlineChange
TAttachMode
TBitmapArray
TBitmapArrayRange
TChangeRange
TDDXOutlineStyle
TDDXVertAlign
TOutlineBitmap
TOutlineBitmaps
TOutlineNodeCompare
TOutlineOption
TOutlineOptions
TOutlineType

Constants

Variables


Functions


procedure Register;


Types


EOutlineChange = procedure (Sender: TObject; Index: LongInt) of object

TAttachMode = (oaAdd, oaAddChild, oaInsert);

TBitmapArray = array[TBitmapArrayRange] of TBitmap;

TBitmapArrayRange = 0..4
TDDXCustomOutline } { The TDDXCustomOutline object is a container class for TDDXOutlineNodes. All TDDXOutlineNodes contained within a TOutline are presented to the user as a flat array of TDDXOutlineNodes, with a parent TDDXOutlineNode containing an index value that is one less than its first child (if it has any children). Interaction with a TDDXOutlineNode is typically accomplished through the TDDXCustomOutline using the following properties: CurItem Reads and writes the current item ItemCount Returns the total number of TDDXOutlineNodes with the TDDXCustomOutline. Note this can be computationally expensive as all indexes will be forced to be updated!! Items Allows Linear indexing into the hierarchical list of TDDXOutlineNodes SelectedItem Returns the Index of the TDDXOutlineNode which has the focus or 0 if no TDDXOutlineNode has been selected The TDDXCustomOutline has a number of properties which will affect all TDDXOutlineNodes owned by the TDDXCustomOutline: OutlineStyle Sets the visual style of the outliner ItemSeparator Sets the delimiting string for all TDDXOutlineNodes PicturePlus, PictureMinus, PictureOpen, PictureClosed, PictureLeaf Sets custom bitmaps for these items
TChangeRange = -1..1

TDDXOutlineStyle = (osddxText, osddxPlusMinusText, osddxPictureText,
    osddxPlusMinusPictureText, osddxTreeText, osddxTreePictureText,
    osddxTreePlusMinusText);

TDDXVertAlign = (vaTop, vaCenter, vaBottom);

TOutlineBitmap = (obPlus, obMinus, obOpen, obClose, obLeaf);

TOutlineBitmaps = set of TOutlineBitmap

TOutlineNodeCompare = (ocLess, ocSame, ocGreater, ocInvalid);

TOutlineOption = (ooDrawTreeRoot, ooDrawFocusRect, ooStretchBitmaps);

TOutlineOptions = set of TOutlineOption

TOutlineType = (otStandard, otOwnerDraw);

Constants


Variables