Documentation
Documentation
overview
Introduction
Virtual Treeview is a tree view control built from ground up.
More than 3 years of development made it one of the most
flexible and advanced tree controls available today. Virtual
Treeview starts off with the claim to improve many aspects of
existing solutions and introduces some new technologies and
priniciples which were not available before.
Homepage: www.soft-gems.net
E-Mail: [email protected]
Features overview
General
Newest
technologies
Unicode
OLE drag and drop and OLE clipboard transfers are supported
with the tree as source and target. Alternatively, VCL drag'n drop
can still be used for compatibility.
Header and
columns
Check support
Each node in the tree can have its own check type. This can
either be check box (also tristate), radio button or node button.
These types can freely be mixed so you can for instance have a
node with 10 nodes of which 5 comprise a radio group (where only
one of these 5 nodes can be checked) and the other 5 nodes can
have a check box (or no check type at all).
Mixed (tri-state) check boxes with proper handling for partial
checking of child nodes are supported (as often used in install and
backup programs).
Automatic state change propagation for mixed check button
type is possible (if enabled).
Check events OnChecking and OnCheck events are supplied too.
For special purposes a small flat button can be used, which is
called a node button.
7 different kinds of check images are possible. Dark and light
check marks, dark and light tick marks, flat check images,
Windows XP style check images and application defined check
images. For an overview see property CheckImageKind.
Design time
Customization
Custom draw and paint cycles are supported via paint events
(for the entire tree and for each node)
Apart from the built-in check types a user defined check image
can be used which is supported by a separate image list.
Each button in the header can be drawn individually.
Three different lines styles are available: dotted lines, solid lines
and application defined lines.
Applications and descendants can provide their own node editor
(which has not necessarily to be a single control) by handling the
OnCreateEditor event or overriding DoCreateEditor. This allows to
completely replace node editing by own (business) rules.
Scrolling
Flat scroll bars are supported. But since they conflict with
Windows XP this support is switched off by a compiler symbol
(UseFlatScrollbars). Enable this symbol if you really want to use
flat scroll bars before compiling the tree unit.
Every scroll operation triggers an OnScroll event. This allows to
synchronize trees with other controls.
There are properties (e.g. OffsetXY) which allow to scroll the tree
content to any postion in code without sending messages around.
Streaming
Developer
support
Special care has been taken to format the source code of Virtual
Treeview consistently.
A large part of the entire implementation are comments which
describe the inner workings.
Methods and properties are consequently ordered
alphabetically within their scope (private, protected, public,
published). The only exception are the constructors and
destructors which always appear at the top of the public section in
the class declaration and are always the first methods in the class
implementation.
For every event there is a virtual method which calls the event
handler. This allows descendants to get notice of every event
without assigning a handler. The names of these methods
correspond directly to the events by using the pattern:
DoEventName.
Many measures have been taken to ensure Borland C++ Builder
compatibility. This is particularly difficult because the automatic
translation from Delphi to C++ code in BCB is buggy.
There is an easy and powerfull mechanism for descendants
writers to allocate their own data on a per node basis. Simply call
AllocateInternalData to register your needs. This will not influence
existing or future application code if it consequently uses
GetNodeData for user data access.
Editing
Utilities
For your convenience some of the internally used functions
which are of general interest are exposed.
Installation
Virtual Treeview is designed for Delphi 4 and higher and can
also be used with Borland C++ Builder 4 and up. It is however
not designed to work directly with Kylix or Delphi for .NET. You
will have to use a special descendant written by Dmitri
Dimitrienko for Kylix support. Currently there is no .NET
version available.
Compilers.inc
VTConfig.inc
StrEditD4.dfm
StrEditD4.pas
Delphi 4 TStrings property editor.
VirtualTrees.dcr
VirtualTrees.pas
VirtualTrees.res
VirtualTreesD4.*
VirtualTreesD4D.*
VirtualTreesD5.*
VirtualTreesD5D.*
VirtualTreesReg.pas
VTHeaderPopup.pas
Installation
The main Virtual Treeview distribution comes with an
installation program and installs the components automatically
into the selected and available target IDEs.
Version history
Version 4.3.0 - 4.4.2 (December 2004 - November
2005)
Improvement: fixed column implementation completed (code
donation by Igor Savkic)
Improvement: ShowScrollbar calls with conditional defines
extracted into a new method. Added event that can be hooked by
the application to get notified if a scrollbar is about to show or hide.
Introduced OnShowScrollbar event.
Improvement: OnGetImageEx event to allow specifying a custom
imagelist.
Improvement: GetFirstChecked, GetNextChecked, ClearChecked
helper methods (code donation by Azza).
Bug fix: Reselection of a node in multi selection node did not
refresh its visual selection appearance.
Bug fix: root node total count not updated during load of streamed
nodes.
Bug fix: When loading a node from stream the initial total height is
always set to the current default height of the tree, not the height of
the node that is being loaded.
Bug fix: Mantis #260, TBaseVirtualTree.ReadChunk has applied
total height of loaded nodes multiple times.
Change: Moved DoCancelEdit and DoEndEdit to the protected
section. Don't know it ever could end up in the public section. Use
CancelEditNode and EndEditNode instead.
Improvement: Hint window class dynamically assignable.
TBaseVirtualTree.GetHintWindowClass
Change: A few GetPrevious* methods were still testing for an
initialized parameter.
Change: OnMouseWheel published.
Improvement: Painting of normal, selected, state and overlay
image is now done using standard image list access. This allows to
use specialized image lists (e.g. with full alpha channel support).
Version 3.5.1 - 3.5.7 (November 2002)
Improvement: CanFocus is not virtual in Delphi 4 (-> conditional
defination of the override keyword).
Improvement: Most of the properties for the internal edit control are
now public.
Improvement: Edit control in the standard edit link is now
accessible via a protected read only property.
Improvement: Initialization of global structures is now delayed until
the first tree is created. This allows use of VT also in special
applications like property sheet extensions.
Improvement: Updating/Updated pair included in VT.Loaded to
avoid design time modification state changes.
Work around: CM_AUTOADJUST introduced to decouple edit
window notification and resizing for Win9x/Me systems.
Improvement: Reintroduction of automatic exit handling for the
internal node editor.
Improvement: System check and flat check images introduced.
Improvement: Exchanged 'x' for ' ' as the dummy hint string to
avoid showing up a 'x' when using TAppliction.Hint.
Improvement: The virtual string tree does incremental search
independently. Use OnIncrementalSearch if you want to override
the default behavior.
Improvement: VK_BACK can be used in incremental search to
return to the previous pattern (deletes the last char in the current
pattern and search temporarily backwards).
Version 3.2.0 - 3.3.2 (May - June 2002)
Fixed hit determination bug (appeared when using margins in the
tree).
Support for Visual Form Inheritance (VFI) for the header.
Bug fix for loading nodes from stream which are invisible but their
parent is expanded.
Improved theme support. Now TThemeServices from the Windows
XP Theme Services (another free software from Delphi Gems) is
used. You must now explicitely add a manifest to your application!
This is no longer done automatically by the tree.
Bug fix: autoscroll in VCL drag mode.
Bug fix: shifted characters for incremental search.
VST lets now first the ancestor/application render to clipboard
before it tries itself.
Application might modify TargetCanvas.TextFlags in OnPaintText to
control the output of normal and static text (currently background
only).
Correct bidi mode window styles.
Bug fix regarding vsAllChildrenHidden node state
(DetermineHiddenChildrenFlag).
Bug fix in NC painting (removed child window clipping).
Bug fix horizontal scrolling (ScrollIntoView). Improved horizontal
scroll into view.
InternalConnectNode and InternalDisconnectNode are protected
now.
InitNode in GetHitTestInfoAt to avoid access to uninitialized nodes
under certain circumstances.
Default node text is only stored if it differs from 'Node'.
Printer font assignment fixed.
Bug PaintTree for OnPaintBackground fixed. The owner draw
mode is now called with the correct window origin set.
New event OnHeaderDraggedOut.
Switch to minor version 3.2.
Hide selection in full row selection mode.
bug fixes
other small changes
Versions 1.8 to 1.14 (June 2000 to August 2000)
header streaming
header hints
header drag events
node button
wide string streaming support
margins
gridline color
improved drag image handling
generic editing
non-client area clipping
worker thread improvements (for use in DLLs, services etc.)
initial help file and preparation for first public release
hit test for spanned columns
clipboard and drag'n drop improvements
header owner draw
node sorting (merge sort)
bug fixes
Version 1.1 (December 1999)
OLE drag'n drop
check support
multi selection and other optimizations
bug fixes
Description
The History
Years ago I wrote a treeview implementation called TreeNT
(see also TreeNT at the Delphi Gems homepage). This control
is a wrapper around the system tree control provided by
ComCtl32.dll. Over the time while I developed the control I
encountered many limitations, either introduced by the Delphi
VCL or "intended" by the underlying system control. The most
annoying problems were the dependency on specific
ComCtl32.dll versions and the slow behavior of the control
when more than a couple of nodes had to be managed. In fact
Microsoft's tree view has been designed to ease life for small
node sets only.
The problems
Despite the problems with the system tree control TreeNT
worked quite well and has meanwhile been downloaded
several thousands of times from my web site and those many
other Delphi sites around the world. When I started working
for a software house in Munich I quickly included TreeNT into
the company's inhouse library. But then the problems which
were formerly only annoying started to make the tree nearly
unusable. I realized how much the requirements in the private
and professional/commercial environment actually differ.
The nodes
These thoughts inspired the idea of using small records as
nodes only and putting them into a doubly linked list (see also
TVirtualNode). Well, this idea is not very new (in fact I used to
write many code parts using linked lists), but together with
other principles it got a new quality. The key points are
Pull over push means here that the tree asks for the data it
must display instead of having the application to push it into
the tree during creation. A node stays uninitialized and
dataless until it is touched the first time. Only its existence and
place in the tree is known. The assumption that this would be
much better in terms of speed and responsiveness was based
on the thought that only very few nodes need really to be
accessed usually (mainly to display a handful of nodes in the
tree window). Tests confirmed quickly that this was indeed the
case.
The paradigm
Being virtual is more than requesting data on demand.
Although this is an important aspect some additional things
are considered in Virtual Tree. The pull over push principle
for data can be extended for the structure as well. It means
then to create nodes or entire branches only on demand (e.g.
when expanding a node or iterating through its child nodes for
incremental search etc.). This allows to fill a tree view with
only the top nodes and initialize only those of them which are
currently in view. Clearly this increases start up times a lot for
large trees.
19.09.2003
Times are changing
With the advent of .NET and C# things outlined in the previous
paragraphs need rethinking. The software world is changing
and so must Virtual Treeview if it wants to stay. Don't get me
wrong, all the nice principles in the control have proved their
usefulness and fitness for the purpose they were designed.
However one could see that there are still flaws and probably
will ever be, regardless of the actual design. Still, nothing is so
good that it couldn't get better and the approach using
records/structs instead of classes not only made it sometimes
hard to get used to Virtual Treeview but it makes the control
as a whole incompatible to the intrinsic values of Microsoft's
new concept. And here lies the next natural step for it: Virtual
Treeview must go .NET. So stay tuned for the things to
come...
Group
Inner fundamentals
Links
Inner fundamentals
Description
Similar to the system tree view Virtual Treeview defines so
called paint cycles. A paint cycle is one run of the paint code
which draws a part or the entire window. In Virtual Treeview
this task is accomplished by the method PaintTree which
centralizes the paint management into one place and is called
for various tasks like window painting, drag image painting,
WM_PRINTCLIENT handling and so on.
before paint (OnBeforePaint)
before item paint (OnBeforeItemPaint)
before item erase (OnBeforeItemErase)
after item erase (OnAfterItemErase)
before cell draw (OnBeforeCellPaint)
on paint text (string trees only, OnPaintText)
after cell draw (OnAfterCellPaint)
The cell and node events are of course not executed if there is
no node to be drawn. A special flag (tsPainting) in TreeStates
indicates when a paint cycle is in progress. Using this flag an
application can for instance determine whether a node is
initialized because it is about to be drawn or for other
reasons.
Group
Inner fundamentals
Links
Inner fundamentals
Description
Some methods in Virtual Treeview work with an internal tree
image, e.g. painting or hit determination. This tree image does
not really exist but is rather an imagination of the entire tree
drawn to an infinitely sized sheet. In this picture the tree is
always drawn at position (0, 0) and advances to positive
horizontal and vertical values which reach out to the right and
down, respectively. This also means that coordinates given in
this fictional image are always positive.
How does this now fit together when you want, say, to print a
part of the tree to a memory or printer canvas? Have a look at
the image below:
On the left pane you can see a typical tree view of which only
a specific part is visible. This situation is visualized by the non-
shaded rectangular region. The right pane shows the
reproduction of the visible part to different locations. The
entire tree image size corresponds to the internal FRangeX
and FRangeY variables of the tree view. When drawing a part
of the window the method PaintTree needs to know the size
and position of the part to draw. This is given by a TRect
structure passed in the Window parameter. For normal
screen display this rectangle structure consists of the current
scroll offsets (properties OffsetX and OffsetY or OffsetXY for
both together given as TPoint) and the size of the client area
of the tree control. This rectangle is usually also intersected
with the current clipping region to avoid painting parts of the
tree which are not invalid.
Group
Inner fundamentals
Links
Inner fundamentals
Data handling
Inner fundamentals
Description
Usually single items (as in TTreeview and TListView) only
have a simple data member which can take a pointer to the
actual data an application maintains for this item in an external
structure. This principle can be used with Virtual Treeview too.
But the control goes a step further by letting the application
decide how much data per node is needed and providing this
space implicitly. This way the application is freed from
maintaining an extra structure sometimes.
Application view
The core point behind this technique is that the tree has to
allocate and deallocate memory for each node anyway. The
amount to allocate does not matter with respect to node
handling. So it is easy for the tree to allocate some more bytes
for the application. To know how much memory is to be
allocated there are several ways to tell. Firstly there is the
property NodeDataSize which can be set already at design
time and describes the required user memory per node in
bytes. If you don't know this size (because it depends on a
structure which you want to be examined by SizeOf) then
simply assign your size in the form creation process to the
tree via the NodeDataSize property.
The allocated bytes per node are an inherent part of the node
record and follow the last internal member in the TVirtualNode
structure (symbolized by the Data member). In order for the
application to access this memory it needs to map its node
data structure to this tree internal memory. To simplify this task
the application can use GetNodeData. This method returns
the address of the data area in a node record. This address
can then be assigned to a local pointer variable (or can be
type casted) as shown in the chapter code repository. I
strongly recommend that you always use the GetNodeData
method to get the data address instead of simply using
@Node.Data because a tree class may add internal data to
this area which starts then at this address while the actual
application data begins a few bytes later.
InternalData
AllocateInternalDataArea
InternalData is a virtual function which does nothing in the
base tree class (returns nil). I recommend to override this
method in descendants however and return the address of the
internal data for that tree. This address can easily be
determined by adding the offset returned from
AllocateInternalDataArea to the start of the node record. To
make this work you have of course to keep the offset
somewhere, just like TVirtualStringTree does.
Group
Inner fundamentals
Links
Inner fundamentals
Description
Generally it cannot be said what data a user will edit when he
or she edits a node. In the case of the string tree it becomes a
lot easier to decide because we have, as the name implies,
strings and captions to edit. But this is only a special case and
the underlaying edit principle must be flexible to allow editing
various different data of a node, including several items
instead of only single ones.
Since you cannot generally tell what will be edited the used
solution does not assume anything. Instead it delegates the
entire process to the application or derived trees via the
IVTEditLink class. This interface defines some necessary
methods which allow interaction between the tree and the
editor but the actual editor implementation is up to the edit link
(which can of course delegate this task to even another
instance like the application). The edit link is responsible for
everything including to hide and show the editor, reading the
old values of a node and setting the new values etc. The tree
only signals some general states like the edit start, end or
cancellation.
Group
Inner fundamentals
Links
Inner fundamentals
Description
Particularly key navigation is implicitly handled in various
ways. A full list of hot keys currently supported by the tree
view is shown below. Note that the control key has
precedence over the shift key if both are pressed at the same
time. This means that in this case the shift key has no
meaning.
The tree view supports the same hot keys as the Windows
system tree control and allows to customize key messages to
change the meaning of the particular key (see also
OnKeyAction). Generally speaking all navigation keys change
the current selection if no modifier key (like control or shift) is
pressed together with the navigator key. Like the system tree
control Virtual Treeview allows to modify the current selection
by holding down the shift key and pressing home, page up or
any other of those keys at the same time. The control key
neither changes the selection nor the focused node but can be
used to scroll the tree window.
Incremental search
Incremental search is a commonly used term to describe the
effect that the user types some letters while the tree view has
the focus and the control will try to locate a node whose
caption matches the letters. Because Virtual Treeview does
not know what caption a node has it cannot compare the
incoming letters and uses therefore again an event to ask the
application to do the comparison. By using the lesser of both
string lengths and a partial comparison in this event the tree
will be able to select also partial matches. Note: Virtual
Treeview tries to mimic the UI of the system list view and
system tree view as close as possible and uses therefore two
modes when searching. One is used when there is no key or
only one key pressed and the new key is the same as the
already recorded one. In this case the search always starts
with the next node and only nodes which match the single
new key will be found. This allows to quickly cycle through a
number of nodes all matching/beginning with the same letter.
The other mode is normal linear search where all key presses
are recorded and compared with the nodes in the tree.
Whenever the application considers a node as match (it even
hasn't to have a caption the same as the search string) this
node is returned as new target and focused.
Group
Inner fundamentals
Links
Inner fundamentals
Description
One important aspect for system integration under Windows is
the ability to use OLE (object linking and embedding) to
transfer data from and to other applications. Unfortunately this
is a dark chapter in Delphi's feature list because there has
never been support for either OLE drag'n drop or OLE
clipboard handling (until Delphi 6 at least). Instead a
proprietary mechanism had been invented which is not at all
compatible with the rest of the system.
Drag'n drop
Virtual Treeview supports both kinds of drag'n drop (VCL and
OLE) and tries to present a single interface to the application.
This means that those (already existing) events which can be
reused are used in the process (like OnStartDrag and
OnEndDrag). Other events however differ significantly from
the VCL variants because of the additional information
available during OLE drag'n drop. These events are
OnDragOver and OnDragDrop. Read there for a detail
description of the parameters. Since in a VCL drag'n drop
operation the source is always known as being a VCL control
it is relatively easy to determine the participants. This however
is not very data-oriented and OLE drag'n drop focuses exactly
on this issue. In such an operation a so called data object is
passed to the receiver which is a COM interface (IDataObject)
and can be used to retrieve the dragged data in various
formats.
Step by step
The typical approach to determine how to handle data during
the drop event in Virtual Treeview is as follows:
If the given data object is nil then the source of the drag operation
is the VCL and you have to figure out yourself what and how to
process the drop. The other parameters contain also mostly useful
data (Effects is set to default values however). Read more details
at OnDragDrop.
With a valid data object you know OLE data is being passed.
Check the source parameter to learn whether a Virtual Treeview is
the source or something else. Although further processing can
successfully be done without this information it is still useful if you
want to optimize data transition and source as well as target tree
are in the same process (in which case source memory can be
accessed from the target tree).
Loop through the given formats list to find a format you can handle.
Since it is recommended to sort this list so that preferred formats
come first you can simply accept the first format you find in the
array which you are able to handle. With a Virtual Treeview as
source usually already the second entry represents the native
format (the first is a special reference format which is not useful for
an application) and can be passed to ProcessDrop. The native
format is registered as CF_VIRTUALTREE while other typical
formats include CF_TEXT or CF_HDROP. Note that, because
Virtual Treeview is already OLE drag'n drop aware, you do not
need to register its window for accepting file drops. If the user
drops files onto a Virtual Treeview window you will get the
CF_HDROP format in the format list passed to OnDragDrop.
Depending on the data formats you might want to take various
actions. For the native tree format you will likely want
ProcessDrop to handle the data. If you made sure source and
target tree are in the same application (process) you can even omit
the entire handling and simply call MoveTo or CopyTo.
If you do not call any tree method or handle the dropped data
somehow yourself nothing will happen. No data will be added.
Group
Inner fundamentals
Links
Inner fundamentals
Additional information
Inner fundamentals
Description
Special care has been taken to wrap every event call by a DoXXX
method (e.g. for OnBeforeItem paint there is a protected
DoBeforeItemPaint method) which is always virtual to allow
descendants to override it and intercept so calls to events
regardless whether there is actually an event handler assigned or
not.
During a locked update stage (entered by BeginUpdate) there will
be no updates of the tree nor the selection. If you change the
selection in such a stage then it is temporarily accumulated and
applied if, during an EndUpdate call, the inner update counter
reaches zero.
Links
Inner fundamentals
Description
Written by Sven H. ([email protected]), Revision and translation by Mike Lischke (
At the time when this description was created I had not much
Delphi knowledge and had not yet read through any of my two
Delphi books. But I was quite impatient and wanted to try out
what is possible. Although I have some knowledge about
object oriented programming and C++ (I have learned
something about it during my studies), this project was my first
attempt to program in Delphi. It could be that I have not
provided the most elegant solutions und I am always open for
improvement suggestions. But all principles I demonstrated
here do work (at least for me J). I have implemented them in
my first project this way. This guidance is made in the first
place for programmers who are not yet familiar with Virtual
Treeview and will so perhaps have an easier start. If you have
questions or suggestions regarding this guidance please
forward them to [email protected]. For other questions you can
contact Mike and use the dedicated newsgroup, respectively.
� 2001 The parts in this guidance beyond the text from the
online help are copyrighted. Every publication requires my
admission.
Preparations
Before we start some preparations are necessary:
type
rTreeData = record
Text: WideString;
URL: string[255];
CRC: LongInt;
isOpened: Boolean;
ImageIndex: Integer;
end;
I will follow this case because my tree will hold folders, which
can in turn get own nodes. Since I intent to store created trees
in a file in order to restore them later further deliberations are
necessary: Suppose a folder node has only a name and a leaf
node has a name and a text info field. Potentially, I also want
to store a second kind of leaf node, which will for instance
have a number instead of the text field. The problem in the
context of reading data form a stream is that I must know
which data is stored in which order in the stream, because I
have to read it in exactly the same order again. Hence I have
to determine from the very first information in the stream what
information will follow. For instance there is a node name, but
then? Is there nothing more or another text information (string)
or even an integer value? I think the point is clear. The first
data, which I read, has to carry this information.
0 -> 'Folder'
type
rTreeData = record
Typ: Integer;
Name: string[255];
pNodeData: Pointer;
end;
Just one remark: If you don't want to use classes you can also
simply define 3 records, which define as first element, a type
and which react differently depending on this type.
Alternative solution:
During load from stream I read first the value 1, 2 or 3 and
decide what class is meant. Then I create an instance of this
class and call its LoadFromFile method. Well, this solution is
my most preferred and before another one enters my brain I
will implement it (Note: in step 5 I will change something).
So I do following:
type
rTreeData = record
Name: string[255]; // the identifier of the node
ImageIndex: Integer; // the image index of the node
pNodeData: Pointer;
end;
myVirtualTree.NodeDataSize := SizeOf(rTreeData);
Note, even if you want to store only one value, e.g. a pointer
as node data, simply return the size, which should be
reserved.
Implementation
An empty tree
I begin with an empty tree (no top level nodes are created at
design time):
I decide to use the last variant and will now do the following
during form creation:
var
Node: PVirtualNode;
begin
...
// create tree
MyTree.NodeDataSize := SizeOf(TTreeData);
if MyForm.filename = '' then begin // if there is no tree
// create tree with top level node
Node := BookmarkForm.BookmarkTree.AddChild(nil);
end
else
begin
// load tree
....
end;
....
end;
var
...
NodeData: ^rTreeData;
begin
...
// determine data for node
NodeData := BookmarkForm.BookmarkTree.GetNodeData(Node);
NodeData.Name := 'new project';
NodeData.ImageIndex := 0;
...
procedure TBookmarkForm.BookmarkTreeGetText(Sender:
Node: PVirtualNode; Column: Integer; TextType: TVSTTextTyp
var
NodeData: ^rTreeData;
begin
NodeData := Sender.GetNodeData(Node);
// return identifier of the node
Text := NodeData.Name;
end;
A TImageList must be placed onto the form and filled with images
The property Images of the VirtualTreeview gets assigned this
image list
Implement an OnGetImageIndex event handler.
Because the method is also called for the state icons but I do
not want yet to state icons (but I already have assigned and
image list to the property StateImages) the value for this case
(Kind � ikState) is -1.
procedure TBookmarkForm.BookmarkTreeGetImageIndex(Sender:
Node: PVirtualNode; Kind: TVTImageKind; Column: Integer;
var
NodeData: ^rTreeData;
begin
NodeData := Sender.GetNodeData(Node);
case Kind of
ikState: // for the case the state icon has been request
Index := -1;
ikNormal, ikSelected: // normal or the selected icon is
Index := NodeData.ImageIndex;
end;
end;
Since I want to avoid mixing data in the record and later then
data in the node class I decided to change this record
type
TTreeData = record
Name: string[255]; // the identifier of the node
ImageIndex: Integer; // the image index of the node
pNodeData: Pointer;
end;
TBasicNodeData = class
...
end;
rTreeData = record
BasicND: TBasicNodeData;
end;
This record always needs 4 bytes for the pointer to the class.
unit TreeData;
interface
//===========================================
type
// declare common node class
TBasicNodeData = class
protected
cName: ShortString;
cImageIndex: Integer;
public
constructor Create; overload;
constructor Create(vName: ShortString; vIIndex: Integer
implementation
constructor TBasicNodeData.Create;
begin
{ not necessary
cName := '';
cImageIndex := 0;
}
end;
end.
var
Node: PVirtualNode;
NodeD: ^rTreeData;
begin
....
// create tree
MyTree.NodeDataSize := SizeOf(rTreeData);
if MainControlForm.filename = '' then
begin
// create tree with top level node
Node := MyTree.AddChild(nil); // adds a node to the root
// assign data for this node
NodeD := MyTree.GetNodeData(Node);
NodeD.BasicND := TBasicNodeData.Create('new project'
end
else
begin
// load tree
end;
...
end;
var
NodeD: ^rTreeData;
begin
NodeD := Sender.GetNodeData(Node);
var
NodeD: ^rTreeData;
begin
NodeD := Sender.GetNodeData(Node);
case Kind of
ikState: // for the case the state index has been reques
Index := -1;
ikNormal, ikSelected: // normal icon case
Index := NodeD.BasicND.ImageIndex;
end;
end;
which gets the normal image index or the index for focused
nodes depending on whether the node has the focus or not.
Call:
Implementation of the method:
begin
if focus then
Result := cImageIndexFocus
else
Result := cImageIndex;
end;
begin
cName := vName;
cImageIndex := vIIndex;
cImageIndexFocus := vIIndex + 1;
end;
So if Add has been chosen a child node will be created for the
focused node:
var
Node: PVirtualNode;
NodeD: ^rTreeData;
begin
// Ok, a node must be added.
Node := MyTree.AddChild(MyTree.FocusedNode); // adds a nod
// determine data of node
NodeD := MyTree.GetNodeData(Node);
NodeD.BasicND := TBasicNodeData.Create('Child');
end;
-> e.g. insert the new node as child of a top level nodes.
begin
// The focused node should be removed. The top level must
if MyTree.FocusedNode = nil then
MessageDlg('There was no node selected.', mtInformation,
else
// Note: RootNode is the internal (hidden) root node and
// level nodes. To determine whether a node is a top lev
// GetNodeLevel which returns 0 for top level nodes.
if MyTree.FocusedNode.Parent = MyTree.RootNode then
MessageDlg('The project node must not be deleted.'
else
MyTree.DeleteNode(MyTree.FocusedNode);
end;
begin
// Free here the node data (Note: type PtreeData = ^rTreeD
PTreeData(Sender.GetNodeData(Node)).BasicND.Free;
end;
TFolderNodeData = class(TBasicNodeData)
TItemNodeData = class(TBasicNodeData)
Storing the tree
Now I can finally implement storing the tree. I have already
thought a lot about this step. Let us see if this was
worthwhile.
During load I read first the value 1, 2 or 3 from the stream and
decide based on it which class we deal with. Then I create an
instance of this class and call its method LoadFromFile.
Hint:
Before you can read something it must be written first. Hence I
will first implement the necessary procedures to store the tree.
Since we care ourselves that the identification of the node
gets saved the option toSaveCaption can be removed from
StringOptions. This way data is not stored twice.
begin
PTreeData(Sender.GetNodeData(Node)).BasicND.SaveToFile(Str
end;
var
size: Integer;
begin
// save type of the node
Stream.Write(Art, SizeOf(Art));
// store cName
Size := Length(cName) + 1; // include terminating #0
Stream.Write(Size, SizeOf(Size)); // store length of the s
Stream.Write(PChar(cName)^, Size); // now the string itsel
// store cImageIndex
Stream.Write(cImageIndex, SizeOf(cImageIndex));
// store cImageIndexFocus
Stream.Write(cImageIndexFocus, SizeOf(cImageIndexFocus));
// store cChildrenAllowed
Stream.Write(cChildrenAllowed, SizeOf(cChildrenAllowed));
end;
Now we can the tree we save also load again. This process co
try
// load tree
MyTree.LoadFromFile(MainControlForm.Filename);
except
on E: Exception do
begin
Application.MessageBox(PChar(E.Message), PChar(
MainControlForm.Filename := '';
var
Size: Integer;
StrBuffer: PChar;
begin
// load cName
Stream.Read(Size, SizeOf(Size)); // length of the string
// load cImageIndex
Stream.Read(cImageIndex, SizeOf(cImageIndex));
// load cImageIndexFocus
Stream.Read(cImageIndexFocus, SizeOf(cImageIndexFocus));
// load cChildrenAllowed
Stream.Read(cChildrenAllowed, SizeOf(cChildrenAllowed));
end;
After you have set all necessary options you can give now the
text and the icon for the particular column, respectively. This
happens in the already existing event handlers OnGetText and
OnGetImageIndex where now also the given column index
must be taken into account.
procedure TMyForm.MyTreeGetText(Sender: TBaseVirtualTree
Column: Integer; TextType: TVSTTextType; var Text: WideStr
var
NodeD: ^rTreeData;
begin
NodeD := Sender.GetNodeData(Node);
var
NodeD: ^rTreeData;
begin
NodeD := Sender.GetNodeData(Node);
procedure TBookmarkForm.BookmarkTreeColumnResize(Sender:
var
NodeD: PTreeData;
begin
NodeD := Sender.GetNodeData(Sender.RootNode.FirstChild);
In order to avoid that all derived classes inherit these fields the
top-level node class will be build from a new project node
class, which will be derived from the base node class.
The base node class has the ability to store node data. These
methods must be declared as virtual and will be overridden in
the project node class to allow saving the project data.
You will see that the strong points of the Virtual tree view are
not obvious. But you can believe me, this is the best Treeview
ever. You will be kinda lost at the beginning, but it's only a
matter of forgetting what you know about trees. This is the
right way to do it. You will ask yourself why it has not be done
like that at the beginning.
E:
A: The technique is very similar to the one you used with the
standard tree view. The only difference is that you fill the
node's data after the insertion of the node
E:
var
Node: PVirtualNode;
Node := VirtualStringTree1.AddChild(nil); // Adds a node t
Node := VirtualStringTree1.AddChild(ParentNode);
Node := VirtualStringTree1.InsertNode(Node, amInsertBefore
E:
TTreeData = record
Text: WideString;
URL: String[255];
CRC: LongInt;
isOpened: Boolean;
ImageIndex: Integer;
end;
PTreeData = ^TTreeData; // This is a node example.
A: Never, the VT does it for you. The only thing you have to do
is to tell the VT how much memory you need for your node
data.
E:
VirtualStringTree1.NodeDataSize := SizeOf(TTreeData);
If you know how much memory it will take, you can use the
NodeDataSize property of the VT and initialize it directly at
design time.
E:
var
Level: Integer;
Data,
ParentData: PMyNodeData;
Count: Integer;
begin
with Sender do
begin
Data := GetNodeData(Node);
ParentData := GetNodeData(ParentNode);
if Assigned(ParentData) then Level := ParentData.Level +
else Level := 0;
case FFillMode of
0: // fill tree with a specific amount of nodes and le
begin
// determine new node level
if Level < (LevelsUpDown.Position - 1) then Includ
end;
1: // fill tree with one million root nodes (nothing s
;
2: // fill tree with a certain amount of root nodes (t
begin
Data.FixedText := True;
Data.NewText := Format('Node: %d', [Node.Index]);
end;
3: // fill tree with a certain amount of root nodes an
// up to an absolute amount of ~1 million nodes and
begin
if Assigned(ParentNode) then Count := ParentNode.C
else Count := TVirtualStri
if (Level < 15) and
(Random(Count) < (Count div 2)) and
(FCurrentCount < 1000000) then Include(InitialS
end;
end;
Data.Level := Level;
Node.CheckType := ctTriStateCheckBox;
case Level of
1:
if Random(5) < 2 then Include(InitialStates, ivsDisa
end;
end;
end;
Q: How do I access a node's data?
E: Either use
with PTreeData(VirtualStringTree1.GetNodeData(Node))^
begin
Text:= ChangeFileExt(ExtractFileName(FileName), ''
ImageIndex:= 1; //it's an example ;)
end;
var
NodeData: PTreeData;
begin
NodeData := VirtualStringTree1.GetNodeData(Node);
NodeData.Text := 'a test';
NodeData.ImageIndex := 1;
...
begin
// Column is -1 if the header is hidden or no columns are
if Column < 0 then Exit;
if TVirtualStringTree(Sender).Header.Columns[Column].Text
begin
Table.GotoBookmark(TBookmark(Sender.GetNodeData(Node)));
Text := Table.FieldByName('Name').asString;
end;
end;
A:
VirtualStringTree1.VertScrollBar.Track := True;
E:
A: It's the same principle as for the OnGetText event. With the
exception that you must tell which icon to use in 3 cases: the
normal icon, the selected icon and the state icon.
E:
procedure TFRM_WWW_main.vFavTreeGetImageIndex(Sender:
begin
if Kind = ikState then
begin
Index := 2;
end
else
if (Kind = ikNormal) or (Kind = ikSelected) then
begin
Index := 1;
end;
end;
or just use
procedure TFRM_WWW_main.vFavTreeGetImageIndex(Sender:
begin
case Kind of
ikState:
Index := 2;
ikNormal,
ikSelected:
Index := 1;
end;
end;
A: The Virtual String Tree class keeps the caption's width for
each node to allow quick hit tests. But since the captions are
not stored in the tree they might get out of synch with the
cached width. So if you change a node's text or only its width
somehow (e.g. making it bold in OnPaintText) then you have
to tell the tree about this event. You can do this by calling
InvalidateNode. For changes in an event, though, you should
not call InvaldiateNode all the time but rather store the text
attributes somewhere and force recalculation only once.
Q: Why doesn't the horizontal scroll bar stay constant while
scrolling vertically and columns are unused?
Q: How to get the currently focused node and the target node
during a drag'n drop operation?
Note: These events do only appear for the top node which
represents a sub tree! For example if the user drags the
second and the third top level node of a tree to a Word
document then you'll get only two events, one for each
selected node, but not for any child node even if they are
selected too. You can still walk through the child nodes if you
need to by using e.g. IterateSubTree, but usually a tree
represents a hierarchical structure which is recursively defined
which avoids the need to update each and every of probably
many child nodes.
Licensing
Virtual Treeview License Agreement
Classes
Classes | Virtual Treeview | Legend
Classes
EVirtualTreeError
TBaseVirtualTree
TBaseVirtualTree is the main and base class for all other Virtual
Treeview descendants.
TBufferedString
TClipboardFormatList
Not documented.
TClipboardFormats
List of strings describing clipboard formats.
TCriticalSection
Not documented.
TCustomStringTreeOptions
Enhanced options class for string trees.
TCustomVirtualDrawTree
Simple owner draw descendant of the base tree.
TCustomVirtualStringTree
Descendant of TBaseVirtualTree, which is able to manage node
captions on its own
TCustomVirtualTreeOptions
Organizes all tree options into subproperties for easier managment.
TEnumFormatEtc
TScrollBarOptions
TStringEditLink
TStringEditLink is the standard node editor of a TVirtualStringTree.
TStringTreeOptions
Options class used in the string tree and its descentants.
TVirtualDrawTree
Descendant of TBaseVirtualTree, which passes node paint events
through to the application (similar to a draw grid)
TVirtualStringTree
Descentant of TBaseVirtualTree which is able to manage node captions
on its own.
TVirtualTreeColumn
Represents a column in a Virtual Treeview.
TVirtualTreeColumns
Collection class, which holds the columns for the tree.
TVirtualTreeHintWindow
Internally used hint window class to support Unicode hints.
TVirtualTreeOptions
Collects all binary options of the tree control into one place for easier
access.
TVTColors
Collects all color related options for the tree control.
TVTDataObject
Implementation of an IDataObject interface.
TVTDragImage
Not documented.
TVTDragManager
Not documented.
TVTEdit
Not documented.
TVTHeader
Not documented.
TVTHeaderPopupMenu
Not documented.
TWideBufferedString
Not documented.
TWorkerThread
Not documented.
TWriterHack
Not documented.
Group
Virtual Treeview
Legend
Class
Links
Classes, Virtual Treeview, Legend
EVirtualTreeError Class
Classes
EVirtualTreeError = class(Exception);
Description
EVirtualTreeError is a normal exception derivation especially
for Virtual Treeview. This class does not add much value to its
parent class but is rather there to better tell when an exception
particularly from Virtual Treeview was raised.
Group
Classes
Class Hierarchy
File
VirtualTrees
Links
Classes
TBaseVirtualTree Class
Events | Classes | Methods | Properties | Legend
Pascal
TBaseVirtualTree = class(TCustomControl);
Description
This class implements most of the base features and abilities
and can be used to derive new classes, which want to hide
most of the details of the tree, which other descendants like
TVirtualStringTree publish. Do not use the base treeview as
object. It is not meant to be instantiated directly, instead via an
descendant.
Group
Classes
Members
Properties
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Events
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
Methods
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
Legend
protected
Property
public
read only
Event
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Events, Classes, Methods, Properties, Legend
TBaseVirtualTree.Alignment Property
TBaseVirtualTree Class
Pascal
property Alignment: TAlignment;
Description
This property is only used if there are no columns defined and
applies only to the node captions. Right alignment means here
the right client area border and left aligned means the node
buttons/lines etc. (both less the text margin).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AnimationDuration
Property
TBaseVirtualTree Class
Determines the maximum duration the tree can use to play an
animation.
Pascal
property AnimationDuration: Cardinal;
Description
The value is specified in milliseconds and per default there are
200 ms as time frame, which is the recommended duration for
such operations. On older systems (particularly Windows 95
and Windows 98) the animation process might not get enough
CPU time to avoid expensive animations to finish properly.
Still the animation loop tries to stay as close as possible to the
given time.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AutoExpandDelay
Property
TBaseVirtualTree Class
Time delay after which a node gets expanded if it is the
current drop target.
Pascal
property AutoExpandDelay: Cardinal;
Description
This value is specified in milliseconds and determines when to
expand a node if it is the current drop target. This value is only
used if voAutoDropExpand in Options is set.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AutoScrollDelay
Property
TBaseVirtualTree Class
Time which determines when auto scrolling should start.
Pascal
property AutoScrollDelay: Cardinal;
Description
Once the mouse pointer has been moved near to a border a
timer is started using the interval specified by AutoScrollDelay.
When the timer has fired auto scrolling starts provided it is
enabled (see also TreeOptions). The value is specified in
milliseconds.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AutoScrollInterval
Property
TBaseVirtualTree Class
Time interval between scroll events when doing auto scroll.
Pascal
property AutoScrollInterval: TAutoScrollInterval;
Description
This property determines the speed how the tree is scrolled
vertically or horizontally when auto scrolling is in progress.
The value is given in milliseconds.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Background Property
TBaseVirtualTree Class
Pascal
property Background: TPicture;
Description
Virtual Treeview supports a fixed background image which
does not scroll but can be adjusted by BackgroundOffsetX
and BackgroundOffsetY.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.BackgroundOffsetX
Property
TBaseVirtualTree Class
Horizontal offset of the background image.
Pascal
property BackgroundOffsetX: Integer;
Description
Determines the horizontal offset of the left border of the
background image. This value is relative to the target canvas
where the tree is painted to (usually the tree window).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.BackgroundOffsetY
Property
TBaseVirtualTree Class
Vertical offset of the background image.
Pascal
property BackgroundOffsetY: Integer;
Description
Determines the vertical offset of the top border of the
background image. This value is relative to the target canvas
where the tree is painted to (usually the tree window).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.BorderStyle Property
TBaseVirtualTree Class
Same as TForm.BorderStyle.
Pascal
property BorderStyle: TBorderStyle;
Description
See TForm.BorderStyle.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ButtonFillMode
Property
TBaseVirtualTree Class
Determines how to fill the background of the node buttons.
Pascal
property ButtonFillMode: TVTButtonFillMode;
Description
This property is used to specify how the interior of the little
plus and minus node buttons should be drawn, if ButtonStyle
is bsTriangle.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ButtonStyle Property
TBaseVirtualTree Class
Pascal
property ButtonStyle: TVTButtonStyle;
Description
Determines the look of node buttons.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ChangeDelay Property
TBaseVirtualTree Class
Pascal
property ChangeDelay: Cardinal;
Description
In order to accumulate many quick changes in the tree you
can use this delay value to specify after which wait time the
OnChange event should occur. A value of 0 means to trigger
OnChange immediately after the change (usually a selection
or focus change) happend. Any value > 0 will start a timer
which then triggers OnChange.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.ChangeDelay
Property |
TBaseVirtualTree.CheckImages
Property
TBaseVirtualTree.CheckImageKind
Property
TBaseVirtualTree Class
Determines which images should be used for checkboxes and
radio buttons.
Pascal
property CheckImageKind: TCheckImageKind;
Description
CheckImageKind can be used to switch the image set, which
should be used for the tree. Read the description about
TCheckImageKind for a list of all images, which can be used.
CheckImageKind can also be set to ckCustom, which allows
to supply a customized set of images to the tree. In order to
have that working you must assign an image list
(TCustomImageList) to the CustomCheckImages property.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CheckImages Property
TBaseVirtualTree Class
Not documented.
Pascal
property CheckImages: TCustomImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CheckState Property
TBaseVirtualTree Class
Pascal
property CheckState [Node: PVirtualNode]: TCheckState
Description
The CheckState property can be used to read the current
check state of a node or to set a new one. Virtual Treeview
ensures that invalid check states (e.g. csMixedPressed for
radio buttons) do not cause an error.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CheckType Property
TBaseVirtualTree Class
Pascal
property CheckType [Node: PVirtualNode]: TCheckType;
Description
The CheckType property can be used to read the current
check type of a node or to set a new one. Setting a new check
type will reset a the node's check state to
csUncheckedNormal.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ChildCount Property
TBaseVirtualTree Class
Pascal
property ChildCount [Node: PVirtualNode]: Cardinal;
Description
ChildCount can be used to read the current number of child
nodes or to change it. Assigning a lower value than there was
before will automatically delete as many child nodes (starting
from the last child) as there are more than what was set.
Increasing the value will add new child nodes. Note: code
behind this property is very effective, so it using ChildCount is
highly recommended over manipulating the child count using
AddChild, InsertNode and DeleteNode.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ChildrenInitialized
Property
TBaseVirtualTree Class
Read whether a node's child count has been initialized
already.
Pascal
property ChildrenInitialized [Node: PVirtualNode]: Boolean;
Description
This read only property is used to determine whether a node's
child count has been set. Alternatively, the child count value is
not considered if vsHasChildren is not in the node states.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ClipboardFormats
Property
TBaseVirtualTree Class
Pascal
property ClipboardFormats: TClipboardFormats;
Description
This TStringList descendant is used to keep a number of
clipboard format descriptions, which are usually used to
register clipboard formats with the system. Using a string list
for this task allows to store enabled clipboard formats in the
DFM.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Colors Property
TBaseVirtualTree Class
Pascal
property Colors: TVTColors;
Description
This property holds an instance of the TVTColors class, which
is used to customize many of the colors used in a tree.
Placing them all in a specialized class helps organizing the
colors in the object inspector and improves general
management.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CustomCheckImages
Property
TBaseVirtualTree Class | See Also
Assign your own image list to get the check images you like
most.
Pascal
property CustomCheckImages: TCustomImageList;
Description
The CustomCheckImages property is used when custom
check images are enabled (see also ckCustom in
TCheckImageKind).
See Also
TCheckImageKind
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.DefaultNodeHeight
Property
TBaseVirtualTree Class
Read or set the height new nodes get as initial value.
Pascal
property DefaultNodeHeight: Cardinal;
Description
This property allows to read the current initial height for new
nodes and to set a new value. Note that changing the property
value does not change the height of existing nodes. Only new
nodes are affected.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DefaultPasteMode
Property
TBaseVirtualTree Class | See Also
Read or set the value, which determines where to add pasted
nodes to.
Pascal
property DefaultPasteMode: TVTNodeAttachMode;
Description
The default paste mode is an attach mode, which is used
when pasting data from the clipboard into the tree. Usually,
you will want new nodes to be added as child nodes to the
currently focused node (and this is also the default value), but
you can also specify to add nodes only as siblings.
See Also
TVTNodeAttachMode
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.DefaultPasteMode
Property |
TBaseVirtualTree.DragImage
Property
TBaseVirtualTree.DragHeight Property
TBaseVirtualTree Class
Pascal
property DragHeight: Integer;
Description
The DragHeight property (as well as the DragWidth property)
are only for compatibility reason in the tree. If a platform does
not support the IDropTargetHelper interface (Windows 9x/Me,
Windows NT 4.0) then Virtual Treeview uses its own
implementation of a DragImage. Since displaying a
translucent drag image is performance hungry you should limit
the image size shown for the drag operation.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragImage Property
TBaseVirtualTree Class
Pascal
property DragImage: TVTDragImage;
Description
For older systems where the IDropTargetHelper interface is
not supported Virtual Treeview simulates the translucent drag
image during drag'n drop. The property DragImage makes the
internal drag image instance accessible for special handling.
The class itself is always created but is usually not visible
when the IDropTargetHelper interface is supported.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragImageKind
Property
TBaseVirtualTree Class
Read or set what should be shown in the drag image.
Pascal
property DragImageKind: TVTDragImageKind;
Description
DragImageKind allows to switch parts of the drag image off
and on.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragManager Property
TBaseVirtualTree Class | See Also
Pascal
property DragManager: IVTDragManager;
Description
The drag manager is the central point for the drag'n drop
support in Virtual Treeview. Usually you do not need to access
it but sometimes it might be necessary so the reference is
accessible through this property.
See Also
TVTDragManager
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.DragOperations
Property
TBaseVirtualTree Class
Read or set which drag operations may be allowed in the tree.
Pascal
property DragOperations: TDragOperations;
Description
Using this property you can determine, which actions may be
performed when a drag operation is finished. The default
value includes move, copy and link, where link is rather an
esoteric value and only there because it is supported by OLE.
The values used directly determine which image is shown for
the drag cursor. The specified drag operations do not tell
which actions will actually be performed but only, which
actions are allowed. They still can be modified during drag'n
drop by using a modifier key like the control, shift or alt key or
can entirely be ignored by the drop handler.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragSelection Property
TBaseVirtualTree Class
Pascal
property DragSelection: TNodeArray;
Description
This list is a local copy of the current selection array and is
only used during a drag operation.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragType Property
TBaseVirtualTree Class
Pascal
property DragType: TVTDragType;
Description
Traditionally, Delphi only supports its own drag mechanism,
which is not compatible with the rest of the system. This VCL
dragging also does not support to transport random data nor
does it support drag operations between applications. Thus
Virtual Treeview also supports the generally used OLE
dragging, which in turn is incompatible with VCL dragging.
Depending on your needs you can enable either VCL or OLE
dragging as both together cannot be started. However, Virtual
Treeview is able to act as drop target for both kind of data,
independant of what is set in DragType.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragWidth Property
TBaseVirtualTree Class
Pascal
property DragWidth: Integer;
Description
The DragWidth property (as well as the DragHeight property)
are only for compatibility reason in the tree. If a platform does
not support the IDropTargetHelper interface (Windows 9x/Me,
Windows NT 4.0) then Virtual Treeview uses its own
implementation of a DragImage. Since displaying a
translucent drag image is performance hungry you should limit
the image size shown for the drag operation.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DrawSelectionMode
Property
TBaseVirtualTree Class
Read or set how multiselection with the mouse is to be
visualized.
Pascal
property DrawSelectionMode: TVTDrawSelectionMode;
Description
Virtuall Treeview allows to display two different selection
rectangles when doing multiselection with the mouse. One is
the traditiional dotted focus rectangle and the other one is a
translucent color rectangle. The latter is the preferred one but
the former is set as default (for compatibility reasons).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DropTargetNode
Property
TBaseVirtualTree Class
Contains the current drop target node if the tree is currently
the target of a drag'n drop operation.
Pascal
property DropTargetNode: PVirtualNode;
Description
The drop target node has no meaning except during drag'n
drop and only if the tree it belongs to is itself the current drop
target. But even then DropTargetNode might be nil,
particularly when the mouse hovers over an area in the tree,
which is not covered by a node.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.EditColumn Property
TBaseVirtualTree Class
Not documented.
Pascal
property EditColumn: TColumnIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.EditDelay Property
TBaseVirtualTree Class | See Also
Pascal
property EditDelay: Cardinal;
Description
A node edit operation can be started using the keyboard (F2
key), in code using EditNode or by clicking twice on the same
node (but not doing a double click). EditDelay is the
maxmimum time distance between both clicks in which the
edit operation is started.
See Also
Editors and editing
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.EditLink Property
TBaseVirtualTree Class
Pascal
property EditLink: IVTEditLink;
Description
During an edit operation a link is established between the tree
and the editor for the current node. By default a simple TEdit
control is used as editor but due to the great customization
possibilities there can be any node editor you may want. In
order to communicate with this potentially unknown node
editor the edit link is used. The EditLink property holds this link
during the edit operation, so you can manipulate the interface.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Expanded Property
TBaseVirtualTree Class
Pascal
property Expanded [Node: PVirtualNode]: Boolean;
Description
Using this property you can expand or collapse the given
node. This method uses the central ToggleNode method.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FocusedColumn
Property
TBaseVirtualTree Class | See Also
Read or set the currently focused collumn.
Pascal
property FocusedColumn: TColumnIndex;
Description
When toExtendedFocus in TVTSelectionOptions is enabled
then the user can select node cells in others than the main
column (the column with the tree structure). In order to keep
track, which column is currently selected FocusedColumn is
used (similar to FocusedNode).
See Also
FocusedNode, TVTSelectionOptions
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.FocusedNode Property
TBaseVirtualTree Class | See Also
Pascal
property FocusedNode: PVirtualNode;
Description
One node (and only one) in the tree view can have the current
input focus, marked as dotted rectangle around the node's
caption. Having the input focus means this node can be edited
by pressing F2 or clicking on it and user keyboard input is
interpreted with respect to the focused node (e.g. tree
navigation, expansion/collapsing etc.). If extended focus is
enabled then also the FocusedColumn property is taken into
account. Read there for more info about column focus.
See Also
FocusedColumn, TVTSelectionOptions
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.FocusedNode
Property |
TBaseVirtualTree.FullyVisible
Property
TBaseVirtualTree.Font Property
TBaseVirtualTree Class
Same as TWinControl.Font.
Pascal
property Font;
Description
See TWinControl.Font.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FullyVisible Property
TBaseVirtualTree Class | See Also
Pascal
property FullyVisible [Node: PVirtualNode]: Boolean;
Description
Beside the fact that a node can be out of the client area there
are two possibilities for it to be hidden. One is the vsVisible
state in TVirtualNodeState, which hides the node regardles of
the current state of another node, if not specified. The other
one is that one or more parent nodes might be collapsed,
hiding so their entire child nodes structure. The visibility flag
itself can be checked using the IsVisible property, while the
expansion state of parents nodes can be examined via the
VisiblePath property. If both are true then the node is said to
be fully visible.
See Also
IsVisible, VisiblePath, vsVisible, TVirtualNodeStates
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.HasChildren Property
TBaseVirtualTree Class | See Also
Pascal
property HasChildren [Node: PVirtualNode]: Boolean;
Description
A node can be set to have children by assigning true to this
property. Internally this will add the vsHasChildren state to the
node but not add any child nodes. This state in turn will cause
the node to be drawn with a plus sign in front of its caption,
denoting so it can be expanded and will show child nodes. As
long as the child nodes are not touch in any way (e.g. by
expanding the parent node or by navigatin or
searching/sorting the tree) there will be no actual child nodes.
They simply do not exist yet. However they will be created as
soon as an access is done.
See Also
vsHasChildren, TVirtualNodeStates
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.Header Property
TBaseVirtualTree Class | See Also
Pascal
property Header: TVTHeader;
Description
This property is used to allow access to the header instance,
which manages all aspects of the tree's header image as well
as the column settings.
See Also
TVTHeader
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.HeaderRect Property
TBaseVirtualTree Class
Pascal
property HeaderRect: TRect;
Description
Use this property to determine the extents used by the header
of Virtual Treeview.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HintAnimation Property
TBaseVirtualTree Class
Pascal
property HintAnimation: THintAnimationType;
Description
With this property you can specify what animation you would
like to play when displaying a hint. For some applications it
might not be good to animate hints, hence you can entirely
switch them off. Usually however you will leave the system
standard. This way the user can decide whether and which
hint animation he or she likes.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HintMode Property
TBaseVirtualTree Class
Read or set what type of hint you want for the tree view.
Pascal
property HintMode: TVTHintMode;
Description
Virtual Treeview supports several hints modes. This includes
the normal hint used for any other TControl class as well as a
node specific hint, which is individual for each node or even
each cell.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HotCursor Property
TBaseVirtualTree Class | See Also
Pascal
property HotCursor: TCursor;
Description
When you enable toHotTrack in TreeOptions.PaintOptions
then the node, which is currently under the mouse pointer
becomes the hot node. This is a special state, which can be
used for certain effects. Hot nodes have by default an
underlined caption and may cause the cursor to change to
what ever you like. The HotCursor property is used to specify,
which cursor is to be used.
See Also
HotNode, TVTPaintOptions
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.HotCursor
Property |
TBaseVirtualTree.Images Property
TBaseVirtualTree.HotNode Property
TBaseVirtualTree Class | See Also
Pascal
property HotNode: PVirtualNode;
Description
When you enable toHotTrack in TreeOptions.PaintOptions
then the node, which is currently under the mouse pointer
becomes the hot node. The property HotNode can be used to
access this node for special handling.
See Also
HotCursor, toHotTrack, TVTPaintOptions
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.Images Property
TBaseVirtualTree Class | See Also
Pascal
property Images: TCustomImageList;
Description
Just like with TListView and TTreeview also Virtual Treeview
can take an image list for its normal images. Additionally,
there are image lists for state images and check images.
See Also
StateImages, CheckImages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.IncrementalSearch
Property
TBaseVirtualTree Class | See Also
Pascal
property IncrementalSearch: TVTIncrementalSearch;
Description
Virtual Treeview can do an incremental search by calling back
the application when comparing node captions. The
IncrementalSearch property determines whether incremental
search is enabled and which nodes should be searched
through.
See Also
IncrementalSearchDirection, IncrementalSearchStart,
IncrementalSearchTimeout
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.IncrementalSearchDirection
Property
TBaseVirtualTree Class | See Also
Read or set the direction to be used for incremental search.
Pascal
property IncrementalSearchDirection: TVTSearchDirection
Description
When incremental search is enabled then Virtual Treeview
can search forward and backward from the start point given by
IncrementalSearchStart.
See Also
IncrementalSearch, IncrementalSearchStart,
IncrementalSearchTime123out
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.IncrementalSearchStart
Property
TBaseVirtualTree Class | See Also
Read or set where to start incremental search.
Pascal
property IncrementalSearchStart: TVTSearchStart;
Description
When incremental search is enabled in the tree view then you
can specify here, where to start the next incremental search
operation from.
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchTimeout
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.IncrementalSearchTimeout
Property
TBaseVirtualTree Class | See Also
Pascal
property IncrementalSearchTimeout: Cardinal;
Description
When incremental search is enabled in Virtual Treeview then
you can specify here after what time incremental search
should stop when no keyboard input is encountered any
longer. This property so determines also the speed at which
users have to type letters to keep the incremental search
rolling.
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchStart
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.Indent Property
TBaseVirtualTree Class
Pascal
property Indent: Cardinal;
Description
Each new level in the tree (child nodes of a parent node) are
visually shifted to distinguish betwenn them and their parent
node (that's the tree layout after all). The Indent property
determines the shift distance in pixels.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.IsDisabled Property
TBaseVirtualTree Class
Pascal
property IsDisabled [Node: PVirtualNode]: Boolean;
Description
A node can have many different states. One of them is its
enabled state, which can be set via this property. Enabling a
node means it can be focused and selected, so it can take
part in clipboard and drag'n drop operations, and can be
edited.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.IsVisible Property
TBaseVirtualTree Class
Pascal
property IsVisible [Node: PVirtualNode]: Boolean;
Description
A node can be made invisible using this property. That means,
even if its parent nodes all are expanded the node is not
shown and the visual image is as would the node not exist.
However it still can be searched or take part in certain other
operations.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.LastClickPos Property
TBaseVirtualTree Class
Pascal
property LastClickPos: TPoint;
Description
This internal positions is made public to allow descendants to
modify mainly the right click behavior of the tree control.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.LastDropMode
Property
TBaseVirtualTree Class
Read how the last drop operation finished.
Pascal
property LastDropMode: TDropMode;
Description
In the case you don't handle drag'n drop operations directly in
OnDragDrop it might be necessary to know how the last drag
operation finshed. Read more in the drag mode enumeration
about what is possible.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.LineMode Property
TBaseVirtualTree Class
Pascal
property LineMode: TVTLineMode;
Description
Apart from the usual lines Virtual Treeview also supports a
special draw mode named bands. This allows for neat visual
effects.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.LineStyle Property
TBaseVirtualTree Class
Pascal
property LineStyle: TVTLineStyle;
Description
Virtual Treeview allows to customize the lines used to display
the node hierarchy. The default style is a dotted pattern, but
you can also make solid lines or specify your own line pattern.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Margin Property
TBaseVirtualTree Class | See Also
Pascal
property Margin: Integer;
Description
The node margin is the distance between the cell bounds and
its content like the lines, images, check box and so on.
However this border is only applied to the left and right side of
the node cell.
See Also
TVirtualStringTree.TextMargin
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.MultiLine Property
TBaseVirtualTree Class
Pascal
property MultiLine [Node: PVirtualNode]: Boolean;
Description
Since multiline support for nodes requires extra processing
this behavior is switchable. When switched on the node is
wrapped into the available space until the node height is
exhausted. By including carriage return/line feed pairs you can
explicitely specify where to start new lines. The node's height
is not automatically adjusted to the given text. Instead there is
an event (OnMeasureItem), which can be used to compute a
node's height before it is displayed the first time. In addition an
application can use the ComputeNodeHeight method to
compute the height of the node depending on its caption text.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.NodeAlignment
Property
TBaseVirtualTree Class | See Also
Read or set the node alignment value.
Pascal
property NodeAlignment: TVTNodeAlignment;
Description
Nodes have got an align member, which is used to determine
the vertical position of the node's images and tree lines. The
NodeAlignment property specifies how to interpret the value in
the align member.
See Also
TVirtualNode
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.NodeDataSize Property
TBaseVirtualTree Class | See Also
Pascal
property NodeDataSize: Integer;
Description
A node can have an area for user data, which can be used to
store application defined, node specific data in. Use
GetNodeData to get the address of this area. In addition to
assigning a value here you can also use the
OnGetNodeDataSize event, which is called when
NodeDataSize is -1.
See Also
Data handling
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.NodeHeight Property
TBaseVirtualTree Class
Pascal
property NodeHeight [Node: PVirtualNode]: Cardinal;
Description
Each node can have its individual height, which is stored in
the node's record. You could directly assign a value to this
member but I strongly discourage this as it does not update
certain other structures in the tree. Instead use the
NodeHeight property here to modify a node's height.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.NodeParent Property
TBaseVirtualTree Class | See Also
Pascal
property NodeParent [Node: PVirtualNode]: PVirtualNode
Description
When reading this property then either the node's real parent
node is returned or nil if the parent node is the internal, hidden
root node. When writing to this property you will effectively
move a node to a new location.
See Also
MoveTo, CopyTo
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OffsetXY Property
TBaseVirtualTree Class
Pascal
property OffsetX: Integer;
property OffsetXY: TPoint;
property OffsetY: Integer;
Description
Virtual Treeview allows to retrieve or set the internal scroll
offset directly, without sending
WM_HSCROLL/WM_VSCROLL message around. This allows
also to link two or more trees together. This scroll offset is
given in pixels and is always less or equal 0.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnAdvancedHeaderDraw
Event
TBaseVirtualTree Class | See Also
Header paint support event.
Pascal
property OnAdvancedHeaderDraw: TVTAdvancedHeaderPaintEvent
Description
The OnAdvancedHeaderDraw event is used when owner
draw is enabled for the header and a column is set to owner
draw mode. It can be used to custom draw only certain parts
of the header instead the whole thing. A good example for this
event is customizing the background of the header for only
one column. With the standard custom draw method
(OnHeaderDraw) you are in an all-or-nothing situation and
have to paint everything in the header including the text,
images and sort direction indicator. OnAdvancedHeaderDraw
however uses OnHeaderDrawQueryElements to ask for the
elements the application wants to draw and acts accordingly.
See Also
OnHeaderDrawQueryElements, OnHeaderDraw
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnAfterCellPaint Event
TBaseVirtualTree Class | See Also
Pascal
property OnAfterCellPaint: TVTAfterCellPaintEvent;
Description
This event is called whenever a cell has been painted. A cell is
defined as being one part of a node bound to a certain
column. This event is called several times per node (the
amount is determined by visible columns and size of the part
to draw).
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnAfterItemErase
Event
TBaseVirtualTree Class | See Also
Paint support event.
Pascal
property OnAfterItemErase: TVTAfterItemEraseEvent;
Description
Called after the background of a node has been erased
(erasing can also be filling with a background image). This
event is called once per node in a paint cycle.
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnAfterItemPaint Event
TBaseVirtualTree Class | See Also
Pascal
property OnAfterItemPaint: TVTAfterItemPaintEvent;
Description
Called after a node has been drawn. This event is called once
per node.
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnAfterPaint Event
TBaseVirtualTree Class | See Also
Pascal
property OnAfterPaint: TVTPaintEvent;
Description
Called after all nodes which needed an update have been
drawn. This event is called once per paint cycle.
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnBeforeCellPaint
Event
TBaseVirtualTree Class | See Also
Paint support event.
Pascal
property OnBeforeCellPaint: TVTBeforeCellPaintEvent;
Description
This event is called immediately before a cell is painted.
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnBeforeItemErase
Event
TBaseVirtualTree Class | See Also
Paint support event.
Pascal
property OnBeforeItemErase: TVTBeforeItemEraseEvent;
Description
Called when the background of a node is about to be erased.
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnBeforeItemPaint
Event
TBaseVirtualTree Class | See Also
Paint support event.
Pascal
property OnBeforeItemPaint: TVTBeforeItemPaintEvent;
Description
Called after the background of a node has been drawn and
just before the node itself is painted. In this event the
application gets the opportunity to decide whether a node
should be drawn normally or should be skipped. The
application can draw the node itself if necessary or leave the
node area blank.
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnBeforePaint Event
TBaseVirtualTree Class | See Also
Pascal
property OnBeforePaint: TVTPaintEvent;
Description
Called as very first event in a paint cycle. In this event has the
application the opportunity to do some special preparation of
the canvas onto which the tree is painted, e.g. setting a
special viewport and origin or a different mapping mode.
See Also
Paint cycles and stages
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnChange Event
TBaseVirtualTree Class
Pascal
property OnChange: TVTChangeEvent;
Description
Called when a node's selection state has changed.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnChecked Event
TBaseVirtualTree Class
Pascal
property OnChecked: TVTChangeEvent;
Description
Triggered when a node's check state has changed.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnChecking Event
TBaseVirtualTree Class
Pascal
property OnChecking: TVTCheckChangingEvent;
Description
Triggered when a node's check state is about to change and
allows to prevent the change.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnCollapsed Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnCollapsed: TVTChangeEvent;
Description
Triggered after a node has been collapsed, that is, its child
nodes are no longer displayed.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnCollapsing Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnCollapsing: TVTChangingEvent;
Description
Triggered when a node is about to be collapsed and allows to
prevent collapsing the node by setting Allowed to false.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnColumnClick Event
TBaseVirtualTree Class | See Also
Pascal
property OnColumnClick: TVTColumnClickEvent;
Description
Triggered when the user released a mouse button over the
same column in the client area on which the button was
pressed previously.
See Also
OnHeaderClick
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnColumnDblClick
Event
TBaseVirtualTree Class | See Also
Header and column support event.
Pascal
property OnColumnDblClick: TVTColumnDblClickEvent;
Description
Same as OnColumnClick but for double clicks.
See Also
OnColumnClick, OnHeaderDblClick
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnColumnResize
Event
TBaseVirtualTree Class
Header and column support routine.
Pascal
property OnColumnResize: TVTHeaderNotifyEvent;
Description
Triggered when a column is being resized. During resize
OnColumnResize is frequently hence you should make any
code in the associated event handle a short and fast as
possible.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnCompareNodes
Event
TBaseVirtualTree Class | See Also
Sort and search support event.
Pascal
property OnCompareNodes: TVTCompareEvent;
Description
This event is the core event for all comparations between
nodes. It is important that you write a handler for this event if
you want to sort nodes!
procedure TMainForm.VDT1CompareNodes(Sender: TBaseVirtualTre
var Result: Integer);
var
Data1,
Data2: PImageData;
begin
Data1 := Sender.GetNodeData(Node1);
Data2 := Sender.GetNodeData(Node2);
// folder are always before files
if Data1.IsFolder <> Data2.IsFolder then
begin
// one of both is a folder the other a file
if Data1.IsFolder then
Result := -1
else
Result := 1;
end
else // both are of same type (folder or file)
Result := CompareText(Data1.FullPath, Data2.FullPath);
end;
See Also
SortTree, Sort
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnCreateDataObject
Event
TBaseVirtualTree Class
Drag'n drop support event.
Pascal
property OnCreateDataObject: TVTCreateDataObjectEvent
Description
This event is called when the tree's drag manager needs a
data object interface to start a drag'n drop operation.
Descentants (which override DoGetDataObject) or the
application can return an own IDataObject implementation to
support special formats.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnCreateDragManager
Event
TBaseVirtualTree Class
Drag'n drop support event.
Pascal
property OnCreateDragManager: TVTCreateDragManagerEvent
Description
This event is usually not used but allows power users to
create their own drag manager to have different actions and/or
formats than the internal drag manager.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnCreateEditor Event
TBaseVirtualTree Class | See Also
Pascal
property OnCreateEditor: TVTCreateEditorEvent;
Description
Allows to supply a customized node editor without changing
the tree. TBaseVirtualTree triggers this event and raises an
exception if there no editor is returned. If you don't want this
then disable edit support for nodes in
TreeOptions.MiscOptions. Descentants like
TCustomVirtualStringTree supply a generic and simple string
editor.
See Also
Editors and editing
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnDragAllowed Event
TBaseVirtualTree Class
Pascal
property OnDragAllowed: TVTDragAllowedEvent;
Description
This event is called in the mouse button down handler to
determine whether the application allows to start a drag
operation. Since this check is done in sync with the other code
it is much prefered over doing a manual BeginDrag.
Notes
The OnDragAllowed event is called only if the current
DragMode is dmManual.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnDragDrop Event
TBaseVirtualTree Class
Pascal
property OnDragDrop: TVTDragDropEvent;
Description
Triggered when either a VCL or a OLE drop action occured.
Accepting drag and drop actions is not trivial. In order to
maintain a minimum compatibility with the VCL drag'n drop
system Virtual Tree accepts not only OLE drop actions but
also those issued by the Delphi VCL (which is totally different
to the OLE way, unfortunately), provided toAcceptOLEDrop is
set in TreeOptions.MiscOptions. The code snippet below is
taken from a sample project provided with Virtual Tree. It
shows a general way to deal with dropped data. The following
check list can be used as orientation and additional comment
to the code:
var
I: Integer;
AttachMode: TVTNodeAttachMode;
begin
if Length(Formats) > 0 then
begin
// OLE drag'n drop
// If the native tree format is listed then use this and
// It is recommend by Microsoft to order available clipb
// the first best format which we can accept is usually
for I := 0 to High(Formats) do
if Formats[I] = CF_VIRTUALTREE then
begin
case Mode of
dmAbove:
AttachMode := amInsertBefore;
dmOnNode:
AttachMode := amAddChildLast;
dmBelow:
AttachMode := amInsertAfter;
else
if Assigned(Source) and (Source is TBaseVirtualTre
AttachMode := amInsertBefore
else
AttachMode := amNowhere;
end;
// in the case the drop target does an optimized mov
// to indicate this also to the drag source (so the
Sender.ProcessDrop(DataObject, Sender.DropTargetNode
Break;
end;
end
else
begin
// VCL drag'n drop, Effects contains by default both mov
// as usual the application has to find out what operati
Beep;
end;
end;
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnDragOver Event
TBaseVirtualTree Class | See Also
Pascal
property OnDragOver: TVTDragOverEvent;
Description
Triggered when Sender is the potential target of a drag'n drop
operation. You can use this event to allow or deny a drop
operation by setting Allowed to True or False, respectively. For
conditions of OLE or VCL drag source see OnDragDrop.
See Also
OnDragDrop
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnEditCancelled Event
TBaseVirtualTree Class | See Also
Pascal
property OnEditCancelled: TVTEditCancelEvent;
Description
Triggered when an edit action has been cancelled.
See Also
Editors and editing
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnEdited Event
TBaseVirtualTree Class | See Also
Pascal
property OnEdited: TVTEditChangeEvent;
Description
Triggered when an edit action has successfully been finished.
See Also
Editors and editing
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnEditing Event
TBaseVirtualTree Class | See Also
Pascal
property OnEditing: TVTEditChangingEvent;
Description
Triggered when a node is about to be edited. Use Allowed to
allow or deny this action.
See Also
Editors and editing
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnExpanded Event
TBaseVirtualTree Class
Misscellaneous event.
Pascal
property OnExpanded: TVTChangeEvent;
Description
Triggered after a node has been expanded.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnExpanding Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnExpanding: TVTChangingEvent;
Description
Triggered just before a node is expanded. Use Allowed to
allow or deny this action.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnFocusChanged
Event
TBaseVirtualTree Class
Navigation support event.
Pascal
property OnFocusChanged: TVTFocusChangeEvent;
Description
Triggered after the focused node changed. When examining
Node keep in mind that it can be nil, meaning there is no
focused node.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnFocusChanging
Event
TBaseVirtualTree Class
Navigation support event.
Pascal
property OnFocusChanging: TVTFocusChangingEvent;
Description
Triggered when the node focus is about to change. You can
use Allowed to allow or deny a focus change. Keep in mind
that either the old or the new node can be nil.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnFreeNode Event
TBaseVirtualTree Class
Pascal
property OnFreeNode: TVTFreeNodeEvent;
Description
Triggered when a node is about to be freed. This is the ideal
place to free/disconnect your own data you associated with
Node. Keep in mind, that data which is stored directly in the
node does not need to be free by the application. This is part
of the node record and will be freed when the node is freed.
You should however finalize the data in such a case if it
contains references to external memory objects (e.g. variants,
strings, interfaces).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnGetCellIsEmpty
Event
TBaseVirtualTree Class
Triggered when the tree control needs to know whether a
given column is empty.
Pascal
property OnGetCellIsEmpty: TVTGetCellIsEmptyEvent;
Description
Virtual Treeview supports the concept of column spanning
where one cell with too much text to fit into its own space can
expand to the right cell neighbors if they are empty. To make
this work it is necessary to know if a cell is considered as
being empty, whatever this means to an application. The
string tree descendant simply checks the text for the given cell
and calls back its ancestor if there is no text to further refine if
the cell must stay as if it contained something. The ancestor
(TBaseVirtualTree) now triggers OnGetCellIsEmpty to let the
application decide.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.OnGetCellIsEmpty
Event |
TBaseVirtualTree.OnGetHeaderCursor
Event
TBaseVirtualTree.OnGetCursor Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnGetCursor: TVTGetCursorEvent;
Description
This event is triggered from the WM_SETCURSOR message
to allow the application use several individual cursors for a
tree. The Cursor property allows to set one cursor for the
whole control but not to use separate cursors for different tree
parts.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnGetHeaderCursor
Event
TBaseVirtualTree Class
Header and column support event.
Pascal
property OnGetHeaderCursor: TVTGetHeaderCursorEvent;
Description
This event is triggered from the WM_SETCURSOR message
to allow the application to define individual cursors for the
header part of the tree control.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnGetHelpContext
Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnGetHelpContext: TVTHelpContextEvent;
Description
This event is usually triggered when the user pressed F1 while
the tree has the focus. The tree is iteratively traversed all the
way up to the top level parent of the given node until a valid
help context index is returned (via this event). When the loop
reaches the top level without getting a help index then the tree
control's help index is used. If the tree itself does not have a
help context index then a further traversal is initiated going up
parent by parent of each control in the current window
hierarchy until either a valid index is found or there is no more
window parent.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnGetImageIndex
Event
TBaseVirtualTree Class
Display management event.
Pascal
property OnGetImageIndex: TVTGetImageEvent;
Description
This event is triggered whenever the tree needs the index of
an image, be it the normal, the selected or the state image.
The event should be as fast as possible because it is at times
frequently called when the layout of the node must be
determined, e.g. while doing draw selection with the mouse or
painting the tree. Kind determines which image is needed and
Column determines for which column of the node the image
is needed. This value can be -1 to indicate there is no column
used. The parameter Ghosted can be set to true to blend the
image 50% against the tree background and can be used for
instance in explorer trees to mark hidden file system objects.
Additionally nodes are also drawn with a ghosted icon if the
are part of a cut set during a pending cut-to-clipboard
operation. In this case changing the ghosted parameter has
no effect.
Notes
Blending nodes can be switched by using toUseBlendImages
in TreeOptions.PaintOptions.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnGetImageIndexEx
Event
TBaseVirtualTree Class
Not documented.
Pascal
property OnGetImageIndexEx: TVTGetImageExEvent;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnGetLineStyle Event
TBaseVirtualTree Class | See Also
Pascal
property OnGetLineStyle: TVTGetLineStyleEvent;
Description
This event is used to customize the appearance of the tree
and grid lines and is only triggered if the LineStyle property is
set to lsCustomStyle. The event must return a pointer to an
array containing bits for an 8 x 8 pixel image with word aligned
entries. For more info see PrepareBitmaps and the Windows
APIs CreateBitmap and CreatePatternBrush.
Notes
It is important that you do not use dynamically allocated
memory in this event (also no local variables on the stack). If
See Also
PrepareBitmaps
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnGetNodeDataSize
Event
TBaseVirtualTree Class | See Also
Data management event.
Pascal
property OnGetNodeDataSize: TVTGetNodeDataSizeEvent;
Description
Triggered when access to a node's data happens the first time
but the actual data size is not yet set. Usually you would
specify the size of the data you want to have added to each
node by NodeDataSize, e.g. SizeOf(TMyRecord) is quite
usual there (where TMyRecord is the structure you want to
have stored in the node). Sometimes, however it is not
possible to determine the node size in advance, so you can
leave NodeDataSize being -1 (the default value) and the
OnGetNodeDataSize event is triggered as soon as the first
regular node is created (the hidden root node does not have
user data but internal data which is determined by other
means).
See Also
NodeDataSize, Data handling
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnGetPopupMenu
Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnGetPopupMenu: TVTPopupEvent;
Description
This event allows the application to return a popup menu
which is specific to a certain node. The tree does an automatic
traversal all the way up to the top level node which is the
parent of a given node to get a popup menu. If Menu is set
then the traversal stops. Otherwise it continues until either a
menu is set, AskParent is set to False or the top level parent
has been reached.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnGetUserClipboardFormats
Event
TBaseVirtualTree Class
Drag'n drop and clipboard support event.
Pascal
property OnGetUserClipboardFormats: TVTGetUserClipboardFormat
Description
Whenever the tree needs to specify the available clipboard
formats for a clipboard or drag'n drop operation it calls this
event too, to allow the application or descentants (which
would override DoGetUserClipboardFormats) to specify own
formats which can be rendered. Since the build-in data object
does not know how to render formats which are specified here
you have to supply a handler for the OnRenderOLEData event
or an own IDataObject implementation to fully support your
own formats.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHeaderClick Event
TBaseVirtualTree Class | See Also
Pascal
property OnHeaderClick: TVTHeaderClickEvent;
Description
This event is triggered when the user clicks on a header
button and is usually a good place to set the current
SortColumn and SortDirection.
See Also
SortColumn, SortDirection
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnHeaderDblClick
Event
TBaseVirtualTree Class | See Also
Header & column support event.
Pascal
property OnHeaderDblClick: TVTHeaderClickEvent;
Description
Unlike OnHeaderClick this event is triggered for double clicks
on any part of the header and comes with more detailed
information like shift state, which mouse button caused the
event and the mouse position.
See Also
OnHeaderClick
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnHeaderDragged
Event
TBaseVirtualTree Class
Header & column support event.
Pascal
property OnHeaderDragged: TVTHeaderDraggedEvent;
Description
Triggered after the user has released the left mouse button
when a header drag operation was active. Column contains
the index of the column which was dragged. Use this index for
the Columns property of the header to find out the current
position. OldPosition is the position which Column occupied
before it was dragged around.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHeaderDraggedOut
Event
TBaseVirtualTree Class
Header & column support event.
Pascal
property OnHeaderDraggedOut: TVTHeaderDraggedOutEvent
Description
When during a header drag operation the mouse moves out of
the header rectangle and the mouse button is released then
an OnHeaderDraggedOut event will be fired with the target
mouse position in screen coordinates.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHeaderDragging
Event
TBaseVirtualTree Class
Pascal
property OnHeaderDragging: TVTHeaderDraggingEvent;
Description
Triggered just before dragging of a header button starts. Set
Allowed to False if you want to prevent the drag operation of
the given column.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHeaderDraw Event
TBaseVirtualTree Class
Pascal
property OnHeaderDraw: TVTHeaderPaintEvent;
Description
If you set the hoOwnerDraw style in TVTHeader.Options and
a column has been set to vsOwnerDraw (see also
TVirtualTreeColumn.Style) then OnDrawHeader is called
whenever a column needs painting.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHeaderDrawQueryElements
Event
TBaseVirtualTree Class | See Also
Header & column support event.
Pascal
property OnHeaderDrawQueryElements: TVTHeaderPaintQueryElemen
Description
Used for advanced header painting to query the application for
the elements, which are drawn by it and which should be
drawn by the tree.
See Also
OnAdvancedHeaderDraw
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnHeaderMouseDown
Event
TBaseVirtualTree Class
Pascal
property OnHeaderMouseDown: TVTHeaderMouseEvent;
Description
This event is similar to OnHeaderClick but comes with more
detailed information like shift state, which mouse button
caused the event and the mouse position.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHeaderMouseMove
Event
TBaseVirtualTree Class
Header & column support event.
Pascal
property OnHeaderMouseMove: TVTHeaderMouseMoveEvent;
Description
This event is triggered when the mouse pointer is moved over
the header area.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHeaderMouseUp
Event
TBaseVirtualTree Class
Pascal
property OnHeaderMouseUp: TVTHeaderMouseEvent;
Description
This event is very much like OnHeaderMouseDown but is
triggered when a mouse button is released.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnHotChange Event
TBaseVirtualTree Class
Pascal
property OnHotChange: TVTHotNodeChangeEvent;
Description
This event is triggered if hot tracking is enabled (see also
TreeOptions.PaintOptions) and when the mouse pointer
moves from one node caption to another. In full row select
mode most parts of a node are considered as being part of the
caption.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnIncrementalSearch
Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnIncrementalSearch: TVTIncrementalSearchEvent
Description
This event is integral part of the incremental search
functionality (see also Keyboard, hotkeys and incremental
search). It is triggered during search for a node which
matches the given string. Similar to other compare routines
return a value < 0 if the node's caption is considered as being
before the given text, = 0 if it is the same and > 0 if it is
considered being after the given text.
procedure TfrmProperties.VST3IncrementalSearch(Sender:
var Result: Integer);
var
S, PropText: string;
begin
// Note: This code requires a proper Unicode/WideString co
// size and clarity reasons. For now strings are (implicit
// Search is not case sensitive.
S := Text;
if Node.Parent = Sender.RootNode then
begin
// root nodes
if Node.Index = 0 then
PropText := 'Description'
else
PropText := 'Origin';
end
else
begin
PropText := PropertyTexts[Node.Parent.Index, Node.Index,
end;
Notes
Usually incremental search allows to match also partially.
Hence it is recommended to do comparison only up to the
length
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnInitChildren Event
TBaseVirtualTree Class | See Also
Pascal
property OnInitChildren: TVTInitChildrenEvent;
Description
In order to allow the tree only to fill content where needed it is
possible to set the vsHasChildren style in a node's initializaton
whithout really adding any child nodes. These child nodes
must be initialized first when they are about to be displayed or
another access (like search, iteration etc.) occurs.
See Also
The virtual paradigm
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.OnInitChildren
Event |
TBaseVirtualTree.OnKeyAction
Event
TBaseVirtualTree.OnInitNode Event
TBaseVirtualTree Class | See Also
Pascal
property OnInitNode: TVTInitNodeEvent;
Description
This event is important to connect the tree to your internal
data. It is the ideal place to put references or whatever you
need into a node's data area. You can set some initial states
like selection, expansion state or that a node has child nodes.
See Also
The virtual paradigm
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnKeyAction Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnKeyAction: TVTKeyActionEvent;
Description
This event is a convinient way for the application or
descentant trees to change the semantic of a certain key
stroke. It is triggered when the user presses a key and allows
either to process that key normally (leave DoDefault being
True) or change it to another key instead (set DoDefault to
False then). This way a key press can change its meaning or
entirely be ignored (if CharCode is set to 0).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnLoadNode Event
TBaseVirtualTree Class | See Also
Pascal
property OnLoadNode: TVTSaveNodeEvent;
Description
This event is typically triggered when serialized tree data must
be restored, e.g. when loading the tree from file or stream or
during a clipboard/drag'n drop operation. You should only read
in what you wrote out in OnSaveNode. For safety there is a
check in the loader code which tries to keep the internal
serialization structure intact in case the application does not
read correctly.
See Also
OnSaveNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.OnLoadNode
Event |
TBaseVirtualTree.OnNodeCopied
Event
TBaseVirtualTree.OnMeasureItem Event
TBaseVirtualTree Class | See Also
Miscellaneous event.
Pascal
property OnMeasureItem: TVTMeasureItemEvent;
Description
Virtual Treeview supports individual node heights. However it
might sometimes unpractical to set this height in advance (e.g.
during OnInitNode). Another scenario might be that multi line
nodes must size themselves to accomodate the entire node
text without clipping. For such and similar cases the event
OnMeasureItem is for. It is queried once for each node and
allows to specify the node's future height. If you later want to
have a new height applied (e.g. because the node's text
changed) then call InvalidateNode for it and its
vsHeightMeasured state is reset causing so the tree to trigger
the OnMeasureItem event again when the node is painted the
next time.
See Also
InvalidateNode, vsHeightMeasured
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnNodeCopied Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnNodeCopied: TVTNodeCopiedEvent;
Description
This event is triggered during drag'n drop after a node has
been copied to a new location. Sender is the target tree where
the copy operation took place.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnNodeCopying Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnNodeCopying: TVTNodeCopyingEvent;
Description
This event is triggered when a node is about to be copied to a
new location. Use Allowed to allow or deny the action.
Sender is the target tree where the copy operation will take
place.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnNodeMoved Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnNodeMoved: TVTNodeMovedEvent;
Description
This event is very much like OnNodeCopied but used for
moving nodes instead.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnNodeMoving Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnNodeMoving: TVTNodeMovingEvent;
Description
This event is very much like OnNodeCopying but used for
moving nodes instead.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnPaintBackground
Event
TBaseVirtualTree Class
Paint support event.
Pascal
property OnPaintBackground: TVTBackgroundPaintEvent;
Description
This event is triggered when the tree has finished its painting
and there is an area which is not covered by nodes. For nodes
there are various events to allow background customizaton.
For the free area in the tree window there is this event.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnRenderOLEData
Event
TBaseVirtualTree Class
Drag'n drop and clipboard support event.
Pascal
property OnRenderOLEData: TVTRenderOLEDataEvent;
Description
This event is triggered when the data in a clipboard or drag'n
drop operation must be rendered but the built-in data object
does not know the requested format. This is usually the case
when the application (or descentants) have specified their own
formats in OnGetUserClipboardFormats.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnResetNode Event
TBaseVirtualTree Class | See Also
Pascal
property OnResetNode: TVTChangeEvent;
Description
For large trees or simply because the content changed it is
sometimes necessary to discard a certain node and release
all its children. This can be done with ResetNode which will
trigger this event.
See Also
ResetNode
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnSaveNode Event
TBaseVirtualTree Class | See Also
Pascal
property OnSaveNode: TVTSaveNodeEvent;
Description
This event is triggered whenever a certain node must be
serialized into a stream, e.g. for saving to file or for copying to
another tree/node during a clipboard or drag'n drop operation.
Make sure you only store non-transient data into the stream.
Pointers (including long/wide string references) are transient
and the application cannot assume to find the data a pointer
references on saving at the same place when the node is
loaded (see also OnLoadNode). This is even more essential
for nodes which are moved or copied between different trees
in different processes (applications). Storing strings however
is easily done by writing the strings as a whole into the
stream.
Notes
For exchanging data between different trees and for general
stability improvement I strongly recommend that you insert a
follow when loading the node later and does normally not
required to be stored in the node data.
See Also
OnLoadNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnScroll Event
TBaseVirtualTree Class | See Also
Miscellaneous event.
Pascal
property OnScroll: TVTScrollEvent;
Description
This event is triggered when the tree is scrolled horizontally or
vertically. You can use it to synchronize scrolling of several
trees or other controls.
See Also
OffsetXY
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.OnShowScrollbar
Event
TBaseVirtualTree Class
Not documented.
Pascal
property OnShowScrollbar: TVTScrollbarShowEvent;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnStateChange Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnStateChange: TVTStateChangeEvent;
Description
For special effects or in order to increase performance it is
sometimes useful to know when the tree changes one of its
internal states like tsIncrementalSearching or tsOLEDragging.
The OnStateChange event is triggered each time such a
change occurs letting so the application take measures for it.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnStructureChange
Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnStructureChange: TVTStructureChangeEvent;
Description
This event is triggered when a change in the tree structure is
made. That means whenever a node is created or destroyed
or a node's child list is change (because a child node was
moved, copied etc.) then OnStructureChange is executed.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OnUpdating Event
TBaseVirtualTree Class
Miscellaneous event.
Pascal
property OnUpdating: TVTUpdatingEvent;
Description
This event is triggered when the application or the tree call
BeginUpdate or EndUpdate and indicate so when a larger
update operation takes place. This can for instance be used to
show a hour glass wait cursor.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.RootNode Property
TBaseVirtualTree Class
Pascal
property RootNode: PVirtualNode;
Description
For anchoring the tree hierarchy an internal tree node is
maintained which is mostly just like any other tree node but
has sometimes differently handled. The root node is always
expanded and initialized. Its parent member points to the
treeview to which the node belongs to and its PreviousSibling
and NextSibling members point to the root node itself to make
it possible to actually recognize this node.
Notes
You should not use the root node to iterate through the tree. It
is only publicly accessible because it is the parent of
all top level nodes and can be used to test a node whether it is
a top level node or not.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.RootNodeCount
Property
TBaseVirtualTree Class
Read or set the number of nodes on the top level.
Pascal
property RootNodeCount: Cardinal;
Description
Usually setting RootNodeCount is all what is needed to initially
fill the tree. When one of the top level nodes is initialized you
can set its ivsHasChildren style. This will then cause to ask to
initialize the child nodes. Recursively applied, you can use this
principle to create tree nodes on demand (e.g. when their
parent is expanded).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ScrollBarOptions
Property
TBaseVirtualTree Class
Reference to the scroll bar options class.
Pascal
property ScrollBarOptions: TScrollBarOptions;
Description
Like many other aspects in Virtual Treeview also scrollbars
can be customized. See the class itself for further
descriptions.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SearchBuffer Property
TBaseVirtualTree Class | See Also
Pascal
property SearchBuffer: WideString;
Description
When incremental search is active you can use SearchBuffer
to get the input string typed by the user, which created the last
match.
See Also
IncrementalSearch
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.Selected Property
TBaseVirtualTree Class
Pascal
property Selected [Node: PVirtualNode]: Boolean;
Description
This array property is used to test whether a given node is
selected or to switch its selection state. Note that the selection
state has nothing to do with the focused state. Only one node
can be focused while any number of nodes can be selected
(read: can be marked with the selection flag to paint their
caption differently). Selection is mainly used to mark nodes for
clipboard and drag'n drop operations.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SelectedCount
Property
TBaseVirtualTree Class
Pascal
property SelectedCount: Integer;
Description
If multiselection is enabled (toMultiSelect) then SelectedCount
will contain the actual number of selected nodes. In order to
change the selection state of a node use Selected or
AddToSelection/RemoveFromSelection.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SelectionBlendFactor
Property
TBaseVirtualTree Class | See Also
Read or set the current blend factor for the multi selection
rectangle and the node selection rectangle.
Pascal
property SelectionBlendFactor: Byte;
Description
For a visually appealing tree some operations use alpha
blending. One of these operations is multi selection using the
mouse. Another one is the rectangle drawn around the caption
of selected nodes. Both rectangles use the
SelectionBlendFactor to determine how much of the
underlying tree image and how much of the rectangles should
be seen. The factor can be in the range of [0..255] where 0
means the rectangle is fully transparent and 255 it is fully
opaque.
Notes
Alpha blending is only enabled when the current processor
supports MMX instructions. If MMX is not supported then a
See Also
DrawSelectionMode, TVTPaintOptions
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.SelectionCurveRadius
Property
TBaseVirtualTree Class | See Also
Read or set the current corner radius for node selection
rectangles.
Pascal
property SelectionCurveRadius: Cardinal;
Description
This is a special property to determine the radius of the
corners of the selection rectangle for a node caption. Virtual
Treeview supports not only simple rectangular selection marks
but also such with rounded corners. This feature, however, is
only available if blended node selection rectangles are
disabled.
See Also
SelectionBlendFactor, DrawSelectionMode, TVTPaintOptions
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.StateImages Property
TBaseVirtualTree Class | See Also
Pascal
property StateImages: TCustomImageList;
Description
Each node can (in each column) have several images. One is
the check image which is supplied by internal image lists or a
special external list (see also CustomCheckImages). Another
one is the state image and yet another one the
normal/selected image.
See Also
CheckImages, Images
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.TextMargin Property
TBaseVirtualTree Class | See Also
Pascal
property TextMargin: Integer;
Description
TextMargin is used to define a border like area within the
content rectangle of a node. This rectangle is the area of the
node less the space used for indentation, images, lines and
node margins and usually contains the text of a node. In order
to support finer adjustment there is another margin, which only
applies to the left and right border in the content rectangle.
This is the text margin.
See Also
Margin
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.TextMargin
Property |
TBaseVirtualTree.TotalCount
Property
TBaseVirtualTree.TopNode Property
TBaseVirtualTree Class
The top node is the node which is currently at the top border
of the client area.
Pascal
property TopNode: PVirtualNode;
Description
This property is a reference to the node which is the first node
which is at least partially visible in the client area.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.TotalCount Property
TBaseVirtualTree Class
Pascal
property TotalCount: Cardinal;
Description
Use this property to get the overall number of nodes currently
in the tree. This will validate all nodes in the control so that
also not yet created child nodes are counted.
Notes
This property is quite counter productive as it causes the
entire tree to be validated when queried. This means that
each
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.TotalInternalDataSize
Property
TBaseVirtualTree Class | See Also
Keeps the currently accumulated data size for one node.
Pascal
property TotalInternalDataSize: Cardinal;
Description
Each node in the tree not only supports user data but also an
interal area where TVirtualBaseTree descentants can store
their own data per node. This internal data area must be
allocated by a tree class, that means it must register its need
for internal data. The internal data size registered by each
descendant is accumulated in the TotalInternalDataSize
member and is used to compute the user data offset in the
node record.
See Also
Data handling
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.TreeOptions Property
TBaseVirtualTree Class
Pascal
property TreeOptions: TCustomVirtualTreeOptions;
Description
The tree options are one of the main switchs to modify a
treeview's behavior. Virtual Treeview supports customizing
tree options by descentants. This allows very fine adjustments
for derived tree classes, including the decision which
properties should be published. For more information about
the base options see TCustomVirtualTreeOptions and its
descentants.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.TreeStates Property
TBaseVirtualTree Class | See Also
Pascal
property TreeStates: TVirtualTreeStates;
Description
Often it is extremly helpful to know what action is currently
happening in the tree. TreeStates gives you this information,
be it that the caches are currently validated, a drag operation
is in progress, the tree has delayed data on the clipboard or a
large update operation is under work. You can greatly
optimize your code with this knowledge.
See Also
OnStateChange
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.TreeStates
Property |
TBaseVirtualTree.VerticalAlignment
Property
TBaseVirtualTree.UpdateCount Property
TBaseVirtualTree Class
Not documented.
Pascal
property UpdateCount: Cardinal;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.VerticalAlignment
Property
TBaseVirtualTree Class
Used to set a node's vertical button aligment with regard to
the entire node rectangle.
Pascal
property VerticalAlignment [Node: PVirtualNode]: Byte;
Description
The given value is interpreted differently depending on the
value of NodeAlignment. By default the alignment used
relatively with regard to the top bound. In this case a range of
0 through 100 must be used which denotes the relative pixel
amount in percent. The other variants work with absolute pixel
values from top or bottom bound.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.VisibleCount Property
TBaseVirtualTree Class
Pascal
property VisibleCount: Cardinal;
Description
Visible nodes are those nodes which have the vsVisible flag
set in their states.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.VisiblePath Property
TBaseVirtualTree Class | See Also
Pascal
property VisiblePath [Node: PVirtualNode]: Boolean;
Description
A node has a visible path when all of its parent nodes are
expanded. Setting this property to True will expand all parent
nodes of Node if not yet done.
See Also
Visible
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.WantTabs Property
TBaseVirtualTree Class
Pascal
property WantTabs: Boolean;
Description
Usually tab kex strokes advance the input focus from one
control to another on a form. For special processing however
it is necessary to let the control decide what to do with the
given tabulator character. Virtual Treeview needs this
character mainly for its grid emulation.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AbsoluteIndex Method
TBaseVirtualTree Class
Pascal
function AbsoluteIndex(Node: PVirtualNode): Cardinal;
Description
Indicates the index of the tree node relative to the first tree
node in a tree.
Notes
Similar to TotalCount also with AbsoluteIndex the entire tree
will be validated, with all consequences like high memory
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.AbsoluteIndex
Method |
TBaseVirtualTree.AddFromStream
Method
TBaseVirtualTree.AddChild Method
TBaseVirtualTree Class | See Also
Pascal
function AddChild(Parent: PVirtualNode; UserData: Pointer =
Description
The new node will be created as last child of Parent and is
returned as result.
Notes
Using AddChild is not recommended. The method is merely
there for easier migration from TTreeview. The reason is that
the
See Also
InsertNode, OnInitNode, OnInitChildren
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.AddFromStream
Method
TBaseVirtualTree Class | See Also
Adds the content from the given stream to the given node.
Pascal
procedure AddFromStream(Stream: TStream; TargetNode:
Description
AddFromStream restores the subtree stored in Stream and
adds it to TargetNode. The content of the stream must have
been saved previously with SaveToStream.
See Also
SaveToStream
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.AddToSelection
Method (PVirtualNode)
TBaseVirtualTree Class
Pascal
procedure AddToSelection(Node: PVirtualNode); virtual
Description
AddToSelection either takes a single node or an array of
nodes and adds them to the current seletion in the tree. In this
process also the vsSelected state of the node is set.
NewLength is the amount of nodes to add (necessary to
allow NewItems to be larger than the actual used entries).
ForceInsert is true if nodes must be inserted without
consideration of level select constraint or already set selected
flags (e.g. when loading from stream).
Notes
In the case ForceInsert is true the caller is responsible for
making sure the new nodes aren't already in the
selection array!
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AddToSelection
Method (TNodeArray, Integer, Boolean)
TBaseVirtualTree Class
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AdjustPaintCellRect
Method
TBaseVirtualTree Class
Used in descentants to modify the clip rectangle of the current
column while painting a certain node.
Pascal
procedure AdjustPaintCellRect(var PaintInfo: TVTPaintInfo
Description
The rectangle for the given cell (node, column pair in
PaintInfo) can be adjusted by descendants to make room for
special drawings, if necessary.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AdjustPanningCursor
Method
TBaseVirtualTree Class
Loads the proper cursor which indicates into which direction
scrolling is done.
Pascal
procedure AdjustPanningCursor(X: Integer; Y: Integer);
Description
Wheel mice support a special mode for their wheel, which is
used in many applications. By pressing the wheel (which is
also a button) you can start so called wheell panning. In this
mode the tree window is smoothly scrolled in the direction to
which the mouse pointer is moved. As soon as you release
the wheel button wheel panning is stopped. A second form of
this feature is referred to as wheel scrolling. It is basically the
same as wheel panning but is entered when you release the
wheel button before you moved the mouse. In this mode you
can move the mouse and do the tree scrolling without holding
the wheel all the time. To stop this mode simple turn the
wheel, or click any mouse button. Also pressing ESC will
cause to leave the wheel scrolling mode.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AdviseChangeEvent
Method
TBaseVirtualTree Class
Used to register a delayed change event.
Pascal
procedure AdviseChangeEvent(StructureChange: Boolean; Node:
Description
Often there can be many change events in a row and calling
the application for each of them might be too time costly. So
they are by default accumulated until a certain time has
elapsed (ChangeDelay) or, if BeginUpdate was called, until
EndUpdate is executed. If StructureChange is False then we
have a selection change event (without a specific reason)
otherwise it is a structure change.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.AllocateInternalDataArea
Method
TBaseVirtualTree Class | See Also
Pascal
function AllocateInternalDataArea(Size: Cardinal): Cardinal;
Description
This method is used for descentants to specify their need for
internal data. Each node contains some extra reserved bytes
between the node's normal members and the user data area.
This internal area can be used to cache additional information,
e.g. the string tree keeps here the width of the node's caption
in the main column for quick hit tests when doing draw
selection with the mouse.
See Also
Data handling, TotalInternalDataSize
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.Animate Method
TBaseVirtualTree Class
Pascal
procedure Animate(Steps: Cardinal; Duration: Cardinal; Callba
Description
This method is a general purpose helper to do an animation
and is used for hint fading, animated node toggling etc. The
method automatically takes care that the animation is done
within the specified time interval. For each step in the
animation loop the provided callback is called which gets Data
passed as parameter.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Assign Method
TBaseVirtualTree Class
Pascal
procedure Assign(Source: TPersistent); override;
Description
Although this method assignes most tree properties it does
not assign the header and the nodes to the new tree. There is
an own method (TVTHeader.Assign) for the header
assignment. In order to copy the nodes you must save them to
a stream and restore them in the other control
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.BeginDrag Method
TBaseVirtualTree Class
Pascal
procedure BeginDrag(Immediate: Boolean; Threshold: Integer =
Description
This method is called within the mouse down handler when
DragMode is set to dmAutomatic. Manual start of a drag
operation is not recommended as it confuses the correct
mouse down handling which is quite complex in Virtual
Treevew. If you selectively want to allow to start a drag
operation then use the OnDragAllowed event which is called
when DragMode is dmManual.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.BeginSynch Method
TBaseVirtualTree Class
Pascal
procedure BeginSynch;
Description
Similar to BeginUpdate does BeginSynch provide a
mechanism to bring certain events into a common line. That
means, whenever you need to make sure change events are
called before a modification in the tree is finished (e.g. when
changing the focus or selection) then use the synchronous
mode started with BeginSynch (and stopped with EndSynch).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.BeginUpdate Method
TBaseVirtualTree Class
Pascal
procedure BeginUpdate;
Description
Call this method when a long lasting operation begins which
might involve manipulation of many nodes.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CalculateSelectionRect
Method
TBaseVirtualTree Class
Support method for draw selection.
Pascal
function CalculateSelectionRect(X: Integer; Y: Integer): Bool
Description
Recalculates old and new selection rectangle given that X, Y
are new mouse coordinates. The function returns true if there
was a change since the last call.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CanAutoScroll Method
TBaseVirtualTree Class
Pascal
function CanAutoScroll: Boolean; virtual;
Description
This method was created because the conditions when the
tree may automatically scroll its content are quite complex.
Additionally, tree descendants might want to add further
limitations. Thus the determination has been put into an own
method which returns true if the tree is allowed to scroll,
otherwise False.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CancelCutOrCopy
Method
TBaseVirtualTree Class
Canceles any pending cut or copy clipboard operation.
Pascal
procedure CancelCutOrCopy;
Description
This method is used to stop any pending clipboard operation.
No data is transfered nor are nodes deleted.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CancelEditNode
Method
TBaseVirtualTree Class
Pascal
function CancelEditNode: Boolean;
Description
Used to stop the current edit operation.The node editor will get
a CancelEdit call so that the node is not changed.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CanEdit Method
TBaseVirtualTree Class
Pascal
function CanEdit(Node: PVirtualNode; Column: TColumnIndex
Description
The method is called when the tree is about to start a node
edit operation. Returns true if editing is allowed, otherwise
false.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CanFocus Method
TBaseVirtualTree Class
Pascal
function CanFocus: Boolean;
Description
The method adds a check for the parent form of the control.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CanShowDragImage
Method
TBaseVirtualTree Class
Pascal
function CanShowDragImage: Boolean; virtual;
Description
This overridable method is used to determine whether a drag
image can be shown or not.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Change Method
TBaseVirtualTree Class | See Also
Pascal
procedure Change(Node: PVirtualNode); virtual;
Description
The Change method is called to trigger the change notifcation
chain. Depending on the sync and the update states of the
tree as well as the ChangeDelay value either the application is
directly notified about the change or a timer is started to
accumulate several change events into one.
See Also
BeginSynch, EndSynch, BeginUpdate, EndUpdate,
ChangeDelay
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.ChangeScale Method
TBaseVirtualTree Class | See Also
Pascal
procedure ChangeScale(M: Integer; D: Integer); override
Description
ChangeScale is a method introduced by TControl. In Virtual
Treeview it is responsible to change the tree's and the
header's fonts as well as to compute the new default node
height.
See Also
TVTHeader.ChangeScale, DefaultNodeHeight
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.CheckParentCheckState
Method
TBaseVirtualTree Class
Pascal
function CheckParentCheckState(Node: PVirtualNode; NewCheckSt
Description
Checks all siblings of node to determine which check state
Node's parent must get.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Clear Method
TBaseVirtualTree Class
Pascal
procedure Clear; virtual;
Description
All pending operations are stopped and the tree is ready to
receive new nodes.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ClearChecked Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure ClearChecked;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ClearSelection Method
TBaseVirtualTree Class
Pascal
procedure ClearSelection;
Description
ClearSelection empties the internal selection cache and resets
the vsSelected state from all nodes, which were in this array.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ClearTempCache
Method
TBaseVirtualTree Class
Helper method to clear the internal temporary node cache.
Pascal
procedure ClearTempCache; virtual;
Description
The internal node cache is used when more than one node is
involved in certain operations (e.g. including a range of nodes
into the current selection).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ColumnIsEmpty
Method
TBaseVirtualTree Class | See Also
Used to determine if a cell is considered as being empty.
Pascal
function ColumnIsEmpty(Node: PVirtualNode; Column: TColumnInd
Description
An empty cell might be used for the automatic column
spanning feature. Descentants can override this method to
modify the tree's behavior.
See Also
toAutoSpanColumns
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.CopyTo Method
(PVirtualNode, PVirtualNode,
TVTNodeAttachMode, Boolean)
TBaseVirtualTree Class
Pascal
function CopyTo(Source: PVirtualNode; Tree: TBaseVirtualTree
function CopyTo(Source: PVirtualNode; Target: PVirtualNode
Description
Mode is used to specify further where to add the new node
actually (as sibling of Target or as child of Target). Result is
the newly created node to which source has been copied if
ChildrenOnly is False or just contains Target in the other
case. ChildrenOnly determines whether to copy also the
source node or only its child nodes.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CopyToClipBoard
Method
TBaseVirtualTree Class
Copies all currently selected nodes to the clipboard.
Pascal
procedure CopyToClipBoard; virtual;
Description
CopyToClipboard causes the tree to copy the currently
selected nodes to the clipboard. Actually, Virtual Treeview
maintains socalled delayed rendering. This means the
participating nodes are marked as being in the current
clipboard set (see vsCutOrCopy in TVirtualNodeStates) and
only an IDataObject interface is placed onto the clipboard but
no data yet. This avoids not only possibly huge memory
requirements but it also avoids rendering data in a format
which is not necessary. The application which pastes the
clipboard content later will get the IDataObject interface and
requests the format it can handle. The actual data is then
rendered when the target application calls
IDataObject.GetData, which results in a call to
RenderOLEData.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CountLevelDifference
Method
TBaseVirtualTree Class
Determines the level difference of two nodes.
Pascal
function CountLevelDifference(Node1: PVirtualNode; Node2:
Description
This method counts how many indentation levels the given
nodes are apart. If both nodes have the same parent then the
difference is 0 otherwise the result is basically
GetNodeLevel(Node2) - GetNodeLevel(Node1), but with sign.
If the result is negative then Node2 is less intended than
Node1.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CountVisibleChildren
Method
TBaseVirtualTree Class
Pascal
function CountVisibleChildren(Node: PVirtualNode): Cardinal;
Description
CountVisibleChildren iterates through all child nodes of Node
and counts how many of them have the vsVisible state set.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Create Constructor
TBaseVirtualTree Class
Pascal
constructor Create(AOwner: TComponent); override;
Description
The constructor initializes certain properties to their default
values.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CreateParams Method
TBaseVirtualTree Class
Pascal
procedure CreateParams(var Params: TCreateParams); override
Description
CreateParams is overriden to allow to set certain window
styles for the control.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CreateWnd Method
TBaseVirtualTree Class
Pascal
procedure CreateWnd; override;
Description
Some properties must be preset first after the window handle
was created. CreateWnd is the perfect place for this.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.CutToClipBoard
Method
TBaseVirtualTree Class
Copies the currently selected nodes to the clipboard and
removes them once a consumer has taken the data.
Pascal
procedure CutToClipBoard; virtual;
Description
Similar to CopyToClipboard only the nodes are deleted after
they have been pasted into the target.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DefineProperties
Method
TBaseVirtualTree Class
Helper method to customize loading and saving persistent
tree data.
Pascal
procedure DefineProperties(Filer: TFiler); override;
Description
There were heavy changes in some properties during
development of VT. This method helps to make migration
easier by reading old properties manually and put them into
the new properties as appropriate. These old properties are
never written again and silently disappear.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.DefineProperties
Method |
TBaseVirtualTree.DeleteNode
Method
TBaseVirtualTree.DeleteChildren Method
TBaseVirtualTree Class
Pascal
procedure DeleteChildren(Node: PVirtualNode; ResetHasChildren
Description
The method works recursively: all grandchildren and their
children are removed as well.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DeleteNode Method
TBaseVirtualTree Class
Pascal
procedure DeleteNode(Node: PVirtualNode; Reindex: Boolean = T
Description
This method deletes the given node. If the node was initialized
or had gotten initial data via the AddChild or InsertNode then
the event OnFreeNode is called to allow the application to free
any user data attached to a node.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DeleteSelectedNodes
Method
TBaseVirtualTree Class
Removes all currently selected nodes form the tree.
Pascal
procedure DeleteSelectedNodes; virtual;
Description
All nodes in the current selection are affected.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Destroy Destructor
TBaseVirtualTree Class
Pascal
destructor Destroy; override;
Description
Frees any allocated data in the tree. All pending operations
will be stopped and any remaining node is freed.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DetermineHiddenChildrenFlag
Method
TBaseVirtualTree Class | See Also
Pascal
procedure DetermineHiddenChildrenFlag(Node: PVirtualNode
Description
Virtual Treeview supports a feature, which is called node
button auto hide. What happens is that when all children of a
node are hidden then the expand button for this node is
automatically removed. In order to know about the visibility
state of the child nodes an internal flag is maintained, which
allows to quickly decide about the button display.
DetermineHidenChildren is the update method for cases
where more than one child node changed.
See Also
vsVisible, toAutoHideButtons
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.DetermineHiddenChildrenFlag
Method
TBaseVirtualTree Class
Determines whether all children of all nodes are hidden.
Pascal
procedure DetermineHiddenChildrenFlagAllNodes; virtual
Description
As extension to DeterminHiddenChildren this method
iteratively determines the hidden children flag for all existing
nodes in the tree. This is only used for large updates. No node
will be initialized in this process.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DetermineHitPositionLTR
Method
TBaseVirtualTree Class
Pascal
procedure DetermineHitPositionLTR(var HitInfo: THitInfo
procedure DetermineHitPositionRTL(var HitInfo: THitInfo
Description
This method, together with its counter part
DetermineHitPositionRTL, is used in the process of figuring
out where the a given position is located in relation to a node.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DetermineNextCheckState
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DetermineNextCheckState(CheckType: TCheckType
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DetermineScrollDirections
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DetermineScrollDirections(X: Integer; Y: Integer):
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoAdvancedHeaderDraw
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoAdvancedHeaderDraw(var PaintInfo: THeaderPaintInf
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoAfterCellPaint
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoAfterCellPaint(Canvas: TCanvas; Node: PVirtualNod
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoAfterItemErase
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoAfterItemErase(Canvas: TCanvas; Node: PVirtualNod
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoAfterItemPaint
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoAfterItemPaint(Canvas: TCanvas; Node: PVirtualNod
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoAfterPaint Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoAfterPaint(Canvas: TCanvas); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoAutoScroll Method
TBaseVirtualTree Class
Pascal
procedure DoAutoScroll(X: Integer; Y: Integer); virtual
Description
This method determines whether the tree needs to be scrolled
(the mouse is near the borders) and enables or disables the
internal scroll timer which triggers the DoTimerScroll method.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoBeforeCellPaint
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoBeforeCellPaint(Canvas: TCanvas; Node: PVirtualNo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoBeforeDrag Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoBeforeDrag(Node: PVirtualNode; Column: TColumnInde
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoBeforeItemErase
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoBeforeItemErase(Canvas: TCanvas; Node: PVirtualNo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoBeforeItemPaint
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoBeforeItemPaint(Canvas: TCanvas; Node: PVirtualNod
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoBeforePaint Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoBeforePaint(Canvas: TCanvas); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCancelEdit Method
TBaseVirtualTree Class
Pascal
function DoCancelEdit: Boolean; virtual;
Description
This method calls the edit link's IEditLink.CancelEdit method
and stops the edit mode if this call returns True. If stopping is
allowed then the event OnEditCancelled is triggered and a
message is sent to release the edit link asynchronously.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCanEdit Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoCanEdit(Node: PVirtualNode; Column: TColumnIndex
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoChange Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoChange(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCheckClick Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoCheckClick(Node: PVirtualNode; NewCheckState:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoChecked Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoChecked(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoChecking Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoChecking(Node: PVirtualNode; var NewCheckState:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCollapsed Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoCollapsed(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCollapsing Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoCollapsing(Node: PVirtualNode): Boolean; virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoColumnClick
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoColumnClick(Column: TColumnIndex; Shift: TShiftSt
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoColumnDblClick
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoColumnDblClick(Column: TColumnIndex; Shift: TShif
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoColumnResize
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoColumnResize(Column: TColumnIndex); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCompare Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoCompare(Node1: PVirtualNode; Node2: PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCreateDataObject
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoCreateDataObject: IDataObject; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCreateDragManager
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoCreateDragManager: IVTDragManager; virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoCreateEditor Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoCreateEditor(Node: PVirtualNode; Column: TColumnIn
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoDragDrop Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoDragDrop(Source: TObject; DataObject: IDataObject
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoDragExpand Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoDragExpand; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoDragging Method
TBaseVirtualTree Class
Pascal
procedure DoDragging(P: TPoint); virtual;
Description
This method starts the OLE drag'n drop operation and returns
after this operation is finished.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoDragOver Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoDragOver(Source: TObject; Shift: TShiftState; Stat
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoEdit Method
TBaseVirtualTree Class | See Also
Pascal
procedure DoEdit; virtual;
Description
This method takes care for editor creation and initialization.
You can look for tsEditing in TreeStates to know whether
editing is currently active.
See Also
tsEditing, OnCreateEditor, IVTEditLink
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.DoEndDrag Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoEndDrag(Target: TObject; X: Integer; Y: Integer);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoEndEdit Method
TBaseVirtualTree Class | See Also
Stops the current edit operation and takes over the new
content.
Pascal
function DoEndEdit: Boolean; virtual;
Description
The method also sends a message to the tree window to
asynchronously release the edit link which communicates to
the actual editor. The edit link is responsible to propagate any
changes made in its node editor to the tree.
Notes
TVirtualStringTree overrides this method to tell the application
about the new caption by calling OnNewText.
See Also
DoEdit, OnNewText, EditNode
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.DoExpanded Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoExpanded(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoExpanding Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoExpanding(Node: PVirtualNode): Boolean; virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoFocusChange
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoFocusChange(Node: PVirtualNode; Column: TColumnIn
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoFocusChanging
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoFocusChanging(OldNode: PVirtualNode; NewNode:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoFocusNode Method
TBaseVirtualTree Class
Pascal
procedure DoFocusNode(Node: PVirtualNode; Ask: Boolean);
Description
This methods is called by the property setter for the focused
node as well as from other places to do the actual change. It
takes the parameter Ask to optionally switch off (Ask = False)
triggering the OnFocusChanging event.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoFreeNode Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoFreeNode(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetAnimationType
Method
TBaseVirtualTree Class
Determines the type of animation to be used.
Pascal
function DoGetAnimationType: THintAnimationType; virtual
Description
Windows 98 and Windows 2000 introduced two ways of
animating hints when they appear: a sliding window and a
fading window. Virtual Treeview implements both animation
types and also supports system dependent animations. This
allows to use the animation type enabled in the particular
system on which the tree currently runs. Additonally, there is a
check for MMX to do a fallback if fade animation is specified
but no MMX available. In this case sliding is used. Starting
with Windows 2000 and Windows ME the hint animation can
even be be switched off entirely. Also this case is handled by
this method.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.DoGetAnimationType
Method |
TBaseVirtualTree.DoGetHeaderCursor
Method
TBaseVirtualTree.DoGetCursor Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoGetCursor(var Cursor: TCursor); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetHeaderCursor
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoGetHeaderCursor(var Cursor: HCURSOR); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetImageIndex
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoGetImageIndex(Node: PVirtualNode; Kind: TVTImageKi
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetLineStyle
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoGetLineStyle(var Bits: Pointer); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetNodeHint
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoGetNodeHint(Node: PVirtualNode; Column: TColumnInd
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetNodeTooltip
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoGetNodeTooltip(Node: PVirtualNode; Column:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetNodeWidth
Method
TBaseVirtualTree Class
Overridable method which always retuns 0.
Pascal
function DoGetNodeWidth(Node: PVirtualNode; Column: TColumnIn
Description
Descentants override this method to return a value which
describes the width of a node. This is the inner width of the
node excluding tree lines etc. So TVirtualStringTree returns
the width of the node caption (plus text margin).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetPopupMenu
Method
TBaseVirtualTree Class
Pascal
function DoGetPopupMenu(Node: PVirtualNode; Column: TColumnIn
Description
This method does an automatic parent traversal in the tree
hierarchy to find a matching popup menu.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoGetUserClipboardFormats
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoGetUserClipboardFormats(var Formats: TFormatEtcAr
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderClick Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderClick(Column: TColumnIndex; Button: TMouseB
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderDblClick
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderDblClick(Column: TColumnIndex; Button: TMou
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderDragged
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderDragged(Column: TColumnIndex; OldPosition:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderDraggedOut
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderDraggedOut(Column: TColumnIndex; DropPositi
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderDragging
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoHeaderDragging(Column: TColumnIndex): Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderDraw Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderDraw(Canvas: TCanvas; Column: TVirtualTreeC
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderDrawQueryElements
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderDrawQueryElements(var PaintInfo: THeaderPai
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderMouseDown
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderMouseDown(Button: TMouseButton; Shift: TShi
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderMouseMove
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderMouseMove(Shift: TShiftState; X: Integer; Y
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHeaderMouseUp
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHeaderMouseUp(Button: TMouseButton; Shift: TShift
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoHotChange Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoHotChange(Old: PVirtualNode; New: PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoIncrementalSearch
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoIncrementalSearch(Node: PVirtualNode; const
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoInitChildren Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoInitChildren(Node: PVirtualNode; var ChildCount
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoInitNode Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoInitNode(Parent: PVirtualNode; Node: PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoKeyAction Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoKeyAction(var CharCode: Word; var Shift: TShiftSta
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoLoadUserData
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoLoadUserData(Node: PVirtualNode; Stream: TStream)
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoMeasureItem
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoMeasureItem(TargetCanvas: TCanvas; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoNodeCopied Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoNodeCopied(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoNodeCopying
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoNodeCopying(Node: PVirtualNode; NewParent:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoNodeMoved Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoNodeMoved(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoNodeMoving Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoNodeMoving(Node: PVirtualNode; NewParent:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoPaintBackground
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoPaintBackground(Canvas: TCanvas; R: TRect): Boolea
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoPaintDropMark
Method
TBaseVirtualTree Class
Overridable method which draws the small line on top of a
nodes image depending on the current drop state.
Pascal
procedure DoPaintDropMark(Canvas: TCanvas; Node: PVirtualNode
Description
This method draws a simple polyline using
Colors.DropMarkColor. Descentant can override this method
to customize the appearance of the drop mark.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoPaintNode Method
TBaseVirtualTree Class
Pascal
procedure DoPaintNode(var PaintInfo: TVTPaintInfo); virtual
Description
Descentants override this method to paint the content of the
node. For instance string trees draw the node's caption.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoPopupMenu Method
TBaseVirtualTree Class
Pascal
procedure DoPopupMenu(Node: PVirtualNode; Column: TColumnInde
Description
Node and Column describe the cell for which the menu
should be shown. Position determines the place (in client
coordinates of the tree window) where to show the menu.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoRenderOLEData
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoRenderOLEData(const FormatEtcIn: TFormatEtc;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoReset Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoReset(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoSaveUserData
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoSaveUserData(Node: PVirtualNode; Stream: TStream)
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoScroll Method
TBaseVirtualTree Class
Pascal
procedure DoScroll(DeltaX: Integer; DeltaY: Integer);
Description
This method is the ideal place if you want to synchronize other
controls with the tree. The event is triggered whenever the
tree is scrolled (by the user or programmatically). DeltaX and
DeltaY contain the relative values the position changed about.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoSetOffsetXY Method
TBaseVirtualTree Class
Pascal
function DoSetOffsetXY(Value: TPoint; Options: TScrollUpdateO
Description
The method takes the Value structure which contains the new
absolute scroll positions, both horizontal and vertical. Options
specifies what should happen in the update process. A
combination of the following values is possible:
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoShowScrollbar
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoShowScrollbar(Bar: Integer; Show: Boolean);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoStartDrag Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoStartDrag(var DragObject: TDragObject); override
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoStateChange
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoStateChange(Enter: TVirtualTreeStates; Leave:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoStructureChange
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoStructureChange(Node: PVirtualNode; Reason:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoTimerScroll Method
TBaseVirtualTree Class
Pascal
procedure DoTimerScroll; virtual;
Description
This method is called to do an automatic tree scroll when the
user selects nodes with the mouse (multiselection only).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoUpdating Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DoUpdating(State: TVTUpdateState); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DoValidateCache
Method
TBaseVirtualTree Class
Not documented.
Pascal
function DoValidateCache: Boolean; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragCanceled Method
TBaseVirtualTree Class
Pascal
procedure DragCanceled; override;
Description
DragCanceled is used to do some housekeeping in the tree.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragDrop Method
TBaseVirtualTree Class
Pascal
function DragDrop(const DataObject: IDataObject; KeyState: In
Description
This method is called by the TVTDragManager.Drop and
prepares the list of available clipboard formats to be passed to
DoDragDrop.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragEnter Method
TBaseVirtualTree Class
Not documented.
Pascal
function DragEnter(KeyState: Integer; Pt: TPoint; var
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragFinished Method
TBaseVirtualTree Class
Pascal
procedure DragFinished; virtual;
Description
This method is nternally used ito make up for the swallowed
mouse-up messages during drag' drop.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Dragging Method
TBaseVirtualTree Class
Pascal
function Dragging: Boolean;
Description
The method returns true if currently a drag'n drop operation is
in progress, which involves this tree view.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragLeave Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DragLeave; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DragOver Method
TBaseVirtualTree Class
Not documented.
Pascal
function DragOver(Source: TObject; KeyState: Integer; DragSta
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DrawDottedHLine
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DrawDottedHLine(const PaintInfo: TVTPaintInfo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.DrawDottedVLine
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure DrawDottedVLine(const PaintInfo: TVTPaintInfo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.EditNode Method
TBaseVirtualTree Class | See Also
Pascal
function EditNode(Node: PVirtualNode; Column: TColumnIndex
Description
This method can be used by the application to manually start
editiing of a particular node. Column determines hereby in
which column the node should be edited. This parameter
determines the target column regardless whether
toExtendedFocus is set in TreeOptions.SelectionOptions or
not. The given node must be enabled, otherwise edit start
fails.
See Also
DoEdit
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.EditNode
Method |
TBaseVirtualTree.EndSynch
Method
TBaseVirtualTree.EndEditNode Method
TBaseVirtualTree Class | See Also
Pascal
function EndEditNode: Boolean;
Description
EndEditNode stops node editing and accepts the result (which
must be set by the edit link).
See Also
Editors and editing, EditNode, DoEdit
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.EndSynch Method
TBaseVirtualTree Class | See Also
Counterpart to BeginSynch.
Pascal
procedure EndSynch;
Description
Counts down the internal synchronous mode counter and
ends synchronous mode when this counter reaches zero.
See Also
BeginSynch, BeginUpdate, EndUpdate
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.EndUpdate Method
TBaseVirtualTree Class
Pascal
procedure EndUpdate;
Description
This method is the counterpart to BeginUpdate and decreases
the internal update count value. If this value reaches 0 then
updates of the tree window will be allowed again. Additionally,
some pending operations, which might be started during the
update lock, are finished. This includes tasks like updating the
selection list, validating the cache and sorting the tree if in
auto sort mode.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ExecuteAction Method
TBaseVirtualTree Class
Not documented.
Pascal
function ExecuteAction(Action: TBasicAction): Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FindNodeInSelection
Method
TBaseVirtualTree Class
Helper method to find the given node in the current selection.
Pascal
function FindNodeInSelection(P: PVirtualNode; var Index
Description
This method does a binary search of the given node in the
internal selection array which is sorted by memory references.
The search is limited to the area given by LowBound and
HighBound. If the node could be found then true is returned
and Index is set to the found node position.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FinishChunkHeader
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure FinishChunkHeader(Stream: TStream; StartPos: Intege
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FinishCutOrCopy
Method
TBaseVirtualTree Class
Stops any pending cut or copy clipboard operation.
Pascal
procedure FinishCutOrCopy;
Description
This method is used by the tree (and can be used by the
application too) to stop any pending cut or copy clipboard
operation. If a cut operation is pending then nodes currently
marked with the vsCutOrCopy state are deleted.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FlushClipboard Method
TBaseVirtualTree Class
Pascal
procedure FlushClipboard;
Description
Used to render the data which is currently on the clipboard
and finishes so the delayed rendering. This method is useful if
the tree is about to be destroyed but data from this tree is still
on the clipboard and should stay there. If this method is not
used then any pending clipboard operation is cancelled on
tree destruction (by the tree instance which currently has data
on the clipboard) and the clipboard itself is cleared.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FontChanged Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure FontChanged(AFont: TObject); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.FullCollapse Method
TBaseVirtualTree Class | See Also
Pascal
procedure FullCollapse(Node: PVirtualNode = nil); virtual
Description
Call this method to bring all nodes in the tree into a collapsed
state. This method is used to reset the vsExpanded state in all
nodes in the tree. Nodes which are not yet initialized are also
not expanded by definition and therefore do not need
initialization.
See Also
FullExpand
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.FullExpand Method
TBaseVirtualTree Class
Pascal
procedure FullExpand(Node: PVirtualNode = nil); virtual
Description
Call this method to bring all nodes in the tree into an
expanded state. This method expands every node in the tree
and initializes nodes which are not yet initialized to expand
them too if necessary. Since this will validate every node in
the tree it is counterproductive and against the Virtual
Paradigm.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetBorderDimensions
Method
TBaseVirtualTree Class
Not documented.
Pascal
function GetBorderDimensions: TSize; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetCheckImage
Method
TBaseVirtualTree Class
Not documented.
Pascal
function GetCheckImage(Node: PVirtualNode): Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetCheckImageListFor
Method
TBaseVirtualTree Class
Not documented.
Pascal
class function GetCheckImageListFor(Kind: TCheckImageKind
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetColumnClass
Method
TBaseVirtualTree Class
Returns the class to be used to manage columns in the tree.
Pascal
function GetColumnClass: TVirtualTreeColumnClass; virtual
Description
GetColumnClass is a special purpose method to return a
certain class which is used by the tree for the columns.
TVirtualBaseTree always returns TVirtualTreeColumn but
descentants can override this method to return own classes.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetControlsAlignment
Method
TBaseVirtualTree Class
Not documented.
Pascal
function GetControlsAlignment: TAlignment; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetDisplayRect Method
TBaseVirtualTree Class
Pascal
function GetDisplayRect(Node: PVirtualNode; Column: TColumnIn
Description
If the given node cannot be found (because one of its parents
is collapsed or it is invisible) then an empty rectangle is
returned. If TextOnly is true then only the text bounds are
returned, that is, the resulting rectangle's left and right border
are updated according to the bidi mode, alignment and text
width of the node. If Unclipped is true (which only makes
sense if also TextOnly is true) then the calculated text
rectangle is not clipped if the text does not entirely fit into the
text space. This is special handling needed for hints.
Notes
Column must be a valid column and is used independent of
whether the header is visible or not.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetFirst Method
TBaseVirtualTree Class
Pascal
function GetFirst: PVirtualNode;
function GetFirstChild(Node: PVirtualNode): PVirtualNode
function GetFirstCutCopy: PVirtualNode;
function GetFirstInitialized: PVirtualNode;
function GetFirstNoInit: PVirtualNode;
function GetFirstSelected: PVirtualNode;
function GetFirstVisible: PVirtualNode;
function GetFirstVisibleChild(Node: PVirtualNode): PVirtualNo
function GetFirstVisibleChildNoInit(Node: PVirtualNode
function GetFirstVisibleNoInit: PVirtualNode;
Description
This group of navigation functions is used to return the first
node in the tree or first sub node with various properties.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetFirstChecked
Method
TBaseVirtualTree Class
Not documented.
Pascal
function GetFirstChecked(State: TCheckState): PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetHeaderClass
Method
TBaseVirtualTree Class
Returns the header class to be used by the tree.
Pascal
function GetHeaderClass: TVTHeaderClass; virtual;
Description
As with several other classes in Virtual Treeview (e.g. drag
manager, options etc.) also a customized header class is
supported, which allows applications or descendant classes to
implement their very own header class with special behavior.
This is a further element to make Virtual Treeview as flexible
as possible.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetHintWindowClass
Method
TBaseVirtualTree Class
Not documented.
Pascal
function GetHintWindowClass: THintWindowClass; virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetHitTestInfoAt
Method
TBaseVirtualTree Class
Returns information about the node at the given position.
Pascal
procedure GetHitTestInfoAt(X: Integer; Y: Integer; Relative:
Description
This method returns information about the given hit position. If
the position is not within the client area then the result is either
of hiAbove, hiBelow, hiToLeft or hiToRight, depending on the
side. If the position is within the client area but no node is hit
(e.g. when the tree is empty) then hiNowhere is returned,
otherwise the node is examined and HitInfo is filled with
information about which node is hit by this position, which
column is involved and where on the node is the hit (e.g. the
caption, the expand/collapse button or the state image).
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetImageIndex Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure GetImageIndex(var Info: TVTPaintInfo; Kind:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetLast Method
TBaseVirtualTree Class
Pascal
function GetLast(Node: PVirtualNode = nil): PVirtualNode
function GetLastInitialized(Node: PVirtualNode = nil):
function GetLastNoInit(Node: PVirtualNode = nil): PVirtualNod
function GetLastChild(Node: PVirtualNode): PVirtualNode
function GetLastChildNoInit(Node: PVirtualNode): PVirtualNode
function GetLastVisible(Node: PVirtualNode = nil): PVirtualNo
function GetLastVisibleChild(Node: PVirtualNode): PVirtualNod
function GetLastVisibleChildNoInit(Node: PVirtualNode
function GetLastVisibleNoInit(Node: PVirtualNode = nil
Description
This group of navigation functions is used to return the last
node in the tree or last sub node with various properties.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetMaxColumnWidth
Method
TBaseVirtualTree Class
Pascal
function GetMaxColumnWidth(Column: TColumnIndex): Integer;
Description
This method is mainly used to determine a minimal width of
the given column without having to shorten a node caption.
Since the method has to go through all visible nodes and
initialize them to learn about their width it might be time
consuming to call this method and circumvents also the virtual
approach of the tree.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetMaxRightExtend
Method
TBaseVirtualTree Class
Determines the maximum with of the currently visible part of
the tree.
Pascal
function GetMaxRightExtend: Cardinal; virtual;
Description
This method is similar to GetMaxColumnWidth, but
determines the width of the tree if no columns are used. This
method is used for determining the horizontal scroll range for
the columnless case.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetNativeClipboardFormats
Method
TBaseVirtualTree Class
Pascal
procedure GetNativeClipboardFormats(var Formats: TFormatEtcAr
Description
GetNativeClipboardFormats returns the supported clipboard
formats of the tree in the native CF_* form as used in
IDataObject. This includes all formats which are listed in the
ClipboardFormats property as well as any changes made by
the OnGetUserClipboardFormats event if a handler for it is
attached.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetNext Method
TBaseVirtualTree Class
Pascal
function GetNext(Node: PVirtualNode): PVirtualNode;
function GetNextCutCopy(Node: PVirtualNode): PVirtualNode
function GetNextInitialized(Node: PVirtualNode): PVirtualNode
function GetNextNoInit(Node: PVirtualNode): PVirtualNode
function GetNextSelected(Node: PVirtualNode): PVirtualNode
function GetNextSibling(Node: PVirtualNode): PVirtualNode
function GetNextVisible(Node: PVirtualNode): PVirtualNode
function GetNextVisibleNoInit(Node: PVirtualNode): PVirtualNo
function GetNextVisibleSibling(Node: PVirtualNode): PVirtualN
function GetNextVisibleSiblingNoInit(Node: PVirtualNode
Description
This group of navigation functions is used to return the next
node relative to a given node in the tree with various
properties.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetNextChecked
Method
TBaseVirtualTree Class
Not documented.
Pascal
function GetNextChecked(Node: PVirtualNode; State: TCheckStat
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetNodeAt Method
(Integer, Integer)
TBaseVirtualTree Class
Not documented.
Pascal
function GetNodeAt(X: Integer; Y: Integer): PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetNodeAt Method
(Integer, Integer, Boolean, Integer)
TBaseVirtualTree Class
Not documented.
Pascal
function GetNodeAt(X: Integer; Y: Integer; Relative: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetNodeData Method
TBaseVirtualTree Class
Returns the address of the user data area of the given node.
Pascal
function GetNodeData(Node: PVirtualNode): Pointer;
Description
GetNodeData returns the address of the user data area for
Node. It is strongly recommended to use this method instead
directly accessing @Node.Data. Some trees require internal
data for their own use which is also stored after Node.Data
and the actual user data (application data) follows then this
internal data. GetNodeData takes care of this situation.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetNodeLevel Method
TBaseVirtualTree Class
Pascal
function GetNodeLevel(Node: PVirtualNode): Cardinal;
Description
GetNodeLevel returns the level of Node. This level is
determined by the number of parent nodes (excluding the
hidden root node). Top level nodes have the level 0, their
direct child nodes have level 1 etc.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetOptionsClass
Method
TBaseVirtualTree Class
Customization helper to determine which options class the
tree should use.
Pascal
function GetOptionsClass: TTreeOptionsClass; virtual;
Description
GetOptionsClass is a special purpose method to return a
certain class which is used by the tree for its options.
TVirtualBaseTree always returns TCustomVirtualTreeOptions
but descendants can override this method to return own
classes.
For ease of use it makes much sense to always use the same
name for the tree's options (which is TreeOptions). By using a
customized options class, however, the wrong type is returned
by this property. Hence it is meaningful to override
TreeOptions and return the derived options class. To make
this work the tree descendant must additionally provide new
access methods for this property. An example can be seen in
TVirtualStringTree:
TVirtualStringTree = class(TCustomVirtualStringTree
private
function GetOptions: TStringTreeOptions;
procedure SetOptions(const Value: TStringTreeOptions
protected
function GetOptionsClass: TTreeOptionsClass; override
public
property Canvas;
published
...
property TreeOptions: TStringTreeOptions read GetOptions
...
end;
...
begin
Result := FOptions as TStringTreeOptions;
end;
//----------------------------------------------------------
begin
FOptions.Assign(Value);
end;
//----------------------------------------------------------
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetPrevious Method
TBaseVirtualTree Class
Pascal
function GetPrevious(Node: PVirtualNode): PVirtualNode
function GetPreviousInitialized(Node: PVirtualNode):
function GetPreviousNoInit(Node: PVirtualNode): PVirtualNode
function GetPreviousSibling(Node: PVirtualNode): PVirtualNode
function GetPreviousVisible(Node: PVirtualNode): PVirtualNode
function GetPreviousVisibleNoInit(Node: PVirtualNode):
function GetPreviousVisibleSibling(Node: PVirtualNode
function GetPreviousVisibleSiblingNoInit(Node: PVirtualNode
Description
This group of navigation functions is used to return the
previous node relative to a given node in the tree with various
properties.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetSortedCutCopySet
Method
TBaseVirtualTree Class
Returns a sorted list of nodes, which are marked for s cut or
copy clipboard operation.
Pascal
function GetSortedCutCopySet(Resolve: Boolean): TNodeArray
Description
Returns a list of nodes which are flagged with vsCutOrCopy,
sorted in logical order, that is, as they appear in the tree. If
Resolve is true then nodes which are children of other
cut/copy nodes are not put into the new array. This feature is
particularly important when doing drag'n drop as in this case
all selected node plus their children need to be considered. A
selected node, which is a child (grand child etc.) of another
selected node is then automatically included and doesn't need
to be explicitly mentioned in the returned selection array.
Notes
The caller is responsible for freeing the array. Allocation is
done here. Usually, though, freeing the array doesn't need
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetSortedSelection
Method
TBaseVirtualTree Class
Pascal
function GetSortedSelection(Resolve: Boolean): TNodeArray
Description
Returns a list of selected nodes sorted in logical order, that is,
as they appear in the tree. If Resolve is true then nodes which
are children of other selected nodes are not put into the new
array. This feature is in particuar important when doing drag'n
drop as in this case all selected node plus their children need
to be considered. A selected node which is child (grand child
etc.) of another selected node is then automatically included
and doesn't need to be explicitely mentioned in the returned
selection array.
Notes
The caller is responsible for freeing the array. Allocation is
done here. Usually, though, freeing the array doesn't need
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetTextInfo Method
TBaseVirtualTree Class
Pascal
procedure GetTextInfo(Node: PVirtualNode; Column: TColumnInde
Description
GetTextInfo is used to define a base access method for node
data and the associated font from node editors and for hints.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetTreeFromDataObject
Method
TBaseVirtualTree Class
OLE drag'n drop and clipboard support method.
Pascal
function GetTreeFromDataObject(const DataObject: IDataObject)
Description
Returns the owner/sender of the given data object by means
of a special clipboard format or nil if the sender is in another
process or no virtual tree at all.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetTreeRect Method
TBaseVirtualTree Class
Pascal
function GetTreeRect: TRect;
Description
GetTreeRect can be used to determine the full size of the tree
image as used for painting etc.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.GetVisibleParent
Method
TBaseVirtualTree Class
Returns the first (nearest) parent node, which is visible.
Pascal
function GetVisibleParent(Node: PVirtualNode): PVirtualNode
Description
GetVisibleParent returns the first (nearest) parent node of
Node which is visible. This method is one of the seldom cases
(if not the only one) where the hidden root node could be
returned.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HandleHotTrack
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure HandleHotTrack(X: Integer; Y: Integer); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HandleIncrementalSearch
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure HandleIncrementalSearch(CharCode: Word); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HandleMouseDblClick
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure HandleMouseDblClick(var Message: TWMMouse;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HandleMouseDown
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure HandleMouseDown(var Message: TWMMouse; const
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HandleMouseUp
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure HandleMouseUp(var Message: TWMMouse; const HitInfo:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HasAsParent Method
TBaseVirtualTree Class
Pascal
function HasAsParent(Node: PVirtualNode; PotentialParent:
Description
Determines whether Node has got PotentialParent as one of
its parents.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HasImage Method
TBaseVirtualTree Class
Not documented.
Pascal
function HasImage(Node: PVirtualNode; Kind: TVTImageKind
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.HasPopupMenu
Method
TBaseVirtualTree Class
Determines whether there is a pop up menu assigned to the
tree.
Pascal
function HasPopupMenu(Node: PVirtualNode; Column: TColumnInde
Description
This overridable method is used to determine whether there is
a pop up menu assigned to the tree or can be retrieve via the
OnGetPopupMenu event for a particular node. This is
necessary for the tree to know how to deal with various
condition in an mouse button down event.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InitChildren Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InitChildren(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InitNode Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InitNode(Node: PVirtualNode); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InsertNode Method
TBaseVirtualTree Class
Pascal
function InsertNode(Node: PVirtualNode; Mode: TVTNodeAttachMo
Description
Adds a new node relative to Node. The final position is
determined by Mode. UserData can be used to set the first 4
bytes of the user data area to an initial value, which can be
used in OnInitNode and will also cause to trigger the
OnFreeNode event (if <> nil) even if the node is not yet
"officially" initialized.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalAddFromStream
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InternalAddFromStream(Stream: TStream; Version: Int
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalAddToSelection
Method (PVirtualNode, Boolean)
TBaseVirtualTree Class
Not documented.
Pascal
function InternalAddToSelection(Node: PVirtualNode; ForceInse
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalAddToSelection
Method (TNodeArray, Integer, Boolean)
TBaseVirtualTree Class
Not documented.
Pascal
function InternalAddToSelection(const NewItems: TNodeArray
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalCacheNode
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InternalCacheNode(Node: PVirtualNode); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalClearSelection
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InternalClearSelection; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalConnectNode
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InternalConnectNode(Node: PVirtualNode; Destination
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalData Method
TBaseVirtualTree Class | See Also
Pascal
function InternalData(Node: PVirtualNode): Pointer;
Description
In TBaseVirtualTreeview this method returns nil but should be
overridden in descendants to allow proper access to the
internal data of Node if the descendant tree has allocated
internal data.
See Also
Data handling
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.InternalDisconnectNode
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InternalDisconnectNode(Node: PVirtualNode; KeepFocu
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InternalRemoveFromSelection
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure InternalRemoveFromSelection(Node: PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InvalidateCache
Method
TBaseVirtualTree Class
Pascal
procedure InvalidateCache;
Description
Marks the internal node cache as being invalid. This will cause
a cache validation run next time ValidateCache is called.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InvalidateChildren
Method
TBaseVirtualTree Class
Invalidates all children of the given node.
Pascal
procedure InvalidateChildren(Node: PVirtualNode; Recursive: B
Description
Invalidates Node and its immediate children. If Recursive is
true then all grandchildren are invalidated as well. The node
itself is initialized if necessary and its child nodes are
recreated (and initialized too if Recursive is true).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InvalidateColumn
Method
TBaseVirtualTree Class
Invalidates the client area part of a column.
Pascal
procedure InvalidateColumn(Column: TColumnIndex);
Description
Invalidates the client area part of a column.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InvalidateNode Method
TBaseVirtualTree Class
Pascal
function InvalidateNode(Node: PVirtualNode): TRect; virtual
Description
InvalidateNode initiates repaint of the given node by calling
InvalidateRect with the node's display rectangel and returns
this rectangle.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InvalidateToBottom
Method
TBaseVirtualTree Class
Invalidates the client area starting with the top position of the
given node.
Pascal
procedure InvalidateToBottom(Node: PVirtualNode);
Description
InvalidateToBottom initiates repaint of client area starting at
given node. If this node is not visible or not yet initialized then
nothing happens.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.InvertSelection Method
TBaseVirtualTree Class
Pascal
procedure InvertSelection(VisibleOnly: Boolean);
Description
InvertSelection inverts the current selection, so nodes, which
are selected become unselected and vice versa. If
VisibleOnly is true then only visible nodes are considered.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.IsEditing Method
TBaseVirtualTree Class
Pascal
function IsEditing: Boolean;
Description
Just a simple shortcut to test the tsEditing state.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.IsMouseSelecting
Method
TBaseVirtualTree Class
Pascal
function IsMouseSelecting: Boolean;
Description
IsMouseSelecting returns true if draw selection by the user is
active or pending.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.IterateSubtree Method
TBaseVirtualTree Class
Pascal
function IterateSubtree(Node: PVirtualNode; Callback:
Description
IterateSubtree iterates through all children and grandchildren
etc. of Node (or the entire tree if Node = nil) and calls for each
node the provided callback method (which must not be
empty). Filter determines which nodes are to be considered
(an empty set denotes all nodes). If DoInit is true then nodes
which aren't initialized yet will be initialized.
Notes
An application should not modify the content of the tree (e.g.
delete nodes) during the iteration, otherwise the
Links
TBaseVirtualTree Class
TBaseVirtualTree.Loaded Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure Loaded; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.LoadFromFile Method
TBaseVirtualTree Class | See Also
Pascal
procedure LoadFromFile(const FileName: TFileName); virtual
procedure LoadFromStream(Stream: TStream); virtual;
Description
LoadFromFile clears the current content of the tree and loads
a new structure from the given file.
See Also
AddFromStream
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.MainColumnChanged
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure MainColumnChanged; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.MarkCutCopyNodes
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure MarkCutCopyNodes; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.MeasureItemHeight
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure MeasureItemHeight(const Canvas: TCanvas; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.MouseMove Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure MouseMove(Shift: TShiftState; X: Integer; Y: Intege
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.MoveTo Method
(PVirtualNode, PVirtualNode,
TVTNodeAttachMode, Boolean)
TBaseVirtualTree Class
Pascal
procedure MoveTo(Source: PVirtualNode; Target: PVirtualNode
procedure MoveTo(Node: PVirtualNode; Tree: TBaseVirtualTree
Description
Moves the given node (and all its children) to Target. Source
must belong to the tree instance which calls this MoveTo
method. Mode determines how to connect Source to Target.
This method might involve a change of the tree if Target
belongs to a different tree than Source.
Links
TBaseVirtualTree Class
TBaseVirtualTree.Notification Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure Notification(AComponent: TComponent; Operation: TOp
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.OriginalWMNCPaint
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure OriginalWMNCPaint(DC: HDC); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Paint Method
TBaseVirtualTree Class
Pascal
procedure Paint; override;
Description
Overriden method to paint the tree image. The actual work is
however done in PaintTree.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PaintCheckImage
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure PaintCheckImage(const PaintInfo: TVTPaintInfo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PaintImage Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure PaintImage(var PaintInfo: TVTPaintInfo; ImageInfoIn
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PaintNodeButton
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure PaintNodeButton(Canvas: TCanvas; Node: PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PaintSelectionRectangle
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure PaintSelectionRectangle(Target: TCanvas; WindowOrgX
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PaintTree Method
TBaseVirtualTree Class | See Also
Pascal
procedure PaintTree(TargetCanvas: TCanvas; Window: TRect; Tar
Description
PaintTree is the core paint routine used to draw any part of
the tree image to any canvas. It is responsible for maintaining
the paint cycles per node as well as coordinating drawing of
the various parts of the tree image. TargetCanvas is the
canvas to which to draw the tree image. This is usually the
tree window itself but could well be a bitmap or printer canvas.
Window determines which part of the entire tree image to
draw. The full size of the virtual image is determined by
GetTreeRect. Target is the position in TargetCanvas where to
draw the tree part specified by Window. PaintOptions
determines what of the tree to draw. For different tasks usually
different parts need to be drawn, with a full image in the
window, selected only nodes for a drag image etc.
See Also
Tree image and tree window
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.PaintTreeLines Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure PaintTreeLines(const PaintInfo: TVTPaintInfo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PanningWindowProc
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure PanningWindowProc(var Message: TMessage); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PasteFromClipboard
Method
TBaseVirtualTree Class
Inserts the content of the clipboard into the tree.
Pascal
function PasteFromClipboard: Boolean; virtual;
Description
PasteFromClipboar reads what is currently on the clipboard
into the tree (if the format is supported). If the application
wants to have text or special formats to be inserted then it
must implement its own code (OLE). Here only the native tree
format is accepted.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.PrepareDragImage
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure PrepareDragImage(HotSpot: TPoint; const DataObject:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Print Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure Print(Printer: TPrinter; PrintHeader: Boolean);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ProcessDrop Method
TBaseVirtualTree Class
Pascal
function ProcessDrop(DataObject: IDataObject; TargetNode:
Description
ProcessDrop can be used in a OnDragDrop handler to let the
tree view handle a drop operation of native tree data. The
method only prepares some variables and calls then the more
universal ProcessOLEData method.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ProcessOLEData
Method
TBaseVirtualTree Class
Takes serialized OLE tree data and reconstructs the former
structure.
Pascal
function ProcessOLEData(Source: TBaseVirtualTree; DataObject:
Description
PrcessOLEData recreates the (sub) tree structure serialized
into memory and provided by DataObject. The new nodes are
attached to the passed node or the hidden root node if
TargetNode is nil, according to Mode. Optimized can be set
to true if the entire operation happens within the same process
(i.e. sender and receiver of the OLE operation are located in
the same process). Optimized = true makes only sense if the
operation to carry out is a move hence it is also the indication
of the operation to be done here. Source is the source of the
OLE data and only of use (and usually assigned) when an
OLE operation takes place in the same application.
Links
TBaseVirtualTree Class
TBaseVirtualTree.ReadChunk Method
TBaseVirtualTree Class
Not documented.
Pascal
function ReadChunk(Stream: TStream; Version: Integer; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ReadNode Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure ReadNode(Stream: TStream; Version: Integer; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.RedirectFontChangeEvent
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure RedirectFontChangeEvent(Canvas: TCanvas); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ReinitChildren Method
TBaseVirtualTree Class
Pascal
procedure ReinitChildren(Node: PVirtualNode; Recursive: Boole
Description
ReinitChildren forces all child nodes of Node to be
reinitialized. If Recursive is true then also the grandchildren
are reinitialized.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ReinitNode Method
TBaseVirtualTree Class
Pascal
procedure ReinitNode(Node: PVirtualNode; Recursive: Boolean);
Description
ReinitNode forces Node and all its children (if Recursive is
true) to be initialized again without modifying any data in the
nodes nor deleting children (unless the application requests a
different amount).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.RemoveFromSelection
Method
TBaseVirtualTree Class
Removes the given node from the current selection.
Pascal
procedure RemoveFromSelection(Node: PVirtualNode); virtual
Description
Removes the vsSelected style from Node's states and also
removes Node from the internal selection array.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.RenderOLEData
Method
TBaseVirtualTree Class
Pascal
function RenderOLEData(const FormatEtcIn: TFormatEtc;
Description
RenderOLData is called by TVTDataObject.GetData when a
consumer of clipboard data actually requests the data. The
base tree view only renders the native tree format, which is a
chunk based stream of node data. The format to be rendered
is specified in FormatEtcIn.cfFormat and is one of the formats
which are returned from GetNativeClipboardFormats.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
What do you think about this topic? Send feedback!
TBaseVirtualTree Class |
TBaseVirtualTree.RenderOLEData
Method |
TBaseVirtualTree.ResetNode
Method
TBaseVirtualTree.RepaintNode Method
TBaseVirtualTree Class
Pascal
procedure RepaintNode(Node: PVirtualNode);
Description
RepaintNode causes an immediate repaint of Node and
returns once repainting has finished.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ResetNode Method
TBaseVirtualTree Class
Pascal
procedure ResetNode(Node: PVirtualNode); virtual;
Description
ResetNode deletes all children of Node and marks it as being
uninitialized.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ResetRangeAnchor
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure ResetRangeAnchor; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.RestoreFontChangeEvent
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure RestoreFontChangeEvent(Canvas: TCanvas); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SaveToFile Method
TBaseVirtualTree Class | See Also
Pascal
procedure SaveToFile(const FileName: TFileName);
procedure SaveToStream(Stream: TStream; Node: PVirtualNode
Description
Saves the entire content of the tree into a file or stream.
See Also
LoadFromStream, AddFromStream
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.ScrollIntoView Method
TBaseVirtualTree Class
Scrolls the tree so that the given node comes in the client
area.
Pascal
function ScrollIntoView(Node: PVirtualNode; Center: Boolean;
Description
ScrollIntoView scrolls the tree so that the given node is in the
client area and returns true if the tree really has been scrolled
(e.g. to avoid further updates) else it returns false. If extened
focus is enabled then the tree will also horizontally scrolled if
needed. All collapsed parents of the node are expanded,
forming so a visible path to Node.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SelectAll Method
TBaseVirtualTree Class
Pascal
procedure SelectAll(VisibleOnly: Boolean);
Description
SelectAll select all existing nodes in the tree. If VisibleOnly is
true then only visible nodes are selected.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SelectNodes Method
TBaseVirtualTree Class
Pascal
procedure SelectNodes(StartNode: PVirtualNode; EndNode:
Description
SelectNodes selects a range of nodes and unselects all other
possibly selected nodes which are not in this range if
AddOnly is false. EndNode must be visible while StartNode
does not necessarily, as in the case where the last focused
node is the start node but it is a child of a node which has
been collapsed previously. In this case the first visible parent
node is used as start node. StartNode can be nil in which
case the very first node in the tree is used.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SetBiDiMode Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure SetBiDiMode(Value: TBiDiMode); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SetFocusedNodeAndColumn
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure SetFocusedNodeAndColumn(Node: PVirtualNode; Column:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SkipNode Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure SkipNode(Stream: TStream); virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.Sort Method
TBaseVirtualTree Class
Pascal
procedure Sort(Node: PVirtualNode; Column: TColumnIndex
Description
Sort sorts the child nodes of Node. The application is queried
about how to sort via the OnCompareNodes event. Column is
simply passed to the the compare function so the application
can also sort in a particular column. In order to free the
application from taking care about the sort direction the
parameter Direction is used. This way the application can
always compare as would the node be sorted in increasing
direction , while Sort reorders nodes according to this flag.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SortTree Method
TBaseVirtualTree Class
Pascal
procedure SortTree(Column: TColumnIndex; Direction: TSortDire
Description
SortTree sorts the entire tree by applying Sort to every node
which has got children.
Notes
This method initializes all nodes in the tree which may not only
take quite a while but is also against the virtual paradigm
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.StartWheelPanning
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure StartWheelPanning(Position: TPoint); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.StopWheelPanning
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure StopWheelPanning; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.StructureChange
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure StructureChange(Node: PVirtualNode; Reason:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.SuggestDropEffect
Method
TBaseVirtualTree Class
Not documented.
Pascal
function SuggestDropEffect(Source: TObject; Shift: TShiftStat
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ToggleNode Method
TBaseVirtualTree Class
Pascal
procedure ToggleNode(Node: PVirtualNode);
Description
Toggle node expands Node if it is collapsed currently and vice
versa.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ToggleSelection
Method
TBaseVirtualTree Class
Toggles the selection state of a range of nodes.
Pascal
procedure ToggleSelection(StartNode: PVirtualNode; EndNode:
Description
ToggleSelection switchs the selection state of a range of
nodes, so selected nodes become unselected and vice versa.
This method is specifically designed to help selecting ranges
with the keyboard and considers therefore the range anchor.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UnselectNodes Method
TBaseVirtualTree Class
Pascal
procedure UnselectNodes(StartNode: PVirtualNode; EndNode:
Description
UnselectNodes deselects a given range of nodes. EndNode
must be visible while StartNode is not required to be so as in
the case where the last focused node is the start node but it is
a child of a node which has been collapsed previously. In this
case the first visible parent node is used as start node.
StartNode can be nil in which case the very first node in the
tree is used.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UpdateAction Method
TBaseVirtualTree Class
Not documented.
Pascal
function UpdateAction(Action: TBasicAction): Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UpdateDesigner
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure UpdateDesigner; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UpdateEditBounds
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure UpdateEditBounds; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UpdateHeaderRect
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure UpdateHeaderRect; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UpdateScrollBars
Method
TBaseVirtualTree Class
Pascal
procedure UpdateHorizontalScrollBar(DoRepaint: Boolean);
procedure UpdateScrollBars(DoRepaint: Boolean); virtual
procedure UpdateVerticalScrollBar(DoRepaint: Boolean);
Description
UpdateScrollbars (and its counterparts for vertical and
horizontal scrollbars) is the core method to set the scrollbar's
properties like range, page size etc.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UpdateWindowAndDragImage
Method
TBaseVirtualTree Class
Not documented.
Pascal
procedure UpdateWindowAndDragImage(const Tree: TBaseVirtualTr
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.UseRightToLeftReading
Method
TBaseVirtualTree Class
Pascal
function UseRightToLeftReading: Boolean;
Description
UseRightToLeftReading had to be overriden in order to
overcome a limitation introduced by the VCL. The VCL only
allows a window to be in right-to-left reading order if the
operating system is prepared to handle this (e.g. an arabic
Windows 98). Virtual Treeview however does most of the RTL
stuff handle itself, also on non-RTL system.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ValidateCache Method
TBaseVirtualTree Class | See Also
Pascal
procedure ValidateCache; virtual;
Description
If the node cache is marked as being invalid then this method
puts the tree into the worker thread's list and awakes then the
thread so that the validation is performed in the background.
See Also
InvalidateCache
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.ValidateChildren
Method
TBaseVirtualTree Class
Validates all children of a given node.
Pascal
procedure ValidateChildren(Node: PVirtualNode; Recursive: Boo
Description
ValidateChildren ensures that the children of the given node
(and all their children, if Recursive is true) are initialized.
Node must already be initialized. If nil is passed to the
method the hidden root node is used (which makes only
sense if Recursive is true, in which case the entire tree is
validated).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ValidateNode Method
TBaseVirtualTree Class
Pascal
procedure ValidateNode(Node: PVirtualNode; Recursive: Boolean
Description
ValidateNode ensures that the given node (and all its children,
if Recursive is true) are initialized. If Node is nil then the
hidden root node is used (which makes only sense if
Recursive is true, in which case the entire tree is validated).
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.ValidateNodeDataSize
Method
TBaseVirtualTree Class
Helper method for node data size initalization.
Pascal
procedure ValidateNodeDataSize(var Size: Integer); virtual
Description
ValidateNodeDataSize is called from MakeNewNode if the
currently set node data size is -1, which indicates it has not
yet been determined. The method calls the event
OnGetNodeDataSize allowing so the application to compute
now its data requirement.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.WndProc Method
TBaseVirtualTree Class
Pascal
procedure WndProc(var Message: TMessage); override;
Description
WndProc has been overriden to allow the header to handle
certain messages (which are forwarded by the tree) as well as
to do some other special handling internal to the tree.
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class
TBaseVirtualTree.WriteChunks Method
TBaseVirtualTree Class | See Also
Writes the core chunks for the given node to the given stream.
Pascal
procedure WriteChunks(Stream: TStream; Node: PVirtualNode
Description
WriteChunks is part of the streaming system in Virtual
Treeview and writes the core chunks for Node into Stream.
Descentants can optionally override this method to add other
node specific chunks. This streaming is used when the tree
must be saved to disk or a stream used e.g. for clipboard
operations.
Notes
Keep in mind that this method is also called for the hidden root
node. Using this fact in descendants you can create a
See Also
WriteNode, SaveToStream
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBaseVirtualTree.WriteNode Method
TBaseVirtualTree Class | See Also
Writes the cover (envelop) chunk for the given node to the
given stream.
Pascal
procedure WriteNode(Stream: TStream; Node: PVirtualNode
Description
WriteNode writes the cover chunk for Node to Stream and
initiates writing child nodes and chunks. This method is part of
the streaming system used in Virtual Treeview.
See Also
WriteChunks, WriteToStream
Class
TBaseVirtualTree Class
Links
TBaseVirtualTree Class, See Also
TBufferedString Class
Classes | Methods | Properties | Legend
TBufferedString = class;
Group
Classes
Members
Properties
AsString
Not documented.
Methods
Add
Not documented.
AddNewLine
Not documented.
Destroy
Not documented.
Legend
public
Property
read only
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TBufferedString.AsString Property
TBufferedString Class
Not documented.
Pascal
property AsString: string;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBufferedString Class
Links
TBufferedString Class
TBufferedString.Add Method
TBufferedString Class
Not documented.
Pascal
procedure Add(const S: string);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBufferedString Class
Links
TBufferedString Class
TBufferedString.AddNewLine Method
TBufferedString Class
Not documented.
Pascal
procedure AddNewLine;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBufferedString Class
Links
TBufferedString Class
TBufferedString.Destroy Destructor
TBufferedString Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TBufferedString Class
Links
TBufferedString Class
TClipboardFormatList Class
Classes | Methods | Legend
Not documented.
Pascal
TClipboardFormatList = class;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Methods
Add
Adds the given data to the internal list.
Clear
Not documented.
Create
Not documented.
Destroy
Not documented.
EnumerateFormats
Returns a list of format records for the given class.
FindFormat
Not documented.
Legend
public
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Legend
TClipboardFormatList.Add Method
TClipboardFormatList Class
Pascal
procedure Add(FormatString: string; AClass: TVirtualTreeClass
Description
The priority value is used to sort formats for importance.
Larger priority values mean less priority.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.Clear Method
TClipboardFormatList Class
Not documented.
Pascal
procedure Clear;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.Create
Constructor
TClipboardFormatList Class
Not documented.
Pascal
constructor Create;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.Destroy
Destructor
TClipboardFormatList Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.EnumerateFormats
Method (TVirtualTreeClass,
TFormatEtcArray, TClipboardFormats)
TClipboardFormatList Class
Pascal
procedure EnumerateFormats(TreeClass: TVirtualTreeClass
Description
If assigned the AllowedFormats is used to limit the
enumerated formats to those described in the list.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.EnumerateFormats
Method (TVirtualTreeClass, TStrings)
TClipboardFormatList Class
Pascal
procedure EnumerateFormats(TreeClass: TVirtualTreeClass
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.FindFormat
Method (Word, string)
TClipboardFormatList Class
Not documented.
Pascal
function FindFormat(Fmt: Word; var Description: string
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.FindFormat
Method (string)
TClipboardFormatList Class
Not documented.
Pascal
function FindFormat(FormatString: string): PClipboardFormatLi
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormatList.FindFormat
Method (string, Word)
TClipboardFormatList Class
Not documented.
Pascal
function FindFormat(FormatString: string; var Fmt: Word):
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TClipboardFormatList Class
Links
TClipboardFormatList Class
TClipboardFormats Class
Classes | Methods | Properties | Legend
Pascal
TClipboardFormats = class(TStringList);
Description
This class is an extended string list which allows to enter
description strings for clipboard formats which are checked
agains registered formats and only accepted if the particular
format could be found. This way there is an unambiqious and
portable description of allowed clipboard formats possible.
Group
Classes
Members
Properties
Owner
Not documented.
Methods
Add
Adds a new format to the internal list.
Create
Constructor of the class.
Insert
Adds a new format to the internal list.
Legend
public
Property
read only
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TClipboardFormats.Owner Property
TClipboardFormats Class
Not documented.
Pascal
property Owner: TBaseVirtualTree;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TClipboardFormats Class
Links
TClipboardFormats Class
TClipboardFormats.Add Method
TClipboardFormats Class
Pascal
function Add(const S: string): Integer; override;
procedure Insert(Index: Integer; const S: string); override
Description
Adds or inserts a new format to the internal list but restricts
additions to the clipbard formats to only those which are
registered with the owner tree or one of its ancestors.
Class
TClipboardFormats Class
Links
TClipboardFormats Class
TClipboardFormats.Create Constructor
TClipboardFormats Class
Pascal
constructor Create(AOwner: TBaseVirtualTree); virtual
Description
Create initializes the class.
Class
TClipboardFormats Class
Links
TClipboardFormats Class
TCriticalSection Class
Fields | Classes | Methods | Legend
Not documented.
Pascal
TCriticalSection = class(TObject);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Fields
FSection
Not documented.
Methods
Create
Not documented.
Destroy
Not documented.
Enter
Not documented.
Leave
Not documented.
Legend
protected
Data Member
public
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Fields, Classes, Methods, Legend
TCriticalSection.FSection Field
TCriticalSection Class
Not documented.
Pascal
FSection: TRTLCriticalSection;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCriticalSection Class
Links
TCriticalSection Class
TCriticalSection.Create Constructor
TCriticalSection Class
Not documented.
Pascal
constructor Create;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCriticalSection Class
Links
TCriticalSection Class
TCriticalSection.Destroy Destructor
TCriticalSection Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCriticalSection Class
Links
TCriticalSection Class
TCriticalSection.Enter Method
TCriticalSection Class
Not documented.
Pascal
procedure Enter;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCriticalSection Class
Links
TCriticalSection Class
TCriticalSection.Leave Method
TCriticalSection Class
Not documented.
Pascal
procedure Leave;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCriticalSection Class
Links
TCriticalSection Class
TCustomStringTreeOptions Class
Classes | Methods | Properties | Legend
Pascal
TCustomStringTreeOptions = class(TCustomVirtualTreeOptions
Description
This class enhances the base class
TCustomVirtualTreeOptions by options related to a string tree.
Group
Classes
Members
Properties
StringOptions
The new options introduced by the class.
TCustomVirtualTreeOptions Class
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Methods
AssignTo
Used to copy the options class.
Create
The constructor of the class.
TCustomVirtualTreeOptions Class
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
Legend
protected
Property
public
read only
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TCustomStringTreeOptions.StringOptions
Property
TCustomStringTreeOptions Class
Pascal
property StringOptions: TVTStringOptions;
Description
StringOptions provides access to the newly introduced options
by which the base class is extended.
Class
TCustomStringTreeOptions Class
Links
TCustomStringTreeOptions Class
TCustomStringTreeOptions.AssignTo
Method
TCustomStringTreeOptions Class
Used to copy the options class.
Pascal
procedure AssignTo(Dest: TPersistent); override;
Description
You can either call this method directly or use the Assign
method of the target class to do the assignment. Implementing
AssignTo instead of Assign allows for future enhancements.
TPersistent will automatically call AssignTo if there was no
Assign method.
Class
TCustomStringTreeOptions Class
Links
TCustomStringTreeOptions Class
TCustomStringTreeOptions.Create
Constructor
TCustomStringTreeOptions Class
Pascal
constructor Create(AOwner: TBaseVirtualTree); override
Description
The constructor initializes the class.
Class
TCustomStringTreeOptions Class
Links
TCustomStringTreeOptions Class
TCustomVirtualDrawTree Class
Events | Classes | Methods | Properties | Legend
Pascal
TCustomVirtualDrawTree = class(TBaseVirtualTree);
Description
TCustomVirtualDrawTree is a simple TBaseVirtualTree
descendant, which publishes the paint method through an
event. This allows an application for self drawn tree views
without overriding the base class.
Group
Classes
Members
Events
OnDrawHint
Triggered when a node hint or tooltip must be drawn.
OnDrawNode
Triggered when a node must be drawn.
OnGetHintSize
Triggered when a node hint or tooltip is about to show.
OnGetNodeWidth
Triggered when a node is about to be drawn.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
Methods
DoDrawHint
Overridable method which triggers OnDrawHint.
DoGetHintSize
Overridable method which triggers OnGetHintSize.
DoGetNodeWidth
Overridable method which triggers OnGetNodeWidth.
DoPaintNode
Overridable method which triggers OnPaintNode.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
Properties
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Legend
protected
Event
Method
virtual
public
Property
read only
Class Hierarchy
File
VirtualTrees
Links
Events, Classes, Methods, Properties, Legend
What do you think about this topic? Send feedback!
TCustomVirtualDrawTree Class |
TCustomVirtualDrawTree.OnDrawNode
Event
TCustomVirtualDrawTree.OnDrawHint
Event
TCustomVirtualDrawTree Class
Pascal
property OnDrawHint: TVTDrawHintEvent;
Description
Use an event handler for OnDrawHint to draw the hint or
tooltip for the given node. You must implement this event and
OnGetHintSize to get a hint at all.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualDrawTree.OnDrawNode
Event
TCustomVirtualDrawTree Class
Triggered when a node must be drawn.
Pascal
property OnDrawNode: TVTDrawNodeEvent;
Description
Use an event handler for OnDrawNode to draw the actual
content for the given node.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualDrawTree.OnGetHintSize
Event
TCustomVirtualDrawTree Class
Triggered when a node hint or tooltip is about to show.
Pascal
property OnGetHintSize: TVTGetHintSizeEvent;
Description
Use an event handler for OnGetHintSize to return the size of
the tooltip/hint window for the given node. You must
implement this event and OnDrawHint to get a hint at all.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualDrawTree.OnGetNodeWidth
Event
TCustomVirtualDrawTree Class
Triggered when a node is about to be drawn.
Pascal
property OnGetNodeWidth: TVTGetNodeWidthEvent;
Description
Use an event handler for OnGetNodeWidth to return your
calculated width for the given node. Since the draw does not
know the width of a node you have to tell it yourself.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualDrawTree.DoDrawHint
Method
TCustomVirtualDrawTree Class
Overridable method which triggers OnDrawHint.
Pascal
procedure DoDrawHint(Canvas: TCanvas; Node: PVirtualNode
Description
You can override DoDrawHint to customize the behavior for
this request.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualDrawTree.DoGetHintSize
Method
TCustomVirtualDrawTree Class
Overridable method which triggers OnGetHintSize.
Pascal
procedure DoGetHintSize(Node: PVirtualNode; Column: TColumnIn
Description
You can override OnGetHintSize to customize the behavior for
this request.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualDrawTree.DoGetNodeWidth
Method
TCustomVirtualDrawTree Class
Overridable method which triggers OnGetNodeWidth.
Pascal
function DoGetNodeWidth(Node: PVirtualNode; Column: TColumnIn
Description
You can override OnGetNodeWidth to customize the behavior
for this request.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualDrawTree.DoPaintNode
Method
TCustomVirtualDrawTree Class
Pascal
procedure DoPaintNode(var PaintInfo: TVTPaintInfo); override
Description
You can override OnPaintNode to customize the behavior for
this request.
Class
TCustomVirtualDrawTree Class
Links
TCustomVirtualDrawTree Class
TCustomVirtualStringTree Class
Events | Classes | Methods | Properties | Legend
Pascal
TCustomVirtualStringTree = class(TBaseVirtualTree);
Description
TCustomVirtualStringTree enhances the base tree to display
and edit node captions. It implements a generic node editor
which can be used as reference to build your own one.
Group
Classes
Members
Properties
DefaultText
Not documented.
EllipsisWidth
Not documented.
Text
Not documented.
TreeOptions
Reference to the tree's options.
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Events
OnGetHint
Virtual string tree event to query for a custom hint text.
OnGetText
Virtual string tree event to query for a node's normal or static text.
OnNewText
Virtual string tree event to pass edited text.
OnPaintText
Event to change text formatting for particular nodes.
OnShortenString
String tree event for custom handling of string abbreviations.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
Methods
AdjustPaintCellRect
Method which can be used by descentants to adjust the given
rectangle during a paint cycle.
CalculateTextWidth
Not documented.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
ComputeNodeHeight
Not documented.
ContentToClipboard
Not documented.
ContentToHTML
Not documented.
ContentToRTF
Not documented.
ContentToText
Not documented.
ContentToUnicode
Not documented.
Create
Constructor of the control
DefineProperties
Helper method to customize loading and saving persistent tree data.
DoCreateEditor
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetText
Not documented.
DoIncrementalSearch
Not documented.
DoNewText
Not documented.
DoPaintNode
Overridable method which does nothing.
DoPaintText
Not documented.
DoShortenString
Not documented.
DoTextDrawing
Not documented.
DoTextMeasuring
Not documented.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetTextInfo
Helper method for node editors, hints etc.
InternalData
Returns the address of the internal data for a tree class.
InvalidateNode
Invalidates the given node.
MainColumnChanged
Not documented.
Path
Not documented.
ReadChunk
Not documented.
ReadOldStringOptions
Not documented.
ReinitNode
Forces a reinitialization of the given node.
RenderOLEData
Renders pending OLE data.
WriteChunks
Writes the core chunks for the given node to the given stream.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
Legend
protected
Property
read only
public
Event
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Events, Classes, Methods, Properties, Legend
TCustomVirtualStringTree.DefaultText
Property
TCustomVirtualStringTree Class
Not documented.
Pascal
property DefaultText: WideString;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.EllipsisWidth
Property
TCustomVirtualStringTree Class
Not documented.
Pascal
property EllipsisWidth: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.OnGetHint
Event
TCustomVirtualStringTree Class
Virtual string tree event to query for a custom hint text.
Pascal
property OnGetHint: TVSTGetHintEvent;
Description
Write an event handler for this event to specify a custom hint
for the passed node and column. The TextType will always be
ttNormal. This event will only be fired if HintMode is not
hmTooltip. The delay for hints can be set as usual: adjust the
properties HintPause and HintShortPause of the global
Application object.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.OnGetText
Event
TCustomVirtualStringTree Class | See Also
Virtual string tree event to query for a node's normal or static
text.
Pascal
property OnGetText: TVSTGetTextEvent;
Description
This is one of the fundamental string tree events which must
always be handled. The string tree will fire this event every
time when it needs to know about the text of a specific node
and column. This is mainly the case when the node appears in
the visible area of the tree view (in other words it is not
scrolled out of view) but also on some other occasions,
including streaming, drag and drop and calculating the width
of the node.
Notes
Be sure that your event handler only contains absolutely
necessary code. This event will be fired very often - easily a
few hundred times for medium sized trees with some columns
defined when the tree is repainted completely.
from some TField. This may only work with in-memory tables
or a client dataset. When you initialize your node data do
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class, See Also
TCustomVirtualStringTree.OnNewText
Event
TCustomVirtualStringTree Class | See Also
Virtual string tree event to pass edited text.
Pascal
property OnNewText: TVSTNewTextEvent;
Description
A string tree will fire this event after a node has been edited
successfully (not canceled with Escape). The event handler
must store the new text in the node data.
This event will only be used for the default node caption editor.
Other custom node editors may or may not use this event to
pass their edited data to the application. Editing for the whole
tree is only possible if the MiscOptions (see TreeOptions)
include toEditable. If only certain columns or nodes should be
editable write an event handler for OnEditing.
See Also
OnCreateEditor, OnEdited
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class, See Also
TCustomVirtualStringTree.OnPaintText
Event
TCustomVirtualStringTree Class | See Also
Event to change text formatting for particular nodes.
Pascal
property OnPaintText: TVTPaintText;
Description
Write an event handler for this event to render nodes with
different fonts, font sizes, styles or colors. According to the
parameters each column of each node and even normal and
static text can be painted in different ways.
Notes
The string tree view manages an internal width for each
node's main column. This is done because computing this
width is
for example to bold face style, its width changes but the tree
view does not know this - it still relies on its cached
See Also
Paint cycles and stages
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class, See Also
TCustomVirtualStringTree.OnShortenString
Event
TCustomVirtualStringTree Class
Pascal
property OnShortenString: TVSTShortenStringEvent;
Description
If the text of a node does not fit into its cell (in grid mode) or is
too wide for the width of the tree view it is being abbreviated
with an ellipsis (...). By default the ellipsis is added to the end
of the node text.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.Text Property
TCustomVirtualStringTree Class
Not documented.
Pascal
property Text [Node: PVirtualNode; Column: TColumnIndex
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.TreeOptions
Property
TCustomVirtualStringTree Class
Pascal
property TreeOptions: TCustomStringTreeOptions;
Description
The tree options are one of the main switchs to modify a
treeview's behavior. Virtual Treeview supports customizing
tree options by descentants. This allows very fine adjustments
for derived tree classes, including the decision which
properties should be published. For more information about
the base options see TCustomVirtualTreeOptions and its
descentants.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.AdjustPaintCellRect
Method
TCustomVirtualStringTree Class
Method which can be used by descentants to adjust the given
rectangle during a paint cycle.
Pascal
procedure AdjustPaintCellRect(var PaintInfo: TVTPaintInfo
Description
For some special behaviour, like the auto span column
feature, it is necessary to tell the base treeview which
rectangle is to be considered as the current paint cell when
drawing the tree. ClipRect is set to a rectangle which
corresponds to the current node and the current column in the
paint cycle.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.CalculateTextWidth
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function CalculateTextWidth(Canvas: TCanvas; Node: PVirtualNo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.ColumnIsEmpty
Method
TCustomVirtualStringTree Class | See Also
Used to determine if a cell is considered as being empty.
Pascal
function ColumnIsEmpty(Node: PVirtualNode; Column: TColumnInd
Description
An empty cell might be used for the automatic column
spanning feature. Descentants can override this method to
modify the tree's behavior.
See Also
toAutoSpanColumns
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class, See Also
TCustomVirtualStringTree.ComputeNodeHeight
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function ComputeNodeHeight(Canvas: TCanvas; Node: PVirtualNod
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.ContentToClipboard
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function ContentToClipboard(Format: Word; Source: TVSTTextSou
function ContentToHTML(Source: TVSTTextSourceType; Caption: W
function ContentToRTF(Source: TVSTTextSourceType): string
function ContentToText(Source: TVSTTextSourceType; Separator:
function ContentToUnicode(Source: TVSTTextSourceType; Separat
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.Create
Constructor
TCustomVirtualStringTree Class
Constructor of the control
Pascal
constructor Create(AOwner: TComponent); override;
Description
The constructor initializes certain properties to their default
values.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DefineProperties
Method
TCustomVirtualStringTree Class
Helper method to customize loading and saving persistent
tree data.
Pascal
procedure DefineProperties(Filer: TFiler); override;
Description
There were heavy changes in some properties during
development of VT. This method helps to make migration
easier by reading old properties manually and put them into
the new properties as appropriate. These old properties are
never written again and silently disappear.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
What do you think about this topic? Send feedback!
TCustomVirtualStringTree Class |
TCustomVirtualStringTree.DefineProperties
Method |
TCustomVirtualStringTree.DoGetNodeHint
Method
TCustomVirtualStringTree.DoCreateEditor
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function DoCreateEditor(Node: PVirtualNode; Column: TColumnIn
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoGetNodeHint
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function DoGetNodeHint(Node: PVirtualNode; Column: TColumnInd
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoGetNodeTooltip
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function DoGetNodeTooltip(Node: PVirtualNode; Column:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoGetNodeWidth
Method
TCustomVirtualStringTree Class
Overridable method which always retuns 0.
Pascal
function DoGetNodeWidth(Node: PVirtualNode; Column: TColumnIn
Description
Descentants override this method to return a value which
describes the width of a node. This is the inner width of the
node excluding tree lines etc. So TVirtualStringTree returns
the width of the node caption (plus text margin).
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoGetText
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
procedure DoGetText(Node: PVirtualNode; Column: TColumnIndex
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoIncrementalSearch
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function DoIncrementalSearch(Node: PVirtualNode; const
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoNewText
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
procedure DoNewText(Node: PVirtualNode; Column: TColumnIndex
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoPaintNode
Method
TCustomVirtualStringTree Class
Overridable method which does nothing.
Pascal
procedure DoPaintNode(var PaintInfo: TVTPaintInfo); override
Description
Descentants override this method to paint the content of the
node. For instance string trees draw the node's caption.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoPaintText
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
procedure DoPaintText(Node: PVirtualNode; const Canvas: TCanv
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoShortenString
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function DoShortenString(Canvas: TCanvas; Node: PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoTextDrawing
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
procedure DoTextDrawing(var PaintInfo: TVTPaintInfo;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.DoTextMeasuring
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function DoTextMeasuring(Canvas: TCanvas; Node: PVirtualNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.GetOptionsClass
Method
TCustomVirtualStringTree Class
Customization helper to determine which options class the
tree should use.
Pascal
function GetOptionsClass: TTreeOptionsClass; override
Description
GetOptionsClass is a special purpose method to return a
certain class which is used by the tree for its options.
TVirtualBaseTree always returns TCustomVirtualTreeOptions
but descendants can override this method to return own
classes.
For ease of use it makes much sense to always use the same
name for the tree's options (which is TreeOptions). By using a
customized options class, however, the wrong type is returned
by this property. Hence it is meaningful to override
TreeOptions and return the derived options class. To make
this work the tree descendant must additionally provide new
access methods for this property. An example can be seen in
TVirtualStringTree:
TVirtualStringTree = class(TCustomVirtualStringTree
private
function GetOptions: TStringTreeOptions;
procedure SetOptions(const Value: TStringTreeOptions
protected
function GetOptionsClass: TTreeOptionsClass; override
public
property Canvas;
published
...
property TreeOptions: TStringTreeOptions read GetOptions
...
end;
...
begin
Result := FOptions as TStringTreeOptions;
end;
//----------------------------------------------------------
begin
FOptions.Assign(Value);
end;
//----------------------------------------------------------
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.GetTextInfo
Method
TCustomVirtualStringTree Class
Helper method for node editors, hints etc.
Pascal
procedure GetTextInfo(Node: PVirtualNode; Column: TColumnInde
Description
GetTextInfo is used to define a base access method for node
data and the associated font from node editors and for hints.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.InternalData
Method
TCustomVirtualStringTree Class | See Also
Returns the address of the internal data for a tree class.
Pascal
function InternalData(Node: PVirtualNode): Pointer;
Description
In TBaseVirtualTreeview this method returns nil but should be
overridden in descendants to allow proper access to the
internal data of Node if the descendant tree has allocated
internal data.
See Also
Data handling
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class, See Also
TCustomVirtualStringTree.InvalidateNode
Method
TCustomVirtualStringTree Class
Pascal
function InvalidateNode(Node: PVirtualNode): TRect; override
Description
InvalidateNode initiates repaint of the given node by calling
InvalidateRect with the node's display rectangel and returns
this rectangle.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.MainColumnChanged
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
procedure MainColumnChanged; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.Path Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function Path(Node: PVirtualNode; Column: TColumnIndex
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.ReadChunk
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
function ReadChunk(Stream: TStream; Version: Integer; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.ReadOldStringOption
Method
TCustomVirtualStringTree Class
Not documented.
Pascal
procedure ReadOldStringOptions(Reader: TReader);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.ReinitNode
Method
TCustomVirtualStringTree Class
Forces a reinitialization of the given node.
Pascal
procedure ReinitNode(Node: PVirtualNode; Recursive: Boolean);
Description
ReinitNode forces Node and all its children (if Recursive is
true) to be initialized again without modifying any data in the
nodes nor deleting children (unless the application requests a
different amount).
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.RenderOLEData
Method
TCustomVirtualStringTree Class
Renders pending OLE data.
Pascal
function RenderOLEData(const FormatEtcIn: TFormatEtc;
Description
RenderOLData is called by TVTDataObject.GetData when a
consumer of clipboard data actually requests the data. The
base tree view only renders the native tree format, which is a
chunk based stream of node data. The format to be rendered
is specified in FormatEtcIn.cfFormat and is one of the formats
which are returned from GetNativeClipboardFormats.
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class
TCustomVirtualStringTree.WriteChunks
Method
TCustomVirtualStringTree Class | See Also
Writes the core chunks for the given node to the given stream.
Pascal
procedure WriteChunks(Stream: TStream; Node: PVirtualNode
Description
WriteChunks is part of the streaming system in Virtual
Treeview and writes the core chunks for Node into Stream.
Descentants can optionally override this method to add other
node specific chunks. This streaming is used when the tree
must be saved to disk or a stream used e.g. for clipboard
operations.
Notes
Keep in mind that this method is also called for the hidden root
node. Using this fact in descendants you can create a
See Also
WriteNode, SaveToStream
Class
TCustomVirtualStringTree Class
Links
TCustomVirtualStringTree Class, See Also
TCustomVirtualTreeOptions Class
Classes | Methods | Properties | Legend
Pascal
TCustomVirtualTreeOptions = class(TPersistent);
Description
There are a lot of options available which control certain
aspects of Virtual Treeview. Because there might only be at
most 32 members in a published set and also for better
overview these options have been splitted into several
subsets, each related to a particular feature group like painting
or node selection. With this implementation you can even
derive an own option class and modify which options should
be shown in Delphi's object inspector for your class.
Group
Classes
Members
Properties
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Methods
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
Legend
protected
Property
public
read only
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
What do you think about this topic? Send feedback!
TCustomVirtualTreeOptions Class |
TCustomVirtualTreeOptions.AutoOptions
Property
TCustomVirtualTreeOptions.AnimationOptions
Property
TCustomVirtualTreeOptions Class
Pascal
property AnimationOptions: TVTAnimationOptions;
Description
These options can be used to switch certain animation effects
in a tree.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TCustomVirtualTreeOptions.AutoOptions
Property
TCustomVirtualTreeOptions Class
Options related to automatic actions.
Pascal
property AutoOptions: TVTAutoOptions;
Description
These options can be used to switch certain actions in a tree
which happen automatically under certain circumstances.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TCustomVirtualTreeOptions.MiscOptions
Property
TCustomVirtualTreeOptions Class
Options not related to any other category.
Pascal
property MiscOptions: TVTMiscOptions;
Description
These options can be used to switch miscellanous aspects in
a tree.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TCustomVirtualTreeOptions.Owner
Property
TCustomVirtualTreeOptions Class
Owner tree to which the property class belongs.
Pascal
property Owner: TBaseVirtualTree;
Description
Owner tree to which the property class belongs.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TCustomVirtualTreeOptions.PaintOptions
Property
TCustomVirtualTreeOptions Class
Pascal
property PaintOptions: TVTPaintOptions;
Description
These options can be used to switch visual aspects of a tree.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TCustomVirtualTreeOptions.SelectionOptions
Property
TCustomVirtualTreeOptions Class
Options related to the way nodes can be selected.
Pascal
property SelectionOptions: TVTSelectionOptions;
Description
These options can be used to switch the way how nodes can
be selected in a tree.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TCustomVirtualTreeOptions.AssignTo
Method
TCustomVirtualTreeOptions Class
Pascal
procedure AssignTo(Dest: TPersistent); override;
Description
This is the usual method to support streaming or simply
copying of this class. To stay open for future enhancements in
form of new descentants not Assign but AssignTo has been
used. AssignTo is called by TPersistent if there is no Assign
method.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TCustomVirtualTreeOptions.Create
Constructor
TCustomVirtualTreeOptions Class
Pascal
constructor Create(AOwner: TBaseVirtualTree); virtual
Description
Used to assign default values to all sub lists.
Class
TCustomVirtualTreeOptions Class
Links
TCustomVirtualTreeOptions Class
TEnumFormatEtc Class
Classes | Methods | Legend
Group
Classes
Members
Methods
Clone
Not documented.
Create
Not documented.
Next
Not documented.
Reset
Not documented.
Skip
Not documented.
Legend
public
Method
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Legend
TEnumFormatEtc.Clone Method
TEnumFormatEtc Class
Not documented.
Pascal
function Clone(out Enum: IEnumFormatEtc): HResult; stdcall
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TEnumFormatEtc Class
Links
TEnumFormatEtc Class
TEnumFormatEtc.Create Constructor
TEnumFormatEtc Class
Not documented.
Pascal
constructor Create(Tree: TBaseVirtualTree; AFormatEtcArray:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TEnumFormatEtc Class
Links
TEnumFormatEtc Class
TEnumFormatEtc.Next Method
TEnumFormatEtc Class
Not documented.
Pascal
function Next(celt: Integer; out elt; pceltFetched: PLongint)
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TEnumFormatEtc Class
Links
TEnumFormatEtc Class
TEnumFormatEtc.Reset Method
TEnumFormatEtc Class
Not documented.
Pascal
function Reset: HResult; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TEnumFormatEtc Class
Links
TEnumFormatEtc Class
TEnumFormatEtc.Skip Method
TEnumFormatEtc Class
Not documented.
Pascal
function Skip(celt: Integer): HResult; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TEnumFormatEtc Class
Links
TEnumFormatEtc Class
TScrollBarOptions Class
Classes | Methods | Properties | Legend
TScrollBarOptions = class(TPersistent);
Group
Classes
Members
Properties
AlwaysVisible
Not documented.
HorizontalIncrement
Not documented.
ScrollBars
Not documented.
ScrollBarStyle
Not documented.
VerticalIncrement
Not documented.
Methods
Assign
Not documented.
Create
Not documented.
GetOwner
Not documented.
Legend
published
Property
public
Method
virtual
protected
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TScrollBarOptions.AlwaysVisible
Property
TScrollBarOptions Class
Not documented.
Pascal
property AlwaysVisible: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TScrollBarOptions.HorizontalIncrement
Property
TScrollBarOptions Class
Not documented.
Pascal
property HorizontalIncrement: TVTScrollIncrement;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TScrollBarOptions.ScrollBars Property
TScrollBarOptions Class
Not documented.
Pascal
property ScrollBars: TScrollStyle;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TScrollBarOptions.ScrollBarStyle
Property
TScrollBarOptions Class
Not documented.
Pascal
property ScrollBarStyle: TScrollBarStyle;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TScrollBarOptions.VerticalIncrement
Property
TScrollBarOptions Class
Not documented.
Pascal
property VerticalIncrement: TVTScrollIncrement;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TScrollBarOptions.Assign Method
TScrollBarOptions Class
Not documented.
Pascal
procedure Assign(Source: TPersistent); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TScrollBarOptions.Create Constructor
TScrollBarOptions Class
Not documented.
Pascal
constructor Create(AOwner: TBaseVirtualTree);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TScrollBarOptions.GetOwner Method
TScrollBarOptions Class
Not documented.
Pascal
function GetOwner: TPersistent; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TScrollBarOptions Class
Links
TScrollBarOptions Class
TStringEditLink Class
Classes | Methods | Properties | Legend
Pascal
TStringEditLink = class(TInterfacedObject, IVTEditLink
Description
TStringEditLink implements the interface IVTEditLink. This is a
simple node editor which wraps a TEdit and is not Unicode
aware. A virtual string tree will use this node editor if the event
OnCreateEditor is not handled and a node must be edited.
After the node's text has been edited the event OnNewText
will be fired and the application should replace the old text
with the new and edited text.
Remarks
If you want to modify some aspects of how the node editor
works, i.e. suppress some characters or initialize it with a
different text but the node's text, you can inherit your own
class from TStringEditLink and return an instance of it in
Group
Classes
Members
Properties
Edit
Not documented.
Methods
BeginEdit
This function will be called by the virtual string tree when the editing
starts.
CancelEdit
This function will be called by the virtual string tree when the current
editing is about to be cancelled.
Create
Constructor of the class.
Destroy
Destructor of the class.
EndEdit
This function will be called by the virtual string tree when the current
editing is being finished.
GetBounds
The virtual string tree uses this function to get the current bounding
rect of the node editor.
PrepareEdit
This function is called by a virtual string tree to initialize the node
editor.
ProcessMessage
This function is used to forward messages being directed to the virtual
string tree.
SetBounds
The virtual string tree calls this function to initialize the bounding rect
of the node editor.
IVTEditLink Interface
BeginEdit
This function will be called by the virtual tree when the editing starts.
CancelEdit
This function will be called by the virtual tree when the current editing
is about to be cancelled.
EndEdit
This function will be called by the virtual tree when the current editing
is being finished.
GetBounds
The virtual tree can use this function to get the current bounding rect
of the node editor.
PrepareEdit
This function is called by a virtual tree to initialize the node editor.
ProcessMessage
This function is used to forward messages being directed to the virtual
tree.
SetBounds
The virtual tree calls this function to initialize the bounding rectangle
of the node editor.
Legend
public
Property
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TStringEditLink.Edit Property
TStringEditLink Class
Not documented.
Pascal
property Edit: TVTEdit;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.BeginEdit Method
TStringEditLink Class
This function will be called by the virtual string tree when the
editing starts.
Pascal
function BeginEdit: Boolean; virtual; stdcall;
Description
Please see interface IVTEditLink for a detailed explanation of
this interface function.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.CancelEdit Method
TStringEditLink Class
This function will be called by the virtual string tree when the
current editing is about to be cancelled.
Pascal
function CancelEdit: Boolean; virtual; stdcall;
Description
Please see interface IVTEditLink for a detailed explanation of
this interface function.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.Create Constructor
TStringEditLink Class
Pascal
constructor Create;
Description
The constructor of the edit link also creates an instance of a
simple node editor control. It is by default hidden and first
displayed if the tree directs the link to do so.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.Destroy Destructor
TStringEditLink Class
Pascal
destructor Destroy; override;
Description
Frees the internal editor control.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.EndEdit Method
TStringEditLink Class
This function will be called by the virtual string tree when the
current editing is being finished.
Pascal
function EndEdit: Boolean; virtual; stdcall;
Description
Please see interface IVTEditLink for a detailed explanation of
this interface function.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.GetBounds Method
TStringEditLink Class
The virtual string tree uses this function to get the current
bounding rect of the node editor.
Pascal
function GetBounds: TRect; virtual; stdcall;
Description
Please see interface IVTEditLink for a detailed explanation of
this interface function.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.PrepareEdit Method
TStringEditLink Class
Pascal
function PrepareEdit(Tree: TBaseVirtualTree; Node: PVirtualNo
Description
Please see interface IVTEditLink for a detailed explanation of
this interface function.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.ProcessMessage Method
TStringEditLink Class
Pascal
procedure ProcessMessage(var Message: TMessage); virtual
Description
Please see interface IVTEditLink for a detailed explanation of
this interface function.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringEditLink.SetBounds Method
TStringEditLink Class
Pascal
procedure SetBounds(R: TRect); virtual; stdcall;
Description
Please see interface IVTEditLink for a detailed explanation of
this interface function.
Class
TStringEditLink Class
Links
TStringEditLink Class
TStringTreeOptions Class
Classes | Methods | Properties | Legend
Pascal
TStringTreeOptions = class(TCustomStringTreeOptions);
Description
This options class publishes all properties inherited from its
ancestor and does not add any further functionality.
Group
Classes
Members
Properties
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
StringOptions
The new options introduced by the class.
TCustomStringTreeOptions Class
StringOptions
The new options introduced by the class.
TCustomVirtualTreeOptions Class
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Methods
TCustomStringTreeOptions Class
AssignTo
Used to copy the options class.
Create
The constructor of the class.
TCustomVirtualTreeOptions Class
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
Legend
published
Property
protected
public
read only
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TStringTreeOptions.AnimationOptions
Property
TStringTreeOptions Class
Pascal
property AnimationOptions: TVTAnimationOptions;
Description
These options can be used to switch certain animation effects
in a tree.
Class
TStringTreeOptions Class
Links
TStringTreeOptions Class
TStringTreeOptions.AutoOptions
Property
TStringTreeOptions Class
Options related to automatic actions.
Pascal
property AutoOptions: TVTAutoOptions;
Description
These options can be used to switch certain actions in a tree
which happen automatically under certain circumstances.
Class
TStringTreeOptions Class
Links
TStringTreeOptions Class
TStringTreeOptions.MiscOptions
Property
TStringTreeOptions Class
Options not related to any other category.
Pascal
property MiscOptions: TVTMiscOptions;
Description
These options can be used to switch miscellanous aspects in
a tree.
Class
TStringTreeOptions Class
Links
TStringTreeOptions Class
TStringTreeOptions.PaintOptions
Property
TStringTreeOptions Class
Options related to painting.
Pascal
property PaintOptions: TVTPaintOptions;
Description
These options can be used to switch visual aspects of a tree.
Class
TStringTreeOptions Class
Links
TStringTreeOptions Class
TStringTreeOptions.SelectionOptions
Property
TStringTreeOptions Class
Options related to the way nodes can be selected.
Pascal
property SelectionOptions: TVTSelectionOptions;
Description
These options can be used to switch the way how nodes can
be selected in a tree.
Class
TStringTreeOptions Class
Links
TStringTreeOptions Class
TStringTreeOptions.StringOptions
Property
TStringTreeOptions Class
Pascal
property StringOptions: TVTStringOptions;
Description
StringOptions provides access to the newly introduced options
by which the base class is extended.
Class
TStringTreeOptions Class
Links
TStringTreeOptions Class
TVirtualDrawTree Class
Events | Classes | Methods | Properties | Legend
Pascal
TVirtualDrawTree = class(TCustomVirtualDrawTree);
Description
This tree implementation enhances the base tree to allow the
application to draw its own stuff into the tree window.
Group
Classes
Members
Properties
Action
Not documented.
Align
Not documented.
Alignment
Determines the horizontal alignment of text if no columns are defined.
Anchors
Not documented.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BevelEdges
Not documented.
BevelInner
Not documented.
BevelKind
Not documented.
BevelOuter
Not documented.
BevelWidth
Not documented.
BiDiMode
Not documented.
BorderStyle
Same as TForm.BorderStyle.
BorderWidth
Not documented.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
Canvas
Not documented.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Color
Not documented.
Colors
A collection of colors used in the tree.
Constraints
Not documented.
Ctl3D
Not documented.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragCursor
Not documented.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragKind
Not documented.
DragMode
Not documented.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
Enabled
Not documented.
Font
Same as TWinControl.Font.
Header
Provides access to the header instance.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
OnClick
Not documented.
OnDblClick
Not documented.
OnEndDock
Not documented.
OnEndDrag
Not documented.
OnEnter
Not documented.
OnExit
Not documented.
OnKeyDown
Not documented.
OnKeyPress
Not documented.
OnKeyUp
Not documented.
OnMouseDown
Not documented.
OnMouseMove
Not documented.
OnMouseUp
Not documented.
OnMouseWheel
Not documented.
OnResize
Not documented.
OnStartDock
Not documented.
ParentBiDiMode
Not documented.
ParentColor
Not documented.
ParentCtl3D
Not documented.
ParentFont
Not documented.
ParentShowHint
Not documented.
PopupMenu
Not documented.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
ShowHint
Not documented.
StateImages
Reference to the images list which is used for the state images.
TabOrder
Not documented.
TabStop
Not documented.
TextMargin
Read or set the distance of the node caption to its borders.
TreeOptions
Reference to the tree's options.
Visible
Not documented.
WantTabs
Read or set whether the tree wants to process tabs on its own.
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Events
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnDrawHint
Triggered when a node hint or tooltip must be drawn.
OnDrawNode
Triggered when a node must be drawn.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetHintSize
Triggered when a node hint or tooltip is about to show.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetNodeWidth
Triggered when a node is about to be drawn.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TCustomVirtualDrawTree Class
OnDrawHint
Triggered when a node hint or tooltip must be drawn.
OnDrawNode
Triggered when a node must be drawn.
OnGetHintSize
Triggered when a node hint or tooltip is about to show.
OnGetNodeWidth
Triggered when a node is about to be drawn.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
Methods
GetOptionsClass
Customization helper to determine which options class the tree should
use.
TCustomVirtualDrawTree Class
DoDrawHint
Overridable method which triggers OnDrawHint.
DoGetHintSize
Overridable method which triggers OnGetHintSize.
DoGetNodeWidth
Overridable method which triggers OnGetNodeWidth.
DoPaintNode
Overridable method which triggers OnPaintNode.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
Legend
published
Property
public
protected
read only
Event
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Events, Classes, Methods, Properties, Legend
TVirtualDrawTree.Action Property
TVirtualDrawTree Class
Not documented.
Pascal
property Action;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Align Property
TVirtualDrawTree Class
Not documented.
Pascal
property Align;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Alignment Property
TVirtualDrawTree Class
Pascal
property Alignment: TAlignment;
Description
This property is only used if there are no columns defined and
applies only to the node captions. Right alignment means here
the right client area border and left aligned means the node
buttons/lines etc. (both less the text margin).
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Anchors Property
TVirtualDrawTree Class
Not documented.
Pascal
property Anchors;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.AnimationDuration
Property
TVirtualDrawTree Class
Determines the maximum duration the tree can use to play an
animation.
Pascal
property AnimationDuration: Cardinal;
Description
The value is specified in milliseconds and per default there are
200 ms as time frame, which is the recommended duration for
such operations. On older systems (particularly Windows 95
and Windows 98) the animation process might not get enough
CPU time to avoid expensive animations to finish properly.
Still the animation loop tries to stay as close as possible to the
given time.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.AutoExpandDelay
Property
TVirtualDrawTree Class
Time delay after which a node gets expanded if it is the
current drop target.
Pascal
property AutoExpandDelay: Cardinal;
Description
This value is specified in milliseconds and determines when to
expand a node if it is the current drop target. This value is only
used if voAutoDropExpand in Options is set.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.AutoScrollDelay
Property
TVirtualDrawTree Class
Time which determines when auto scrolling should start.
Pascal
property AutoScrollDelay: Cardinal;
Description
Once the mouse pointer has been moved near to a border a
timer is started using the interval specified by AutoScrollDelay.
When the timer has fired auto scrolling starts provided it is
enabled (see also TreeOptions). The value is specified in
milliseconds.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.AutoScrollInterval
Property
TVirtualDrawTree Class
Time interval between scroll events when doing auto scroll.
Pascal
property AutoScrollInterval: TAutoScrollInterval;
Description
This property determines the speed how the tree is scrolled
vertically or horizontally when auto scrolling is in progress.
The value is given in milliseconds.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Background Property
TVirtualDrawTree Class
Pascal
property Background: TPicture;
Description
Virtual Treeview supports a fixed background image which
does not scroll but can be adjusted by BackgroundOffsetX
and BackgroundOffsetY.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BackgroundOffsetX
Property
TVirtualDrawTree Class
Horizontal offset of the background image.
Pascal
property BackgroundOffsetX: Integer;
Description
Determines the horizontal offset of the left border of the
background image. This value is relative to the target canvas
where the tree is painted to (usually the tree window).
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BackgroundOffsetY
Property
TVirtualDrawTree Class
Vertical offset of the background image.
Pascal
property BackgroundOffsetY: Integer;
Description
Determines the vertical offset of the top border of the
background image. This value is relative to the target canvas
where the tree is painted to (usually the tree window).
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BevelEdges Property
TVirtualDrawTree Class
Not documented.
Pascal
property BevelEdges;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BevelInner Property
TVirtualDrawTree Class
Not documented.
Pascal
property BevelInner;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BevelKind Property
TVirtualDrawTree Class
Not documented.
Pascal
property BevelKind;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BevelOuter Property
TVirtualDrawTree Class
Not documented.
Pascal
property BevelOuter;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BevelWidth Property
TVirtualDrawTree Class
Not documented.
Pascal
property BevelWidth;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BiDiMode Property
TVirtualDrawTree Class
Not documented.
Pascal
property BiDiMode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BorderStyle Property
TVirtualDrawTree Class
Same as TForm.BorderStyle.
Pascal
property BorderStyle: TBorderStyle;
Description
See TForm.BorderStyle.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.BorderWidth Property
TVirtualDrawTree Class
Not documented.
Pascal
property BorderWidth;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ButtonFillMode
Property
TVirtualDrawTree Class
Determines how to fill the background of the node buttons.
Pascal
property ButtonFillMode: TVTButtonFillMode;
Description
This property is used to specify how the interior of the little
plus and minus node buttons should be drawn, if ButtonStyle
is bsTriangle.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ButtonStyle Property
TVirtualDrawTree Class
Pascal
property ButtonStyle: TVTButtonStyle;
Description
Determines the look of node buttons.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Canvas Property
TVirtualDrawTree Class
Not documented.
Pascal
property Canvas;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ChangeDelay Property
TVirtualDrawTree Class
Pascal
property ChangeDelay: Cardinal;
Description
In order to accumulate many quick changes in the tree you
can use this delay value to specify after which wait time the
OnChange event should occur. A value of 0 means to trigger
OnChange immediately after the change (usually a selection
or focus change) happend. Any value > 0 will start a timer
which then triggers OnChange.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
What do you think about this topic? Send feedback!
TVirtualDrawTree Class |
TVirtualDrawTree.ChangeDelay
Property |
TVirtualDrawTree.ClipboardFormats
Property
TVirtualDrawTree.CheckImageKind
Property
TVirtualDrawTree Class
Determines which images should be used for checkboxes and
radio buttons.
Pascal
property CheckImageKind: TCheckImageKind;
Description
CheckImageKind can be used to switch the image set, which
should be used for the tree. Read the description about
TCheckImageKind for a list of all images, which can be used.
CheckImageKind can also be set to ckCustom, which allows
to supply a customized set of images to the tree. In order to
have that working you must assign an image list
(TCustomImageList) to the CustomCheckImages property.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ClipboardFormats
Property
TVirtualDrawTree Class
Pascal
property ClipboardFormats: TClipboardFormats;
Description
This TStringList descendant is used to keep a number of
clipboard format descriptions, which are usually used to
register clipboard formats with the system. Using a string list
for this task allows to store enabled clipboard formats in the
DFM.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Color Property
TVirtualDrawTree Class
Not documented.
Pascal
property Color;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Colors Property
TVirtualDrawTree Class
Pascal
property Colors: TVTColors;
Description
This property holds an instance of the TVTColors class, which
is used to customize many of the colors used in a tree.
Placing them all in a specialized class helps organizing the
colors in the object inspector and improves general
management.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Constraints Property
TVirtualDrawTree Class
Not documented.
Pascal
property Constraints;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Ctl3D Property
TVirtualDrawTree Class
Not documented.
Pascal
property Ctl3D;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.CustomCheckImages
Property
TVirtualDrawTree Class | See Also
Assign your own image list to get the check images you like
most.
Pascal
property CustomCheckImages: TCustomImageList;
Description
The CustomCheckImages property is used when custom
check images are enabled (see also ckCustom in
TCheckImageKind).
See Also
TCheckImageKind
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.DefaultNodeHeight
Property
TVirtualDrawTree Class
Read or set the height new nodes get as initial value.
Pascal
property DefaultNodeHeight: Cardinal;
Description
This property allows to read the current initial height for new
nodes and to set a new value. Note that changing the property
value does not change the height of existing nodes. Only new
nodes are affected.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DefaultPasteMode
Property
TVirtualDrawTree Class | See Also
Read or set the value, which determines where to add pasted
nodes to.
Pascal
property DefaultPasteMode: TVTNodeAttachMode;
Description
The default paste mode is an attach mode, which is used
when pasting data from the clipboard into the tree. Usually,
you will want new nodes to be added as child nodes to the
currently focused node (and this is also the default value), but
you can also specify to add nodes only as siblings.
See Also
TVTNodeAttachMode
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualDrawTree Class |
TVirtualDrawTree.DefaultPasteMode
Property |
TVirtualDrawTree.DragHeight
Property
TVirtualDrawTree.DragCursor Property
TVirtualDrawTree Class
Not documented.
Pascal
property DragCursor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DragHeight Property
TVirtualDrawTree Class
Pascal
property DragHeight: Integer;
Description
The DragHeight property (as well as the DragWidth property)
are only for compatibility reason in the tree. If a platform does
not support the IDropTargetHelper interface (Windows 9x/Me,
Windows NT 4.0) then Virtual Treeview uses its own
implementation of a DragImage. Since displaying a
translucent drag image is performance hungry you should limit
the image size shown for the drag operation.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DragImageKind
Property
TVirtualDrawTree Class
Read or set what should be shown in the drag image.
Pascal
property DragImageKind: TVTDragImageKind;
Description
DragImageKind allows to switch parts of the drag image off
and on.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DragKind Property
TVirtualDrawTree Class
Not documented.
Pascal
property DragKind;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DragMode Property
TVirtualDrawTree Class
Not documented.
Pascal
property DragMode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DragOperations
Property
TVirtualDrawTree Class
Read or set which drag operations may be allowed in the tree.
Pascal
property DragOperations: TDragOperations;
Description
Using this property you can determine, which actions may be
performed when a drag operation is finished. The default
value includes move, copy and link, where link is rather an
esoteric value and only there because it is supported by OLE.
The values used directly determine which image is shown for
the drag cursor. The specified drag operations do not tell
which actions will actually be performed but only, which
actions are allowed. They still can be modified during drag'n
drop by using a modifier key like the control, shift or alt key or
can entirely be ignored by the drop handler.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DragType Property
TVirtualDrawTree Class
Pascal
property DragType: TVTDragType;
Description
Traditionally, Delphi only supports its own drag mechanism,
which is not compatible with the rest of the system. This VCL
dragging also does not support to transport random data nor
does it support drag operations between applications. Thus
Virtual Treeview also supports the generally used OLE
dragging, which in turn is incompatible with VCL dragging.
Depending on your needs you can enable either VCL or OLE
dragging as both together cannot be started. However, Virtual
Treeview is able to act as drop target for both kind of data,
independant of what is set in DragType.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DragWidth Property
TVirtualDrawTree Class
Pascal
property DragWidth: Integer;
Description
The DragWidth property (as well as the DragHeight property)
are only for compatibility reason in the tree. If a platform does
not support the IDropTargetHelper interface (Windows 9x/Me,
Windows NT 4.0) then Virtual Treeview uses its own
implementation of a DragImage. Since displaying a
translucent drag image is performance hungry you should limit
the image size shown for the drag operation.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.DrawSelectionMode
Property
TVirtualDrawTree Class
Read or set how multiselection with the mouse is to be
visualized.
Pascal
property DrawSelectionMode: TVTDrawSelectionMode;
Description
Virtuall Treeview allows to display two different selection
rectangles when doing multiselection with the mouse. One is
the traditiional dotted focus rectangle and the other one is a
translucent color rectangle. The latter is the preferred one but
the former is set as default (for compatibility reasons).
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.EditDelay Property
TVirtualDrawTree Class | See Also
Pascal
property EditDelay: Cardinal;
Description
A node edit operation can be started using the keyboard (F2
key), in code using EditNode or by clicking twice on the same
node (but not doing a double click). EditDelay is the
maxmimum time distance between both clicks in which the
edit operation is started.
See Also
Editors and editing
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.Enabled Property
TVirtualDrawTree Class
Not documented.
Pascal
property Enabled;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Font Property
TVirtualDrawTree Class
Same as TWinControl.Font.
Pascal
property Font;
Description
See TWinControl.Font.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Header Property
TVirtualDrawTree Class | See Also
Pascal
property Header: TVTHeader;
Description
This property is used to allow access to the header instance,
which manages all aspects of the tree's header image as well
as the column settings.
See Also
TVTHeader
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.HintAnimation
Property
TVirtualDrawTree Class
Pascal
property HintAnimation: THintAnimationType;
Description
With this property you can specify what animation you would
like to play when displaying a hint. For some applications it
might not be good to animate hints, hence you can entirely
switch them off. Usually however you will leave the system
standard. This way the user can decide whether and which
hint animation he or she likes.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.HintMode Property
TVirtualDrawTree Class
Read or set what type of hint you want for the tree view.
Pascal
property HintMode: TVTHintMode;
Description
Virtual Treeview supports several hints modes. This includes
the normal hint used for any other TControl class as well as a
node specific hint, which is individual for each node or even
each cell.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.HotCursor Property
TVirtualDrawTree Class | See Also
Pascal
property HotCursor: TCursor;
Description
When you enable toHotTrack in TreeOptions.PaintOptions
then the node, which is currently under the mouse pointer
becomes the hot node. This is a special state, which can be
used for certain effects. Hot nodes have by default an
underlined caption and may cause the cursor to change to
what ever you like. The HotCursor property is used to specify,
which cursor is to be used.
See Also
HotNode, TVTPaintOptions
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.Images Property
TVirtualDrawTree Class | See Also
Pascal
property Images: TCustomImageList;
Description
Just like with TListView and TTreeview also Virtual Treeview
can take an image list for its normal images. Additionally,
there are image lists for state images and check images.
See Also
StateImages, CheckImages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.IncrementalSearch
Property
TVirtualDrawTree Class | See Also
Pascal
property IncrementalSearch: TVTIncrementalSearch;
Description
Virtual Treeview can do an incremental search by calling back
the application when comparing node captions. The
IncrementalSearch property determines whether incremental
search is enabled and which nodes should be searched
through.
See Also
IncrementalSearchDirection, IncrementalSearchStart,
IncrementalSearchTimeout
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.IncrementalSearchDirection
Property
TVirtualDrawTree Class | See Also
Read or set the direction to be used for incremental search.
Pascal
property IncrementalSearchDirection: TVTSearchDirection
Description
When incremental search is enabled then Virtual Treeview
can search forward and backward from the start point given by
IncrementalSearchStart.
See Also
IncrementalSearch, IncrementalSearchStart,
IncrementalSearchTime123out
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.IncrementalSearchStart
Property
TVirtualDrawTree Class | See Also
Read or set where to start incremental search.
Pascal
property IncrementalSearchStart: TVTSearchStart;
Description
When incremental search is enabled in the tree view then you
can specify here, where to start the next incremental search
operation from.
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchTimeout
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.IncrementalSearchTimeout
Property
TVirtualDrawTree Class | See Also
Pascal
property IncrementalSearchTimeout: Cardinal;
Description
When incremental search is enabled in Virtual Treeview then
you can specify here after what time incremental search
should stop when no keyboard input is encountered any
longer. This property so determines also the speed at which
users have to type letters to keep the incremental search
rolling.
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchStart
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.Indent Property
TVirtualDrawTree Class
Pascal
property Indent: Cardinal;
Description
Each new level in the tree (child nodes of a parent node) are
visually shifted to distinguish betwenn them and their parent
node (that's the tree layout after all). The Indent property
determines the shift distance in pixels.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.LineMode Property
TVirtualDrawTree Class
Pascal
property LineMode: TVTLineMode;
Description
Apart from the usual lines Virtual Treeview also supports a
special draw mode named bands. This allows for neat visual
effects.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.LineStyle Property
TVirtualDrawTree Class
Pascal
property LineStyle: TVTLineStyle;
Description
Virtual Treeview allows to customize the lines used to display
the node hierarchy. The default style is a dotted pattern, but
you can also make solid lines or specify your own line pattern.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Margin Property
TVirtualDrawTree Class | See Also
Pascal
property Margin: Integer;
Description
The node margin is the distance between the cell bounds and
its content like the lines, images, check box and so on.
However this border is only applied to the left and right side of
the node cell.
See Also
TVirtualStringTree.TextMargin
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.NodeAlignment
Property
TVirtualDrawTree Class | See Also
Pascal
property NodeAlignment: TVTNodeAlignment;
Description
Nodes have got an align member, which is used to determine
the vertical position of the node's images and tree lines. The
NodeAlignment property specifies how to interpret the value in
the align member.
See Also
TVirtualNode
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.NodeDataSize Property
TVirtualDrawTree Class | See Also
Pascal
property NodeDataSize: Integer;
Description
A node can have an area for user data, which can be used to
store application defined, node specific data in. Use
GetNodeData to get the address of this area. In addition to
assigning a value here you can also use the
OnGetNodeDataSize event, which is called when
NodeDataSize is -1.
See Also
Data handling
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnAdvancedHeaderDraw
Event
TVirtualDrawTree Class | See Also
Header paint support event.
Pascal
property OnAdvancedHeaderDraw: TVTAdvancedHeaderPaintEvent
Description
The OnAdvancedHeaderDraw event is used when owner
draw is enabled for the header and a column is set to owner
draw mode. It can be used to custom draw only certain parts
of the header instead the whole thing. A good example for this
event is customizing the background of the header for only
one column. With the standard custom draw method
(OnHeaderDraw) you are in an all-or-nothing situation and
have to paint everything in the header including the text,
images and sort direction indicator. OnAdvancedHeaderDraw
however uses OnHeaderDrawQueryElements to ask for the
elements the application wants to draw and acts accordingly.
See Also
OnHeaderDrawQueryElements, OnHeaderDraw
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnAfterCellPaint Event
TVirtualDrawTree Class | See Also
Pascal
property OnAfterCellPaint: TVTAfterCellPaintEvent;
Description
This event is called whenever a cell has been painted. A cell is
defined as being one part of a node bound to a certain
column. This event is called several times per node (the
amount is determined by visible columns and size of the part
to draw).
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnAfterItemErase
Event
TVirtualDrawTree Class | See Also
Paint support event.
Pascal
property OnAfterItemErase: TVTAfterItemEraseEvent;
Description
Called after the background of a node has been erased
(erasing can also be filling with a background image). This
event is called once per node in a paint cycle.
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnAfterItemPaint
Event
TVirtualDrawTree Class | See Also
Paint support event.
Pascal
property OnAfterItemPaint: TVTAfterItemPaintEvent;
Description
Called after a node has been drawn. This event is called once
per node.
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnAfterPaint Event
TVirtualDrawTree Class | See Also
Pascal
property OnAfterPaint: TVTPaintEvent;
Description
Called after all nodes which needed an update have been
drawn. This event is called once per paint cycle.
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnBeforeCellPaint
Event
TVirtualDrawTree Class | See Also
Paint support event.
Pascal
property OnBeforeCellPaint: TVTBeforeCellPaintEvent;
Description
This event is called immediately before a cell is painted.
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnBeforeItemErase
Event
TVirtualDrawTree Class | See Also
Paint support event.
Pascal
property OnBeforeItemErase: TVTBeforeItemEraseEvent;
Description
Called when the background of a node is about to be erased.
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnBeforeItemPaint
Event
TVirtualDrawTree Class | See Also
Paint support event.
Pascal
property OnBeforeItemPaint: TVTBeforeItemPaintEvent;
Description
Called after the background of a node has been drawn and
just before the node itself is painted. In this event the
application gets the opportunity to decide whether a node
should be drawn normally or should be skipped. The
application can draw the node itself if necessary or leave the
node area blank.
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnBeforePaint Event
TVirtualDrawTree Class | See Also
Pascal
property OnBeforePaint: TVTPaintEvent;
Description
Called as very first event in a paint cycle. In this event has the
application the opportunity to do some special preparation of
the canvas onto which the tree is painted, e.g. setting a
special viewport and origin or a different mapping mode.
See Also
Paint cycles and stages
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnChange Event
TVirtualDrawTree Class
Pascal
property OnChange: TVTChangeEvent;
Description
Called when a node's selection state has changed.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnChecked Event
TVirtualDrawTree Class
Pascal
property OnChecked: TVTChangeEvent;
Description
Triggered when a node's check state has changed.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnChecking Event
TVirtualDrawTree Class
Pascal
property OnChecking: TVTCheckChangingEvent;
Description
Triggered when a node's check state is about to change and
allows to prevent the change.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnClick Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnClick;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnCollapsed Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnCollapsed: TVTChangeEvent;
Description
Triggered after a node has been collapsed, that is, its child
nodes are no longer displayed.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnCollapsing Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnCollapsing: TVTChangingEvent;
Description
Triggered when a node is about to be collapsed and allows to
prevent collapsing the node by setting Allowed to false.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnColumnClick Event
TVirtualDrawTree Class | See Also
Pascal
property OnColumnClick: TVTColumnClickEvent;
Description
Triggered when the user released a mouse button over the
same column in the client area on which the button was
pressed previously.
See Also
OnHeaderClick
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnColumnDblClick
Event
TVirtualDrawTree Class | See Also
Header and column support event.
Pascal
property OnColumnDblClick: TVTColumnDblClickEvent;
Description
Same as OnColumnClick but for double clicks.
See Also
OnColumnClick, OnHeaderDblClick
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnColumnResize
Event
TVirtualDrawTree Class
Header and column support routine.
Pascal
property OnColumnResize: TVTHeaderNotifyEvent;
Description
Triggered when a column is being resized. During resize
OnColumnResize is frequently hence you should make any
code in the associated event handle a short and fast as
possible.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnCompareNodes
Event
TVirtualDrawTree Class | See Also
Sort and search support event.
Pascal
property OnCompareNodes: TVTCompareEvent;
Description
This event is the core event for all comparations between
nodes. It is important that you write a handler for this event if
you want to sort nodes!
procedure TMainForm.VDT1CompareNodes(Sender: TBaseVirtualTre
var Result: Integer);
var
Data1,
Data2: PImageData;
begin
Data1 := Sender.GetNodeData(Node1);
Data2 := Sender.GetNodeData(Node2);
// folder are always before files
if Data1.IsFolder <> Data2.IsFolder then
begin
// one of both is a folder the other a file
if Data1.IsFolder then
Result := -1
else
Result := 1;
end
else // both are of same type (folder or file)
Result := CompareText(Data1.FullPath, Data2.FullPath);
end;
See Also
SortTree, Sort
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnCreateDataObject
Event
TVirtualDrawTree Class
Drag'n drop support event.
Pascal
property OnCreateDataObject: TVTCreateDataObjectEvent
Description
This event is called when the tree's drag manager needs a
data object interface to start a drag'n drop operation.
Descentants (which override DoGetDataObject) or the
application can return an own IDataObject implementation to
support special formats.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnCreateDragManager
Event
TVirtualDrawTree Class
Drag'n drop support event.
Pascal
property OnCreateDragManager: TVTCreateDragManagerEvent
Description
This event is usually not used but allows power users to
create their own drag manager to have different actions and/or
formats than the internal drag manager.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnCreateEditor Event
TVirtualDrawTree Class | See Also
Pascal
property OnCreateEditor: TVTCreateEditorEvent;
Description
Allows to supply a customized node editor without changing
the tree. TBaseVirtualTree triggers this event and raises an
exception if there no editor is returned. If you don't want this
then disable edit support for nodes in
TreeOptions.MiscOptions. Descentants like
TCustomVirtualStringTree supply a generic and simple string
editor.
See Also
Editors and editing
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnDblClick Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnDblClick;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnDragAllowed Event
TVirtualDrawTree Class
Pascal
property OnDragAllowed: TVTDragAllowedEvent;
Description
This event is called in the mouse button down handler to
determine whether the application allows to start a drag
operation. Since this check is done in sync with the other code
it is much prefered over doing a manual BeginDrag.
Notes
The OnDragAllowed event is called only if the current
DragMode is dmManual.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnDragDrop Event
TVirtualDrawTree Class
Pascal
property OnDragDrop: TVTDragDropEvent;
Description
Triggered when either a VCL or a OLE drop action occured.
Accepting drag and drop actions is not trivial. In order to
maintain a minimum compatibility with the VCL drag'n drop
system Virtual Tree accepts not only OLE drop actions but
also those issued by the Delphi VCL (which is totally different
to the OLE way, unfortunately), provided toAcceptOLEDrop is
set in TreeOptions.MiscOptions. The code snippet below is
taken from a sample project provided with Virtual Tree. It
shows a general way to deal with dropped data. The following
check list can be used as orientation and additional comment
to the code:
var
I: Integer;
AttachMode: TVTNodeAttachMode;
begin
if Length(Formats) > 0 then
begin
// OLE drag'n drop
// If the native tree format is listed then use this and
// It is recommend by Microsoft to order available clipb
// the first best format which we can accept is usually
for I := 0 to High(Formats) do
if Formats[I] = CF_VIRTUALTREE then
begin
case Mode of
dmAbove:
AttachMode := amInsertBefore;
dmOnNode:
AttachMode := amAddChildLast;
dmBelow:
AttachMode := amInsertAfter;
else
if Assigned(Source) and (Source is TBaseVirtualTre
AttachMode := amInsertBefore
else
AttachMode := amNowhere;
end;
// in the case the drop target does an optimized mov
// to indicate this also to the drag source (so the
Sender.ProcessDrop(DataObject, Sender.DropTargetNode
Break;
end;
end
else
begin
// VCL drag'n drop, Effects contains by default both mov
// as usual the application has to find out what operati
Beep;
end;
end;
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnDragOver Event
TVirtualDrawTree Class | See Also
Pascal
property OnDragOver: TVTDragOverEvent;
Description
Triggered when Sender is the potential target of a drag'n drop
operation. You can use this event to allow or deny a drop
operation by setting Allowed to True or False, respectively. For
conditions of OLE or VCL drag source see OnDragDrop.
See Also
OnDragDrop
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnDrawHint Event
TVirtualDrawTree Class
Pascal
property OnDrawHint: TVTDrawHintEvent;
Description
Use an event handler for OnDrawHint to draw the hint or
tooltip for the given node. You must implement this event and
OnGetHintSize to get a hint at all.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnDrawNode Event
TVirtualDrawTree Class
Pascal
property OnDrawNode: TVTDrawNodeEvent;
Description
Use an event handler for OnDrawNode to draw the actual
content for the given node.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnEdited Event
TVirtualDrawTree Class | See Also
Pascal
property OnEdited: TVTEditChangeEvent;
Description
Triggered when an edit action has successfully been finished.
See Also
Editors and editing
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnEditing Event
TVirtualDrawTree Class | See Also
Pascal
property OnEditing: TVTEditChangingEvent;
Description
Triggered when a node is about to be edited. Use Allowed to
allow or deny this action.
See Also
Editors and editing
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnEndDock Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnEndDock;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnEndDrag Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnEndDrag;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnEnter Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnEnter;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnExit Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnExit;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnExpanded Event
TVirtualDrawTree Class
Misscellaneous event.
Pascal
property OnExpanded: TVTChangeEvent;
Description
Triggered after a node has been expanded.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnExpanding Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnExpanding: TVTChangingEvent;
Description
Triggered just before a node is expanded. Use Allowed to
allow or deny this action.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnFocusChanged
Event
TVirtualDrawTree Class
Navigation support event.
Pascal
property OnFocusChanged: TVTFocusChangeEvent;
Description
Triggered after the focused node changed. When examining
Node keep in mind that it can be nil, meaning there is no
focused node.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnFocusChanging
Event
TVirtualDrawTree Class
Navigation support event.
Pascal
property OnFocusChanging: TVTFocusChangingEvent;
Description
Triggered when the node focus is about to change. You can
use Allowed to allow or deny a focus change. Keep in mind
that either the old or the new node can be nil.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnFreeNode Event
TVirtualDrawTree Class
Pascal
property OnFreeNode: TVTFreeNodeEvent;
Description
Triggered when a node is about to be freed. This is the ideal
place to free/disconnect your own data you associated with
Node. Keep in mind, that data which is stored directly in the
node does not need to be free by the application. This is part
of the node record and will be freed when the node is freed.
You should however finalize the data in such a case if it
contains references to external memory objects (e.g. variants,
strings, interfaces).
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetCellIsEmpty
Event
TVirtualDrawTree Class
Triggered when the tree control needs to know whether a
given column is empty.
Pascal
property OnGetCellIsEmpty: TVTGetCellIsEmptyEvent;
Description
Virtual Treeview supports the concept of column spanning
where one cell with too much text to fit into its own space can
expand to the right cell neighbors if they are empty. To make
this work it is necessary to know if a cell is considered as
being empty, whatever this means to an application. The
string tree descendant simply checks the text for the given cell
and calls back its ancestor if there is no text to further refine if
the cell must stay as if it contained something. The ancestor
(TBaseVirtualTree) now triggers OnGetCellIsEmpty to let the
application decide.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
What do you think about this topic? Send feedback!
TVirtualDrawTree Class |
TVirtualDrawTree.OnGetCellIsEmpty
Event |
TVirtualDrawTree.OnGetHeaderCursor
Event
TVirtualDrawTree.OnGetCursor Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnGetCursor: TVTGetCursorEvent;
Description
This event is triggered from the WM_SETCURSOR message
to allow the application use several individual cursors for a
tree. The Cursor property allows to set one cursor for the
whole control but not to use separate cursors for different tree
parts.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetHeaderCursor
Event
TVirtualDrawTree Class
Header and column support event.
Pascal
property OnGetHeaderCursor: TVTGetHeaderCursorEvent;
Description
This event is triggered from the WM_SETCURSOR message
to allow the application to define individual cursors for the
header part of the tree control.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetHelpContext
Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnGetHelpContext: TVTHelpContextEvent;
Description
This event is usually triggered when the user pressed F1 while
the tree has the focus. The tree is iteratively traversed all the
way up to the top level parent of the given node until a valid
help context index is returned (via this event). When the loop
reaches the top level without getting a help index then the tree
control's help index is used. If the tree itself does not have a
help context index then a further traversal is initiated going up
parent by parent of each control in the current window
hierarchy until either a valid index is found or there is no more
window parent.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetHintSize Event
TVirtualDrawTree Class
Pascal
property OnGetHintSize: TVTGetHintSizeEvent;
Description
Use an event handler for OnGetHintSize to return the size of
the tooltip/hint window for the given node. You must
implement this event and OnDrawHint to get a hint at all.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetImageIndex
Event
TVirtualDrawTree Class
Display management event.
Pascal
property OnGetImageIndex: TVTGetImageEvent;
Description
This event is triggered whenever the tree needs the index of
an image, be it the normal, the selected or the state image.
The event should be as fast as possible because it is at times
frequently called when the layout of the node must be
determined, e.g. while doing draw selection with the mouse or
painting the tree. Kind determines which image is needed and
Column determines for which column of the node the image
is needed. This value can be -1 to indicate there is no column
used. The parameter Ghosted can be set to true to blend the
image 50% against the tree background and can be used for
instance in explorer trees to mark hidden file system objects.
Additionally nodes are also drawn with a ghosted icon if the
are part of a cut set during a pending cut-to-clipboard
operation. In this case changing the ghosted parameter has
no effect.
Notes
Blending nodes can be switched by using toUseBlendImages
in TreeOptions.PaintOptions.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetImageIndexEx
Event
TVirtualDrawTree Class
Not documented.
Pascal
property OnGetImageIndexEx: TVTGetImageExEvent;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetLineStyle Event
TVirtualDrawTree Class | See Also
Pascal
property OnGetLineStyle: TVTGetLineStyleEvent;
Description
This event is used to customize the appearance of the tree
and grid lines and is only triggered if the LineStyle property is
set to lsCustomStyle. The event must return a pointer to an
array containing bits for an 8 x 8 pixel image with word aligned
entries. For more info see PrepareBitmaps and the Windows
APIs CreateBitmap and CreatePatternBrush.
Notes
It is important that you do not use dynamically allocated
memory in this event (also no local variables on the stack). If
See Also
PrepareBitmaps
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnGetNodeDataSize
Event
TVirtualDrawTree Class | See Also
Data management event.
Pascal
property OnGetNodeDataSize: TVTGetNodeDataSizeEvent;
Description
Triggered when access to a node's data happens the first time
but the actual data size is not yet set. Usually you would
specify the size of the data you want to have added to each
node by NodeDataSize, e.g. SizeOf(TMyRecord) is quite
usual there (where TMyRecord is the structure you want to
have stored in the node). Sometimes, however it is not
possible to determine the node size in advance, so you can
leave NodeDataSize being -1 (the default value) and the
OnGetNodeDataSize event is triggered as soon as the first
regular node is created (the hidden root node does not have
user data but internal data which is determined by other
means).
See Also
NodeDataSize, Data handling
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnGetNodeWidth
Event
TVirtualDrawTree Class
Triggered when a node is about to be drawn.
Pascal
property OnGetNodeWidth: TVTGetNodeWidthEvent;
Description
Use an event handler for OnGetNodeWidth to return your
calculated width for the given node. Since the draw does not
know the width of a node you have to tell it yourself.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetPopupMenu
Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnGetPopupMenu: TVTPopupEvent;
Description
This event allows the application to return a popup menu
which is specific to a certain node. The tree does an automatic
traversal all the way up to the top level node which is the
parent of a given node to get a popup menu. If Menu is set
then the traversal stops. Otherwise it continues until either a
menu is set, AskParent is set to False or the top level parent
has been reached.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnGetUserClipboardFormats
Event
TVirtualDrawTree Class
Drag'n drop and clipboard support event.
Pascal
property OnGetUserClipboardFormats: TVTGetUserClipboardFormat
Description
Whenever the tree needs to specify the available clipboard
formats for a clipboard or drag'n drop operation it calls this
event too, to allow the application or descentants (which
would override DoGetUserClipboardFormats) to specify own
formats which can be rendered. Since the build-in data object
does not know how to render formats which are specified here
you have to supply a handler for the OnRenderOLEData event
or an own IDataObject implementation to fully support your
own formats.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHeaderClick Event
TVirtualDrawTree Class | See Also
Pascal
property OnHeaderClick: TVTHeaderClickEvent;
Description
This event is triggered when the user clicks on a header
button and is usually a good place to set the current
SortColumn and SortDirection.
See Also
SortColumn, SortDirection
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnHeaderDblClick
Event
TVirtualDrawTree Class | See Also
Header & column support event.
Pascal
property OnHeaderDblClick: TVTHeaderClickEvent;
Description
Unlike OnHeaderClick this event is triggered for double clicks
on any part of the header and comes with more detailed
information like shift state, which mouse button caused the
event and the mouse position.
See Also
OnHeaderClick
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnHeaderDragged
Event
TVirtualDrawTree Class
Header & column support event.
Pascal
property OnHeaderDragged: TVTHeaderDraggedEvent;
Description
Triggered after the user has released the left mouse button
when a header drag operation was active. Column contains
the index of the column which was dragged. Use this index for
the Columns property of the header to find out the current
position. OldPosition is the position which Column occupied
before it was dragged around.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHeaderDraggedOut
Event
TVirtualDrawTree Class
Header & column support event.
Pascal
property OnHeaderDraggedOut: TVTHeaderDraggedOutEvent
Description
When during a header drag operation the mouse moves out of
the header rectangle and the mouse button is released then
an OnHeaderDraggedOut event will be fired with the target
mouse position in screen coordinates.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHeaderDragging
Event
TVirtualDrawTree Class
Pascal
property OnHeaderDragging: TVTHeaderDraggingEvent;
Description
Triggered just before dragging of a header button starts. Set
Allowed to False if you want to prevent the drag operation of
the given column.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHeaderDraw Event
TVirtualDrawTree Class
Pascal
property OnHeaderDraw: TVTHeaderPaintEvent;
Description
If you set the hoOwnerDraw style in TVTHeader.Options and
a column has been set to vsOwnerDraw (see also
TVirtualTreeColumn.Style) then OnDrawHeader is called
whenever a column needs painting.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHeaderDrawQueryElements
Event
TVirtualDrawTree Class | See Also
Header & column support event.
Pascal
property OnHeaderDrawQueryElements: TVTHeaderPaintQueryElemen
Description
Used for advanced header painting to query the application for
the elements, which are drawn by it and which should be
drawn by the tree.
See Also
OnAdvancedHeaderDraw
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnHeaderMouseDown
Event
TVirtualDrawTree Class
Pascal
property OnHeaderMouseDown: TVTHeaderMouseEvent;
Description
This event is similar to OnHeaderClick but comes with more
detailed information like shift state, which mouse button
caused the event and the mouse position.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHeaderMouseMove
Event
TVirtualDrawTree Class
Header & column support event.
Pascal
property OnHeaderMouseMove: TVTHeaderMouseMoveEvent;
Description
This event is triggered when the mouse pointer is moved over
the header area.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHeaderMouseUp
Event
TVirtualDrawTree Class
Pascal
property OnHeaderMouseUp: TVTHeaderMouseEvent;
Description
This event is very much like OnHeaderMouseDown but is
triggered when a mouse button is released.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnHotChange Event
TVirtualDrawTree Class
Pascal
property OnHotChange: TVTHotNodeChangeEvent;
Description
This event is triggered if hot tracking is enabled (see also
TreeOptions.PaintOptions) and when the mouse pointer
moves from one node caption to another. In full row select
mode most parts of a node are considered as being part of the
caption.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnIncrementalSearch
Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnIncrementalSearch: TVTIncrementalSearchEvent
Description
This event is integral part of the incremental search
functionality (see also Keyboard, hotkeys and incremental
search). It is triggered during search for a node which
matches the given string. Similar to other compare routines
return a value < 0 if the node's caption is considered as being
before the given text, = 0 if it is the same and > 0 if it is
considered being after the given text.
procedure TfrmProperties.VST3IncrementalSearch(Sender:
var Result: Integer);
var
S, PropText: string;
begin
// Note: This code requires a proper Unicode/WideString co
// size and clarity reasons. For now strings are (implicit
// Search is not case sensitive.
S := Text;
if Node.Parent = Sender.RootNode then
begin
// root nodes
if Node.Index = 0 then
PropText := 'Description'
else
PropText := 'Origin';
end
else
begin
PropText := PropertyTexts[Node.Parent.Index, Node.Index,
end;
Notes
Usually incremental search allows to match also partially.
Hence it is recommended to do comparison only up to the
length
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnInitChildren Event
TVirtualDrawTree Class | See Also
Pascal
property OnInitChildren: TVTInitChildrenEvent;
Description
In order to allow the tree only to fill content where needed it is
possible to set the vsHasChildren style in a node's initializaton
whithout really adding any child nodes. These child nodes
must be initialized first when they are about to be displayed or
another access (like search, iteration etc.) occurs.
See Also
The virtual paradigm
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualDrawTree Class |
TVirtualDrawTree.OnInitChildren
Event |
TVirtualDrawTree.OnKeyAction
Event
TVirtualDrawTree.OnInitNode Event
TVirtualDrawTree Class | See Also
Pascal
property OnInitNode: TVTInitNodeEvent;
Description
This event is important to connect the tree to your internal
data. It is the ideal place to put references or whatever you
need into a node's data area. You can set some initial states
like selection, expansion state or that a node has child nodes.
See Also
The virtual paradigm
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnKeyAction Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnKeyAction: TVTKeyActionEvent;
Description
This event is a convinient way for the application or
descentant trees to change the semantic of a certain key
stroke. It is triggered when the user presses a key and allows
either to process that key normally (leave DoDefault being
True) or change it to another key instead (set DoDefault to
False then). This way a key press can change its meaning or
entirely be ignored (if CharCode is set to 0).
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnKeyDown Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnKeyDown;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnKeyPress Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnKeyPress;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnKeyUp Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnKeyUp;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnLoadNode Event
TVirtualDrawTree Class | See Also
Pascal
property OnLoadNode: TVTSaveNodeEvent;
Description
This event is typically triggered when serialized tree data must
be restored, e.g. when loading the tree from file or stream or
during a clipboard/drag'n drop operation. You should only read
in what you wrote out in OnSaveNode. For safety there is a
check in the loader code which tries to keep the internal
serialization structure intact in case the application does not
read correctly.
See Also
OnSaveNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualDrawTree Class |
TVirtualDrawTree.OnLoadNode
Event |
TVirtualDrawTree.OnMouseDown
Property
TVirtualDrawTree.OnMeasureItem Event
TVirtualDrawTree Class | See Also
Miscellaneous event.
Pascal
property OnMeasureItem: TVTMeasureItemEvent;
Description
Virtual Treeview supports individual node heights. However it
might sometimes unpractical to set this height in advance (e.g.
during OnInitNode). Another scenario might be that multi line
nodes must size themselves to accomodate the entire node
text without clipping. For such and similar cases the event
OnMeasureItem is for. It is queried once for each node and
allows to specify the node's future height. If you later want to
have a new height applied (e.g. because the node's text
changed) then call InvalidateNode for it and its
vsHeightMeasured state is reset causing so the tree to trigger
the OnMeasureItem event again when the node is painted the
next time.
See Also
InvalidateNode, vsHeightMeasured
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnMouseDown
Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnMouseDown;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnMouseMove
Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnMouseMove;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnMouseUp Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnMouseUp;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnMouseWheel
Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnMouseWheel;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnNodeCopied Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnNodeCopied: TVTNodeCopiedEvent;
Description
This event is triggered during drag'n drop after a node has
been copied to a new location. Sender is the target tree where
the copy operation took place.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnNodeCopying Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnNodeCopying: TVTNodeCopyingEvent;
Description
This event is triggered when a node is about to be copied to a
new location. Use Allowed to allow or deny the action.
Sender is the target tree where the copy operation will take
place.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnNodeMoved Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnNodeMoved: TVTNodeMovedEvent;
Description
This event is very much like OnNodeCopied but used for
moving nodes instead.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnNodeMoving Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnNodeMoving: TVTNodeMovingEvent;
Description
This event is very much like OnNodeCopying but used for
moving nodes instead.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnPaintBackground
Event
TVirtualDrawTree Class
Paint support event.
Pascal
property OnPaintBackground: TVTBackgroundPaintEvent;
Description
This event is triggered when the tree has finished its painting
and there is an area which is not covered by nodes. For nodes
there are various events to allow background customizaton.
For the free area in the tree window there is this event.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnRenderOLEData
Event
TVirtualDrawTree Class
Drag'n drop and clipboard support event.
Pascal
property OnRenderOLEData: TVTRenderOLEDataEvent;
Description
This event is triggered when the data in a clipboard or drag'n
drop operation must be rendered but the built-in data object
does not know the requested format. This is usually the case
when the application (or descentants) have specified their own
formats in OnGetUserClipboardFormats.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnResetNode Event
TVirtualDrawTree Class | See Also
Pascal
property OnResetNode: TVTChangeEvent;
Description
For large trees or simply because the content changed it is
sometimes necessary to discard a certain node and release
all its children. This can be done with ResetNode which will
trigger this event.
See Also
ResetNode
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnResize Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnResize;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnSaveNode Event
TVirtualDrawTree Class | See Also
Pascal
property OnSaveNode: TVTSaveNodeEvent;
Description
This event is triggered whenever a certain node must be
serialized into a stream, e.g. for saving to file or for copying to
another tree/node during a clipboard or drag'n drop operation.
Make sure you only store non-transient data into the stream.
Pointers (including long/wide string references) are transient
and the application cannot assume to find the data a pointer
references on saving at the same place when the node is
loaded (see also OnLoadNode). This is even more essential
for nodes which are moved or copied between different trees
in different processes (applications). Storing strings however
is easily done by writing the strings as a whole into the
stream.
Notes
For exchanging data between different trees and for general
stability improvement I strongly recommend that you insert a
follow when loading the node later and does normally not
required to be stored in the node data.
See Also
OnLoadNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnScroll Event
TVirtualDrawTree Class | See Also
Miscellaneous event.
Pascal
property OnScroll: TVTScrollEvent;
Description
This event is triggered when the tree is scrolled horizontally or
vertically. You can use it to synchronize scrolling of several
trees or other controls.
See Also
OffsetXY
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.OnShowScrollbar
Event
TVirtualDrawTree Class
Not documented.
Pascal
property OnShowScrollbar: TVTScrollbarShowEvent;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnStartDock Property
TVirtualDrawTree Class
Not documented.
Pascal
property OnStartDock;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnStateChange Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnStateChange: TVTStateChangeEvent;
Description
For special effects or in order to increase performance it is
sometimes useful to know when the tree changes one of its
internal states like tsIncrementalSearching or tsOLEDragging.
The OnStateChange event is triggered each time such a
change occurs letting so the application take measures for it.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnStructureChange
Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnStructureChange: TVTStructureChangeEvent;
Description
This event is triggered when a change in the tree structure is
made. That means whenever a node is created or destroyed
or a node's child list is change (because a child node was
moved, copied etc.) then OnStructureChange is executed.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.OnUpdating Event
TVirtualDrawTree Class
Miscellaneous event.
Pascal
property OnUpdating: TVTUpdatingEvent;
Description
This event is triggered when the application or the tree call
BeginUpdate or EndUpdate and indicate so when a larger
update operation takes place. This can for instance be used to
show a hour glass wait cursor.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ParentBiDiMode
Property
TVirtualDrawTree Class
Not documented.
Pascal
property ParentBiDiMode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ParentColor Property
TVirtualDrawTree Class
Not documented.
Pascal
property ParentColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ParentCtl3D Property
TVirtualDrawTree Class
Not documented.
Pascal
property ParentCtl3D;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ParentFont Property
TVirtualDrawTree Class
Not documented.
Pascal
property ParentFont;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ParentShowHint
Property
TVirtualDrawTree Class
Not documented.
Pascal
property ParentShowHint;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.PopupMenu Property
TVirtualDrawTree Class
Not documented.
Pascal
property PopupMenu;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.RootNodeCount
Property
TVirtualDrawTree Class
Read or set the number of nodes on the top level.
Pascal
property RootNodeCount: Cardinal;
Description
Usually setting RootNodeCount is all what is needed to initially
fill the tree. When one of the top level nodes is initialized you
can set its ivsHasChildren style. This will then cause to ask to
initialize the child nodes. Recursively applied, you can use this
principle to create tree nodes on demand (e.g. when their
parent is expanded).
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.ScrollBarOptions
Property
TVirtualDrawTree Class
Reference to the scroll bar options class.
Pascal
property ScrollBarOptions: TScrollBarOptions;
Description
Like many other aspects in Virtual Treeview also scrollbars
can be customized. See the class itself for further
descriptions.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.SelectionBlendFactor
Property
TVirtualDrawTree Class | See Also
Read or set the current blend factor for the multi selection
rectangle and the node selection rectangle.
Pascal
property SelectionBlendFactor: Byte;
Description
For a visually appealing tree some operations use alpha
blending. One of these operations is multi selection using the
mouse. Another one is the rectangle drawn around the caption
of selected nodes. Both rectangles use the
SelectionBlendFactor to determine how much of the
underlying tree image and how much of the rectangles should
be seen. The factor can be in the range of [0..255] where 0
means the rectangle is fully transparent and 255 it is fully
opaque.
Notes
Alpha blending is only enabled when the current processor
supports MMX instructions. If MMX is not supported then a
See Also
DrawSelectionMode, TVTPaintOptions
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.SelectionCurveRadius
Property
TVirtualDrawTree Class | See Also
Pascal
property SelectionCurveRadius: Cardinal;
Description
This is a special property to determine the radius of the
corners of the selection rectangle for a node caption. Virtual
Treeview supports not only simple rectangular selection marks
but also such with rounded corners. This feature, however, is
only available if blended node selection rectangles are
disabled.
See Also
SelectionBlendFactor, DrawSelectionMode, TVTPaintOptions
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.ShowHint Property
TVirtualDrawTree Class
Not documented.
Pascal
property ShowHint;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.StateImages Property
TVirtualDrawTree Class | See Also
Pascal
property StateImages: TCustomImageList;
Description
Each node can (in each column) have several images. One is
the check image which is supplied by internal image lists or a
special external list (see also CustomCheckImages). Another
one is the state image and yet another one the
normal/selected image.
See Also
CheckImages, Images
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
TVirtualDrawTree.TabOrder Property
TVirtualDrawTree Class
Not documented.
Pascal
property TabOrder;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.TabStop Property
TVirtualDrawTree Class
Not documented.
Pascal
property TabStop;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.TextMargin Property
TVirtualDrawTree Class | See Also
Pascal
property TextMargin: Integer;
Description
TextMargin is used to define a border like area within the
content rectangle of a node. This rectangle is the area of the
node less the space used for indentation, images, lines and
node margins and usually contains the text of a node. In order
to support finer adjustment there is another margin, which only
applies to the left and right border in the content rectangle.
This is the text margin.
See Also
Margin
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualDrawTree Class |
TVirtualDrawTree.TextMargin
Property |
TVirtualDrawTree.Visible Property
TVirtualDrawTree.TreeOptions Property
TVirtualDrawTree Class
Pascal
property TreeOptions: TVirtualTreeOptions;
Description
The tree options are one of the main switchs to modify a
treeview's behavior. Virtual Treeview supports customizing
tree options by descentants. This allows very fine adjustments
for derived tree classes, including the decision which
properties should be published. For more information about
the base options see TCustomVirtualTreeOptions and its
descentants.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.Visible Property
TVirtualDrawTree Class
Not documented.
Pascal
property Visible;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.WantTabs Property
TVirtualDrawTree Class
Pascal
property WantTabs: Boolean;
Description
Usually tab kex strokes advance the input focus from one
control to another on a form. For special processing however
it is necessary to let the control decide what to do with the
given tabulator character. Virtual Treeview needs this
character mainly for its grid emulation.
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualDrawTree.GetOptionsClass
Method
TVirtualDrawTree Class
Pascal
function GetOptionsClass: TTreeOptionsClass; override
Description
GetOptionsClass is a special purpose method to return a
certain class which is used by the tree for its options.
TVirtualBaseTree always returns TCustomVirtualTreeOptions
but descendants can override this method to return own
classes.
For ease of use it makes much sense to always use the same
name for the tree's options (which is TreeOptions). By using a
customized options class, however, the wrong type is returned
by this property. Hence it is meaningful to override
TreeOptions and return the derived options class. To make
this work the tree descendant must additionally provide new
access methods for this property. An example can be seen in
TVirtualStringTree:
TVirtualStringTree = class(TCustomVirtualStringTree
private
function GetOptions: TStringTreeOptions;
procedure SetOptions(const Value: TStringTreeOptions
protected
function GetOptionsClass: TTreeOptionsClass; override
public
property Canvas;
published
...
property TreeOptions: TStringTreeOptions read GetOptions
...
end;
...
begin
Result := FOptions as TStringTreeOptions;
end;
//----------------------------------------------------------
begin
FOptions.Assign(Value);
end;
//----------------------------------------------------------
begin
Result := TStringTreeOptions;
end;
Class
TVirtualDrawTree Class
Links
TVirtualDrawTree Class
TVirtualStringTree Class
Events | Classes | Methods | Properties | Legend
Pascal
TVirtualStringTree = class(TCustomVirtualStringTree);
Description
TVirtualStringTree adds no new functionality to
TCustomVirtualStringTree but is publicly available version and
appears in the component palette.
Group
Classes
Members
Properties
Action
Not documented.
Align
Not documented.
Alignment
Determines the horizontal alignment of text if no columns are defined.
Anchors
Not documented.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BevelEdges
Not documented.
BevelInner
Not documented.
BevelKind
Not documented.
BevelOuter
Not documented.
BevelWidth
Not documented.
BiDiMode
Not documented.
BorderStyle
Same as TForm.BorderStyle.
BorderWidth
Not documented.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
Canvas
Not documented.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Color
Not documented.
Colors
A collection of colors used in the tree.
Constraints
Not documented.
Ctl3D
Not documented.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DefaultText
Not documented.
DragCursor
Not documented.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragKind
Not documented.
DragMode
Not documented.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
Enabled
Not documented.
Font
Same as TWinControl.Font.
Header
Provides access to the header instance.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
OnClick
Not documented.
OnDblClick
Not documented.
OnEndDock
Not documented.
OnEndDrag
Not documented.
OnEnter
Not documented.
OnExit
Not documented.
OnKeyDown
Not documented.
OnKeyPress
Not documented.
OnKeyUp
Not documented.
OnMouseDown
Not documented.
OnMouseMove
Not documented.
OnMouseUp
Not documented.
OnMouseWheel
Not documented.
OnResize
Not documented.
OnStartDock
Not documented.
OnStartDrag
Not documented.
ParentBiDiMode
Not documented.
ParentColor
Not documented.
ParentCtl3D
Not documented.
ParentFont
Not documented.
ParentShowHint
Not documented.
PopupMenu
Not documented.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
ShowHint
Not documented.
StateImages
Reference to the images list which is used for the state images.
TabOrder
Not documented.
TabStop
Not documented.
TextMargin
Read or set the distance of the node caption to its borders.
TreeOptions
Reference to the tree's options.
Visible
Not documented.
WantTabs
Read or set whether the tree wants to process tabs on its own.
TCustomVirtualStringTree Class
DefaultText
Not documented.
EllipsisWidth
Not documented.
Text
Not documented.
TreeOptions
Reference to the tree's options.
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Events
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetHint
Virtual string tree event to query for a custom hint text.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetText
Virtual string tree event to query for a node's normal or static text.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNewText
Virtual string tree event to pass edited text.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnPaintText
Event to change text formatting for particular nodes.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShortenString
String tree event for custom handling of string abbreviations.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TCustomVirtualStringTree Class
OnGetHint
Virtual string tree event to query for a custom hint text.
OnGetText
Virtual string tree event to query for a node's normal or static text.
OnNewText
Virtual string tree event to pass edited text.
OnPaintText
Event to change text formatting for particular nodes.
OnShortenString
String tree event for custom handling of string abbreviations.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
Methods
GetOptionsClass
Customization helper to determine which options class the tree should
use.
TCustomVirtualStringTree Class
AdjustPaintCellRect
Method which can be used by descentants to adjust the given
rectangle during a paint cycle.
CalculateTextWidth
Not documented.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
ComputeNodeHeight
Not documented.
ContentToClipboard
Not documented.
ContentToHTML
Not documented.
ContentToRTF
Not documented.
ContentToText
Not documented.
ContentToUnicode
Not documented.
Create
Constructor of the control
DefineProperties
Helper method to customize loading and saving persistent tree data.
DoCreateEditor
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetText
Not documented.
DoIncrementalSearch
Not documented.
DoNewText
Not documented.
DoPaintNode
Overridable method which does nothing.
DoPaintText
Not documented.
DoShortenString
Not documented.
DoTextDrawing
Not documented.
DoTextMeasuring
Not documented.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetTextInfo
Helper method for node editors, hints etc.
InternalData
Returns the address of the internal data for a tree class.
InvalidateNode
Invalidates the given node.
MainColumnChanged
Not documented.
Path
Not documented.
ReadChunk
Not documented.
ReadOldStringOptions
Not documented.
ReinitNode
Forces a reinitialization of the given node.
RenderOLEData
Renders pending OLE data.
WriteChunks
Writes the core chunks for the given node to the given stream.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
Legend
published
Property
public
protected
read only
Event
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Events, Classes, Methods, Properties, Legend
TVirtualStringTree.Action Property
TVirtualStringTree Class
Not documented.
Pascal
property Action;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Align Property
TVirtualStringTree Class
Not documented.
Pascal
property Align;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Alignment Property
TVirtualStringTree Class
Pascal
property Alignment: TAlignment;
Description
This property is only used if there are no columns defined and
applies only to the node captions. Right alignment means here
the right client area border and left aligned means the node
buttons/lines etc. (both less the text margin).
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Anchors Property
TVirtualStringTree Class
Not documented.
Pascal
property Anchors;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.AnimationDuration
Property
TVirtualStringTree Class
Determines the maximum duration the tree can use to play an
animation.
Pascal
property AnimationDuration: Cardinal;
Description
The value is specified in milliseconds and per default there are
200 ms as time frame, which is the recommended duration for
such operations. On older systems (particularly Windows 95
and Windows 98) the animation process might not get enough
CPU time to avoid expensive animations to finish properly.
Still the animation loop tries to stay as close as possible to the
given time.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.AutoExpandDelay
Property
TVirtualStringTree Class
Time delay after which a node gets expanded if it is the
current drop target.
Pascal
property AutoExpandDelay: Cardinal;
Description
This value is specified in milliseconds and determines when to
expand a node if it is the current drop target. This value is only
used if voAutoDropExpand in Options is set.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.AutoScrollDelay
Property
TVirtualStringTree Class
Time which determines when auto scrolling should start.
Pascal
property AutoScrollDelay: Cardinal;
Description
Once the mouse pointer has been moved near to a border a
timer is started using the interval specified by AutoScrollDelay.
When the timer has fired auto scrolling starts provided it is
enabled (see also TreeOptions). The value is specified in
milliseconds.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.AutoScrollInterval
Property
TVirtualStringTree Class
Time interval between scroll events when doing auto scroll.
Pascal
property AutoScrollInterval: TAutoScrollInterval;
Description
This property determines the speed how the tree is scrolled
vertically or horizontally when auto scrolling is in progress.
The value is given in milliseconds.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Background Property
TVirtualStringTree Class
Pascal
property Background: TPicture;
Description
Virtual Treeview supports a fixed background image which
does not scroll but can be adjusted by BackgroundOffsetX
and BackgroundOffsetY.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BackgroundOffsetX
Property
TVirtualStringTree Class
Horizontal offset of the background image.
Pascal
property BackgroundOffsetX: Integer;
Description
Determines the horizontal offset of the left border of the
background image. This value is relative to the target canvas
where the tree is painted to (usually the tree window).
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BackgroundOffsetY
Property
TVirtualStringTree Class
Vertical offset of the background image.
Pascal
property BackgroundOffsetY: Integer;
Description
Determines the vertical offset of the top border of the
background image. This value is relative to the target canvas
where the tree is painted to (usually the tree window).
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BevelEdges Property
TVirtualStringTree Class
Not documented.
Pascal
property BevelEdges;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BevelInner Property
TVirtualStringTree Class
Not documented.
Pascal
property BevelInner;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BevelKind Property
TVirtualStringTree Class
Not documented.
Pascal
property BevelKind;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BevelOuter Property
TVirtualStringTree Class
Not documented.
Pascal
property BevelOuter;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BevelWidth Property
TVirtualStringTree Class
Not documented.
Pascal
property BevelWidth;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BiDiMode Property
TVirtualStringTree Class
Not documented.
Pascal
property BiDiMode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BorderStyle Property
TVirtualStringTree Class
Same as TForm.BorderStyle.
Pascal
property BorderStyle: TBorderStyle;
Description
See TForm.BorderStyle.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.BorderWidth Property
TVirtualStringTree Class
Not documented.
Pascal
property BorderWidth;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ButtonFillMode
Property
TVirtualStringTree Class
Determines how to fill the background of the node buttons.
Pascal
property ButtonFillMode: TVTButtonFillMode;
Description
This property is used to specify how the interior of the little
plus and minus node buttons should be drawn, if ButtonStyle
is bsTriangle.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ButtonStyle Property
TVirtualStringTree Class
Pascal
property ButtonStyle: TVTButtonStyle;
Description
Determines the look of node buttons.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Canvas Property
TVirtualStringTree Class
Not documented.
Pascal
property Canvas;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ChangeDelay Property
TVirtualStringTree Class
Pascal
property ChangeDelay: Cardinal;
Description
In order to accumulate many quick changes in the tree you
can use this delay value to specify after which wait time the
OnChange event should occur. A value of 0 means to trigger
OnChange immediately after the change (usually a selection
or focus change) happend. Any value > 0 will start a timer
which then triggers OnChange.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
What do you think about this topic? Send feedback!
TVirtualStringTree Class |
TVirtualStringTree.ChangeDelay
Property |
TVirtualStringTree.ClipboardFormats
Property
TVirtualStringTree.CheckImageKind
Property
TVirtualStringTree Class
Determines which images should be used for checkboxes and
radio buttons.
Pascal
property CheckImageKind: TCheckImageKind;
Description
CheckImageKind can be used to switch the image set, which
should be used for the tree. Read the description about
TCheckImageKind for a list of all images, which can be used.
CheckImageKind can also be set to ckCustom, which allows
to supply a customized set of images to the tree. In order to
have that working you must assign an image list
(TCustomImageList) to the CustomCheckImages property.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ClipboardFormats
Property
TVirtualStringTree Class
Pascal
property ClipboardFormats: TClipboardFormats;
Description
This TStringList descendant is used to keep a number of
clipboard format descriptions, which are usually used to
register clipboard formats with the system. Using a string list
for this task allows to store enabled clipboard formats in the
DFM.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Color Property
TVirtualStringTree Class
Not documented.
Pascal
property Color;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Colors Property
TVirtualStringTree Class
Pascal
property Colors: TVTColors;
Description
This property holds an instance of the TVTColors class, which
is used to customize many of the colors used in a tree.
Placing them all in a specialized class helps organizing the
colors in the object inspector and improves general
management.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Constraints Property
TVirtualStringTree Class
Not documented.
Pascal
property Constraints;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Ctl3D Property
TVirtualStringTree Class
Not documented.
Pascal
property Ctl3D;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.CustomCheckImages
Property
TVirtualStringTree Class | See Also
Assign your own image list to get the check images you like
most.
Pascal
property CustomCheckImages: TCustomImageList;
Description
The CustomCheckImages property is used when custom
check images are enabled (see also ckCustom in
TCheckImageKind).
See Also
TCheckImageKind
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.DefaultNodeHeight
Property
TVirtualStringTree Class
Read or set the height new nodes get as initial value.
Pascal
property DefaultNodeHeight: Cardinal;
Description
This property allows to read the current initial height for new
nodes and to set a new value. Note that changing the property
value does not change the height of existing nodes. Only new
nodes are affected.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DefaultPasteMode
Property
TVirtualStringTree Class | See Also
Read or set the value, which determines where to add pasted
nodes to.
Pascal
property DefaultPasteMode: TVTNodeAttachMode;
Description
The default paste mode is an attach mode, which is used
when pasting data from the clipboard into the tree. Usually,
you will want new nodes to be added as child nodes to the
currently focused node (and this is also the default value), but
you can also specify to add nodes only as siblings.
See Also
TVTNodeAttachMode
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualStringTree Class |
TVirtualStringTree.DefaultPasteMode
Property |
TVirtualStringTree.DragCursor
Property
TVirtualStringTree.DefaultText Property
TVirtualStringTree Class
Not documented.
Pascal
property DefaultText: WideString;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragCursor Property
TVirtualStringTree Class
Not documented.
Pascal
property DragCursor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragHeight Property
TVirtualStringTree Class
Pascal
property DragHeight: Integer;
Description
The DragHeight property (as well as the DragWidth property)
are only for compatibility reason in the tree. If a platform does
not support the IDropTargetHelper interface (Windows 9x/Me,
Windows NT 4.0) then Virtual Treeview uses its own
implementation of a DragImage. Since displaying a
translucent drag image is performance hungry you should limit
the image size shown for the drag operation.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragImageKind
Property
TVirtualStringTree Class
Read or set what should be shown in the drag image.
Pascal
property DragImageKind: TVTDragImageKind;
Description
DragImageKind allows to switch parts of the drag image off
and on.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragKind Property
TVirtualStringTree Class
Not documented.
Pascal
property DragKind;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragMode Property
TVirtualStringTree Class
Not documented.
Pascal
property DragMode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragOperations
Property
TVirtualStringTree Class
Read or set which drag operations may be allowed in the tree.
Pascal
property DragOperations: TDragOperations;
Description
Using this property you can determine, which actions may be
performed when a drag operation is finished. The default
value includes move, copy and link, where link is rather an
esoteric value and only there because it is supported by OLE.
The values used directly determine which image is shown for
the drag cursor. The specified drag operations do not tell
which actions will actually be performed but only, which
actions are allowed. They still can be modified during drag'n
drop by using a modifier key like the control, shift or alt key or
can entirely be ignored by the drop handler.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragType Property
TVirtualStringTree Class
Pascal
property DragType: TVTDragType;
Description
Traditionally, Delphi only supports its own drag mechanism,
which is not compatible with the rest of the system. This VCL
dragging also does not support to transport random data nor
does it support drag operations between applications. Thus
Virtual Treeview also supports the generally used OLE
dragging, which in turn is incompatible with VCL dragging.
Depending on your needs you can enable either VCL or OLE
dragging as both together cannot be started. However, Virtual
Treeview is able to act as drop target for both kind of data,
independant of what is set in DragType.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DragWidth Property
TVirtualStringTree Class
Pascal
property DragWidth: Integer;
Description
The DragWidth property (as well as the DragHeight property)
are only for compatibility reason in the tree. If a platform does
not support the IDropTargetHelper interface (Windows 9x/Me,
Windows NT 4.0) then Virtual Treeview uses its own
implementation of a DragImage. Since displaying a
translucent drag image is performance hungry you should limit
the image size shown for the drag operation.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.DrawSelectionMode
Property
TVirtualStringTree Class
Read or set how multiselection with the mouse is to be
visualized.
Pascal
property DrawSelectionMode: TVTDrawSelectionMode;
Description
Virtuall Treeview allows to display two different selection
rectangles when doing multiselection with the mouse. One is
the traditiional dotted focus rectangle and the other one is a
translucent color rectangle. The latter is the preferred one but
the former is set as default (for compatibility reasons).
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.EditDelay Property
TVirtualStringTree Class | See Also
Pascal
property EditDelay: Cardinal;
Description
A node edit operation can be started using the keyboard (F2
key), in code using EditNode or by clicking twice on the same
node (but not doing a double click). EditDelay is the
maxmimum time distance between both clicks in which the
edit operation is started.
See Also
Editors and editing
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.Enabled Property
TVirtualStringTree Class
Not documented.
Pascal
property Enabled;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Font Property
TVirtualStringTree Class
Same as TWinControl.Font.
Pascal
property Font;
Description
See TWinControl.Font.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Header Property
TVirtualStringTree Class | See Also
Pascal
property Header: TVTHeader;
Description
This property is used to allow access to the header instance,
which manages all aspects of the tree's header image as well
as the column settings.
See Also
TVTHeader
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.HintAnimation
Property
TVirtualStringTree Class
Read or set the current hint animation type.
Pascal
property HintAnimation: THintAnimationType;
Description
With this property you can specify what animation you would
like to play when displaying a hint. For some applications it
might not be good to animate hints, hence you can entirely
switch them off. Usually however you will leave the system
standard. This way the user can decide whether and which
hint animation he or she likes.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.HintMode Property
TVirtualStringTree Class
Read or set what type of hint you want for the tree view.
Pascal
property HintMode: TVTHintMode;
Description
Virtual Treeview supports several hints modes. This includes
the normal hint used for any other TControl class as well as a
node specific hint, which is individual for each node or even
each cell.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.HotCursor Property
TVirtualStringTree Class | See Also
Pascal
property HotCursor: TCursor;
Description
When you enable toHotTrack in TreeOptions.PaintOptions
then the node, which is currently under the mouse pointer
becomes the hot node. This is a special state, which can be
used for certain effects. Hot nodes have by default an
underlined caption and may cause the cursor to change to
what ever you like. The HotCursor property is used to specify,
which cursor is to be used.
See Also
HotNode, TVTPaintOptions
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualStringTree Class |
TVirtualStringTree.HotCursor
Property |
TVirtualStringTree.IncrementalSearch
Property
TVirtualStringTree.Images Property
TVirtualStringTree Class | See Also
Pascal
property Images: TCustomImageList;
Description
Just like with TListView and TTreeview also Virtual Treeview
can take an image list for its normal images. Additionally,
there are image lists for state images and check images.
See Also
StateImages, CheckImages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.IncrementalSearch
Property
TVirtualStringTree Class | See Also
Pascal
property IncrementalSearch: TVTIncrementalSearch;
Description
Virtual Treeview can do an incremental search by calling back
the application when comparing node captions. The
IncrementalSearch property determines whether incremental
search is enabled and which nodes should be searched
through.
See Also
IncrementalSearchDirection, IncrementalSearchStart,
IncrementalSearchTimeout
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.IncrementalSearchDirection
Property
TVirtualStringTree Class | See Also
Read or set the direction to be used for incremental search.
Pascal
property IncrementalSearchDirection: TVTSearchDirection
Description
When incremental search is enabled then Virtual Treeview
can search forward and backward from the start point given by
IncrementalSearchStart.
See Also
IncrementalSearch, IncrementalSearchStart,
IncrementalSearchTime123out
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.IncrementalSearchStart
Property
TVirtualStringTree Class | See Also
Read or set where to start incremental search.
Pascal
property IncrementalSearchStart: TVTSearchStart;
Description
When incremental search is enabled in the tree view then you
can specify here, where to start the next incremental search
operation from.
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchTimeout
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.IncrementalSearchTimeout
Property
TVirtualStringTree Class | See Also
Pascal
property IncrementalSearchTimeout: Cardinal;
Description
When incremental search is enabled in Virtual Treeview then
you can specify here after what time incremental search
should stop when no keyboard input is encountered any
longer. This property so determines also the speed at which
users have to type letters to keep the incremental search
rolling.
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchStart
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.Indent Property
TVirtualStringTree Class
Pascal
property Indent: Cardinal;
Description
Each new level in the tree (child nodes of a parent node) are
visually shifted to distinguish betwenn them and their parent
node (that's the tree layout after all). The Indent property
determines the shift distance in pixels.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.LineMode Property
TVirtualStringTree Class
Pascal
property LineMode: TVTLineMode;
Description
Apart from the usual lines Virtual Treeview also supports a
special draw mode named bands. This allows for neat visual
effects.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.LineStyle Property
TVirtualStringTree Class
Pascal
property LineStyle: TVTLineStyle;
Description
Virtual Treeview allows to customize the lines used to display
the node hierarchy. The default style is a dotted pattern, but
you can also make solid lines or specify your own line pattern.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Margin Property
TVirtualStringTree Class | See Also
Pascal
property Margin: Integer;
Description
The node margin is the distance between the cell bounds and
its content like the lines, images, check box and so on.
However this border is only applied to the left and right side of
the node cell.
See Also
TVirtualStringTree.TextMargin
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.NodeAlignment
Property
TVirtualStringTree Class | See Also
Pascal
property NodeAlignment: TVTNodeAlignment;
Description
Nodes have got an align member, which is used to determine
the vertical position of the node's images and tree lines. The
NodeAlignment property specifies how to interpret the value in
the align member.
See Also
TVirtualNode
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.NodeDataSize
Property
TVirtualStringTree Class | See Also
Pascal
property NodeDataSize: Integer;
Description
A node can have an area for user data, which can be used to
store application defined, node specific data in. Use
GetNodeData to get the address of this area. In addition to
assigning a value here you can also use the
OnGetNodeDataSize event, which is called when
NodeDataSize is -1.
See Also
Data handling
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnAdvancedHeaderDraw
Event
TVirtualStringTree Class | See Also
Header paint support event.
Pascal
property OnAdvancedHeaderDraw: TVTAdvancedHeaderPaintEvent
Description
The OnAdvancedHeaderDraw event is used when owner
draw is enabled for the header and a column is set to owner
draw mode. It can be used to custom draw only certain parts
of the header instead the whole thing. A good example for this
event is customizing the background of the header for only
one column. With the standard custom draw method
(OnHeaderDraw) you are in an all-or-nothing situation and
have to paint everything in the header including the text,
images and sort direction indicator. OnAdvancedHeaderDraw
however uses OnHeaderDrawQueryElements to ask for the
elements the application wants to draw and acts accordingly.
See Also
OnHeaderDrawQueryElements, OnHeaderDraw
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnAfterCellPaint
Event
TVirtualStringTree Class | See Also
Pascal
property OnAfterCellPaint: TVTAfterCellPaintEvent;
Description
This event is called whenever a cell has been painted. A cell is
defined as being one part of a node bound to a certain
column. This event is called several times per node (the
amount is determined by visible columns and size of the part
to draw).
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnAfterItemErase
Event
TVirtualStringTree Class | See Also
Paint support event.
Pascal
property OnAfterItemErase: TVTAfterItemEraseEvent;
Description
Called after the background of a node has been erased
(erasing can also be filling with a background image). This
event is called once per node in a paint cycle.
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnAfterItemPaint
Event
TVirtualStringTree Class | See Also
Paint support event.
Pascal
property OnAfterItemPaint: TVTAfterItemPaintEvent;
Description
Called after a node has been drawn. This event is called once
per node.
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnAfterPaint Event
TVirtualStringTree Class | See Also
Pascal
property OnAfterPaint: TVTPaintEvent;
Description
Called after all nodes which needed an update have been
drawn. This event is called once per paint cycle.
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnBeforeCellPaint
Event
TVirtualStringTree Class | See Also
Paint support event.
Pascal
property OnBeforeCellPaint: TVTBeforeCellPaintEvent;
Description
This event is called immediately before a cell is painted.
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnBeforeItemErase
Event
TVirtualStringTree Class | See Also
Paint support event.
Pascal
property OnBeforeItemErase: TVTBeforeItemEraseEvent;
Description
Called when the background of a node is about to be erased.
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnBeforeItemPaint
Event
TVirtualStringTree Class | See Also
Paint support event.
Pascal
property OnBeforeItemPaint: TVTBeforeItemPaintEvent;
Description
Called after the background of a node has been drawn and
just before the node itself is painted. In this event the
application gets the opportunity to decide whether a node
should be drawn normally or should be skipped. The
application can draw the node itself if necessary or leave the
node area blank.
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnBeforePaint Event
TVirtualStringTree Class | See Also
Pascal
property OnBeforePaint: TVTPaintEvent;
Description
Called as very first event in a paint cycle. In this event has the
application the opportunity to do some special preparation of
the canvas onto which the tree is painted, e.g. setting a
special viewport and origin or a different mapping mode.
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnChange Event
TVirtualStringTree Class
Pascal
property OnChange: TVTChangeEvent;
Description
Called when a node's selection state has changed.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnChecked Event
TVirtualStringTree Class
Pascal
property OnChecked: TVTChangeEvent;
Description
Triggered when a node's check state has changed.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnChecking Event
TVirtualStringTree Class
Pascal
property OnChecking: TVTCheckChangingEvent;
Description
Triggered when a node's check state is about to change and
allows to prevent the change.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnClick Property
TVirtualStringTree Class
Not documented.
Pascal
property OnClick;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnCollapsed Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnCollapsed: TVTChangeEvent;
Description
Triggered after a node has been collapsed, that is, its child
nodes are no longer displayed.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnCollapsing Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnCollapsing: TVTChangingEvent;
Description
Triggered when a node is about to be collapsed and allows to
prevent collapsing the node by setting Allowed to false.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnColumnClick Event
TVirtualStringTree Class | See Also
Pascal
property OnColumnClick: TVTColumnClickEvent;
Description
Triggered when the user released a mouse button over the
same column in the client area on which the button was
pressed previously.
See Also
OnHeaderClick
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnColumnDblClick
Event
TVirtualStringTree Class | See Also
Header and column support event.
Pascal
property OnColumnDblClick: TVTColumnDblClickEvent;
Description
Same as OnColumnClick but for double clicks.
See Also
OnColumnClick, OnHeaderDblClick
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnColumnResize
Event
TVirtualStringTree Class
Header and column support routine.
Pascal
property OnColumnResize: TVTHeaderNotifyEvent;
Description
Triggered when a column is being resized. During resize
OnColumnResize is frequently hence you should make any
code in the associated event handle a short and fast as
possible.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnCompareNodes
Event
TVirtualStringTree Class | See Also
Sort and search support event.
Pascal
property OnCompareNodes: TVTCompareEvent;
Description
This event is the core event for all comparations between
nodes. It is important that you write a handler for this event if
you want to sort nodes!
procedure TMainForm.VDT1CompareNodes(Sender: TBaseVirtualTre
var Result: Integer);
var
Data1,
Data2: PImageData;
begin
Data1 := Sender.GetNodeData(Node1);
Data2 := Sender.GetNodeData(Node2);
// folder are always before files
if Data1.IsFolder <> Data2.IsFolder then
begin
// one of both is a folder the other a file
if Data1.IsFolder then
Result := -1
else
Result := 1;
end
else // both are of same type (folder or file)
Result := CompareText(Data1.FullPath, Data2.FullPath);
end;
See Also
SortTree, Sort
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnCreateDataObject
Event
TVirtualStringTree Class
Drag'n drop support event.
Pascal
property OnCreateDataObject: TVTCreateDataObjectEvent
Description
This event is called when the tree's drag manager needs a
data object interface to start a drag'n drop operation.
Descentants (which override DoGetDataObject) or the
application can return an own IDataObject implementation to
support special formats.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnCreateDragManager
Event
TVirtualStringTree Class
Drag'n drop support event.
Pascal
property OnCreateDragManager: TVTCreateDragManagerEvent
Description
This event is usually not used but allows power users to
create their own drag manager to have different actions and/or
formats than the internal drag manager.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnCreateEditor Event
TVirtualStringTree Class | See Also
Pascal
property OnCreateEditor: TVTCreateEditorEvent;
Description
Allows to supply a customized node editor without changing
the tree. TBaseVirtualTree triggers this event and raises an
exception if there no editor is returned. If you don't want this
then disable edit support for nodes in
TreeOptions.MiscOptions. Descentants like
TCustomVirtualStringTree supply a generic and simple string
editor.
See Also
Editors and editing
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnDblClick Property
TVirtualStringTree Class
Not documented.
Pascal
property OnDblClick;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnDragAllowed Event
TVirtualStringTree Class
Pascal
property OnDragAllowed: TVTDragAllowedEvent;
Description
This event is called in the mouse button down handler to
determine whether the application allows to start a drag
operation. Since this check is done in sync with the other code
it is much prefered over doing a manual BeginDrag.
Notes
The OnDragAllowed event is called only if the current
DragMode is dmManual.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnDragDrop Event
TVirtualStringTree Class
Pascal
property OnDragDrop: TVTDragDropEvent;
Description
Triggered when either a VCL or a OLE drop action occured.
Accepting drag and drop actions is not trivial. In order to
maintain a minimum compatibility with the VCL drag'n drop
system Virtual Tree accepts not only OLE drop actions but
also those issued by the Delphi VCL (which is totally different
to the OLE way, unfortunately), provided toAcceptOLEDrop is
set in TreeOptions.MiscOptions. The code snippet below is
taken from a sample project provided with Virtual Tree. It
shows a general way to deal with dropped data. The following
check list can be used as orientation and additional comment
to the code:
var
I: Integer;
AttachMode: TVTNodeAttachMode;
begin
if Length(Formats) > 0 then
begin
// OLE drag'n drop
// If the native tree format is listed then use this and
// It is recommend by Microsoft to order available clipb
// the first best format which we can accept is usually
for I := 0 to High(Formats) do
if Formats[I] = CF_VIRTUALTREE then
begin
case Mode of
dmAbove:
AttachMode := amInsertBefore;
dmOnNode:
AttachMode := amAddChildLast;
dmBelow:
AttachMode := amInsertAfter;
else
if Assigned(Source) and (Source is TBaseVirtualTre
AttachMode := amInsertBefore
else
AttachMode := amNowhere;
end;
// in the case the drop target does an optimized mov
// to indicate this also to the drag source (so the
Sender.ProcessDrop(DataObject, Sender.DropTargetNode
Break;
end;
end
else
begin
// VCL drag'n drop, Effects contains by default both mov
// as usual the application has to find out what operati
Beep;
end;
end;
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnDragOver Event
TVirtualStringTree Class | See Also
Pascal
property OnDragOver: TVTDragOverEvent;
Description
Triggered when Sender is the potential target of a drag'n drop
operation. You can use this event to allow or deny a drop
operation by setting Allowed to True or False, respectively. For
conditions of OLE or VCL drag source see OnDragDrop.
See Also
OnDragDrop
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnEditCancelled
Event
TVirtualStringTree Class | See Also
Pascal
property OnEditCancelled: TVTEditCancelEvent;
Description
Triggered when an edit action has been cancelled.
See Also
Editors and editing
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnEdited Event
TVirtualStringTree Class | See Also
Pascal
property OnEdited: TVTEditChangeEvent;
Description
Triggered when an edit action has successfully been finished.
See Also
Editors and editing
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnEditing Event
TVirtualStringTree Class | See Also
Pascal
property OnEditing: TVTEditChangingEvent;
Description
Triggered when a node is about to be edited. Use Allowed to
allow or deny this action.
See Also
Editors and editing
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnEndDock Property
TVirtualStringTree Class
Not documented.
Pascal
property OnEndDock;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnEndDrag Property
TVirtualStringTree Class
Not documented.
Pascal
property OnEndDrag;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnEnter Property
TVirtualStringTree Class
Not documented.
Pascal
property OnEnter;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnExit Property
TVirtualStringTree Class
Not documented.
Pascal
property OnExit;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnExpanded Event
TVirtualStringTree Class
Misscellaneous event.
Pascal
property OnExpanded: TVTChangeEvent;
Description
Triggered after a node has been expanded.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnExpanding Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnExpanding: TVTChangingEvent;
Description
Triggered just before a node is expanded. Use Allowed to
allow or deny this action.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnFocusChanged
Event
TVirtualStringTree Class
Navigation support event.
Pascal
property OnFocusChanged: TVTFocusChangeEvent;
Description
Triggered after the focused node changed. When examining
Node keep in mind that it can be nil, meaning there is no
focused node.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnFocusChanging
Event
TVirtualStringTree Class
Navigation support event.
Pascal
property OnFocusChanging: TVTFocusChangingEvent;
Description
Triggered when the node focus is about to change. You can
use Allowed to allow or deny a focus change. Keep in mind
that either the old or the new node can be nil.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnFreeNode Event
TVirtualStringTree Class
Pascal
property OnFreeNode: TVTFreeNodeEvent;
Description
Triggered when a node is about to be freed. This is the ideal
place to free/disconnect your own data you associated with
Node. Keep in mind, that data which is stored directly in the
node does not need to be free by the application. This is part
of the node record and will be freed when the node is freed.
You should however finalize the data in such a case if it
contains references to external memory objects (e.g. variants,
strings, interfaces).
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetCellIsEmpty
Event
TVirtualStringTree Class
Triggered when the tree control needs to know whether a
given column is empty.
Pascal
property OnGetCellIsEmpty: TVTGetCellIsEmptyEvent;
Description
Virtual Treeview supports the concept of column spanning
where one cell with too much text to fit into its own space can
expand to the right cell neighbors if they are empty. To make
this work it is necessary to know if a cell is considered as
being empty, whatever this means to an application. The
string tree descendant simply checks the text for the given cell
and calls back its ancestor if there is no text to further refine if
the cell must stay as if it contained something. The ancestor
(TBaseVirtualTree) now triggers OnGetCellIsEmpty to let the
application decide.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
What do you think about this topic? Send feedback!
TVirtualStringTree Class |
TVirtualStringTree.OnGetCellIsEmpty
Event |
TVirtualStringTree.OnGetHeaderCursor
Event
TVirtualStringTree.OnGetCursor Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnGetCursor: TVTGetCursorEvent;
Description
This event is triggered from the WM_SETCURSOR message
to allow the application use several individual cursors for a
tree. The Cursor property allows to set one cursor for the
whole control but not to use separate cursors for different tree
parts.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetHeaderCursor
Event
TVirtualStringTree Class
Header and column support event.
Pascal
property OnGetHeaderCursor: TVTGetHeaderCursorEvent;
Description
This event is triggered from the WM_SETCURSOR message
to allow the application to define individual cursors for the
header part of the tree control.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetHelpContext
Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnGetHelpContext: TVTHelpContextEvent;
Description
This event is usually triggered when the user pressed F1 while
the tree has the focus. The tree is iteratively traversed all the
way up to the top level parent of the given node until a valid
help context index is returned (via this event). When the loop
reaches the top level without getting a help index then the tree
control's help index is used. If the tree itself does not have a
help context index then a further traversal is initiated going up
parent by parent of each control in the current window
hierarchy until either a valid index is found or there is no more
window parent.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetHint Event
TVirtualStringTree Class
Pascal
property OnGetHint: TVSTGetHintEvent;
Description
Write an event handler for this event to specify a custom hint
for the passed node and column. The TextType will always be
ttNormal. This event will only be fired if HintMode is not
hmTooltip. The delay for hints can be set as usual: adjust the
properties HintPause and HintShortPause of the global
Application object.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetImageIndex
Event
TVirtualStringTree Class
Pascal
property OnGetImageIndex: TVTGetImageEvent;
Description
This event is triggered whenever the tree needs the index of
an image, be it the normal, the selected or the state image.
The event should be as fast as possible because it is at times
frequently called when the layout of the node must be
determined, e.g. while doing draw selection with the mouse or
painting the tree. Kind determines which image is needed and
Column determines for which column of the node the image
is needed. This value can be -1 to indicate there is no column
used. The parameter Ghosted can be set to true to blend the
image 50% against the tree background and can be used for
instance in explorer trees to mark hidden file system objects.
Additionally nodes are also drawn with a ghosted icon if the
are part of a cut set during a pending cut-to-clipboard
operation. In this case changing the ghosted parameter has
no effect.
Notes
Blending nodes can be switched by using toUseBlendImages
in TreeOptions.PaintOptions.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetImageIndexEx
Event
TVirtualStringTree Class
Not documented.
Pascal
property OnGetImageIndexEx: TVTGetImageExEvent;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetLineStyle Event
TVirtualStringTree Class | See Also
Pascal
property OnGetLineStyle: TVTGetLineStyleEvent;
Description
This event is used to customize the appearance of the tree
and grid lines and is only triggered if the LineStyle property is
set to lsCustomStyle. The event must return a pointer to an
array containing bits for an 8 x 8 pixel image with word aligned
entries. For more info see PrepareBitmaps and the Windows
APIs CreateBitmap and CreatePatternBrush.
Notes
It is important that you do not use dynamically allocated
memory in this event (also no local variables on the stack). If
See Also
PrepareBitmaps
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnGetNodeDataSize
Event
TVirtualStringTree Class | See Also
Data management event.
Pascal
property OnGetNodeDataSize: TVTGetNodeDataSizeEvent;
Description
Triggered when access to a node's data happens the first time
but the actual data size is not yet set. Usually you would
specify the size of the data you want to have added to each
node by NodeDataSize, e.g. SizeOf(TMyRecord) is quite
usual there (where TMyRecord is the structure you want to
have stored in the node). Sometimes, however it is not
possible to determine the node size in advance, so you can
leave NodeDataSize being -1 (the default value) and the
OnGetNodeDataSize event is triggered as soon as the first
regular node is created (the hidden root node does not have
user data but internal data which is determined by other
means).
See Also
NodeDataSize, Data handling
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnGetPopupMenu
Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnGetPopupMenu: TVTPopupEvent;
Description
This event allows the application to return a popup menu
which is specific to a certain node. The tree does an automatic
traversal all the way up to the top level node which is the
parent of a given node to get a popup menu. If Menu is set
then the traversal stops. Otherwise it continues until either a
menu is set, AskParent is set to False or the top level parent
has been reached.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnGetText Event
TVirtualStringTree Class | See Also
Pascal
property OnGetText: TVSTGetTextEvent;
Description
This is one of the fundamental string tree events which must
always be handled. The string tree will fire this event every
time when it needs to know about the text of a specific node
and column. This is mainly the case when the node appears in
the visible area of the tree view (in other words it is not
scrolled out of view) but also on some other occasions,
including streaming, drag and drop and calculating the width
of the node.
Notes
Be sure that your event handler only contains absolutely
necessary code. This event will be fired very often - easily a
few hundred times for medium sized trees with some columns
defined when the tree is repainted completely.
from some TField. This may only work with in-memory tables
or a client dataset. When you initialize your node data do
See Also
OnPaintText
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnGetUserClipboardFormats
Event
TVirtualStringTree Class
Drag'n drop and clipboard support event.
Pascal
property OnGetUserClipboardFormats: TVTGetUserClipboardFormat
Description
Whenever the tree needs to specify the available clipboard
formats for a clipboard or drag'n drop operation it calls this
event too, to allow the application or descentants (which
would override DoGetUserClipboardFormats) to specify own
formats which can be rendered. Since the build-in data object
does not know how to render formats which are specified here
you have to supply a handler for the OnRenderOLEData event
or an own IDataObject implementation to fully support your
own formats.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHeaderClick Event
TVirtualStringTree Class | See Also
Pascal
property OnHeaderClick: TVTHeaderClickEvent;
Description
This event is triggered when the user clicks on a header
button and is usually a good place to set the current
SortColumn and SortDirection.
See Also
SortColumn, SortDirection
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnHeaderDblClick
Event
TVirtualStringTree Class | See Also
Header & column support event.
Pascal
property OnHeaderDblClick: TVTHeaderClickEvent;
Description
Unlike OnHeaderClick this event is triggered for double clicks
on any part of the header and comes with more detailed
information like shift state, which mouse button caused the
event and the mouse position.
See Also
OnHeaderClick
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnHeaderDragged
Event
TVirtualStringTree Class
Header & column support event.
Pascal
property OnHeaderDragged: TVTHeaderDraggedEvent;
Description
Triggered after the user has released the left mouse button
when a header drag operation was active. Column contains
the index of the column which was dragged. Use this index for
the Columns property of the header to find out the current
position. OldPosition is the position which Column occupied
before it was dragged around.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHeaderDraggedOut
Event
TVirtualStringTree Class
Header & column support event.
Pascal
property OnHeaderDraggedOut: TVTHeaderDraggedOutEvent
Description
When during a header drag operation the mouse moves out of
the header rectangle and the mouse button is released then
an OnHeaderDraggedOut event will be fired with the target
mouse position in screen coordinates.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHeaderDragging
Event
TVirtualStringTree Class
Pascal
property OnHeaderDragging: TVTHeaderDraggingEvent;
Description
Triggered just before dragging of a header button starts. Set
Allowed to False if you want to prevent the drag operation of
the given column.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHeaderDraw Event
TVirtualStringTree Class
Pascal
property OnHeaderDraw: TVTHeaderPaintEvent;
Description
If you set the hoOwnerDraw style in TVTHeader.Options and
a column has been set to vsOwnerDraw (see also
TVirtualTreeColumn.Style) then OnDrawHeader is called
whenever a column needs painting.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHeaderDrawQueryElement
Event
TVirtualStringTree Class | See Also
Header & column support event.
Pascal
property OnHeaderDrawQueryElements: TVTHeaderPaintQueryElemen
Description
Used for advanced header painting to query the application for
the elements, which are drawn by it and which should be
drawn by the tree.
See Also
OnAdvancedHeaderDraw
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnHeaderMouseDown
Event
TVirtualStringTree Class
Pascal
property OnHeaderMouseDown: TVTHeaderMouseEvent;
Description
This event is similar to OnHeaderClick but comes with more
detailed information like shift state, which mouse button
caused the event and the mouse position.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHeaderMouseMove
Event
TVirtualStringTree Class
Header & column support event.
Pascal
property OnHeaderMouseMove: TVTHeaderMouseMoveEvent;
Description
This event is triggered when the mouse pointer is moved over
the header area.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHeaderMouseUp
Event
TVirtualStringTree Class
Pascal
property OnHeaderMouseUp: TVTHeaderMouseEvent;
Description
This event is very much like OnHeaderMouseDown but is
triggered when a mouse button is released.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnHotChange Event
TVirtualStringTree Class
Pascal
property OnHotChange: TVTHotNodeChangeEvent;
Description
This event is triggered if hot tracking is enabled (see also
TreeOptions.PaintOptions) and when the mouse pointer
moves from one node caption to another. In full row select
mode most parts of a node are considered as being part of the
caption.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnIncrementalSearch
Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnIncrementalSearch: TVTIncrementalSearchEvent
Description
This event is integral part of the incremental search
functionality (see also Keyboard, hotkeys and incremental
search). It is triggered during search for a node which
matches the given string. Similar to other compare routines
return a value < 0 if the node's caption is considered as being
before the given text, = 0 if it is the same and > 0 if it is
considered being after the given text.
procedure TfrmProperties.VST3IncrementalSearch(Sender:
var Result: Integer);
var
S, PropText: string;
begin
// Note: This code requires a proper Unicode/WideString co
// size and clarity reasons. For now strings are (implicit
// Search is not case sensitive.
S := Text;
if Node.Parent = Sender.RootNode then
begin
// root nodes
if Node.Index = 0 then
PropText := 'Description'
else
PropText := 'Origin';
end
else
begin
PropText := PropertyTexts[Node.Parent.Index, Node.Index,
end;
Notes
Usually incremental search allows to match also partially.
Hence it is recommended to do comparison only up to the
length
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnInitChildren Event
TVirtualStringTree Class | See Also
Pascal
property OnInitChildren: TVTInitChildrenEvent;
Description
In order to allow the tree only to fill content where needed it is
possible to set the vsHasChildren style in a node's initializaton
whithout really adding any child nodes. These child nodes
must be initialized first when they are about to be displayed or
another access (like search, iteration etc.) occurs.
See Also
The virtual paradigm
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualStringTree Class |
TVirtualStringTree.OnInitChildren
Event |
TVirtualStringTree.OnKeyAction
Event
TVirtualStringTree.OnInitNode Event
TVirtualStringTree Class | See Also
Pascal
property OnInitNode: TVTInitNodeEvent;
Description
This event is important to connect the tree to your internal
data. It is the ideal place to put references or whatever you
need into a node's data area. You can set some initial states
like selection, expansion state or that a node has child nodes.
See Also
The virtual paradigm
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnKeyAction Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnKeyAction: TVTKeyActionEvent;
Description
This event is a convinient way for the application or
descentant trees to change the semantic of a certain key
stroke. It is triggered when the user presses a key and allows
either to process that key normally (leave DoDefault being
True) or change it to another key instead (set DoDefault to
False then). This way a key press can change its meaning or
entirely be ignored (if CharCode is set to 0).
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnKeyDown Property
TVirtualStringTree Class
Not documented.
Pascal
property OnKeyDown;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnKeyPress Property
TVirtualStringTree Class
Not documented.
Pascal
property OnKeyPress;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnKeyUp Property
TVirtualStringTree Class
Not documented.
Pascal
property OnKeyUp;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnLoadNode Event
TVirtualStringTree Class | See Also
Pascal
property OnLoadNode: TVTSaveNodeEvent;
Description
This event is typically triggered when serialized tree data must
be restored, e.g. when loading the tree from file or stream or
during a clipboard/drag'n drop operation. You should only read
in what you wrote out in OnSaveNode. For safety there is a
check in the loader code which tries to keep the internal
serialization structure intact in case the application does not
read correctly.
See Also
OnSaveNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualStringTree Class |
TVirtualStringTree.OnLoadNode
Event |
TVirtualStringTree.OnMouseDown
Property
TVirtualStringTree.OnMeasureItem Event
TVirtualStringTree Class | See Also
Miscellaneous event.
Pascal
property OnMeasureItem: TVTMeasureItemEvent;
Description
Virtual Treeview supports individual node heights. However it
might sometimes unpractical to set this height in advance (e.g.
during OnInitNode). Another scenario might be that multi line
nodes must size themselves to accomodate the entire node
text without clipping. For such and similar cases the event
OnMeasureItem is for. It is queried once for each node and
allows to specify the node's future height. If you later want to
have a new height applied (e.g. because the node's text
changed) then call InvalidateNode for it and its
vsHeightMeasured state is reset causing so the tree to trigger
the OnMeasureItem event again when the node is painted the
next time.
See Also
InvalidateNode, vsHeightMeasured
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnMouseDown
Property
TVirtualStringTree Class
Not documented.
Pascal
property OnMouseDown;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnMouseMove
Property
TVirtualStringTree Class
Not documented.
Pascal
property OnMouseMove;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnMouseUp Property
TVirtualStringTree Class
Not documented.
Pascal
property OnMouseUp;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnMouseWheel
Property
TVirtualStringTree Class
Not documented.
Pascal
property OnMouseWheel;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnNewText Event
TVirtualStringTree Class | See Also
Pascal
property OnNewText: TVSTNewTextEvent;
Description
A string tree will fire this event after a node has been edited
successfully (not canceled with Escape). The event handler
must store the new text in the node data.
This event will only be used for the default node caption editor.
Other custom node editors may or may not use this event to
pass their edited data to the application. Editing for the whole
tree is only possible if the MiscOptions (see TreeOptions)
include toEditable. If only certain columns or nodes should be
editable write an event handler for OnEditing.
See Also
OnCreateEditor, OnEdited
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnNodeCopied Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnNodeCopied: TVTNodeCopiedEvent;
Description
This event is triggered during drag'n drop after a node has
been copied to a new location. Sender is the target tree where
the copy operation took place.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnNodeCopying
Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnNodeCopying: TVTNodeCopyingEvent;
Description
This event is triggered when a node is about to be copied to a
new location. Use Allowed to allow or deny the action.
Sender is the target tree where the copy operation will take
place.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnNodeMoved Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnNodeMoved: TVTNodeMovedEvent;
Description
This event is very much like OnNodeCopied but used for
moving nodes instead.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnNodeMoving Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnNodeMoving: TVTNodeMovingEvent;
Description
This event is very much like OnNodeCopying but used for
moving nodes instead.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnPaintBackground
Event
TVirtualStringTree Class
Paint support event.
Pascal
property OnPaintBackground: TVTBackgroundPaintEvent;
Description
This event is triggered when the tree has finished its painting
and there is an area which is not covered by nodes. For nodes
there are various events to allow background customizaton.
For the free area in the tree window there is this event.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnPaintText Event
TVirtualStringTree Class | See Also
Pascal
property OnPaintText: TVTPaintText;
Description
Write an event handler for this event to render nodes with
different fonts, font sizes, styles or colors. According to the
parameters each column of each node and even normal and
static text can be painted in different ways.
Notes
The string tree view manages an internal width for each
node's main column. This is done because computing this
width is
for example to bold face style, its width changes but the tree
view does not know this - it still relies on its cached
See Also
Paint cycles and stages
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnRenderOLEData
Event
TVirtualStringTree Class
Drag'n drop and clipboard support event.
Pascal
property OnRenderOLEData: TVTRenderOLEDataEvent;
Description
This event is triggered when the data in a clipboard or drag'n
drop operation must be rendered but the built-in data object
does not know the requested format. This is usually the case
when the application (or descentants) have specified their own
formats in OnGetUserClipboardFormats.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnResetNode Event
TVirtualStringTree Class | See Also
Pascal
property OnResetNode: TVTChangeEvent;
Description
For large trees or simply because the content changed it is
sometimes necessary to discard a certain node and release
all its children. This can be done with ResetNode which will
trigger this event.
See Also
ResetNode
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnResize Property
TVirtualStringTree Class
Not documented.
Pascal
property OnResize;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnSaveNode Event
TVirtualStringTree Class | See Also
Pascal
property OnSaveNode: TVTSaveNodeEvent;
Description
This event is triggered whenever a certain node must be
serialized into a stream, e.g. for saving to file or for copying to
another tree/node during a clipboard or drag'n drop operation.
Make sure you only store non-transient data into the stream.
Pointers (including long/wide string references) are transient
and the application cannot assume to find the data a pointer
references on saving at the same place when the node is
loaded (see also OnLoadNode). This is even more essential
for nodes which are moved or copied between different trees
in different processes (applications). Storing strings however
is easily done by writing the strings as a whole into the
stream.
Notes
For exchanging data between different trees and for general
stability improvement I strongly recommend that you insert a
follow when loading the node later and does normally not
required to be stored in the node data.
See Also
OnLoadNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnScroll Event
TVirtualStringTree Class | See Also
Miscellaneous event.
Pascal
property OnScroll: TVTScrollEvent;
Description
This event is triggered when the tree is scrolled horizontally or
vertically. You can use it to synchronize scrolling of several
trees or other controls.
See Also
OffsetXY
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.OnShortenString
Event
TVirtualStringTree Class
Pascal
property OnShortenString: TVSTShortenStringEvent;
Description
If the text of a node does not fit into its cell (in grid mode) or is
too wide for the width of the tree view it is being abbreviated
with an ellipsis (...). By default the ellipsis is added to the end
of the node text.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnShowScrollbar
Event
TVirtualStringTree Class
Not documented.
Pascal
property OnShowScrollbar: TVTScrollbarShowEvent;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnStartDock Property
TVirtualStringTree Class
Not documented.
Pascal
property OnStartDock;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnStartDrag Property
TVirtualStringTree Class
Not documented.
Pascal
property OnStartDrag;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnStateChange Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnStateChange: TVTStateChangeEvent;
Description
For special effects or in order to increase performance it is
sometimes useful to know when the tree changes one of its
internal states like tsIncrementalSearching or tsOLEDragging.
The OnStateChange event is triggered each time such a
change occurs letting so the application take measures for it.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnStructureChange
Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnStructureChange: TVTStructureChangeEvent;
Description
This event is triggered when a change in the tree structure is
made. That means whenever a node is created or destroyed
or a node's child list is change (because a child node was
moved, copied etc.) then OnStructureChange is executed.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.OnUpdating Event
TVirtualStringTree Class
Miscellaneous event.
Pascal
property OnUpdating: TVTUpdatingEvent;
Description
This event is triggered when the application or the tree call
BeginUpdate or EndUpdate and indicate so when a larger
update operation takes place. This can for instance be used to
show a hour glass wait cursor.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ParentBiDiMode
Property
TVirtualStringTree Class
Not documented.
Pascal
property ParentBiDiMode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ParentColor Property
TVirtualStringTree Class
Not documented.
Pascal
property ParentColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ParentCtl3D Property
TVirtualStringTree Class
Not documented.
Pascal
property ParentCtl3D;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ParentFont Property
TVirtualStringTree Class
Not documented.
Pascal
property ParentFont;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ParentShowHint
Property
TVirtualStringTree Class
Not documented.
Pascal
property ParentShowHint;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.PopupMenu Property
TVirtualStringTree Class
Not documented.
Pascal
property PopupMenu;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.RootNodeCount
Property
TVirtualStringTree Class
Read or set the number of nodes on the top level.
Pascal
property RootNodeCount: Cardinal;
Description
Usually setting RootNodeCount is all what is needed to initially
fill the tree. When one of the top level nodes is initialized you
can set its ivsHasChildren style. This will then cause to ask to
initialize the child nodes. Recursively applied, you can use this
principle to create tree nodes on demand (e.g. when their
parent is expanded).
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.ScrollBarOptions
Property
TVirtualStringTree Class
Reference to the scroll bar options class.
Pascal
property ScrollBarOptions: TScrollBarOptions;
Description
Like many other aspects in Virtual Treeview also scrollbars
can be customized. See the class itself for further
descriptions.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.SelectionBlendFactor
Property
TVirtualStringTree Class | See Also
Read or set the current blend factor for the multi selection
rectangle and the node selection rectangle.
Pascal
property SelectionBlendFactor: Byte;
Description
For a visually appealing tree some operations use alpha
blending. One of these operations is multi selection using the
mouse. Another one is the rectangle drawn around the caption
of selected nodes. Both rectangles use the
SelectionBlendFactor to determine how much of the
underlying tree image and how much of the rectangles should
be seen. The factor can be in the range of [0..255] where 0
means the rectangle is fully transparent and 255 it is fully
opaque.
Notes
Alpha blending is only enabled when the current processor
supports MMX instructions. If MMX is not supported then a
See Also
DrawSelectionMode, TVTPaintOptions
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.SelectionCurveRadius
Property
TVirtualStringTree Class | See Also
Pascal
property SelectionCurveRadius: Cardinal;
Description
This is a special property to determine the radius of the
corners of the selection rectangle for a node caption. Virtual
Treeview supports not only simple rectangular selection marks
but also such with rounded corners. This feature, however, is
only available if blended node selection rectangles are
disabled.
See Also
SelectionBlendFactor, DrawSelectionMode, TVTPaintOptions
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.ShowHint Property
TVirtualStringTree Class
Not documented.
Pascal
property ShowHint;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.StateImages Property
TVirtualStringTree Class | See Also
Pascal
property StateImages: TCustomImageList;
Description
Each node can (in each column) have several images. One is
the check image which is supplied by internal image lists or a
special external list (see also CustomCheckImages). Another
one is the state image and yet another one the
normal/selected image.
See Also
CheckImages, Images
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
TVirtualStringTree.TabOrder Property
TVirtualStringTree Class
Not documented.
Pascal
property TabOrder;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.TabStop Property
TVirtualStringTree Class
Not documented.
Pascal
property TabStop;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.TextMargin Property
TVirtualStringTree Class | See Also
Pascal
property TextMargin: Integer;
Description
TextMargin is used to define a border like area within the
content rectangle of a node. This rectangle is the area of the
node less the space used for indentation, images, lines and
node margins and usually contains the text of a node. In order
to support finer adjustment there is another margin, which only
applies to the left and right border in the content rectangle.
This is the text margin.
See Also
Margin
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class, See Also
What do you think about this topic? Send feedback!
TVirtualStringTree Class |
TVirtualStringTree.TextMargin
Property |
TVirtualStringTree.Visible Property
TVirtualStringTree.TreeOptions Property
TVirtualStringTree Class
Pascal
property TreeOptions: TStringTreeOptions;
Description
The tree options are one of the main switchs to modify a
treeview's behavior. Virtual Treeview supports customizing
tree options by descentants. This allows very fine adjustments
for derived tree classes, including the decision which
properties should be published. For more information about
the base options see TCustomVirtualTreeOptions and its
descentants.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.Visible Property
TVirtualStringTree Class
Not documented.
Pascal
property Visible;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.WantTabs Property
TVirtualStringTree Class
Pascal
property WantTabs: Boolean;
Description
Usually tab kex strokes advance the input focus from one
control to another on a form. For special processing however
it is necessary to let the control decide what to do with the
given tabulator character. Virtual Treeview needs this
character mainly for its grid emulation.
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualStringTree.GetOptionsClass
Method
TVirtualStringTree Class
Pascal
function GetOptionsClass: TTreeOptionsClass; override
Description
GetOptionsClass is a special purpose method to return a
certain class which is used by the tree for its options.
TVirtualBaseTree always returns TCustomVirtualTreeOptions
but descendants can override this method to return own
classes.
For ease of use it makes much sense to always use the same
name for the tree's options (which is TreeOptions). By using a
customized options class, however, the wrong type is returned
by this property. Hence it is meaningful to override
TreeOptions and return the derived options class. To make
this work the tree descendant must additionally provide new
access methods for this property. An example can be seen in
TVirtualStringTree:
TVirtualStringTree = class(TCustomVirtualStringTree
private
function GetOptions: TStringTreeOptions;
procedure SetOptions(const Value: TStringTreeOptions
protected
function GetOptionsClass: TTreeOptionsClass; override
public
property Canvas;
published
...
property TreeOptions: TStringTreeOptions read GetOptions
...
end;
...
begin
Result := FOptions as TStringTreeOptions;
end;
//----------------------------------------------------------
begin
FOptions.Assign(Value);
end;
//----------------------------------------------------------
begin
Result := TStringTreeOptions;
end;
Class
TVirtualStringTree Class
Links
TVirtualStringTree Class
TVirtualTreeColumn Class
Classes | Methods | Properties | Legend
Pascal
TVirtualTreeColumn = class(TCollectionItem);
Description
This enhanced collection item, which is organized within the
TCollection descentant TVirtualTreeColumns, manages all
aspects of a single column.
Group
Classes
Members
Properties
Alignment
Not documented.
BiDiMode
Not documented.
Color
Not documented.
Hint
Not documented.
ImageIndex
Not documented.
Layout
Not documented.
Left
Not documented.
Margin
Not documented.
MaxWidth
Not documented.
MinWidth
Not documented.
Options
Not documented.
Owner
Not documented.
Position
Not documented.
Spacing
Not documented.
Style
Not documented.
Tag
Not documented.
Text
Not documented.
Width
Not documented.
Methods
Assign
Not documented.
ComputeHeaderLayout
Calculates the layout of a column header.
Create
Not documented.
DefineProperties
Not documented.
Destroy
Not documented.
Equals
Not documented.
GetAbsoluteBounds
Not documented.
GetDisplayName
Not documented.
GetOwner
Not documented.
GetRect
Returns the rectangle this column occupies in the header (relative to
(0, 0) of the non-client area).
LoadFromStream
Not documented.
ParentBiDiModeChanged
Not documented.
ParentColorChanged
Not documented.
ReadHint
Not documented.
ReadText
Not documented.
RestoreLastWidth
Not documented.
SaveToStream
Not documented.
UseRightToLeftReading
Not documented.
WriteHint
Not documented.
WriteText
Not documented.
Legend
published
Property
public
read only
Method
virtual
protected
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVirtualTreeColumn.Alignment Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Alignment: TAlignment;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.BiDiMode Property
TVirtualTreeColumn Class
Not documented.
Pascal
property BiDiMode: TBiDiMode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Color Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Color: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Hint Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Hint: WideString;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.ImageIndex Property
TVirtualTreeColumn Class
Not documented.
Pascal
property ImageIndex: TImageIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Layout Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Layout: TVTHeaderColumnLayout;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Left Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Left: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Margin Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Margin: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.MaxWidth Property
TVirtualTreeColumn Class
Not documented.
Pascal
property MaxWidth: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.MinWidth Property
TVirtualTreeColumn Class
Not documented.
Pascal
property MinWidth: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Options Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Options: TVTColumnOptions;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Owner Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Owner: TVirtualTreeColumns;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Position Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Position: TColumnPosition;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Spacing Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Spacing: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Style Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Style: TVirtualTreeColumnStyle;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Tag Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Tag: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Text Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Text: WideString;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Width Property
TVirtualTreeColumn Class
Not documented.
Pascal
property Width: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Assign Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure Assign(Source: TPersistent); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.ComputeHeaderLayout
Method
TVirtualTreeColumn Class
Calculates the layout of a column header.
Pascal
procedure ComputeHeaderLayout(DC: HDC; const Client: TRect; U
Description
The layout of a column header is determined by a lot of
factors. This method takes them all into account and
determines all necessary positions and bounds:
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Create Constructor
TVirtualTreeColumn Class
Not documented.
Pascal
constructor Create(Collection: TCollection); override
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.DefineProperties
Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure DefineProperties(Filer: TFiler); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Destroy Destructor
TVirtualTreeColumn Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.Equals Method
TVirtualTreeColumn Class
Not documented.
Pascal
function Equals(OtherColumn: TVirtualTreeColumn): Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.GetAbsoluteBounds
Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure GetAbsoluteBounds(var Left: Integer; var Right: Int
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.GetDisplayName
Method
TVirtualTreeColumn Class
Not documented.
Pascal
function GetDisplayName: string; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.GetOwner Method
TVirtualTreeColumn Class
Not documented.
Pascal
function GetOwner: TVirtualTreeColumns; reintroduce;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.GetRect Method
TVirtualTreeColumn Class
Pascal
function GetRect: TRect; virtual;
Description
Returns the rectangle this column occupies in the header
(relative to (0, 0) of the non-client area).
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.LoadFromStream
Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure LoadFromStream(const Stream: TStream; Version: Inte
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.ParentBiDiModeChanged
Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure ParentBiDiModeChanged;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.ParentColorChanged
Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure ParentColorChanged;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.ReadHint Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure ReadHint(Reader: TReader);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.ReadText Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure ReadText(Reader: TReader);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.RestoreLastWidth
Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure RestoreLastWidth;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.SaveToStream
Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure SaveToStream(const Stream: TStream);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.UseRightToLeftReading
Method
TVirtualTreeColumn Class
Not documented.
Pascal
function UseRightToLeftReading: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.WriteHint Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure WriteHint(Writer: TWriter);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumn.WriteText Method
TVirtualTreeColumn Class
Not documented.
Pascal
procedure WriteText(Writer: TWriter);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumn Class
Links
TVirtualTreeColumn Class
TVirtualTreeColumns Class
Classes | Methods | Properties | Legend
Pascal
TVirtualTreeColumns = class(TCollection);
Description
This class is an enhanced collection which manages general
aspects of columns like ordering, traversion, streaming,
painting, dragging etc.
Group
Classes
Members
Properties
ClickIndex
Not documented.
Header
Not documented.
HeaderBitmap
Not documented.
Items
Not documented.
PositionToIndex
Not documented.
TrackIndex
Not documented.
Methods
Add
Not documented.
AdjustAutoSize
Called when columns must be sized so that the fit the client area.
AdjustDownColumn
Determines the column from the given position and returns it.
AdjustHoverColumn
Determines the new hover column index and returns true if the index
actually changed else False.
AdjustPosition
Reorders the column position array so that the given column gets the
given position.
AnimatedResize
Resizes the given column animated by scrolling the window DC.
Assign
Not documented.
Clear
Not documented.
ColumnFromPosition
Returns the index of the column at the given position.
Create
Not documented.
Destroy
Not documented.
DrawButtonText
Not documented.
DrawXPButton
Helper procedure to draw an Windows XP like header button.
Equals
Compares itself with the given set of columns.
FixPositions
Fixes column positions after loading from DFM.
GetColumnAndBounds
Returns the column where the mouse is currently in as well as the left
and right bound of this column.
GetColumnBounds
Returns the left and right bound of the given column.
GetFirstVisibleColumn
Returns the index of the first visible column or "InvalidColumn" if
either no columns are defined or all columns are hidden.
GetLastVisibleColumn
Returns the index of the last visible column or "InvalidColumn" if
either no columns are defined or all columns are hidden.
GetNextColumn
Returns the next column in display order. Column is the index of an
item in the collection (a column).
GetNextVisibleColumn
Returns the next visible column in display order, Column is an index
into the columns list.
GetOwner
Not documented.
GetPreviousColumn
Returns the previous column in display order, Column is an index into
the columns list.
GetPreviousVisibleColumn
Returns the previous column in display order, Column is an index into
the columns list.
GetVisibleColumns
Returns a list of all currently visible columns in actual order.
GetVisibleFixedWidth
Not documented.
HandleClick
Generates a click event if the mouse button has been released over the
same column it was pressed first.
IndexChanged
Called by a column when its index in the collection changes.
InitializePositionArray
Ensures that the column position array contains as much entries as
columns are defined.
IsValidColumn
Determines whether the given column is valid or not, that is, whether it
is one of the current columns.
LoadFromStream
Not documented.
PaintHeader
Not documented.
SaveToStream
Not documented.
TotalWidth
Not documented.
Update
Not documented.
UpdatePositions
Recalculates the left border of every column and updates their position
property according to the PostionToIndex array, which primarily
determines where each column is placed visually.
Legend
public
Property
read only
protected
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVirtualTreeColumns.ClickIndex
Property
TVirtualTreeColumns Class
Not documented.
Pascal
property ClickIndex: TColumnIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Header Property
TVirtualTreeColumns Class
Not documented.
Pascal
property Header: TVTHeader;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.HeaderBitmap
Property
TVirtualTreeColumns Class
Not documented.
Pascal
property HeaderBitmap: TBitmap;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Items Property
TVirtualTreeColumns Class
Not documented.
Pascal
property Items [Index: TColumnIndex]: TVirtualTreeColumn
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.PositionToIndex
Property
TVirtualTreeColumns Class
Not documented.
Pascal
property PositionToIndex: TIndexArray;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.TrackIndex
Property
TVirtualTreeColumns Class
Not documented.
Pascal
property TrackIndex: TColumnIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Add Method
TVirtualTreeColumns Class
Not documented.
Pascal
function Add: TVirtualTreeColumn; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.AdjustAutoSize
Method
TVirtualTreeColumns Class
Called when columns must be sized so that the fit the client
area.
Pascal
procedure AdjustAutoSize(CurrentIndex: TColumnIndex; Force: B
Description
Called only if the header is in auto-size mode which means a
column needs to be so large that it fills all the horizontal space
not occupied by the other columns. CurrentIndex (if not
InvalidColumn) describes which column has just been resized.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.AdjustDownColumn
Method
TVirtualTreeColumns Class
Determines the column from the given position and returns it.
Pascal
function AdjustDownColumn(P: TPoint): TColumnIndex;
Description
If this column is allowed to be clicked then it is also kept for
later use.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.AdjustHoverColumn
Method
TVirtualTreeColumns Class
Determines the new hover column index and returns true if the
index actually changed else False.
Pascal
function AdjustHoverColumn(P: TPoint): Boolean;
Description
Determines the new hover column index and returns true if the
index actually changed else False.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.AdjustPosition
Method
TVirtualTreeColumns Class
Reorders the column position array so that the given column
gets the given position.
Pascal
procedure AdjustPosition(Column: TVirtualTreeColumn; Position
Description
Reorders the column position array so that the given column
gets the given position.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.AnimatedResize
Method
TVirtualTreeColumns Class
Resizes the given column animated by scrolling the window
DC.
Pascal
procedure AnimatedResize(Column: TColumnIndex; NewWidth: Inte
Description
Resizes the given column animated by scrolling the window
DC.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Assign Method
TVirtualTreeColumns Class
Not documented.
Pascal
procedure Assign(Source: TPersistent); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Clear Method
TVirtualTreeColumns Class
Not documented.
Pascal
procedure Clear; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.ColumnFromPosition
Method (TColumnPosition)
TVirtualTreeColumns Class
Pascal
function ColumnFromPosition(PositionIndex: TColumnPosition
Description
Returns the index of the column at the given position.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.ColumnFromPosition
Method (TPoint, Boolean)
TVirtualTreeColumns Class
Pascal
function ColumnFromPosition(P: TPoint; Relative: Boolean = Tr
Description
Determines the current column based on the position passed
in P.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Create Constructor
TVirtualTreeColumns Class
Not documented.
Pascal
constructor Create(AOwner: TVTHeader);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Destroy Destructor
TVirtualTreeColumns Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.DrawButtonText
Method
TVirtualTreeColumns Class
Not documented.
Pascal
procedure DrawButtonText(DC: HDC; Caption: WideString; Bounds
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.DrawXPButton
Method
TVirtualTreeColumns Class
Pascal
procedure DrawXPButton(DC: HDC; ButtonR: TRect; DrawSplitter:
Description
Helper procedure to draw an Windows XP like header button.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Equals Method
TVirtualTreeColumns Class
Pascal
function Equals(OtherColumns: TVirtualTreeColumns): Boolean;
Description
Equals returns true if all published properties are the same
(including column order), otherwise false is returned.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.FixPositions
Method
TVirtualTreeColumns Class
Pascal
procedure FixPositions;
Description
Fixes column positions after loading from DFM.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetColumnAndBounds
Method
TVirtualTreeColumns Class
Returns the column where the mouse is currently in as well as
the left and right bound of this column.
Pascal
function GetColumnAndBounds(P: TPoint; var ColumnLeft: Intege
Description
Left and Right are undetermined if no column is involved.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetColumnBounds
Method
TVirtualTreeColumns Class
Returns the left and right bound of the given column.
Pascal
procedure GetColumnBounds(Column: TColumnIndex; var Left: Int
Description
If Column is NoColumn then the entire client width is
returned.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetFirstVisibleColumn
Method
TVirtualTreeColumns Class
Returns the index of the first visible column or "InvalidColumn"
if either no columns are defined or all columns are hidden.
Pascal
function GetFirstVisibleColumn: TColumnIndex;
Description
Returns the index of the first visible column or "InvalidColumn"
if either no columns are defined or all columns are hidden.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetLastVisibleColumn
Method
TVirtualTreeColumns Class
Returns the index of the last visible column or "InvalidColumn"
if either no columns are defined or all columns are hidden.
Pascal
function GetLastVisibleColumn: TColumnIndex;
Description
Returns the index of the last visible column or "InvalidColumn"
if either no columns are defined or all columns are hidden.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetNextColumn
Method
TVirtualTreeColumns Class
Returns the next column in display order. Column is the index
of an item in the collection (a column).
Pascal
function GetNextColumn(Column: TColumnIndex): TColumnIndex
Description
Returns the next column in display order. Column is the index
of an item in the collection (a column).
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetNextVisibleColumn
Method
TVirtualTreeColumns Class
Returns the next visible column in display order, Column is an
index into the columns list.
Pascal
function GetNextVisibleColumn(Column: TColumnIndex):
Description
Returns the next visible column in display order, Column is an
index into the columns list.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetOwner Method
TVirtualTreeColumns Class
Not documented.
Pascal
function GetOwner: TPersistent; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetPreviousColumn
Method
TVirtualTreeColumns Class
Pascal
function GetPreviousColumn(Column: TColumnIndex): TColumnInde
Description
Returns the previous column in display order, Column is an
index into the columns list.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetPreviousVisibleColumn
Method
TVirtualTreeColumns Class
Returns the previous column in display order, Column is an
index into the columns list.
Pascal
function GetPreviousVisibleColumn(Column: TColumnIndex
Description
Returns the previous column in display order, Column is an
index into the columns list.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetVisibleColumns
Method
TVirtualTreeColumns Class
Returns a list of all currently visible columns in actual order.
Pascal
function GetVisibleColumns: TColumnsArray;
Description
Returns a list of all currently visible columns in actual order.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.GetVisibleFixedWidth
Method
TVirtualTreeColumns Class
Not documented.
Pascal
function GetVisibleFixedWidth: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.HandleClick
Method
TVirtualTreeColumns Class
Generates a click event if the mouse button has been
released over the same column it was pressed first.
Pascal
procedure HandleClick(P: TPoint; Button: TMouseButton; Force:
Description
Alternatively, Force might be set to true to indicate that the
down index does not matter (right, middle and double click).
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.IndexChanged
Method
TVirtualTreeColumns Class
Pascal
procedure IndexChanged(OldIndex: Integer; NewIndex: Integer);
Description
If NewIndex is -1 then the column is about to be removed
otherwise it is moved to a new index. The method will then
update the position array to reflect the change.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.InitializePositionArray
Method
TVirtualTreeColumns Class
Ensures that the column position array contains as much
entries as columns are defined.
Pascal
procedure InitializePositionArray;
Description
The array is resized and initialized with default values if
needed.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.IsValidColumn
Method
TVirtualTreeColumns Class
Determines whether the given column is valid or not, that is,
whether it is one of the current columns.
Pascal
function IsValidColumn(Column: TColumnIndex): Boolean;
Description
Determines whether the given column is valid or not, that is,
whether it is one of the current columns.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.LoadFromStream
Method
TVirtualTreeColumns Class
Not documented.
Pascal
procedure LoadFromStream(const Stream: TStream; Version: Inte
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.PaintHeader
Method
TVirtualTreeColumns Class
Not documented.
Pascal
procedure PaintHeader(DC: HDC; R: TRect; HOffset: Integer);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.SaveToStream
Method
TVirtualTreeColumns Class
Not documented.
Pascal
procedure SaveToStream(const Stream: TStream);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.TotalWidth Method
TVirtualTreeColumns Class
Not documented.
Pascal
function TotalWidth: Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.Update Method
TVirtualTreeColumns Class
Not documented.
Pascal
procedure Update(Item: TCollectionItem); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeColumns.UpdatePositions
Method
TVirtualTreeColumns Class
Pascal
procedure UpdatePositions(Force: Boolean = False);
Class
TVirtualTreeColumns Class
Links
TVirtualTreeColumns Class
TVirtualTreeHintWindow Class
Classes | Methods | Legend
Pascal
TVirtualTreeHintWindow = class(THintWindow);
Description
TVirtualTreeHintWindow replaces Delphi's own hint window,
but only for the tree controls. For the rest of the application the
hint stays at it is. This means not the global HintWindowClass
variable is changed but only the locally used class by properly
responding to CM_HINTSHOW.
Group
Classes
Members
Methods
ActivateHint
Not documented.
CalcHintRect
Not documented.
Create
Not documented.
CreateParams
Not documented.
Destroy
Not documented.
IsHintMsg
The VCL is a bit too generous when telling that an existing hint can be
cancelled.
Paint
Not documented.
Legend
public
Method
virtual
protected
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Legend
TVirtualTreeHintWindow.ActivateHint
Method
TVirtualTreeHintWindow Class
Not documented.
Pascal
procedure ActivateHint(Rect: TRect; const AHint: string
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeHintWindow Class
Links
TVirtualTreeHintWindow Class
TVirtualTreeHintWindow.CalcHintRect
Method
TVirtualTreeHintWindow Class
Not documented.
Pascal
function CalcHintRect(MaxWidth: Integer; const AHint:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeHintWindow Class
Links
TVirtualTreeHintWindow Class
TVirtualTreeHintWindow.Create
Constructor
TVirtualTreeHintWindow Class
Not documented.
Pascal
constructor Create(AOwner: TComponent); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeHintWindow Class
Links
TVirtualTreeHintWindow Class
TVirtualTreeHintWindow.CreateParams
Method
TVirtualTreeHintWindow Class
Not documented.
Pascal
procedure CreateParams(var Params: TCreateParams); override
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeHintWindow Class
Links
TVirtualTreeHintWindow Class
TVirtualTreeHintWindow.Destroy
Destructor
TVirtualTreeHintWindow Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeHintWindow Class
Links
TVirtualTreeHintWindow Class
TVirtualTreeHintWindow.IsHintMsg
Method
TVirtualTreeHintWindow Class
The VCL is a bit too generous when telling that an existing
hint can be cancelled.
Pascal
function IsHintMsg(var Msg: TMsg): Boolean; override;
Description
Need to specify further here.
Class
TVirtualTreeHintWindow Class
Links
TVirtualTreeHintWindow Class
TVirtualTreeHintWindow.Paint Method
TVirtualTreeHintWindow Class
Not documented.
Pascal
procedure Paint; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVirtualTreeHintWindow Class
Links
TVirtualTreeHintWindow Class
TVirtualTreeOptions Class
Classes | Methods | Properties | Legend
Collects all binary options of the tree control into one place for
easier access.
Pascal
TVirtualTreeOptions = class(TCustomVirtualTreeOptions
Description
TVirtualTreeOptions does not add any new functionality to
TCustomVirtualTreeOptions but is the publicly available class.
Group
Classes
Members
Properties
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
TCustomVirtualTreeOptions Class
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Methods
TCustomVirtualTreeOptions Class
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
Legend
published
Property
protected
public
read only
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVirtualTreeOptions.AnimationOptions
Property
TVirtualTreeOptions Class
Pascal
property AnimationOptions: TVTAnimationOptions;
Description
These options can be used to switch certain animation effects
in a tree.
Class
TVirtualTreeOptions Class
Links
TVirtualTreeOptions Class
TVirtualTreeOptions.AutoOptions
Property
TVirtualTreeOptions Class
Options related to automatic actions.
Pascal
property AutoOptions: TVTAutoOptions;
Description
These options can be used to switch certain actions in a tree
which happen automatically under certain circumstances.
Class
TVirtualTreeOptions Class
Links
TVirtualTreeOptions Class
TVirtualTreeOptions.MiscOptions
Property
TVirtualTreeOptions Class
Options not related to any other category.
Pascal
property MiscOptions: TVTMiscOptions;
Description
These options can be used to switch miscellanous aspects in
a tree.
Class
TVirtualTreeOptions Class
Links
TVirtualTreeOptions Class
TVirtualTreeOptions.PaintOptions
Property
TVirtualTreeOptions Class
Options related to painting.
Pascal
property PaintOptions: TVTPaintOptions;
Description
These options can be used to switch visual aspects of a tree.
Class
TVirtualTreeOptions Class
Links
TVirtualTreeOptions Class
TVirtualTreeOptions.SelectionOptions
Property
TVirtualTreeOptions Class
Pascal
property SelectionOptions: TVTSelectionOptions;
Description
These options can be used to switch the way how nodes can
be selected in a tree.
Class
TVirtualTreeOptions Class
Links
TVirtualTreeOptions Class
TVTColors Class
Classes | Methods | Properties | Legend
Pascal
TVTColors = class(TPersistent);
Description
TVTColors makes it much more conventient to adjust Virtual
Treeview's colors. Since everything is in one place you can
also easily compare all colors.
Group
Classes
Members
Properties
BorderColor
Not documented.
DisabledColor
Not documented.
DropMarkColor
Color of the drop mark.
DropTargetBorderColor
Not documented.
DropTargetColor
Not documented.
FocusedSelectionBorderColor
Not documented.
FocusedSelectionColor
Not documented.
GridLineColor
Not documented.
HeaderHotColor
Not documented.
HotColor
Not documented.
SelectionRectangleBlendColor
Not documented.
SelectionRectangleBorderColor
Not documented.
TreeLineColor
Not documented.
UnfocusedSelectionBorderColor
Not documented.
UnfocusedSelectionColor
Not documented.
Methods
Assign
Not documented.
Create
Not documented.
Legend
published
Property
public
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVTColors.BorderColor Property
TVTColors Class
Not documented.
Pascal
property BorderColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.DisabledColor Property
TVTColors Class
Not documented.
Pascal
property DisabledColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.DropMarkColor Property
TVTColors Class
Pascal
property DropMarkColor: TColor;
Description
Since the drop metapher has been extended to include
dropping on node, above a node or below a node (e.g. to
determine adding as child, previous sibling or next sibling)
there must be an indication where the node would actually be
placed when it would be dropped. This indication is the drop
mark, whose color can be set via the DropMarkColor property.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.DropTargetBorderColor
Property
TVTColors Class
Not documented.
Pascal
property DropTargetBorderColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.DropTargetColor Property
TVTColors Class
Not documented.
Pascal
property DropTargetColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.FocusedSelectionBorderColor
Property
TVTColors Class
Not documented.
Pascal
property FocusedSelectionBorderColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.FocusedSelectionColor
Property
TVTColors Class
Not documented.
Pascal
property FocusedSelectionColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.GridLineColor Property
TVTColors Class
Not documented.
Pascal
property GridLineColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.HeaderHotColor Property
TVTColors Class
Not documented.
Pascal
property HeaderHotColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.HotColor Property
TVTColors Class
Not documented.
Pascal
property HotColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.SelectionRectangleBlendColor
Property
TVTColors Class
Not documented.
Pascal
property SelectionRectangleBlendColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.SelectionRectangleBorderColor
Property
TVTColors Class
Not documented.
Pascal
property SelectionRectangleBorderColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.TreeLineColor Property
TVTColors Class
Not documented.
Pascal
property TreeLineColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.UnfocusedSelectionBorderColor
Property
TVTColors Class
Not documented.
Pascal
property UnfocusedSelectionBorderColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.UnfocusedSelectionColor
Property
TVTColors Class
Not documented.
Pascal
property UnfocusedSelectionColor: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.Assign Method
TVTColors Class
Not documented.
Pascal
procedure Assign(Source: TPersistent); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTColors.Create Constructor
TVTColors Class
Not documented.
Pascal
constructor Create(AOwner: TBaseVirtualTree);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTColors Class
Links
TVTColors Class
TVTDataObject Class
Classes | Methods | Properties | Legend
Pascal
TVTDataObject = class(TInterfacedObject, IDataObject);
Description
This class is used for OLE drag'n drop and clipboard
operations. It allows not only to transfer various kinds of data
between trees but also to transfer this data between different
processes. Additionally, every OLE aware application (like
Word) can take part in the data transfer. This makes it easy to
copy some of the tree's content for documentation purposes.
Group
Classes
Members
Properties
ForClipboard
Not documented.
FormatEtcArray
Not documented.
InternalStgMediumArray
Not documented.
Owner
Not documented.
Methods
CanonicalIUnknown
Helper method for setting data in the IDataObject.
Create
Constructor of the class.
DAdvise
Implementation of the IDataObject.DAdvise method.
Destroy
Destructor of the class.
DUnadvise
Implementation of the IDataObject.DUnAdvise method.
EnumDAdvise
Implementation of the IDataObject.EnumDAdvise method.
EnumFormatEtc
Implementation of the IDataObject.EnumFormatEtc method.
EqualFormatEtc
Compares two TFormatEtc structures.
FindFormatEtc
Searchs the given array for a the given format.
FindInternalStgMedium
Returns a storage medium for a given clipboard format.
GetCanonicalFormatEtc
Implementation of the IDataObject.GetCanonicalFormatEtc method.
GetData
Implementation of the IDataObject.GetData method.
GetDataHere
Implementation of the IDataObject.GetDataHere method.
HGlobalClone
Helper method for SetData.
QueryGetData
Implementation of the IDataObject.QueryGetData method.
RenderInternalOLEData
Helper method to return data previously stored by SetData.
SetData
Implementation of the IDataObject.SetData method.
StgMediumIncRef
Central managing method to copy OLE data.
Legend
protected
Property
read only
Method
public
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVTDataObject.ForClipboard Property
TVTDataObject Class
Not documented.
Pascal
property ForClipboard: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.FormatEtcArray Property
TVTDataObject Class
Not documented.
Pascal
property FormatEtcArray: TFormatEtcArray;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.InternalStgMediumArray
Property
TVTDataObject Class
Not documented.
Pascal
property InternalStgMediumArray: TInternalStgMediumArray
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.Owner Property
TVTDataObject Class
Not documented.
Pascal
property Owner: TBaseVirtualTree;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.CanonicalIUnknown
Method
TVTDataObject Class
Pascal
function CanonicalIUnknown(TestUnknown: IUnknown): IUnknown;
Description
In SetData the class can get a circular reference if the client
calls GetData then calls SetData with the same StgMedium.
Because the unkForRelease for the IDataObject can be
marshalled it is necessary to get pointers that can be correctly
compared. CanonicalIUknown uses COM object identity for
this task. An explicit call to the IUnknown::QueryInterface
method, requesting the IUnknown interface, will always return
the same pointer. See the IDragSourceHelper article by
Raymond Chen at MSDN.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.Create Constructor
TVTDataObject Class
Pascal
constructor Create(AOwner: TBaseVirtualTree; ForClipboard
Description
Create is used only for initialization.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.DAdvise Method
TVTDataObject Class
Pascal
function DAdvise(const FormatEtc: TFormatEtc; advf: Integer;
Description
Advise sinks are used to have an opportunity for clients to get
notified if something changes in the data object.
TVTDataObject uses the data advise holder APIs to provide
the advise sink service.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.Destroy Destructor
TVTDataObject Class
Pascal
destructor Destroy; override;
Description
Cleans up the object.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.DUnadvise Method
TVTDataObject Class
Pascal
function DUnadvise(dwConnection: Integer): HResult; virtual
Description
DUnadvice reverses the call to DAdvise.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.EnumDAdvise Method
TVTDataObject Class
Pascal
function EnumDAdvise(out enumAdvise: IEnumStatData): HResult;
Description
EnumDAdvice does nothing but forwards the call to the
internal advise holder class, which the responds accordingly.
That's why we use data advise holders after all.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.EnumFormatEtc Method
TVTDataObject Class
Pascal
function EnumFormatEtc(Direction: Integer; out EnumFormatEtc:
Description
This method creates a FormatEtc enumerator class which is
used to enumerate all data formats supported by the owner
tree.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.EqualFormatEtc Method
TVTDataObject Class
Pascal
function EqualFormatEtc(FormatEtc1: TFormatEtc; FormatEtc2: T
Description
Returns true if both records are considered the same. That
means if they have at least one common storage format and
all other entries have the same values.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.FindFormatEtc Method
TVTDataObject Class
Pascal
function FindFormatEtc(TestFormatEtc: TFormatEtc; const
Description
Returns true if the given format is part of the array.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.FindInternalStgMedium
Method
TVTDataObject Class
Returns a storage medium for a given clipboard format.
Pascal
function FindInternalStgMedium(Format: TClipFormat): PStgMedi
Description
The class keeps an internal list of clipboard format/storage
medium relations. For some operations data is set in certain
formats which is later retrieve by locating it using this method.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.GetCanonicalFormatEtc
Method
TVTDataObject Class
Pascal
function GetCanonicalFormatEtc(const FormatEtc: TFormatEtc;
Description
The implementation of this method simply consists of a result
value telling the caller to use the EnumFormatEtc method.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.GetData Method
TVTDataObject Class | See Also
Pascal
function GetData(const FormatEtcIn: TFormatEtc; out Medium: T
Description
Whenever drag'n drop or clipboard data actually needs to be
rendered then this method is called by the OLE subsystem.
The class automatically returns the CF_VTREFERENCE
format and any data previously set by the SetData method
(e.g. by the Shell). For any other format the owner tree is
asked to render the OLE data.
See Also
RenderOLEData
Class
TVTDataObject Class
Links
TVTDataObject Class, See Also
TVTDataObject.GetDataHere Method
TVTDataObject Class
Pascal
function GetDataHere(const FormatEtc: TFormatEtc; out
Description
GetDataHere is an alternative data retrival method to
GetData, but the caller provides the storage place where to
store the actual data. Since Virtual Treeview has a very limited
spectrum of what it can use this method is not fully
implmented.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.HGlobalClone Method
TVTDataObject Class
Pascal
function HGlobalClone(HGlobal: THandle): THandle;
Description
This method copies a HGlobal memory block.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.QueryGetData Method
TVTDataObject Class
Pascal
function QueryGetData(const FormatEtc: TFormatEtc): HResult;
Description
This method is called by OLE subsystem to determine which
data formats are offered by the owner tree. It uses the internal
clipboard format list to get a list of available and allowed
formats. Currently following formats are supported:
TBaseVirtualTree
TCustomVirtualStringTree
generic Unicode text
generic ANSI text
HTML formatted text (UTF-8 format)
RTF text (UTF-16 format)
CSV (comma separated values) but with customizable separators
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.RenderInternalOLEData
Method
TVTDataObject Class
Pascal
function RenderInternalOLEData(const FormatEtcIn: TFormatEtc;
Description
For some operations (e.g. shell transfers with
IDropTargetHelper interface) data is stored in the class.
RenderInternalOLEData returns this data when queried later.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.SetData Method
TVTDataObject Class
Pascal
function SetData(const FormatEtc: TFormatEtc; var Medium: TSt
Description
This method is used to add or replace data in the data object.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDataObject.StgMediumIncRef
Method
TVTDataObject Class
Pascal
function StgMediumIncRef(const InStgMedium: TStgMedium;
Description
This method is called when data must be copied from or to the
data object. For each supported storage medium a different
(and appropriate) action is taken.
Class
TVTDataObject Class
Links
TVTDataObject Class
TVTDragImage Class
Classes | Methods | Properties | Legend
Not documented.
Pascal
TVTDragImage = class;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Properties
ColorKey
Not documented.
Fade
Not documented.
MoveRestriction
Not documented.
PostBlendBias
Not documented.
PreBlendBias
Not documented.
Transparency
Not documented.
Visible
Not documented.
Methods
Create
Not documented.
Destroy
Not documented.
DragTo
Moves the drag image to a new position, which is determined from the
passed point P and the previous mouse position.
EndDrag
Not documented.
GetDragImageRect
Returns the current size and position of the drag image (screen
coordinates).
HideDragImage
Not documented.
InternalShowDragImage
Frequently called helper routine to actually do the blend and put it
onto
MakeAlphaChannel
Not documented.
PrepareDrag
Creates all necessary structures to do alpha blended dragging using
the given image.
RecaptureBackground
Notification by the drop target tree to update the background image
because something in the tree has changed.
ShowDragImage
Shows the drag image after it has been hidden by HideDragImage.
WillMove
Add a summary here...
Legend
public
Property
read only
Method
virtual
protected
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVTDragImage.ColorKey Property
TVTDragImage Class
Not documented.
Pascal
property ColorKey: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.Fade Property
TVTDragImage Class
Not documented.
Pascal
property Fade: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.MoveRestriction Property
TVTDragImage Class
Not documented.
Pascal
property MoveRestriction: TVTDragMoveRestriction;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.PostBlendBias Property
TVTDragImage Class
Not documented.
Pascal
property PostBlendBias: TVTBias;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.PreBlendBias Property
TVTDragImage Class
Not documented.
Pascal
property PreBlendBias: TVTBias;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.Transparency Property
TVTDragImage Class
Not documented.
Pascal
property Transparency: TVTTransparency;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.Visible Property
TVTDragImage Class
Not documented.
Pascal
property Visible: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.Create Constructor
TVTDragImage Class
Not documented.
Pascal
constructor Create(AOwner: TBaseVirtualTree);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.Destroy Destructor
TVTDragImage Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.DragTo Method
TVTDragImage Class
Pascal
function DragTo(P: TPoint; ForceRepaint: Boolean): Boolean;
Description
ForceRepaint is true if something on the screen changed and
the back image must be refreshed.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.EndDrag Method
TVTDragImage Class
Not documented.
Pascal
procedure EndDrag;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.GetDragImageRect
Method
TVTDragImage Class
Pascal
function GetDragImageRect: TRect;
Description
Returns the current size and position of the drag image
(screen coordinates).
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.HideDragImage Method
TVTDragImage Class
Not documented.
Pascal
procedure HideDragImage;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.InternalShowDragImage
Method
TVTDragImage Class
Frequently called helper routine to actually do the blend and
put it onto
Pascal
procedure InternalShowDragImage(ScreenDC: HDC);
Description
Frequently called helper routine to actually do the blend and
put it onto the screen. Only used if the system does not
support drag images.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.MakeAlphaChannel
Method
TVTDragImage Class
Not documented.
Pascal
procedure MakeAlphaChannel(Source: TBitmap; Target: TBitmap);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.PrepareDrag Method
TVTDragImage Class
Pascal
procedure PrepareDrag(DragImage: TBitmap; ImagePosition: TPoi
Description
ImagePostion and Hotspot are given in screen coordinates.
The first determines where to place the drag image while the
second is the initial mouse position. This method also
determines whether the system supports drag images
natively. If so then only minimal structures are created.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.RecaptureBackground
Method
TVTDragImage Class
Notification by the drop target tree to update the background
image because something in the tree has changed.
Pascal
procedure RecaptureBackground(Tree: TBaseVirtualTree; R: TRec
Notes
The passed rectangle is given in client coordinates of the
current drop target tree (given in Tree). The caller does not
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.ShowDragImage Method
TVTDragImage Class
Pascal
procedure ShowDragImage;
Description
Also this method does nothing if the system manages the drag
image.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragImage.WillMove Method
TVTDragImage Class
Pascal
function WillMove(P: TPoint): Boolean;
Description
This method determines whether the drag image would
"physically" move when DragTo would be called with the same
target point. Always returns false if the system drag image
support is available.
Class
TVTDragImage Class
Links
TVTDragImage Class
TVTDragManager Class
Classes | Methods | Properties | Legend
Not documented.
Pascal
TVTDragManager = class(TInterfacedObject, IVTDragManager
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Methods
Create
Not documented.
Destroy
Not documented.
DragEnter
Not documented.
DragLeave
Not documented.
DragOver
Not documented.
Drop
Not documented.
ForceDragLeave
This method calls the drop target helper's DragLeave method to
ensure it removes the drag image from screen.
GiveFeedback
Not documented.
QueryContinueDrag
Not documented.
IVTDragManager Interface
ForceDragLeave
Not documented.
GetDataObject
Not documented.
GetDragSource
Not documented.
GetDropTargetHelperSupported
Not documented.
GetIsDropTarget
Not documented.
Properties
IVTDragManager Interface
DataObject
Not documented.
DragSource
Not documented.
DropTargetHelperSupported
Not documented.
IsDropTarget
Not documented.
Legend
public
Method
virtual
Property
read only
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVTDragManager.Create Constructor
TVTDragManager Class
Not documented.
Pascal
constructor Create(AOwner: TBaseVirtualTree); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.Destroy Destructor
TVTDragManager Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.DragEnter Method
TVTDragManager Class
Not documented.
Pascal
function DragEnter(const DataObject: IDataObject; KeyState: I
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.DragLeave Method
TVTDragManager Class
Not documented.
Pascal
function DragLeave: HResult; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.DragOver Method
TVTDragManager Class
Not documented.
Pascal
function DragOver(KeyState: Integer; Pt: TPoint; var Effect:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.Drop Method
TVTDragManager Class
Not documented.
Pascal
function Drop(const DataObject: IDataObject; KeyState: Intege
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.ForceDragLeave
Method
TVTDragManager Class
Pascal
procedure ForceDragLeave; stdcall;
Description
This method calls the drop target helper's DragLeave method
to ensure it removes the drag image from screen.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.GiveFeedback Method
TVTDragManager Class
Not documented.
Pascal
function GiveFeedback(Effect: Integer): HResult; stdcall
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTDragManager.QueryContinueDrag
Method
TVTDragManager Class
Not documented.
Pascal
function QueryContinueDrag(EscapePressed: BOOL; KeyState: Int
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTDragManager Class
Links
TVTDragManager Class
TVTEdit Class
Classes | Methods | Properties | Legend
Not documented.
Pascal
TVTEdit = class(TCustomEdit);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Properties
AutoSelect
Not documented.
AutoSize
Not documented.
BorderStyle
Not documented.
CharCase
Not documented.
HideSelection
Not documented.
MaxLength
Not documented.
OEMConvert
Not documented.
PasswordChar
Not documented.
Methods
AutoAdjustSize
Not documented.
Create
Not documented.
CreateParams
Not documented.
Release
Not documented.
Legend
public
Property
protected
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
What do you think about this topic? Send feedback!
TVTEdit Class | TVTEdit.AutoSize
Property
TVTEdit.AutoSelect Property
TVTEdit Class
Not documented.
Pascal
property AutoSelect;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.AutoSize Property
TVTEdit Class
Not documented.
Pascal
property AutoSize;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.BorderStyle Property
TVTEdit Class
Not documented.
Pascal
property BorderStyle;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.CharCase Property
TVTEdit Class
Not documented.
Pascal
property CharCase;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.HideSelection Property
TVTEdit Class
Not documented.
Pascal
property HideSelection;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.MaxLength Property
TVTEdit Class
Not documented.
Pascal
property MaxLength;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.OEMConvert Property
TVTEdit Class
Not documented.
Pascal
property OEMConvert;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.PasswordChar Property
TVTEdit Class
Not documented.
Pascal
property PasswordChar;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.AutoAdjustSize Method
TVTEdit Class
Not documented.
Pascal
procedure AutoAdjustSize;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.Create Constructor
TVTEdit Class
Not documented.
Pascal
constructor Create(Link: TStringEditLink); reintroduce
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.CreateParams Method
TVTEdit Class
Not documented.
Pascal
procedure CreateParams(var Params: TCreateParams); override
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTEdit.Release Method
TVTEdit Class
Not documented.
Pascal
procedure Release; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTEdit Class
Links
TVTEdit Class
TVTHeader Class
Classes | Methods | Properties | Legend
Not documented.
Pascal
TVTHeader = class(TPersistent);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Properties
AutoSizeIndex
Not documented.
Background
Not documented.
Columns
Not documented.
DragImage
Not documented.
Font
Not documented.
Height
Not documented.
Images
Not documented.
MainColumn
Not documented.
Options
Not documented.
ParentFont
Not documented.
PopupMenu
Not documented.
SortColumn
Not documented.
SortDirection
Not documented.
States
Not documented.
Style
Not documented.
Treeview
Not documented.
UseColumns
Not documented.
Methods
Assign
Not documented.
AutoFitColumns
Not documented.
CanWriteColumns
Not documented.
ChangeScale
Not documented.
Create
Not documented.
Destroy
Not documented.
DetermineSplitterIndex
Tries to find the index of that column whose right border corresponds
to P.
DragTo
Moves the drag image to a new position, which is determined from the
passed point P and the previous mouse position.
GetColumnsClass
Returns the class to be used for the actual column implementation.
GetOwner
Not documented.
GetShiftState
Not documented.
HandleHeaderMouseMove
Not documented.
HandleMessage
General message handler for the header.
ImageListChange
Not documented.
InHeader
Determines whether the given point (client coordinates!) is within the
header rectangle (non-client coordinates).
Invalidate
Invalidates the entire header or parts of it so they are repainted.
LoadFromStream
Restores the state of the header from the given stream.
PrepareDrag
Initializes dragging of the header, P is the current mouse postion and
Start the initial mouse position.
ReadColumns
Not documented.
RecalculateHeader
Initiate a recalculation of the non-client area of the owner tree.
RestoreColumns
Restores all columns to their width which they had before they have
been auto fitted.
SaveToStream
Saves the complete state of the header into the provided stream.
UpdateMainColumn
Called once the load process of the owner tree is done.
UpdateSpringColumns
Not documented.
WriteColumns
Not documented.
Legend
published
Property
public
read only
Method
virtual
protected
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TVTHeader.AutoSizeIndex Property
TVTHeader Class
Not documented.
Pascal
property AutoSizeIndex: TColumnIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Background Property
TVTHeader Class
Not documented.
Pascal
property Background: TColor;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Columns Property
TVTHeader Class
Not documented.
Pascal
property Columns: TVirtualTreeColumns;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.DragImage Property
TVTHeader Class
Not documented.
Pascal
property DragImage: TVTDragImage;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Font Property
TVTHeader Class
Not documented.
Pascal
property Font: TFont;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Height Property
TVTHeader Class
Not documented.
Pascal
property Height: Cardinal;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Images Property
TVTHeader Class
Not documented.
Pascal
property Images: TCustomImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.MainColumn Property
TVTHeader Class
Not documented.
Pascal
property MainColumn: TColumnIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Options Property
TVTHeader Class
Not documented.
Pascal
property Options: TVTHeaderOptions;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.ParentFont Property
TVTHeader Class
Not documented.
Pascal
property ParentFont: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.PopupMenu Property
TVTHeader Class
Not documented.
Pascal
property PopupMenu: TPopupMenu;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.SortColumn Property
TVTHeader Class
Not documented.
Pascal
property SortColumn: TColumnIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.SortDirection Property
TVTHeader Class
Not documented.
Pascal
property SortDirection: TSortDirection;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.States Property
TVTHeader Class
Not documented.
Pascal
property States: THeaderStates;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Style Property
TVTHeader Class
Not documented.
Pascal
property Style: TVTHeaderStyle;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Treeview Property
TVTHeader Class
Not documented.
Pascal
property Treeview: TBaseVirtualTree;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.UseColumns Property
TVTHeader Class
Not documented.
Pascal
property UseColumns: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Assign Method
TVTHeader Class
Not documented.
Pascal
procedure Assign(Source: TPersistent); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.AutoFitColumns Method
TVTHeader Class
Not documented.
Pascal
procedure AutoFitColumns(Animated: Boolean = True);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.CanWriteColumns Method
TVTHeader Class
Not documented.
Pascal
function CanWriteColumns: Boolean; virtual;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.ChangeScale Method
TVTHeader Class
Not documented.
Pascal
procedure ChangeScale(M: Integer; D: Integer); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Create Constructor
TVTHeader Class
Not documented.
Pascal
constructor Create(AOwner: TBaseVirtualTree); virtual
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Destroy Destructor
TVTHeader Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.DetermineSplitterIndex
Method
TVTHeader Class
Pascal
function DetermineSplitterIndex(P: TPoint): Boolean;
Description
Result is rrue if column border was hit (with -3..+5 pixels
tolerance). For continuous resizing the current track index and
the column's left border are set.
Notes
The hit test is checking from right to left to make enlarging of
zero-sized columns possible.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.DragTo Method
TVTHeader Class
Pascal
procedure DragTo(P: TPoint);
Description
Moves the drag image to a new position, which is determined
from the passed point P and the previous mouse position.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.GetColumnsClass Method
TVTHeader Class
Pascal
function GetColumnsClass: TVirtualTreeColumnsClass; virtual
Description
Descentants may optionally override this and return their own
class.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.GetOwner Method
TVTHeader Class
Not documented.
Pascal
function GetOwner: TPersistent; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.GetShiftState Method
TVTHeader Class
Not documented.
Pascal
function GetShiftState: TShiftState;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.HandleHeaderMouseMove
Method
TVTHeader Class
Not documented.
Pascal
function HandleHeaderMouseMove(var Message: TWMMouseMove): Bo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.HandleMessage Method
TVTHeader Class
Pascal
function HandleMessage(var Message: TMessage): Boolean;
Description
The header gets here the opportunity to handle certain
messages before they reach the tree. This is important
because the tree needs to handle various non-client area
messages for the header as well as some dragging/tracking
events. By returning True the message will not be handled
further, otherwise the message is then dispatched to the
proper message handlers.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.ImageListChange Method
TVTHeader Class
Not documented.
Pascal
procedure ImageListChange(Sender: TObject);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.InHeader Method
TVTHeader Class
Pascal
function InHeader(P: TPoint): Boolean; virtual;
Description
Determines whether the given point (client coordinates!) is
within the header rectangle (non-client coordinates).
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.Invalidate Method
TVTHeader Class
Pascal
procedure Invalidate(Column: TVirtualTreeColumn; ExpandToRigh
Description
Because the header is in the non-client area of the tree it
needs some special handling in order to initiate its repainting.
If ExpandToRight is true then not only the given column but
everything to its right will be invalidated (useful for resizing).
This makes only sense when a column is given.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.LoadFromStream Method
TVTHeader Class
Pascal
procedure LoadFromStream(const Stream: TStream); virtual
Description
Restores the state of the header from the given stream.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.PrepareDrag Method
TVTHeader Class
Pascal
procedure PrepareDrag(P: TPoint; Start: TPoint);
Description
Initializes dragging of the header, P is the current mouse
postion and Start the initial mouse position.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.ReadColumns Method
TVTHeader Class
Not documented.
Pascal
procedure ReadColumns(Reader: TReader);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.RecalculateHeader Method
TVTHeader Class
Pascal
procedure RecalculateHeader; virtual;
Description
Initiate a recalculation of the non-client area of the owner tree.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.RestoreColumns Method
TVTHeader Class
Restores all columns to their width which they had before they
have been auto fitted.
Pascal
procedure RestoreColumns;
Description
Restores all columns to their width which they had before they
have been auto fitted.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.SaveToStream Method
TVTHeader Class
Pascal
procedure SaveToStream(const Stream: TStream); virtual
Description
Saves the complete state of the header into the provided
stream.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.UpdateMainColumn Method
TVTHeader Class
Pascal
procedure UpdateMainColumn;
Description
Called once the load process of the owner tree is done.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.UpdateSpringColumns
Method
TVTHeader Class
Not documented.
Pascal
procedure UpdateSpringColumns;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeader.WriteColumns Method
TVTHeader Class
Not documented.
Pascal
procedure WriteColumns(Writer: TWriter);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeader Class
Links
TVTHeader Class
TVTHeaderPopupMenu Class
Events | Classes | Methods | Properties | Legend
Not documented.
Pascal
TVTHeaderPopupMenu = class(TPopupMenu);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Events
OnAddHeaderPopupItem
Not documented.
OnColumnChange
Not documented.
Properties
Options
Not documented.
Methods
DoAddHeaderPopupItem
Not documented.
DoColumnChange
Not documented.
OnMenuItemClick
Not documented.
Popup
Not documented.
Legend
published
Event
Property
protected
Method
virtual
public
Class Hierarchy
File
VTHeaderPopup
Links
Events, Classes, Methods, Properties, Legend
TVTHeaderPopupMenu.OnAddHeaderPopupItem
Event
TVTHeaderPopupMenu Class
Not documented.
Pascal
property OnAddHeaderPopupItem: TAddHeaderPopupItemEvent
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeaderPopupMenu Class
Links
TVTHeaderPopupMenu Class
TVTHeaderPopupMenu.OnColumnChange
Event
TVTHeaderPopupMenu Class
Not documented.
Pascal
property OnColumnChange: TColumnChangeEvent;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeaderPopupMenu Class
Links
TVTHeaderPopupMenu Class
TVTHeaderPopupMenu.Options Property
TVTHeaderPopupMenu Class
Not documented.
Pascal
property Options: TVTHeaderPopupOptions;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeaderPopupMenu Class
Links
TVTHeaderPopupMenu Class
TVTHeaderPopupMenu.DoAddHeaderPopupItem
Method
TVTHeaderPopupMenu Class
Not documented.
Pascal
procedure DoAddHeaderPopupItem(const Column: TColumnIndex
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeaderPopupMenu Class
Links
TVTHeaderPopupMenu Class
TVTHeaderPopupMenu.DoColumnChange
Method
TVTHeaderPopupMenu Class
Not documented.
Pascal
procedure DoColumnChange(Column: TColumnIndex; Visible: Boole
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeaderPopupMenu Class
Links
TVTHeaderPopupMenu Class
TVTHeaderPopupMenu.OnMenuItemClick
Method
TVTHeaderPopupMenu Class
Not documented.
Pascal
procedure OnMenuItemClick(Sender: TObject);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeaderPopupMenu Class
Links
TVTHeaderPopupMenu Class
TVTHeaderPopupMenu.Popup Method
TVTHeaderPopupMenu Class
Not documented.
Pascal
procedure Popup(x: Integer; y: Integer); override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TVTHeaderPopupMenu Class
Links
TVTHeaderPopupMenu Class
TWideBufferedString Class
Classes | Methods | Properties | Legend
Not documented.
Pascal
TWideBufferedString = class;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Properties
AsString
Not documented.
Methods
Add
Not documented.
AddNewLine
Not documented.
Destroy
Not documented.
Legend
public
Property
read only
Method
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TWideBufferedString.AsString Property
TWideBufferedString Class
Not documented.
Pascal
property AsString: WideString;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWideBufferedString Class
Links
TWideBufferedString Class
TWideBufferedString.Add Method
TWideBufferedString Class
Not documented.
Pascal
procedure Add(const S: WideString);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWideBufferedString Class
Links
TWideBufferedString Class
TWideBufferedString.AddNewLine
Method
TWideBufferedString Class
Not documented.
Pascal
procedure AddNewLine;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWideBufferedString Class
Links
TWideBufferedString Class
TWideBufferedString.Destroy Destructor
TWideBufferedString Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWideBufferedString Class
Links
TWideBufferedString Class
TWorkerThread Class
Classes | Methods | Properties | Legend
Not documented.
Pascal
TWorkerThread = class(TThread);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Members
Properties
CurrentTree
Not documented.
Methods
AddTree
Not documented.
ChangeTreeStates
Not documented.
Create
Not documented.
Destroy
Not documented.
Execute
Not documented.
RemoveTree
Not documented.
Legend
public
Property
read only
Method
protected
virtual
Class Hierarchy
File
VirtualTrees
Links
Classes, Methods, Properties, Legend
TWorkerThread.CurrentTree Property
TWorkerThread Class
Not documented.
Pascal
property CurrentTree: TBaseVirtualTree;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWorkerThread Class
Links
TWorkerThread Class
TWorkerThread.AddTree Method
TWorkerThread Class
Not documented.
Pascal
procedure AddTree(Tree: TBaseVirtualTree);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWorkerThread Class
Links
TWorkerThread Class
TWorkerThread.ChangeTreeStates
Method
TWorkerThread Class
Not documented.
Pascal
procedure ChangeTreeStates(EnterStates: TChangeStates
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWorkerThread Class
Links
TWorkerThread Class
TWorkerThread.Create Constructor
TWorkerThread Class
Not documented.
Pascal
constructor Create(CreateSuspended: Boolean);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWorkerThread Class
Links
TWorkerThread Class
TWorkerThread.Destroy Destructor
TWorkerThread Class
Not documented.
Pascal
destructor Destroy; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWorkerThread Class
Links
TWorkerThread Class
TWorkerThread.Execute Method
TWorkerThread Class
Not documented.
Pascal
procedure Execute; override;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWorkerThread Class
Links
TWorkerThread Class
TWorkerThread.RemoveTree Method
TWorkerThread Class
Not documented.
Pascal
procedure RemoveTree(Tree: TBaseVirtualTree);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Class
TWorkerThread Class
Links
TWorkerThread Class
TWriterHack Class
Classes
Not documented.
Pascal
TWriterHack = class(TFiler);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Classes
Class Hierarchy
File
VirtualTrees
Links
Classes
Functions
Functions | Virtual Treeview | Legend
Functions
AlphaBlend
General purpose procedure to blend one bitmap to another.
DrawTextW
Paint support procedure.
EnumerateVTClipboardFormats
Not documented.
EnumerateVTClipboardFormats
Not documented.
GetVTClipboardFormatDescription
Not documented.
PrtStretchDrawDIB
Not documented.
RegisterVTClipboardFormat
Methods to register a certain clipboard format for a given tree class.
RegisterVTClipboardFormat
Methods to register a certain clipboard format for a given tree class.
ShortenString
General purpose routine to shorten a Unicode string to a given
maximum size.
TreeFromNode
General purpose routine to get the tree to which a node belongs.
Group
Virtual Treeview
Legend
Function
Links
Functions, Virtual Treeview, Legend
AlphaBlend Function
Functions
Pascal
procedure AlphaBlend(Source: HDC; Destination: HDC; R: TRect;
Description
This is an optimized alpha blend procedure using MMX
instructions to perform as quick as possible. For this
procedure to work properly it is important that both source and
target bitmap use the 32 bit color format (pf32Bit for TBitmap).
R describes the source rectangle to work on, while Target is
the place (upper left corner) in the target bitmap where to
blend to. Note that source width + X offset must be less or
equal to the target width. Similar for the height.
Notes
This procedure does not check whether MMX instructions are
actually available! Call it only if MMX is really usable,
Group
Functions
File
VirtualTrees
Links
Functions
DrawTextW Function
Functions
Pascal
procedure DrawTextW(DC: HDC; lpString: PWideChar; nCount: Int
Description
This procedure implements a subset of Window's DrawText
API for Unicode which is not available for Windows 95, 98 and
ME. For a description of the parameters see DrawText in the
online help.
DT_LEFT
DT_TOP
DT_CALCRECT
DT_NOCLIP
DT_RTLREADING
DT_SINGLELINE
DT_VCENTER
Notes
When running on any NT windows version (Windows NT 4.0,
Windows 2000., Windows XP and up) the native windows API
is used
Group
Functions
File
VirtualTrees
Links
Functions
EnumerateVTClipboardFormats Function
Functions
Not documented.
Pascal
procedure EnumerateVTClipboardFormats(TreeClass: TVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Functions
File
VirtualTrees
Links
Functions
EnumerateVTClipboardFormats Function
Functions
Not documented.
Pascal
procedure EnumerateVTClipboardFormats(TreeClass: TVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Functions
File
VirtualTrees
Links
Functions
GetVTClipboardFormatDescription
Function
Functions
Not documented.
Pascal
function GetVTClipboardFormatDescription(AFormat: Word):
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Functions
File
VirtualTrees
Links
Functions
PrtStretchDrawDIB Function
Functions
Not documented.
Pascal
procedure PrtStretchDrawDIB(Canvas: TCanvas; DestRect: TRect;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Functions
File
VirtualTrees
Links
Functions
RegisterVTClipboardFormat Function
Functions
Pascal
procedure RegisterVTClipboardFormat(AFormat: Word; TreeClass:
function RegisterVTClipboardFormat(Description: string
Description
Registration with the clipboard is done here too and the
assigned ID returned by the function. tymed may contain or'ed
TYMED constants which allows to register several storage
formats for one clipboard format.
Group
Functions
File
VirtualTrees
Links
Functions
ShortenString Function
Functions
Pascal
function ShortenString(DC: HDC; const S: WideString; Width: I
Description
Adjusts the given string S so that it fits into the given width.
DC holds the handle to a valid device context which can be
used to determine the width of a string. Of couse, this device
context should be set up with the proper values for the current
font. EllipsisWidth gives the width (in logical units) of the
three points to be added to the shorted string. If this value is 0
then it will be determined implicitely. For higher speed (and
multiple entries to be shorted) specify this value explicitely.
RTL determines if right-to-left reading is active, which is
needed to put the ellipsisis on the correct side. The result is
the left part of the string which fits into the given space plus
the ellipsisis.
Notes
It is assumed that the string really needs shortage. Check this
in advance.
Group
Functions
File
VirtualTrees
Links
Functions
TreeFromNode Function
Functions
Pascal
function TreeFromNode(Node: PVirtualNode): TBaseVirtualTree
Description
For obvious reasons it makes no sense to store the reference
to a tree in each node record, but sometimes there might arise
the need to know to which tree a node belongs. This is not
often the case but is necessary e.g. for optimized moves in
drag'n drop or cut'n paste operations.
Group
Functions
File
VirtualTrees
Links
Functions
These are all structs and records that are contained in this
documentation.
Enumerations
TVTTooltipLineBreakStyle
Not documented.
Group
Virtual Treeview
Records
TBaseChunk
Not documented.
TBaseChunkBody
Not documented.
TCacheEntry
Not documented.
TChunkHeader
Not documented.
TClipboardFormatEntry
Not documented.
TClipboardFormatListEntry
Not documented.
THeaderPaintInfo
Not documented.
THitInfo
Not documented.
TInternalStgMedium
Not documented.
TRealWMNCPaint
Not documented.
TSHDragImage
Not documented.
TToggleAnimationData
Not documented.
TVirtualNode
Not documented.
TVTHintData
Not documented.
TVTImageInfo
Not documented.
TVTPaintInfo
Not documented.
TVTReference
Not documented.
TWMPrint
Not documented.
Legend
Struct
Links
Enumerations, Virtual Treeview, Records, Legend
TBaseChunk Record
Structs and Records
Not documented.
Pascal
TBaseChunk = packed record
Header: TChunkHeader;
Body: TBaseChunkBody;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TBaseChunkBody Record
Structs and Records
Not documented.
Pascal
TBaseChunkBody = packed record
ChildCount: Cardinal;
NodeHeight: Cardinal;
States: TVirtualNodeStates;
Align: Byte;
CheckState: TCheckState;
CheckType: TCheckType;
Reserved: Cardinal;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TCacheEntry Record
Structs and Records
Not documented.
Pascal
TCacheEntry = record
Node: PVirtualNode;
AbsoluteTop: Cardinal;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TChunkHeader Record
Structs and Records
Not documented.
Pascal
TChunkHeader = record
ChunkSize: Integer;
ChunkType: Integer;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TClipboardFormatEntry Record
Structs and Records
Not documented.
Pascal
TClipboardFormatEntry = record
ID: Word;
Description: string;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TClipboardFormatListEntry Record
Structs and Records
Not documented.
Pascal
TClipboardFormatListEntry = record
Description: string;
TreeClass: TVirtualTreeClass;
Priority: Cardinal;
FormatEtc: TFormatEtc;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
File
VirtualTrees
Links
Structs and Records
THeaderPaintInfo Record
Structs and Records
Not documented.
Pascal
THeaderPaintInfo = record
TargetCanvas: TCanvas;
Column: TVirtualTreeColumn;
PaintRectangle: TRect;
TextRectangle: TRect;
IsDownIndex: Boolean;
IsEnabled: Boolean;
IsHoverIndex: Boolean;
ShowHeaderGlyph: Boolean;
ShowRightBorder: Boolean;
ShowSortGlyph: Boolean;
DropMark: TVTDropMarkMode;
GlyphPos: TPoint;
SortGlyphPos: TPoint;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
THitInfo Record
Structs and Records
Not documented.
Pascal
THitInfo = record
HitNode: PVirtualNode;
HitPositions: THitPositions;
HitColumn: TColumnIndex;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TInternalStgMedium Record
Structs and Records
Not documented.
Pascal
TInternalStgMedium = packed record
Format: TClipFormat;
Medium: TStgMedium;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TRealWMNCPaint Record
Structs and Records
Not documented.
Pascal
TRealWMNCPaint = packed record
Msg: Cardinal;
Rgn: HRGN;
lParam: Integer;
Result: Integer;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TSHDragImage Record
Structs and Records
Not documented.
Pascal
TSHDragImage = packed record
sizeDragImage: TSize;
ptOffset: TPoint;
hbmpDragImage: HBITMAP;
ColorRef: TColorRef;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TToggleAnimationData Record
Structs and Records
Not documented.
Pascal
TToggleAnimationData = record
Expand: Boolean;
Window: HWND;
DC: HDC;
Brush: HBRUSH;
R: TRect;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
File
VirtualTrees
Links
Structs and Records
TVirtualNode Record
Structs and Records
Not documented.
Pascal
TVirtualNode = packed record
ChildCount: Cardinal;
Index: Cardinal;
NodeHeight: Word;
States: TVirtualNodeStates;
Align: Byte;
CheckState: TCheckState;
CheckType: TCheckType;
Dummy: Byte;
TotalCount: Cardinal;
TotalHeight: Cardinal;
FirstChild: PVirtualNode;
LastChild: PVirtualNode;
NextSibling: PVirtualNode;
Parent: PVirtualNode;
PrevSibling: PVirtualNode;
Data: record;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
NodeHeight: Word; height in pixels
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TVTHintData Record
Structs and Records
Not documented.
Pascal
TVTHintData = record
Tree: TBaseVirtualTree;
Node: PVirtualNode;
Column: TColumnIndex;
HintRect: TRect;
DefaultHint: WideString;
HintText: WideString;
BidiMode: TBidiMode;
Alignment: TAlignment;
LineBreakStyle: TVTToolTipLineBreakStyle;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
used for draw trees only, string
HintRect: TRect; trees get the size from the hint
string
used only if there is no node
DefaultHint: WideString; specific hint string available or a
header hint is about to appear
HintText: WideString; set when size of the hint window
is calculated
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TVTImageInfo Record
Structs and Records
Not documented.
Pascal
TVTImageInfo = record
Index: Integer;
XPos: Integer;
YPos: Integer;
Ghosted: Boolean;
Images: TCustomImageList;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Index: Integer; index in the associated image list
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TVTPaintInfo Record
Structs and Records
Not documented.
Pascal
TVTPaintInfo = record
Canvas: TCanvas;
PaintOptions: TVTInternalPaintOptions;
Node: PVirtualNode;
Column: TColumnIndex;
Position: TColumnPosition;
CellRect: TRect;
ContentRect: TRect;
NodeWidth: Integer;
Alignment: TAlignment;
BidiMode: TBidiMode;
BrushOrigin: TPoint;
ImageInfo: array[TVTImageInfoIndex] of TVTImageInfo
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Canvas: TCanvas; the canvas to paint on
PaintOptions: a copy of the paint options
TVTInternalPaintOptions; passed to PaintTree
Node: PVirtualNode; the node to paint
Column: TColumnIndex; the node's column index to paint
Position:
TColumnPosition; the column position of the node
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TVTReference Record
Structs and Records
Not documented.
Pascal
TVTReference = record
Process: Cardinal;
Tree: TBaseVirtualTree;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TVTTooltipLineBreakStyle Enumeration
Structs and Records
Not documented.
Pascal
TVTTooltipLineBreakStyle = (hlbDefault, hlbForceSingleLine, h
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
TWMPrint Record
Structs and Records
Not documented.
Pascal
TWMPrint = packed record
Msg: Cardinal;
DC: HDC;
Flags: Cardinal;
Result: Integer;
end;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Structs and Records
File
VirtualTrees
Links
Structs and Records
Types
Enumerations | Virtual Treeview | Types | Legend
Enumerations
TAddPopupItemType
Not documented.
TBlendMode
Not documented.
TChangeReason
Not documented.
TCheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
TCheckState
Returns the current state of a node's check box, radio button or node
button.
TCheckType
Not documented.
TDragOperation
Not documented.
TDropMode
Not documented.
THeaderState
Not documented.
THintAnimationType
Not documented.
THitPosition
Not documented.
TItemEraseAction
Not documented.
TScrollBarStyle
Not documented.
TSortDirection
Not documented.
TVirtualNodeInitState
Not documented.
TVirtualNodeState
Not documented.
TVirtualTreeColumnStyle
Not documented.
TVSTTextSourceType
Not documented.
TVSTTextType
Not documented.
TVTAnimationOption
Not documented.
TVTAutoOption
Not documented.
TVTButtonFillMode
Determines how the interior of nodes buttons should be drawn.
TVTButtonStyle
Not documented.
TVTColumnOption
Not documented.
TVTDragImageKind
Not documented.
TVTDragMoveRestriction
Not documented.
TVTDragType
Not documented.
TVTDrawSelectionMode
Not documented.
TVTDropMarkMode
Not documented.
TVTHeaderColumnLayout
Not documented.
TVTHeaderOption
Not documented.
TVTHeaderPopupOption
Not documented.
TVTHeaderStyle
Not documented.
TVTHintMode
Not documented.
TVTImageInfoIndex
Not documented.
TVTImageKind
Not documented.
TVTIncrementalSearch
Not documented.
TVTInternalPaintOption
Not documented.
TVTLineMode
Not documented.
TVTLineStyle
Not documented.
TVTLineType
Not documented.
TVTMiscOption
Not documented.
TVTNodeAlignment
Not documented.
TVTNodeAttachMode
Not documented.
TVTPaintOption
Not documented.
TVTSearchDirection
Not documented.
TVTSearchStart
Not documented.
TVTSelectionOption
Not documented.
TVTStringOption
Not documented.
TVTUpdateState
Not documented.
Group
Virtual Treeview
Types
PCardinal
Not documented.
PClipboardFormatListEntry
Not documented.
PSHDragImage
Not documented.
PVirtualNode
Not documented.
PVTHintData
Not documented.
PVTReference
Not documented.
TAddHeaderPopupItemEvent
Not documented.
TAutoScrollInterval
Not documented.
TCache
Not documented.
TCardinalArray
Not documented.
TChangeStates
Not documented.
TColumnChangeEvent
Not documented.
TColumnIndex
Not documented.
TColumnPosition
Not documented.
TColumnsArray
Not documented.
TDragOperations
Not documented.
TFormatArray
Not documented.
TFormatEtcArray
Not documented.
TGetFirstNodeProc
Not documented.
TGetNextNodeProc
Not documented.
THeaderPaintElements
Not documented.
THeaderStates
Not documented.
THitPositions
Not documented.
TImageIndex
Not documented.
TIndexArray
Not documented.
TInternalStgMediumArray
Not documented.
TLineImage
Not documented.
TMagicID
Not documented.
TMouseButtons
Not documented.
TNodeArray
Not documented.
TScrollDirections
Not documented.
TScrollUpdateOptions
Not documented.
TTreeOptionsClass
Not documented.
TVirtualNodeInitStates
Not documented.
TVirtualNodeStates
Not documented.
TVirtualTreeClass
Not documented.
TVirtualTreeColumnClass
Not documented.
TVirtualTreeColumnsClass
Not documented.
TVirtualTreeStates
Not documented.
TVSTGetTextEvent
Not documented.
TVSTNewTextEvent
Not documented.
TVSTShortenStringEvent
Not documented.
TVTAdvancedHeaderPaintEvent
Not documented.
TVTAfterCellPaintEvent
Not documented.
TVTAfterItemEraseEvent
Not documented.
TVTAfterItemPaintEvent
Not documented.
TVTAnimationCallback
Not documented.
TVTAnimationOptions
Not documented.
TVTAutoOptions
Not documented.
TVTBackgroundPaintEvent
Not documented.
TVTBeforeCellPaintEvent
Not documented.
TVTBeforeItemEraseEvent
Not documented.
TVTBeforeItemPaintEvent
Not documented.
TVTBias
Not documented.
TVTChangeEvent
Not documented.
TVTChangingEvent
Not documented.
TVTCheckChangingEvent
Not documented.
TVTColumnClickEvent
Not documented.
TVTColumnDblClickEvent
Not documented.
TVTColumnOptions
Not documented.
TVTCompareEvent
Not documented.
TVTCreateDataObjectEvent
Not documented.
TVTCreateDragManagerEvent
Not documented.
TVTCreateEditorEvent
Not documented.
TVTDragAllowedEvent
Not documented.
TVTDragDropEvent
Not documented.
TVTDragImageStates
Not documented.
TVTDragOverEvent
Not documented.
TVTDrawHintEvent
Not documented.
TVTDrawNodeEvent
Not documented.
TVTEditCancelEvent
Not documented.
TVTEditChangeEvent
Not documented.
TVTEditChangingEvent
Not documented.
TVTFocusChangeEvent
Not documented.
TVTFocusChangingEvent
Not documented.
TVTFreeNodeEvent
Not documented.
TVTGetCursorEvent
Not documented.
TVTGetHeaderCursorEvent
Not documented.
TVTGetHintSizeEvent
Not documented.
TVTGetImageEvent
Not documented.
TVTGetLineStyleEvent
Not documented.
TVTGetNodeDataSizeEvent
Not documented.
TVTGetNodeProc
Not documented.
TVTGetNodeWidthEvent
Not documented.
TVTGetUserClipboardFormatsEvent
Not documented.
TVTHeaderClass
Not documented.
TVTHeaderClickEvent
Not documented.
TVTHeaderDraggedEvent
Not documented.
TVTHeaderDraggedOutEvent
Not documented.
TVSTGetHintEvent
Not documented.
TVTHeaderDraggingEvent
Not documented.
TVTHeaderMouseEvent
Not documented.
TVTHeaderMouseMoveEvent
Not documented.
TVTHeaderNotifyEvent
Not documented.
TVTHeaderOptions
Not documented.
TVTHeaderPaintEvent
Not documented.
TVTHeaderPaintQueryElementsEvent
Not documented.
TVTHeaderPopupOptions
Not documented.
TVTHelpContextEvent
Not documented.
TVTHotNodeChangeEvent
Not documented.
TVTIncrementalSearchEvent
Not documented.
TVTInitChildrenEvent
Not documented.
TVTInitNodeEvent
Not documented.
TVTInternalPaintOptions
Not documented.
TVTKeyActionEvent
Not documented.
TVTMeasureItemEvent
Not documented.
TVTMiscOptions
Not documented.
TVTNodeCopiedEvent
Not documented.
TVTNodeCopyingEvent
Not documented.
TVTNodeMovedEvent
Not documented.
TVTNodeMovingEvent
Not documented.
TVTPaintEvent
Not documented.
TVTPaintOptions
Not documented.
TVTPaintText
Not documented.
TVTPopupEvent
Not documented.
TVTRenderOLEDataEvent
Not documented.
TVTSaveNodeEvent
Not documented.
TVTScrollEvent
Not documented.
TVTScrollIncrement
Not documented.
TVTSelectionOptions
Not documented.
TVTStateChangeEvent
Not documented.
TVTStringOptions
Not documented.
TVTStructureChangeEvent
Not documented.
TVTTransparency
Not documented.
TVTUpdatingEvent
Not documented.
TWMContextMenu
Not documented.
TWMPrintClient
Not documented.
TVTGetCellIsEmptyEvent
Not documented.
TVTGetImageExEvent
Not documented.
TVTMenuItem
Not documented.
TVTScrollbarShowEvent
Not documented.
Legend
Type
Struct
Links
Enumerations, Virtual Treeview, Types, Legend
PCardinal Type
Types
Not documented.
Pascal
PCardinal = ^Cardinal;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
PClipboardFormatListEntry Type
Types
Not documented.
Pascal
PClipboardFormatListEntry = ^TClipboardFormatListEntry
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
PSHDragImage Type
Types
Not documented.
Pascal
PSHDragImage = ^TSHDragImage;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
PVirtualNode Type
Types
Not documented.
Pascal
PVirtualNode = ^TVirtualNode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
PVTHintData Type
Types
Not documented.
Pascal
PVTHintData = ^TVTHintData;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
PVTReference Type
Types
Not documented.
Pascal
PVTReference = ^TVTReference;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TAddHeaderPopupItemEvent Type
Types
Not documented.
Pascal
TAddHeaderPopupItemEvent = procedure (const Sender: TBaseVirt
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VTHeaderPopup
Links
Types
TAutoScrollInterval Type
Types
Not documented.
Pascal
TAutoScrollInterval = 1..1000;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TCache Type
Types
Not documented.
Pascal
TCache = array of TCacheEntry;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TCardinalArray Type
Types
Not documented.
Pascal
TCardinalArray = array of Cardinal;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TChangeStates Type
Types
Not documented.
Pascal
TChangeStates = set of ( csStopValidation, csUseCache, csVali
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TColumnChangeEvent Type
Types
Not documented.
Pascal
TColumnChangeEvent = procedure (const Sender: TBaseVirtualTre
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VTHeaderPopup
Links
Types
TColumnIndex Type
Types
Not documented.
Pascal
TColumnIndex = type Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TColumnPosition Type
Types
Not documented.
Pascal
TColumnPosition = type Cardinal;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TColumnsArray Type
Types
Not documented.
Pascal
TColumnsArray = array of TVirtualTreeColumn;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TDragOperations Type
Types
Not documented.
Pascal
TDragOperations = set of TDragOperation;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TFormatArray Type
Types
Not documented.
Pascal
TFormatArray = array of Word;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TFormatEtcArray Type
Types
Not documented.
Pascal
TFormatEtcArray = array of TFormatEtc;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TGetFirstNodeProc Type
Types
Not documented.
Pascal
TGetFirstNodeProc = function : PVirtualNode of object
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TGetNextNodeProc Type
Types
Not documented.
Pascal
TGetNextNodeProc = function (Node: PVirtualNode): PVirtualNod
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
THeaderPaintElements Type
Types
Not documented.
Pascal
THeaderPaintElements = set of ( hpeBackground, hpeDropMark, h
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
THeaderStates Type
Types
Not documented.
Pascal
THeaderStates = set of THeaderState;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
THitPositions Type
Types
Not documented.
Pascal
THitPositions = set of THitPosition;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TImageIndex Type
Types
Not documented.
Pascal
TImageIndex = Integer;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TIndexArray Type
Types
Not documented.
Pascal
TIndexArray = array of TColumnIndex;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TInternalStgMediumArray Type
Types
Not documented.
Pascal
TInternalStgMediumArray = array of TInternalStgMedium
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TLineImage Type
Types
Not documented.
Pascal
TLineImage = array of TVTLineType;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TMagicID Type
Types
Not documented.
Pascal
TMagicID = array[0..5] of WideChar;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TMouseButtons Type
Types
Not documented.
Pascal
TMouseButtons = set of TMouseButton;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TNodeArray Type
Types
Not documented.
Pascal
TNodeArray = array of PVirtualNode;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TScrollDirections Type
Types
Not documented.
Pascal
TScrollDirections = set of ( sdLeft, sdUp, sdRight, sdDown );
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TScrollUpdateOptions Type
Types
Not documented.
Pascal
TScrollUpdateOptions = set of ( suoRepaintHeader, suoRepaintS
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TTreeOptionsClass Type
Types
Not documented.
Pascal
TTreeOptionsClass = class of TCustomVirtualTreeOptions
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualNodeInitStates Type
Types
Not documented.
Pascal
TVirtualNodeInitStates = set of TVirtualNodeInitState
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualNodeStates Type
Types
Not documented.
Pascal
TVirtualNodeStates = set of TVirtualNodeState;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualTreeClass Type
Types
Not documented.
Pascal
TVirtualTreeClass = class of TBaseVirtualTree;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualTreeColumnClass Type
Types
Not documented.
Pascal
TVirtualTreeColumnClass = class of TVirtualTreeColumn
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualTreeColumnsClass Type
Types
Not documented.
Pascal
TVirtualTreeColumnsClass = class of TVirtualTreeColumns
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualTreeStates Type
Types
Not documented.
Pascal
TVirtualTreeStates = set of ( tsCancelHintAnimation, tsChange
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVSTGetTextEvent Type
Types
Not documented.
Pascal
TVSTGetTextEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVSTNewTextEvent Type
Types
Not documented.
Pascal
TVSTNewTextEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVSTShortenStringEvent Type
Types
Not documented.
Pascal
TVSTShortenStringEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTAdvancedHeaderPaintEvent Type
Types
Not documented.
Pascal
TVTAdvancedHeaderPaintEvent = procedure (Sender: TVTHeader
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTAfterCellPaintEvent Type
Types
Not documented.
Pascal
TVTAfterCellPaintEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTAfterItemEraseEvent Type
Types
Not documented.
Pascal
TVTAfterItemEraseEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTAfterItemPaintEvent Type
Types
Not documented.
Pascal
TVTAfterItemPaintEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTAnimationCallback Type
Types
Not documented.
Pascal
TVTAnimationCallback = function (Step, StepSize: Integer; Dat
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTAnimationOptions Type
Types
Not documented.
Pascal
TVTAnimationOptions = set of TVTAnimationOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTAutoOptions Type
Types
Not documented.
Pascal
TVTAutoOptions = set of TVTAutoOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTBackgroundPaintEvent Type
Types
Not documented.
Pascal
TVTBackgroundPaintEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTBeforeCellPaintEvent Type
Types
Not documented.
Pascal
TVTBeforeCellPaintEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTBeforeItemEraseEvent Type
Types
Not documented.
Pascal
TVTBeforeItemEraseEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTBeforeItemPaintEvent Type
Types
Not documented.
Pascal
TVTBeforeItemPaintEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTBias Type
Types
Not documented.
Pascal
TVTBias = -128..127;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTChangeEvent Type
Types
Not documented.
Pascal
TVTChangeEvent = procedure (Sender: TBaseVirtualTree; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTChangingEvent Type
Types
Not documented.
Pascal
TVTChangingEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTCheckChangingEvent Type
Types
Not documented.
Pascal
TVTCheckChangingEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTColumnClickEvent Type
Types
Not documented.
Pascal
TVTColumnClickEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTColumnDblClickEvent Type
Types
Not documented.
Pascal
TVTColumnDblClickEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTColumnOptions Type
Types
Not documented.
Pascal
TVTColumnOptions = set of TVTColumnOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTCompareEvent Type
Types
Not documented.
Pascal
TVTCompareEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTCreateDataObjectEvent Type
Types
Not documented.
Pascal
TVTCreateDataObjectEvent = procedure (Sender: TBaseVirtualTre
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTCreateDragManagerEvent Type
Types
Not documented.
Pascal
TVTCreateDragManagerEvent = procedure (Sender: TBaseVirtualTr
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTCreateEditorEvent Type
Types
Not documented.
Pascal
TVTCreateEditorEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDragAllowedEvent Type
Types
Not documented.
Pascal
TVTDragAllowedEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDragDropEvent Type
Types
Not documented.
Pascal
TVTDragDropEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDragImageStates Type
Types
Not documented.
Pascal
TVTDragImageStates = set of ( disHidden, disInDrag, disPrepar
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDragOverEvent Type
Types
Not documented.
Pascal
TVTDragOverEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDrawHintEvent Type
Types
Not documented.
Pascal
TVTDrawHintEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDrawNodeEvent Type
Types
Not documented.
Pascal
TVTDrawNodeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTEditCancelEvent Type
Types
Not documented.
Pascal
TVTEditCancelEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTEditChangeEvent Type
Types
Not documented.
Pascal
TVTEditChangeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTEditChangingEvent Type
Types
Not documented.
Pascal
TVTEditChangingEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTFocusChangeEvent Type
Types
Not documented.
Pascal
TVTFocusChangeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTFocusChangingEvent Type
Types
Not documented.
Pascal
TVTFocusChangingEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTFreeNodeEvent Type
Types
Not documented.
Pascal
TVTFreeNodeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetCursorEvent Type
Types
Not documented.
Pascal
TVTGetCursorEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetHeaderCursorEvent Type
Types
Not documented.
Pascal
TVTGetHeaderCursorEvent = procedure (Sender: TVTHeader
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetHintSizeEvent Type
Types
Not documented.
Pascal
TVTGetHintSizeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetImageEvent Type
Types
Not documented.
Pascal
TVTGetImageEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetLineStyleEvent Type
Types
Not documented.
Pascal
TVTGetLineStyleEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetNodeDataSizeEvent Type
Types
Not documented.
Pascal
TVTGetNodeDataSizeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetNodeProc Type
Types
Not documented.
Pascal
TVTGetNodeProc = procedure (Sender: TBaseVirtualTree; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetNodeWidthEvent Type
Types
Not documented.
Pascal
TVTGetNodeWidthEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetUserClipboardFormatsEvent Type
Types
Not documented.
Pascal
TVTGetUserClipboardFormatsEvent = procedure (Sender:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderClass Type
Types
Not documented.
Pascal
TVTHeaderClass = class of TVTHeader;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderClickEvent Type
Types
Not documented.
Pascal
TVTHeaderClickEvent = procedure (Sender: TVTHeader; Column:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderDraggedEvent Type
Types
Not documented.
Pascal
TVTHeaderDraggedEvent = procedure (Sender: TVTHeader; Column:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderDraggedOutEvent Type
Types
Not documented.
Pascal
TVTHeaderDraggedOutEvent = procedure (Sender: TVTHeader
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVSTGetHintEvent Type
Types
Not documented.
Pascal
TVSTGetHintEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderDraggingEvent Type
Types
Not documented.
Pascal
TVTHeaderDraggingEvent = procedure (Sender: TVTHeader
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderMouseEvent Type
Types
Not documented.
Pascal
TVTHeaderMouseEvent = procedure (Sender: TVTHeader; Button: T
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderMouseMoveEvent Type
Types
Not documented.
Pascal
TVTHeaderMouseMoveEvent = procedure (Sender: TVTHeader
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderNotifyEvent Type
Types
Not documented.
Pascal
TVTHeaderNotifyEvent = procedure (Sender: TVTHeader; Column:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderOptions Type
Types
Not documented.
Pascal
TVTHeaderOptions = set of TVTHeaderOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderPaintEvent Type
Types
Not documented.
Pascal
TVTHeaderPaintEvent = procedure (Sender: TVTHeader; HeaderCan
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderPaintQueryElementsEvent
Type
Types
Not documented.
Pascal
TVTHeaderPaintQueryElementsEvent = procedure (Sender:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderPopupOptions Type
Types
Not documented.
Pascal
TVTHeaderPopupOptions = set of TVTHeaderPopupOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VTHeaderPopup
Links
Types
TVTHelpContextEvent Type
Types
Not documented.
Pascal
TVTHelpContextEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHotNodeChangeEvent Type
Types
Not documented.
Pascal
TVTHotNodeChangeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTIncrementalSearchEvent Type
Types
Not documented.
Pascal
TVTIncrementalSearchEvent = procedure (Sender: TBaseVirtualTr
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTInitChildrenEvent Type
Types
Not documented.
Pascal
TVTInitChildrenEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTInitNodeEvent Type
Types
Not documented.
Pascal
TVTInitNodeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTInternalPaintOptions Type
Types
Not documented.
Pascal
TVTInternalPaintOptions = set of TVTInternalPaintOption
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTKeyActionEvent Type
Types
Not documented.
Pascal
TVTKeyActionEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTMeasureItemEvent Type
Types
Not documented.
Pascal
TVTMeasureItemEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTMiscOptions Type
Types
Not documented.
Pascal
TVTMiscOptions = set of TVTMiscOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTNodeCopiedEvent Type
Types
Not documented.
Pascal
TVTNodeCopiedEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTNodeCopyingEvent Type
Types
Not documented.
Pascal
TVTNodeCopyingEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTNodeMovedEvent Type
Types
Not documented.
Pascal
TVTNodeMovedEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTNodeMovingEvent Type
Types
Not documented.
Pascal
TVTNodeMovingEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTPaintEvent Type
Types
Not documented.
Pascal
TVTPaintEvent = procedure (Sender: TBaseVirtualTree; TargetCa
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTPaintOptions Type
Types
Not documented.
Pascal
TVTPaintOptions = set of TVTPaintOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTPaintText Type
Types
Not documented.
Pascal
TVTPaintText = procedure (Sender: TBaseVirtualTree; const
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTPopupEvent Type
Types
Not documented.
Pascal
TVTPopupEvent = procedure (Sender: TBaseVirtualTree; Node:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTRenderOLEDataEvent Type
Types
Not documented.
Pascal
TVTRenderOLEDataEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTSaveNodeEvent Type
Types
Not documented.
Pascal
TVTSaveNodeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTScrollEvent Type
Types
Not documented.
Pascal
TVTScrollEvent = procedure (Sender: TBaseVirtualTree; DeltaX,
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTScrollIncrement Type
Types
Not documented.
Pascal
TVTScrollIncrement = 1..10000;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTSelectionOptions Type
Types
Not documented.
Pascal
TVTSelectionOptions = set of TVTSelectionOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTStateChangeEvent Type
Types
Not documented.
Pascal
TVTStateChangeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTStringOptions Type
Types
Not documented.
Pascal
TVTStringOptions = set of TVTStringOption;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTStructureChangeEvent Type
Types
Not documented.
Pascal
TVTStructureChangeEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTTransparency Type
Types
Not documented.
Pascal
TVTTransparency = 0..255;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTUpdatingEvent Type
Types
Not documented.
Pascal
TVTUpdatingEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TWMContextMenu Type
Types
Not documented.
Pascal
TWMContextMenu = TWMMouse;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TWMPrintClient Type
Types
Not documented.
Pascal
TWMPrintClient = TWMPrint;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TAddPopupItemType Enumeration
Types
Not documented.
Pascal
TAddPopupItemType = (apNormal, apDisabled, apHidden);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VTHeaderPopup
Links
Types
TBlendMode Enumeration
Types
Not documented.
Pascal
TBlendMode = (bmConstantAlpha, bmPerPixelAlpha, bmMasterAlpha
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
bmConstantAlpha apply given constant alpha
Group
Types
File
VirtualTrees
Links
Types
TVTGetCellIsEmptyEvent Type
Types
Not documented.
Pascal
TVTGetCellIsEmptyEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TChangeReason Enumeration
Types
Not documented.
Pascal
TChangeReason = (crIgnore, crAccumulated, crChildAdded, crChi
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
crIgnore used as placeholder
crAccumulated used for delayed changes
Group
Types
File
VirtualTrees
Links
Types
TCheckImageKind Enumeration
Types
Pascal
TCheckImageKind = (ckLightCheck, ckDarkCheck, ckLightTick, ck
Description
Provided with the tree are nine different image sets for the
check images used when toCheckSupport is enabled in
TreeOptions.
Radio buttons:
Check boxes:
unchecked normal (ckCheckUncheckedNormal)
unchecked hot (ckCheckUncheckedHot)
unchecked pressed (ckCheckUncheckedPressed)
unchecked disabled (ckCheckUncheckedDisabled)
checked normal (ckCheckCheckedNormal)
checked hot (ckCheckCheckedHot)
checked pressed (ckCheckCheckedPressed)
checked disabled (ckCheckCheckedDisabled)
mixed normal (ckCheckMixedNormal)
mixed hot (ckCheckMixedHot)
mixed pressed (ckCheckMixedPressed)
mixed disabled (ckCheckMixedDisabled)
Node buttons:
Group
Types
File
VirtualTrees
Links
Types
TCheckState Enumeration
Types
Pascal
TCheckState = (csUncheckedNormal, csUncheckedPressed, csCheck
Description
The check states include both, transient and fluent
(temporary) states. The only temporary state defined so far is
the pressed state.
Members
Members Description
csUncheckedNormal unchecked and not pressed
csUncheckedPressed unchecked and pressed
csCheckedNormal checked and not pressed
csCheckedPressed checked and pressed
Group
Types
File
VirtualTrees
Links
Types
TCheckType Enumeration
Types
Not documented.
Pascal
TCheckType = (ctNone, ctTriStateCheckBox, ctCheckBox, ctRadio
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TDragOperation Enumeration
Types
Not documented.
Pascal
TDragOperation = (doCopy, doMove, doLink);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTGetImageExEvent Type
Types
Not documented.
Pascal
TVTGetImageExEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TDropMode Enumeration
Types
Not documented.
Pascal
TDropMode = (dmNowhere, dmAbove, dmOnNode, dmBelow);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
THeaderState Enumeration
Types
Not documented.
Pascal
THeaderState = (hsAutoSizing, hsDragging, hsDragPending, hsLo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
THintAnimationType Enumeration
Types
Not documented.
Pascal
THintAnimationType = (hatNone, hatFade, hatSlide, hatSystemDe
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
THitPosition Enumeration
Types
Not documented.
Pascal
THitPosition = (hiAbove, hiBelow, hiNowhere, hiOnItem, hiOnIt
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
TItemEraseAction Enumeration
Types
Not documented.
Pascal
TItemEraseAction = (eaColor, eaDefault, eaNone);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Use the provided color to erase
eaColor the background instead the one
of the tree.
Group
Types
File
VirtualTrees
Links
Types
TScrollBarStyle Enumeration
Types
Not documented.
Pascal
TScrollBarStyle = (sbmRegular, sbmFlat, sbm3D);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TSortDirection Enumeration
Types
Not documented.
Pascal
TSortDirection = (sdAscending, sdDescending);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualNodeInitState Enumeration
Types
Not documented.
Pascal
TVirtualNodeInitState = (ivsDisabled, ivsExpanded, ivsHasChil
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVirtualNodeState Enumeration
Types
Not documented.
Pascal
TVirtualNodeState = (vsInitialized, vsChecking, vsCutOrCopy,
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
TVirtualTreeColumnStyle Enumeration
Types
Not documented.
Pascal
TVirtualTreeColumnStyle = (vsText, vsOwnerDraw);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVSTTextSourceType Enumeration
Types
Not documented.
Pascal
TVSTTextSourceType = (tstAll, tstInitialized, tstSelected, ts
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
tstAll Initialization is done on the fly.
Group
Types
File
VirtualTrees
Links
Types
TVSTTextType Enumeration
Types
Not documented.
Pascal
TVSTTextType = (ttNormal, ttStatic);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
TVTAnimationOption Enumeration
Types
Not documented.
Pascal
TVTAnimationOption = (toAnimatedToggle);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Expanding and collapsing a node
toAnimatedToggle is animated (quick window
scroll).
Group
Types
File
VirtualTrees
Links
Types
TVTAutoOption Enumeration
Types
Not documented.
Pascal
TVTAutoOption = (toAutoDropExpand, toAutoExpand, toAutoScroll
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Expand node if it is the drop
toAutoDropExpand target for more than certain
time.
Nodes are expanded
toAutoExpand (collapsed) when getting
(losing) the focus.
Scroll if mouse is near the
toAutoScroll border while dragging or
selecting.
Scroll as many child nodes in
toAutoScrollOnExpand view as possible after
expanding a node.
Sort tree when
Header.SortColumn or
toAutoSort Header.SortDirection change
or sort node if child nodes are
added.
Large entries continue into
toAutoSpanColumns next column(s) if there's no text
in them (no clipping).
Checkstates are automatically
toAutoTristateTracking propagated for tri state check
boxes.
Node buttons are hidden when
toAutoHideButtons there are child nodes, but all
are invisible.
Delete nodes which where
toAutoDeleteMovedNodes moved in a drag operation (if
not directed otherwise).
Disable scrolling a column
toDisableAutoscrollOnFocus entirely into view if it gets
focused.
Change default node height
toAutoChangeScale automatically if the system's
font scale is set to big fonts.
Frees any child node after a
toAutoFreeOnCollapse node has been collapsed
(HasChildren flag stays there).
Group
Types
File
VirtualTrees
Links
Types
What do you think about this topic? Send feedback!
Types | TVTAutoOption
Enumeration | TVTButtonStyle
Enumeration
TVTButtonFillMode Enumeration
Types
Pascal
TVTButtonFillMode = (fmTreeColor, fmWindowColor, fmShaded, fm
Description
Usually the little plus and minus buttons have just the color of
the treeview but sometimes it looks better to use another kind
of painting. This is particularly important when simulating
Windows XP buttons on non-XP systems. The image below
shows how the various modes look like:
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
What do you think about this topic? Send feedback!
Types | TVTButtonFillMode
Enumeration | TVTColumnOption
Enumeration
TVTButtonStyle Enumeration
Types
Not documented.
Pascal
TVTButtonStyle = (bsRectangle, bsTriangle);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
TVTColumnOption Enumeration
Types
Not documented.
Pascal
TVTColumnOption = (coAllowClick, coDraggable, coEnabled, coPa
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDragImageKind Enumeration
Types
Not documented.
Pascal
TVTDragImageKind = (diComplete, diMainColumnOnly, diNoImage);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
show a complete drag image with
diComplete all columns, only visible columns
are shown
Group
Types
File
VirtualTrees
Links
Types
What do you think about this topic? Send feedback!
Types | TVTDragImageKind
Enumeration | TVTDragType
Enumeration
TVTDragMoveRestriction Enumeration
Types
Not documented.
Pascal
TVTDragMoveRestriction = (dmrNone, dmrHorizontalOnly, dmrVert
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDragType Enumeration
Types
Not documented.
Pascal
TVTDragType = (dtOLE, dtVCL);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTDrawSelectionMode Enumeration
Types
Not documented.
Pascal
TVTDrawSelectionMode = (smDottedRectangle, smBlendedRectangle
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
smDottedRectangle same as DrawFocusRect
Group
Types
File
VirtualTrees
Links
Types
TVTDropMarkMode Enumeration
Types
Not documented.
Pascal
TVTDropMarkMode = (dmmNone, dmmLeft, dmmRight);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderColumnLayout Enumeration
Types
Not documented.
Pascal
TVTHeaderColumnLayout = (blGlyphLeft, blGlyphRight, blGlyphTo
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderOption Enumeration
Types
Not documented.
Pascal
TVTHeaderOption = (hoAutoResize, hoColumnResize, hoDblClickRe
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
adjust a column so that the
hoAutoResize header never exceeds client
width of owner control
hoColumnResize resizing columns is allowed
Group
Types
File
VirtualTrees
Links
Types
TVTHeaderPopupOption Enumeration
Types
Not documented.
Pascal
TVTHeaderPopupOption = (poOriginalOrder, poAllowHideAll);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Show menu items in original
poOriginalOrder column order as they were added
to the tree.
Group
Types
File
VTHeaderPopup
Links
Types
What do you think about this topic? Send feedback!
Types | TVTHeaderPopupOption
Enumeration | TVTHeaderStyle
Enumeration
TVTMenuItem Type
Types
Not documented.
Pascal
TVTMenuItem = TMenuItem;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VTHeaderPopup
Links
Types
TVTHeaderStyle Enumeration
Types
Not documented.
Pascal
TVTHeaderStyle = (hsThickButtons, hsFlatButtons, hsPlates, hs
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
hsThickButtons TButton look and feel
flatter look than hsThickButton,
hsFlatButtons like an always raised flat
TToolButton
Group
Types
File
VirtualTrees
Links
Types
TVTHintMode Enumeration
Types
Not documented.
Pascal
TVTHintMode = (hmDefault, hmHint, hmHintAndDefault, hmTooltip
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
hmDefault show the hint of the control
Group
Types
File
VirtualTrees
Links
Types
TVTImageInfoIndex Enumeration
Types
Not documented.
Pascal
TVTImageInfoIndex = (iiNormal, iiState, iiCheck, iiOverlay);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTImageKind Enumeration
Types
Not documented.
Pascal
TVTImageKind = (ikNormal, ikSelected, ikState, ikOverlay);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTIncrementalSearch Enumeration
Types
Not documented.
Pascal
TVTIncrementalSearch = (isAll, isNone, isInitializedOnly, isV
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
TVTInternalPaintOption Enumeration
Types
Not documented.
Pascal
TVTInternalPaintOption = (poBackground, poColumnColor, poDraw
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
File
VirtualTrees
Links
Types
TVTLineMode Enumeration
Types
Not documented.
Pascal
TVTLineMode = (lmNormal, lmBands);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
lmNormal usual tree lines (as in TTreeview)
Group
Types
File
VirtualTrees
Links
Types
TVTLineStyle Enumeration
Types
Not documented.
Pascal
TVTLineStyle = (lsCustomStyle, lsDotted, lsSolid);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
What do you think about this topic? Send feedback!
Types | TVTLineStyle Enumeration
| TVTMiscOption Enumeration
TVTLineType Enumeration
Types
Not documented.
Pascal
TVTLineType = (ltNone, ltBottomRight, ltTopDown, ltTopDownRig
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
ltNone no line at all
Group
Types
File
VirtualTrees
Links
Types
TVTMiscOption Enumeration
Types
Not documented.
Pascal
TVTMiscOption = (toAcceptOLEDrop, toCheckSupport, toEditable,
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
TVTNodeAlignment Enumeration
Types
Not documented.
Pascal
TVTNodeAlignment = (naFromBottom, naFromTop, naProportional);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
the align member specifies
naFromBottom amount of units (usually pixels)
from top border of the node
Group
Types
File
VirtualTrees
Links
Types
TVTNodeAttachMode Enumeration
Types
Not documented.
Pascal
TVTNodeAttachMode = (amNoWhere, amInsertBefore, amInsertAfter
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Group
Types
File
VirtualTrees
Links
Types
TVTScrollbarShowEvent Type
Types
Not documented.
Pascal
TVTScrollbarShowEvent = procedure (Sender: TBaseVirtualTree
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTPaintOption Enumeration
Types
Not documented.
Pascal
TVTPaintOption = (toHideFocusRect, toHideSelection, toHotTrac
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Avoid drawing the dotted
toHideFocusRect rectangle around the currently
focused node.
Selected nodes are drawn as
toHideSelection unselected nodes if the tree is
unfocused.
File
VirtualTrees
Links
Types
TVTSearchDirection Enumeration
Types
Not documented.
Pascal
TVTSearchDirection = (sdForward, sdBackward);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Types
File
VirtualTrees
Links
Types
TVTSearchStart Enumeration
Types
Not documented.
Pascal
TVTSearchStart = (ssAlwaysStartOver, ssLastHit, ssFocusedNode
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
always use the first/last node
ssAlwaysStartOver (depending on direction) to
search from
ssLastHit use the last found node
ssFocusedNode use the currently focused node
Group
Types
File
VirtualTrees
Links
Types
What do you think about this topic? Send feedback!
Types | TVTSearchStart
Enumeration | TVTStringOption
Enumeration
TVTSelectionOption Enumeration
Types
Not documented.
Pascal
TVTSelectionOption = (toDisableDrawSelection, toExtendedFocus
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
Prevent user from selecting with
toDisableDrawSelection the selection rectangle in
multiselect mode.
Entries other than in the main
toExtendedFocus column can be selected, edited
etc.
Hit test as well as selection
toFullRowSelect highlight are not constrained to
the text of a node.
Group
Types
File
VirtualTrees
Links
Types
TVTStringOption Enumeration
Types
Not documented.
Pascal
TVTStringOption = (toSaveCaptions, toShowStaticText, toAutoAc
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
If set then the caption is
toSaveCaptions automatically saved with the tree
node, regardless of what is saved
in the user data.
Show static text in a caption
toShowStaticText which can be differently formatted
than the caption but cannot be
edited.
Group
Types
File
VirtualTrees
Links
Types
TVTUpdateState Enumeration
Types
Not documented.
Pascal
TVTUpdateState = (usBegin, usBeginSynch, usSynch, usUpdate, u
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Members
Members Description
The tree just entered the update
usBegin state (BeginUpdate call for the
first time).
The tree just entered the synch
usBeginSynch update state (BeginSynch call for
the first time).
Begin/EndSynch has been called
usSynch but the tree did not change the
update state.
Begin/EndUpdate has been
usUpdate called but the tree did not change
the update state.
The tree just left the update state
usEnd (EndUpdate called for the last
level).
The tree just left the synch update
usEndSynch state (EndSynch called for the
last level).
Group
Types
File
VirtualTrees
Links
Types
Variables
Virtual Treeview | Variables | Legend
Group
Virtual Treeview
Variables
CF_CSV
Not documented.
CF_HTML
Not documented.
CF_VIRTUALTREE
Not documented.
CF_VRTF
Not documented.
CF_VRTFNOOBJS
Not documented.
CF_VTREFERENCE
Not documented.
ClipboardDescriptions
Not documented.
DarkCheckImages
Not documented.
DarkTickImages
Not documented.
FlatImages
Not documented.
HintFont
Not documented.
HintWindowDestroyed
Not documented.
Initialized
Not documented.
InternalClipboardFormats
Not documented.
IsWin2K
Not documented.
IsWinNT
Not documented.
IsWinXP
Not documented.
LightCheckImages
Not documented.
LightTickImages
Not documented.
MMXAvailable
Not documented.
NeedToUnitialize
Not documented.
StandardOLEFormat
Not documented.
SystemCheckImages
Not documented.
SystemFlatCheckImages
Not documented.
UtilityImages
Not documented.
Watcher
Not documented.
WorkerThread
Not documented.
WorkEvent
Not documented.
XPImages
Not documented.
Legend
Variable
Links
Virtual Treeview, Variables, Legend
CF_CSV Variable
Variables
Not documented.
Pascal
CF_CSV: Word;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
CF_HTML Variable
Variables
Not documented.
Pascal
CF_HTML: Word;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
CF_VIRTUALTREE Variable
Variables
Not documented.
Pascal
CF_VIRTUALTREE: Word;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
CF_VRTF Variable
Variables
Not documented.
Pascal
CF_VRTF: Word;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
CF_VRTFNOOBJS Variable
Variables
Not documented.
Pascal
CF_VRTFNOOBJS: Word;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
CF_VTREFERENCE Variable
Variables
Not documented.
Pascal
CF_VTREFERENCE: Word;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
ClipboardDescriptions Variable
Variables
Not documented.
Pascal
ClipboardDescriptions: array [1..CF_MAX - 1] of TClipboardFor
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
DarkCheckImages Variable
Variables
Not documented.
Pascal
DarkCheckImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
DarkTickImages Variable
Variables
Not documented.
Pascal
DarkTickImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
FlatImages Variable
Variables
Not documented.
Pascal
FlatImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
HintFont Variable
Variables
Not documented.
Pascal
HintFont: TFont;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
HintWindowDestroyed Variable
Variables
Not documented.
Pascal
HintWindowDestroyed: Boolean = True;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
Initialized Variable
Variables
Not documented.
Pascal
Initialized: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
InternalClipboardFormats Variable
Variables
Not documented.
Pascal
InternalClipboardFormats: TClipboardFormatList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
IsWin2K Variable
Variables
Not documented.
Pascal
IsWin2K: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
IsWinNT Variable
Variables
Not documented.
Pascal
IsWinNT: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
IsWinXP Variable
Variables
Not documented.
Pascal
IsWinXP: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
LightCheckImages Variable
Variables
Not documented.
Pascal
LightCheckImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
LightTickImages Variable
Variables
Not documented.
Pascal
LightTickImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
MMXAvailable Variable
Variables
Not documented.
Pascal
MMXAvailable: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
NeedToUnitialize Variable
Variables
Not documented.
Pascal
NeedToUnitialize: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
StandardOLEFormat Variable
Variables
Not documented.
Pascal
StandardOLEFormat: TFormatEtc = ( cfFormat: 0; ptd: nil
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
SystemCheckImages Variable
Variables
Not documented.
Pascal
SystemCheckImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
SystemFlatCheckImages Variable
Variables
Not documented.
Pascal
SystemFlatCheckImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
UtilityImages Variable
Variables
Not documented.
Pascal
UtilityImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
Watcher Variable
Variables
Not documented.
Pascal
Watcher: TCriticalSection;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
WorkerThread Variable
Variables
Not documented.
Pascal
WorkerThread: TWorkerThread;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
WorkEvent Variable
Variables
Not documented.
Pascal
WorkEvent: THandle;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
XPImages Variable
Variables
Not documented.
Pascal
XPImages: TImageList;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Variables
File
VirtualTrees
Links
Variables
Constants
Constants | Virtual Treeview | Topics | Legend
Constants
AlignmentToDrawFlag
Not documented.
AllocIncrement
Not documented.
BaseChunk
Not documented.
CacheThreshold
Number of nodes a tree must at least have to start caching and at the
same time the maximum number of nodes between two cache
entries.
CaptionChunk
Not documented.
CFSTR_CSV
Contains the registration string for certain clipboard formats.
CFSTR_HTML
Contains the registration string for certain clipboard formats.
CFSTR_RTF
Contains the registration string for certain clipboard formats.
CFSTR_RTFNOOBJS
Contains the registration string for certain clipboard formats.
CFSTR_VIRTUALTREE
Contains the registration string for certain clipboard formats.
CFSTR_VTREFERENCE
Contains the registration string for certain clipboard formats.
ChangeTimer
Not documented.
ckButtonDisabled
ckButtonHot
ckButtonNormal
ckButtonPressed
ckCheckCheckedDisabled
ckCheckCheckedHot
ckCheckCheckedNormal
ckCheckCheckedPressed
ckCheckMixedDisabled
ckCheckMixedHot
ckCheckMixedNormal
ckCheckMixedPressed
ckCheckUncheckedDisabled
ckCheckUncheckedHot
ckCheckUncheckedNormal
ckCheckUncheckedPressed
ckEmpty
ckRadioCheckedDisabled
ckRadioCheckedHot
ckRadioCheckedNormal
ckRadioCheckedPressed
ckRadioUncheckedDisabled
ckRadioUncheckedHot
ckRadioUncheckedNormal
ckRadioUncheckedPressed
ClipboardStates
Not documented.
CLSID_DragDropHelper
Not documented.
CM_AUTOADJUST
Not documented.
CM_DENYSUBCLASSING
Not documented.
Copyright
Not documented.
crHeaderSplit
Not documented.
DefaultAnimationOptions
Not documented.
DefaultAutoOptions
Not documented.
DefaultColumnOptions
Not documented.
DefaultMiscOptions
Not documented.
DefaultPaintOptions
Not documented.
DefaultScrollUpdateFlags
Not documented.
DefaultSelectionOptions
Not documented.
DefaultStringOptions
Not documented.
EditTimer
Not documented.
ExpandTimer
Not documented.
FadeAnimationStepCount
Not documented.
Grays
Not documented.
hcTFCannotSetUserData
Not documented.
hcTFClipboardFailed
Not documented.
hcTFCorruptStream1
Not documented.
hcTFCorruptStream2
Not documented.
hcTFEditLinkIsNil
Not documented.
hcTFStreamTooSmall
Not documented.
hcTFWrongMoveError
Not documented.
hcTFWrongStreamFormat
Not documented.
hcTFWrongStreamVersion
Not documented.
HeaderTimer
Not documented.
IID_IDragSourceHelper
Not documented.
IID_IDropTarget
Not documented.
IID_IDropTargetHelper
Not documented.
InvalidColumn
Not documented.
MagicID
Not documented.
MinimumTimerInterval
Not documented.
MouseButtonDown
Not documented.
NoColumn
Not documented.
NodeChunk
Not documented.
OptionMap
Not documented.
PressedState
Not documented.
RTLFlag
Not documented.
SCannotSetUserData
Not documented.
SClipboardFailed
Not documented.
SCorruptStream1
Not documented.
SCorruptStream2
Not documented.
ScrollTimer
Not documented.
SearchTimer
Not documented.
SEditLinkIsNil
Not documented.
ShadowSize
Size in pixels of the hint shadow.
SID_IDragSourceHelper
Not documented.
SID_IDropTarget
Not documented.
SID_IDropTargetHelper
Not documented.
SStreamTooSmall
Not documented.
StructureChangeTimer
Not documented.
SWrongMoveError
Not documented.
SWrongStreamFormat
Not documented.
SWrongStreamVersion
Not documented.
SysGrays
Not documented.
TreeNodeSize
Not documented.
UnpressedState
Not documented.
UserChunk
Not documented.
UtilityImageSize
Not documented.
VTHeaderStreamVersion
Not documented.
VTTreeStreamVersion
Not documented.
VTVersion
Not documented.
WideCR
Not documented.
WideLF
Not documented.
WideLineSeparator
Not documented.
WideNull
Not documented.
WM_CHANGESTATE
Not documented.
XPDarkGradientColor
Not documented.
XPDarkSplitBarColor
Not documented.
XPDownInnerLineColor
Not documented.
XPDownMiddleLineColor
Not documented.
XPDownOuterLineColor
Not documented.
XPLightSplitBarColor
Not documented.
XPMainHeaderColorDown
Not documented.
XPMainHeaderColorHover
Not documented.
XPMainHeaderColorUp
Not documented.
Group
Virtual Treeview
Topics
Legend
Constant
Links
Constants, Virtual Treeview, Topics, Legend
AlignmentToDrawFlag Constant
Constants
Not documented.
Pascal
AlignmentToDrawFlag: array[TAlignment] of Cardinal = (DT_LEFT
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
AllocIncrement Constant
Constants
Not documented.
Pascal
AllocIncrement = 4096;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
BaseChunk Constant
Constants
Not documented.
Pascal
BaseChunk = 2;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
CacheThreshold Constant
Constants
Pascal
CacheThreshold = 2000;
Description
Number of nodes a tree must at least have to start caching
and at the same time the maximum number of nodes between
two cache entries.
Group
Constants
File
VirtualTrees
Links
Constants
CaptionChunk Constant
Constants
Not documented.
Pascal
CaptionChunk = 3;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
CFSTR_CSV Constant
Constants
Pascal
CFSTR_VIRTUALTREE = 'Virtual Tree Data';
CFSTR_VTREFERENCE = 'Virtual Tree Reference';
CFSTR_HTML = 'HTML Format';
CFSTR_RTF = 'Rich Text Format';
CFSTR_RTFNOOBJS = 'Rich Text Format Without Objects';
CFSTR_CSV = 'CSV';
Description
Some of the clipboard formats in the system, like CF_HDROP,
are registered by Windows itself. For rich text, html, csv and
other data first the formats must be registered with the
clipboard. The identifier returned by the registration code is
used to unregister the format later and to identify the format
when transferring data or enumerating the clipboard formats.
The following formats are registered by Virtual Treeview:
File
VirtualTrees
Links
Constants
ChangeTimer Constant
Constants
Not documented.
Pascal
ChangeTimer = 5;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
Constants
Links
Constants
ClipboardStates Constant
Constants
Not documented.
Pascal
ClipboardStates = [tsCopyPending, tsCutPending];
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
CLSID_DragDropHelper Constant
Constants
Not documented.
Pascal
CLSID_DragDropHelper: TGUID = (D1: $4657278A; D2: $411B; D3:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
CM_AUTOADJUST Constant
Constants
Not documented.
Pascal
CM_AUTOADJUST = CM_BASE + 2005;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
CM_DENYSUBCLASSING Constant
Constants
Not documented.
Pascal
CM_DENYSUBCLASSING = CM_BASE + 2000;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
Copyright Constant
Constants
Not documented.
Pascal
Copyright: string = 'Virtual Treeview � 1999, 2003 Mike Lisch
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
crHeaderSplit Constant
Constants
Not documented.
Pascal
crHeaderSplit = TCursor(100);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultAnimationOptions Constant
Constants
Not documented.
Pascal
DefaultAnimationOptions = [];
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultAutoOptions Constant
Constants
Not documented.
Pascal
DefaultAutoOptions = [toAutoDropExpand, toAutoTristateTrackin
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultColumnOptions Constant
Constants
Not documented.
Pascal
DefaultColumnOptions = [coAllowClick, coDraggable, coEnabled,
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultMiscOptions Constant
Constants
Not documented.
Pascal
DefaultMiscOptions = [toAcceptOLEDrop, toFullRepaintOnResize,
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultPaintOptions Constant
Constants
Not documented.
Pascal
DefaultPaintOptions = [toShowButtons, toShowButtons, toShowDr
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultScrollUpdateFlags Constant
Constants
Not documented.
Pascal
DefaultScrollUpdateFlags = [suoRepaintHeader, suoRepaintScrol
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultSelectionOptions Constant
Constants
Not documented.
Pascal
DefaultSelectionOptions = [];
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
DefaultStringOptions Constant
Constants
Not documented.
Pascal
DefaultStringOptions = [toSaveCaptions, toAutoAcceptEditChang
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
EditTimer Constant
Constants
Not documented.
Pascal
EditTimer = 2;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
ExpandTimer Constant
Constants
Not documented.
Pascal
ExpandTimer = 1;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
FadeAnimationStepCount Constant
Constants
Not documented.
Pascal
FadeAnimationStepCount = 255;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
Grays Constant
Constants
Not documented.
Pascal
Grays: array[0..3] of TColor = (clWhite, clSilver, clGray, cl
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFCannotSetUserData Constant
Constants
Not documented.
Pascal
hcTFCannotSetUserData = 2008;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFClipboardFailed Constant
Constants
Not documented.
Pascal
hcTFClipboardFailed = 2007;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFCorruptStream1 Constant
Constants
Not documented.
Pascal
hcTFCorruptStream1 = 2005;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFCorruptStream2 Constant
Constants
Not documented.
Pascal
hcTFCorruptStream2 = 2006;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFEditLinkIsNil Constant
Constants
Not documented.
Pascal
hcTFEditLinkIsNil = 2000;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFStreamTooSmall Constant
Constants
Not documented.
Pascal
hcTFStreamTooSmall = 2004;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFWrongMoveError Constant
Constants
Not documented.
Pascal
hcTFWrongMoveError = 2001;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFWrongStreamFormat Constant
Constants
Not documented.
Pascal
hcTFWrongStreamFormat = 2002;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
hcTFWrongStreamVersion Constant
Constants
Not documented.
Pascal
hcTFWrongStreamVersion = 2003;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
HeaderTimer Constant
Constants
Not documented.
Pascal
HeaderTimer = 3;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
IID_IDragSourceHelper Constant
Constants
Not documented.
Pascal
IID_IDragSourceHelper: TGUID = (D1: $DE5BF786; D2: $477A; D3:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
IID_IDropTarget Constant
Constants
Not documented.
Pascal
IID_IDropTarget: TGUID = (D1: $00000122; D2: $0000; D3: $0000
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
IID_IDropTargetHelper Constant
Constants
Not documented.
Pascal
IID_IDropTargetHelper: TGUID = (D1: $4657278B; D2: $411B; D3:
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
InvalidColumn Constant
Constants
Not documented.
Pascal
InvalidColumn = -2;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
MagicID Constant
Constants
Not documented.
Pascal
MagicID: TMagicID = (#$2045, 'V', 'T', WideChar(VTTreeStreamV
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
MinimumTimerInterval Constant
Constants
Not documented.
Pascal
MinimumTimerInterval = 1;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
MouseButtonDown Constant
Constants
Not documented.
Pascal
MouseButtonDown = [tsLeftButtonDown, tsMiddleButtonDown, tsRi
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
NoColumn Constant
Constants
Not documented.
Pascal
NoColumn = -1;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
NodeChunk Constant
Constants
Not documented.
Pascal
NodeChunk = 1;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
OptionMap Constant
Constants
Not documented.
Pascal
OptionMap: array[TOldVTOption] of Integer = ( Ord(toAcceptOLE
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
PressedState Constant
Constants
Not documented.
Pascal
PressedState: array[TCheckState] of TCheckState = ( csUncheck
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
RTLFlag Constant
Constants
Not documented.
Pascal
RTLFlag: array[Boolean] of Integer = (0, ETO_RTLREADING);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SCannotSetUserData Constant
Constants
Not documented.
Pascal
SCannotSetUserData = 'Cannot set initial user data because th
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SClipboardFailed Constant
Constants
Not documented.
Pascal
SClipboardFailed = 'Clipboard operation failed.';
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SCorruptStream1 Constant
Constants
Not documented.
Pascal
SCorruptStream1 = 'Stream data corrupt. A node''s anchor chun
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SCorruptStream2 Constant
Constants
Not documented.
Pascal
SCorruptStream2 = 'Stream data corrupt. Unexpected data after
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
ScrollTimer Constant
Constants
Not documented.
Pascal
ScrollTimer = 4;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SearchTimer Constant
Constants
Not documented.
Pascal
SearchTimer = 7;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SEditLinkIsNil Constant
Constants
Not documented.
Pascal
SEditLinkIsNil = 'Edit link must not be nil.';
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
ShadowSize Constant
Constants
Pascal
ShadowSize = 5;
Description
This value has no influence on Win2K and XP systems as
those OSes have native shadow support. Set it to 0 if you
don't want shadows on the other systems.
Group
Constants
File
VirtualTrees
Links
Constants
SID_IDragSourceHelper Constant
Constants
Not documented.
Pascal
SID_IDragSourceHelper = '{DE5BF786-477A-11D2-839D-00C04FD918D
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SID_IDropTarget Constant
Constants
Not documented.
Pascal
SID_IDropTarget = '{00000122-0000-0000-C000-000000000046}';
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SID_IDropTargetHelper Constant
Constants
Not documented.
Pascal
SID_IDropTargetHelper = '{4657278B-411B-11D2-839A-00C04FD918D
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SStreamTooSmall Constant
Constants
Not documented.
Pascal
SStreamTooSmall = 'Unable to load tree structure, not enough
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
StructureChangeTimer Constant
Constants
Not documented.
Pascal
StructureChangeTimer = 6;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SWrongMoveError Constant
Constants
Not documented.
Pascal
SWrongMoveError = 'Target node cannot be a child node of the
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SWrongStreamFormat Constant
Constants
Not documented.
Pascal
SWrongStreamFormat = 'Unable to load tree structure, the form
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SWrongStreamVersion Constant
Constants
Not documented.
Pascal
SWrongStreamVersion = 'Unable to load tree structure, the ver
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
SysGrays Constant
Constants
Not documented.
Pascal
SysGrays: array[0..3] of TColor = (clWindow, clBtnFace, clBtn
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
TreeNodeSize Constant
Constants
Not documented.
Pascal
TreeNodeSize = (SizeOf(TVirtualNode) + 3) and not 3;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
UnpressedState Constant
Constants
Not documented.
Pascal
UnpressedState: array[TCheckState] of TCheckState = ( csUnche
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
UserChunk Constant
Constants
Not documented.
Pascal
UserChunk = 4;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
UtilityImageSize Constant
Constants
Not documented.
Pascal
UtilityImageSize = 16;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
VTHeaderStreamVersion Constant
Constants
Not documented.
Pascal
VTHeaderStreamVersion = 3;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
VTTreeStreamVersion Constant
Constants
Not documented.
Pascal
VTTreeStreamVersion = 2;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
VTVersion Constant
Constants
Not documented.
Pascal
VTVersion = '4.4.2';
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
WideCR Constant
Constants
Not documented.
Pascal
WideCR = WideChar(#13);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
WideLF Constant
Constants
Not documented.
Pascal
WideLF = WideChar(#10);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
WideLineSeparator Constant
Constants
Not documented.
Pascal
WideLineSeparator = WideChar(#2028);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
WideNull Constant
Constants
Not documented.
Pascal
WideNull = WideChar(#0);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
WM_CHANGESTATE Constant
Constants
Not documented.
Pascal
WM_CHANGESTATE = WM_APP + 32;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPDarkGradientColor Constant
Constants
Not documented.
Pascal
XPDarkGradientColor = $B8C7CB;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPDarkSplitBarColor Constant
Constants
Not documented.
Pascal
XPDarkSplitBarColor = $B2C5C7;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPDownInnerLineColor Constant
Constants
Not documented.
Pascal
XPDownInnerLineColor = $C9D1D0;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPDownMiddleLineColor Constant
Constants
Not documented.
Pascal
XPDownMiddleLineColor = $B8C2C1;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPDownOuterLineColor Constant
Constants
Not documented.
Pascal
XPDownOuterLineColor = $97A5A5;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPLightSplitBarColor Constant
Constants
Not documented.
Pascal
XPLightSplitBarColor = $FFFFFF;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPMainHeaderColorDown Constant
Constants
Not documented.
Pascal
XPMainHeaderColorDown = $D8DFDE;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPMainHeaderColorHover Constant
Constants
Not documented.
Pascal
XPMainHeaderColorHover = $F3F8FA;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
XPMainHeaderColorUp Constant
Constants
Not documented.
Pascal
XPMainHeaderColorUp = $DBEAEB;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Constants
File
VirtualTrees
Links
Constants
Symbol Reference
Virtual Treeview | Interfaces | Legend
Group
Virtual Treeview
Interfaces
IDragSourceHelper
Not documented.
IDropTargetHelper
Not documented.
IVTDragManager
Not documented.
IVTEditLink
Interface which is used for communication between the treeview and
a node editor.
Legend
Class
Links
Virtual Treeview, Interfaces, Legend
IDragSourceHelper Interface
Symbol Reference | Methods | Legend
Not documented.
Pascal
IDragSourceHelper = interface(IUnknown);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Symbol Reference
Members
Methods
InitializeFromBitmap
Not documented.
InitializeFromWindow
Not documented.
Legend
public
Method
Class Hierarchy
File
VirtualTrees
Links
Symbol Reference, Methods, Legend
IDragSourceHelper.InitializeFromBitmap
Method
IDragSourceHelper Interface
Not documented.
Pascal
[SID_IDragSourceHelper]
function InitializeFromBitmap(var SHDragImage: TSHDragImage
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IDragSourceHelper Interface
Links
IDragSourceHelper Interface
IDragSourceHelper.InitializeFromWindow
Method
IDragSourceHelper Interface
Not documented.
Pascal
function InitializeFromWindow(Window: HWND; var ppt: TPoint;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IDragSourceHelper Interface
Links
IDragSourceHelper Interface
IDropTargetHelper Interface
Symbol Reference | Methods | Legend
Not documented.
Pascal
IDropTargetHelper = interface(IUnknown);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Symbol Reference
Members
Methods
DragEnter
Not documented.
DragLeave
Not documented.
DragOver
Not documented.
Drop
Not documented.
Show
Not documented.
Legend
public
Method
Class Hierarchy
File
VirtualTrees
Links
Symbol Reference, Methods, Legend
IDropTargetHelper.DragEnter Method
IDropTargetHelper Interface
Not documented.
Pascal
[SID_IDropTargetHelper]
function DragEnter(hwndTarget: HWND; pDataObject: IDataObject
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IDropTargetHelper Interface
Links
IDropTargetHelper Interface
IDropTargetHelper.DragLeave Method
IDropTargetHelper Interface
Not documented.
Pascal
function DragLeave: HRESULT; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IDropTargetHelper Interface
Links
IDropTargetHelper Interface
IDropTargetHelper.DragOver Method
IDropTargetHelper Interface
Not documented.
Pascal
function DragOver(var ppt: TPoint; dwEffect: Integer): HRESUL
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IDropTargetHelper Interface
Links
IDropTargetHelper Interface
IDropTargetHelper.Drop Method
IDropTargetHelper Interface
Not documented.
Pascal
function Drop(pDataObject: IDataObject; var ppt: TPoint; dwEf
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IDropTargetHelper Interface
Links
IDropTargetHelper Interface
IDropTargetHelper.Show Method
IDropTargetHelper Interface
Not documented.
Pascal
function Show(fShow: Boolean): HRESULT; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IDropTargetHelper Interface
Links
IDropTargetHelper Interface
IVTDragManager Interface
Symbol Reference | Methods | Properties | Legend
Not documented.
Pascal
IVTDragManager = interface(IUnknown);
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Group
Symbol Reference
Members
Properties
DataObject
Not documented.
DragSource
Not documented.
DropTargetHelperSupported
Not documented.
IsDropTarget
Not documented.
Methods
ForceDragLeave
Not documented.
GetDataObject
Not documented.
GetDragSource
Not documented.
GetDropTargetHelperSupported
Not documented.
GetIsDropTarget
Not documented.
Legend
public
Property
read only
Method
Class Hierarchy
File
VirtualTrees
Links
Symbol Reference, Methods, Properties, Legend
IVTDragManager.DataObject Property
IVTDragManager Interface
Not documented.
Pascal
property DataObject: IDataObject;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.DragSource Property
IVTDragManager Interface
Not documented.
Pascal
property DragSource: TBaseVirtualTree;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.DropTargetHelperSupported
Property
IVTDragManager Interface
Not documented.
Pascal
property DropTargetHelperSupported: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.IsDropTarget Property
IVTDragManager Interface
Not documented.
Pascal
property IsDropTarget: Boolean;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.ForceDragLeave
Method
IVTDragManager Interface
Not documented.
Pascal
procedure ForceDragLeave; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.GetDataObject Method
IVTDragManager Interface
Not documented.
Pascal
function GetDataObject: IDataObject; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.GetDragSource Method
IVTDragManager Interface
Not documented.
Pascal
function GetDragSource: TBaseVirtualTree; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.GetDropTargetHelperSupported
Method
IVTDragManager Interface
Not documented.
Pascal
function GetDropTargetHelperSupported: Boolean; stdcall
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTDragManager.GetIsDropTarget
Method
IVTDragManager Interface
Not documented.
Pascal
function GetIsDropTarget: Boolean; stdcall;
Description
Use other resources like the news group or the Delphi Gems
message board to find a description.
Interface
IVTDragManager Interface
Links
IVTDragManager Interface
IVTEditLink Interface
Symbol Reference | Methods | Legend
Pascal
IVTEditLink = interface;
Description
Due to the virtual nature of the tree it is necessary to supply a
kind of plug in interface for application defined node editors.
TCustomVirtualStringTree is the first class which implements
a node editor. This is just a generic editor to edit a node's
caption just like TTreeview does it. Because of the lack of
support under Win9x system this editor only can edit ANSI
text. You have to create an own editor to make also Unicode
string editing available for node captions.
Group
Symbol Reference
Members
Methods
BeginEdit
This function will be called by the virtual tree when the editing starts.
CancelEdit
This function will be called by the virtual tree when the current editing
is about to be cancelled.
EndEdit
This function will be called by the virtual tree when the current editing
is being finished.
GetBounds
The virtual tree can use this function to get the current bounding rect
of the node editor.
PrepareEdit
This function is called by a virtual tree to initialize the node editor.
ProcessMessage
This function is used to forward messages being directed to the virtual
tree.
SetBounds
The virtual tree calls this function to initialize the bounding rectangle
of the node editor.
Legend
public
Method
Class Hierarchy
File
VirtualTrees
Links
Symbol Reference, Methods, Legend
IVTEditLink.BeginEdit Method
IVTEditLink Interface
This function will be called by the virtual tree when the editing
starts.
Pascal
function BeginEdit: Boolean; stdcall;
Description
Write code to actually display the node editor here. This might
be something like Visible := True or Show. The return value
should be true if editing can start or false otherwise. Before
this function is called PrepareEdit and SetBounds are
executed.
Interface
IVTEditLink Interface
Links
IVTEditLink Interface
IVTEditLink.CancelEdit Method
IVTEditLink Interface
This function will be called by the virtual tree when the current
editing is about to be cancelled.
Pascal
function CancelEdit: Boolean; stdcall;
Description
Hide the node editor here. This might be something like
Visible := False or Hide. The return value should be True if the
editing can be cancelled. Return false if the node editor is in
an internal state which does not allow to cancel the editing
right now.
Notes
If the edited tree is changed during this function, i.e. focus
change, node deletion and so on, CancelEdit might be
Interface
IVTEditLink Interface
Links
IVTEditLink Interface
IVTEditLink.EndEdit Method
IVTEditLink Interface
This function will be called by the virtual tree when the current
editing is being finished.
Pascal
function EndEdit: Boolean; stdcall;
Description
Hide the node editor here. This might be something like
Visible := False or Hide. The return value should be true if the
editing can be finished. Return false if the node editor is in an
internal state which does not allow to finish the editing right
now - possibly because there is no valid value available at the
moment. If the editing can be finished transmit the edited
value to the tree or to the data structure which is displayed in
the tree.
Notes
If the edited tree is changed during this function, i.e. focus
change, node deletion and so on, EndEdit might be called
Interface
IVTEditLink Interface
Links
IVTEditLink Interface
IVTEditLink.GetBounds Method
IVTEditLink Interface
The virtual tree can use this function to get the current
bounding rect of the node editor.
Pascal
function GetBounds: TRect; stdcall;
Description
The bounding rect of the node editor may change during the
editing to reflect the changed edit contents. The tree uses this
function to query the current bounding rect of the editor. VCL
components derived from TControl have a BoundsRect
property which can be used as a return value here.
Interface
IVTEditLink Interface
Links
IVTEditLink Interface
IVTEditLink.PrepareEdit Method
IVTEditLink Interface
Pascal
function PrepareEdit(Tree: TBaseVirtualTree; Node: PVirtualNo
Description
Use PrepareEdit to initialize the node editor. This includes
getting the node content in the specified column which will be
needed later when the editor is shown. BeginEdit may be
called anytime after this function returns. If the initialization
fails simply return false (exceptions should be trapped).
Interface
IVTEditLink Interface
Links
IVTEditLink Interface
IVTEditLink.ProcessMessage Method
IVTEditLink Interface
Pascal
procedure ProcessMessage(var Message: TMessage); stdcall
Description
Some node editors might need to trap some messages which
are directed to the treeview window. This function remedies
the need to subclass the virtual tree via its WindowProc
property. If these messages are not needed leave the function
body empty.
Interface
IVTEditLink Interface
Links
IVTEditLink Interface
IVTEditLink.SetBounds Method
IVTEditLink Interface
Pascal
procedure SetBounds(R: TRect); stdcall;
Description
This function is usually called after PrepareEdit and before
BeginEdit in order to place the node editor exactly over the
node which is about to be edited. Use the R parameter to set
the bounding rect of the editor. If the treeview is in grid mode
R will be equal to the cell rectangle of the to be edited cell.
Otherwise R is the bounding rectangle of the actual node text.
Notes
SetBounds is also a method of TControl. Hence if your node
editor is implemented by a descendant of TControl you must
use
Links
IVTEditLink Interface
EVirtualTreeError
TBaseVirtualTree
TBaseVirtualTree is the main and base class for all other Virtual
Treeview descendants.
TBufferedString
TClipboardFormatList
Not documented.
TClipboardFormats
List of strings describing clipboard formats.
TCriticalSection
Not documented.
TCustomStringTreeOptions
Enhanced options class for string trees.
TCustomVirtualDrawTree
Simple owner draw descendant of the base tree.
TCustomVirtualStringTree
Descendant of TBaseVirtualTree, which is able to manage node
captions on its own
TCustomVirtualTreeOptions
Organizes all tree options into subproperties for easier managment.
TEnumFormatEtc
TScrollBarOptions
TStringEditLink
TStringEditLink is the standard node editor of a TVirtualStringTree.
TStringTreeOptions
Options class used in the string tree and its descentants.
TVirtualDrawTree
Descendant of TBaseVirtualTree, which passes node paint events
through to the application (similar to a draw grid)
TVirtualStringTree
Descentant of TBaseVirtualTree which is able to manage node captions
on its own.
TVirtualTreeColumn
Represents a column in a Virtual Treeview.
TVirtualTreeColumns
Collection class, which holds the columns for the tree.
TVirtualTreeHintWindow
Internally used hint window class to support Unicode hints.
TVirtualTreeOptions
Collects all binary options of the tree control into one place for easier
access.
TVTColors
Collects all color related options for the tree control.
TVTDataObject
Implementation of an IDataObject interface.
TVTDragImage
Not documented.
TVTDragManager
Not documented.
TVTEdit
Not documented.
TVTHeader
Not documented.
TVTHeaderPopupMenu
Not documented.
TWideBufferedString
Not documented.
TWorkerThread
Not documented.
TWriterHack
Not documented.
Legend
Classes
Legend
Class
TBaseVirtualTree Class Events
TBaseVirtualTree Class | Legend
Events
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TBaseVirtualTree Class Methods
TBaseVirtualTree Class | Legend
Methods
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
TBaseVirtualTree Class Properties
TBaseVirtualTree Class | Legend
Properties
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Legend
TBaseVirtualTree Class
Legend
protected
Property
public
read only
Event
Method
virtual
See Also
TBaseVirtualTree.CustomCheckImages Property
See Also
TCheckImageKind
See Also
TBaseVirtualTree.DefaultPasteMode Property
See Also
TVTNodeAttachMode
See Also
TBaseVirtualTree.DragManager Property
See Also
TVTDragManager
See Also
TBaseVirtualTree.EditDelay Property
See Also
Editors and editing
See Also
TBaseVirtualTree.FocusedColumn Property
See Also
FocusedNode, TVTSelectionOptions
See Also
TBaseVirtualTree.FocusedNode Property
See Also
FocusedColumn, TVTSelectionOptions
See Also
TBaseVirtualTree.FullyVisible Property
See Also
IsVisible, VisiblePath, vsVisible, TVirtualNodeStates
See Also
TBaseVirtualTree.HasChildren Property
See Also
vsHasChildren, TVirtualNodeStates
See Also
TBaseVirtualTree.Header Property
See Also
TVTHeader
See Also
TBaseVirtualTree.HotCursor Property
See Also
HotNode, TVTPaintOptions
See Also
TBaseVirtualTree.HotNode Property
See Also
HotCursor, toHotTrack, TVTPaintOptions
See Also
TBaseVirtualTree.Images Property
See Also
StateImages, CheckImages
See Also
TBaseVirtualTree.IncrementalSearch Property
See Also
IncrementalSearchDirection, IncrementalSearchStart,
IncrementalSearchTimeout
See Also
TBaseVirtualTree.IncrementalSearchDirection Property
See Also
IncrementalSearch, IncrementalSearchStart,
IncrementalSearchTime123out
See Also
TBaseVirtualTree.IncrementalSearchStart Property
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchTimeout
See Also
TBaseVirtualTree.IncrementalSearchTimeout Property
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchStart
See Also
TBaseVirtualTree.Margin Property
See Also
TVirtualStringTree.TextMargin
See Also
TBaseVirtualTree.NodeAlignment Property
See Also
TVirtualNode
See Also
TBaseVirtualTree.NodeDataSize Property
See Also
Data handling
See Also
TBaseVirtualTree.NodeParent Property
See Also
MoveTo, CopyTo
See Also
TBaseVirtualTree.OnAdvancedHeaderDraw Event
See Also
OnHeaderDrawQueryElements, OnHeaderDraw
See Also
TBaseVirtualTree.OnAfterCellPaint Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnAfterItemErase Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnAfterItemPaint Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnAfterPaint Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnBeforeCellPaint Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnBeforeItemErase Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnBeforeItemPaint Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnBeforePaint Event
See Also
Paint cycles and stages
See Also
TBaseVirtualTree.OnColumnClick Event
See Also
OnHeaderClick
See Also
TBaseVirtualTree.OnColumnDblClick Event
See Also
OnColumnClick, OnHeaderDblClick
See Also
TBaseVirtualTree.OnCompareNodes Event
See Also
SortTree, Sort
See Also
TBaseVirtualTree.OnCreateEditor Event
See Also
Editors and editing
See Also
TBaseVirtualTree.OnDragOver Event
See Also
OnDragDrop
See Also
TBaseVirtualTree.OnEditCancelled Event
See Also
Editors and editing
See Also
TBaseVirtualTree.OnEdited Event
See Also
Editors and editing
See Also
TBaseVirtualTree.OnEditing Event
See Also
Editors and editing
See Also
TBaseVirtualTree.OnGetLineStyle Event
See Also
PrepareBitmaps
See Also
TBaseVirtualTree.OnGetNodeDataSize Event
See Also
NodeDataSize, Data handling
See Also
TBaseVirtualTree.OnHeaderClick Event
See Also
SortColumn, SortDirection
See Also
TBaseVirtualTree.OnHeaderDblClick Event
See Also
OnHeaderClick
See Also
TBaseVirtualTree.OnHeaderDrawQueryElements Event
See Also
OnAdvancedHeaderDraw
See Also
TBaseVirtualTree.OnInitChildren Event
See Also
The virtual paradigm
See Also
TBaseVirtualTree.OnInitNode Event
See Also
The virtual paradigm
See Also
TBaseVirtualTree.OnLoadNode Event
See Also
OnSaveNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
See Also
TBaseVirtualTree.OnMeasureItem Event
See Also
InvalidateNode, vsHeightMeasured
See Also
TBaseVirtualTree.OnResetNode Event
See Also
ResetNode
See Also
TBaseVirtualTree.OnSaveNode Event
See Also
OnLoadNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
See Also
TBaseVirtualTree.OnScroll Event
See Also
OffsetXY
See Also
TBaseVirtualTree.SearchBuffer Property
See Also
IncrementalSearch
See Also
TBaseVirtualTree.SelectionBlendFactor Property
See Also
DrawSelectionMode, TVTPaintOptions
See Also
TBaseVirtualTree.SelectionCurveRadius Property
See Also
SelectionBlendFactor, DrawSelectionMode, TVTPaintOptions
See Also
TBaseVirtualTree.StateImages Property
See Also
CheckImages, Images
See Also
TBaseVirtualTree.TextMargin Property
See Also
Margin
See Also
TBaseVirtualTree.TotalInternalDataSize Property
See Also
Data handling
See Also
TBaseVirtualTree.TreeStates Property
See Also
OnStateChange
See Also
TBaseVirtualTree.VisiblePath Property
See Also
Visible
See Also
TBaseVirtualTree.AddChild Method
See Also
InsertNode, OnInitNode, OnInitChildren
See Also
TBaseVirtualTree.AddFromStream Method
See Also
SaveToStream
See Also
TBaseVirtualTree.AllocateInternalDataArea Method
See Also
Data handling, TotalInternalDataSize
See Also
TBaseVirtualTree.Change Method
See Also
BeginSynch, EndSynch, BeginUpdate, EndUpdate,
ChangeDelay
See Also
TBaseVirtualTree.ChangeScale Method
See Also
TVTHeader.ChangeScale, DefaultNodeHeight
See Also
TBaseVirtualTree.ColumnIsEmpty Method
See Also
toAutoSpanColumns
See Also
TBaseVirtualTree.DetermineHiddenChildrenFlag Method
See Also
vsVisible, toAutoHideButtons
See Also
TBaseVirtualTree.DoEdit Method
See Also
tsEditing, OnCreateEditor, IVTEditLink
See Also
TBaseVirtualTree.DoEndEdit Method
See Also
DoEdit, OnNewText, EditNode
See Also
TBaseVirtualTree.EditNode Method
See Also
DoEdit
See Also
TBaseVirtualTree.EndEditNode Method
See Also
Editors and editing, EditNode, DoEdit
See Also
TBaseVirtualTree.EndSynch Method
See Also
BeginSynch, BeginUpdate, EndUpdate
See Also
TBaseVirtualTree.FullCollapse Method
See Also
FullExpand
See Also
TBaseVirtualTree.InternalData Method
See Also
Data handling
See Also
TBaseVirtualTree.LoadFromFile Method
See Also
AddFromStream
See Also
TBaseVirtualTree.PaintTree Method
See Also
Tree image and tree window
See Also
TBaseVirtualTree.SaveToFile Method
See Also
LoadFromStream, AddFromStream
See Also
TBaseVirtualTree.ValidateCache Method
See Also
InvalidateCache
See Also
TBaseVirtualTree.WriteChunks Method
See Also
WriteNode, SaveToStream
See Also
TBaseVirtualTree.WriteNode Method
See Also
WriteChunks, WriteToStream
TBufferedString Class Methods
TBufferedString Class | Legend
Methods
Add
Not documented.
AddNewLine
Not documented.
Destroy
Not documented.
TBufferedString Class Properties
TBufferedString Class | Legend
Properties
AsString
Not documented.
Legend
TBufferedString Class
Legend
public
Property
read only
Method
virtual
TClipboardFormatList Class Methods
TClipboardFormatList Class | Legend
Methods
Add
Adds the given data to the internal list.
Clear
Not documented.
Create
Not documented.
Destroy
Not documented.
EnumerateFormats
Returns a list of format records for the given class.
FindFormat
Not documented.
Legend
TClipboardFormatList Class
Legend
public
Method
virtual
TClipboardFormats Class Methods
TClipboardFormats Class | Legend
Methods
Add
Adds a new format to the internal list.
Create
Constructor of the class.
Insert
Adds a new format to the internal list.
TClipboardFormats Class Properties
TClipboardFormats Class | Legend
Properties
Owner
Not documented.
Legend
TClipboardFormats Class
Legend
public
Property
read only
Method
virtual
TCriticalSection Class Fields
TCriticalSection Class | Legend
Fields
FSection
Not documented.
TCriticalSection Class Methods
TCriticalSection Class | Legend
Methods
Create
Not documented.
Destroy
Not documented.
Enter
Not documented.
Leave
Not documented.
Legend
TCriticalSection Class
Legend
protected
Data Member
public
Method
virtual
TCustomStringTreeOptions Class Methods
TCustomStringTreeOptions Class | Legend
Methods
AssignTo
Used to copy the options class.
Create
The constructor of the class.
TCustomVirtualTreeOptions Class
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
TCustomStringTreeOptions Class Properties
TCustomStringTreeOptions Class | Legend
Properties
StringOptions
The new options introduced by the class.
TCustomVirtualTreeOptions Class
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Legend
TCustomStringTreeOptions Class
Legend
protected
Property
public
read only
Method
virtual
TCustomVirtualDrawTree Class Events
TCustomVirtualDrawTree Class | Legend
Events
OnDrawHint
Triggered when a node hint or tooltip must be drawn.
OnDrawNode
Triggered when a node must be drawn.
OnGetHintSize
Triggered when a node hint or tooltip is about to show.
OnGetNodeWidth
Triggered when a node is about to be drawn.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TCustomVirtualDrawTree Class Methods
TCustomVirtualDrawTree Class | Legend
Methods
DoDrawHint
Overridable method which triggers OnDrawHint.
DoGetHintSize
Overridable method which triggers OnGetHintSize.
DoGetNodeWidth
Overridable method which triggers OnGetNodeWidth.
DoPaintNode
Overridable method which triggers OnPaintNode.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
TCustomVirtualDrawTree Class Properties
TCustomVirtualDrawTree Class | Legend
Properties
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Legend
TCustomVirtualDrawTree Class
Legend
protected
Event
Method
virtual
public
Property
read only
TCustomVirtualStringTree Class Events
TCustomVirtualStringTree Class | Legend
Events
OnGetHint
Virtual string tree event to query for a custom hint text.
OnGetText
Virtual string tree event to query for a node's normal or static text.
OnNewText
Virtual string tree event to pass edited text.
OnPaintText
Event to change text formatting for particular nodes.
OnShortenString
String tree event for custom handling of string abbreviations.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TCustomVirtualStringTree Class Methods
TCustomVirtualStringTree Class | Legend
Methods
AdjustPaintCellRect
Method which can be used by descentants to adjust the given
rectangle during a paint cycle.
CalculateTextWidth
Not documented.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
ComputeNodeHeight
Not documented.
ContentToClipboard
Not documented.
ContentToHTML
Not documented.
ContentToRTF
Not documented.
ContentToText
Not documented.
ContentToUnicode
Not documented.
Create
Constructor of the control
DefineProperties
Helper method to customize loading and saving persistent tree data.
DoCreateEditor
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetText
Not documented.
DoIncrementalSearch
Not documented.
DoNewText
Not documented.
DoPaintNode
Overridable method which does nothing.
DoPaintText
Not documented.
DoShortenString
Not documented.
DoTextDrawing
Not documented.
DoTextMeasuring
Not documented.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetTextInfo
Helper method for node editors, hints etc.
InternalData
Returns the address of the internal data for a tree class.
InvalidateNode
Invalidates the given node.
MainColumnChanged
Not documented.
Path
Not documented.
ReadChunk
Not documented.
ReadOldStringOptions
Not documented.
ReinitNode
Forces a reinitialization of the given node.
RenderOLEData
Renders pending OLE data.
WriteChunks
Writes the core chunks for the given node to the given stream.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
TCustomVirtualStringTree Class Properties
TCustomVirtualStringTree Class | Legend
Properties
DefaultText
Not documented.
EllipsisWidth
Not documented.
Text
Not documented.
TreeOptions
Reference to the tree's options.
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Legend
TCustomVirtualStringTree Class
Legend
protected
Property
read only
public
Event
Method
virtual
See Also
TCustomVirtualStringTree.OnGetText Event
See Also
OnPaintText
See Also
TCustomVirtualStringTree.OnNewText Event
See Also
OnCreateEditor, OnEdited
See Also
TCustomVirtualStringTree.OnPaintText Event
See Also
Paint cycles and stages
See Also
TCustomVirtualStringTree.ColumnIsEmpty Method
See Also
toAutoSpanColumns
See Also
TCustomVirtualStringTree.InternalData Method
See Also
Data handling
See Also
TCustomVirtualStringTree.WriteChunks Method
See Also
WriteNode, SaveToStream
TCustomVirtualTreeOptions Class Methods
TCustomVirtualTreeOptions Class | Legend
Methods
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
TCustomVirtualTreeOptions Class Properties
TCustomVirtualTreeOptions Class | Legend
Properties
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Legend
TCustomVirtualTreeOptions Class
Legend
protected
Property
public
read only
Method
virtual
TEnumFormatEtc Class Methods
TEnumFormatEtc Class | Legend
Methods
Clone
Not documented.
Create
Not documented.
Next
Not documented.
Reset
Not documented.
Skip
Not documented.
Legend
TEnumFormatEtc Class
Legend
public
Method
TScrollBarOptions Class Methods
TScrollBarOptions Class | Legend
Methods
Assign
Not documented.
Create
Not documented.
GetOwner
Not documented.
TScrollBarOptions Class Properties
TScrollBarOptions Class | Legend
Properties
AlwaysVisible
Not documented.
HorizontalIncrement
Not documented.
ScrollBars
Not documented.
ScrollBarStyle
Not documented.
VerticalIncrement
Not documented.
Legend
TScrollBarOptions Class
Legend
published
Property
public
Method
virtual
protected
TStringEditLink Class Methods
TStringEditLink Class | Legend
Methods
BeginEdit
This function will be called by the virtual string tree when the editing
starts.
CancelEdit
This function will be called by the virtual string tree when the current
editing is about to be cancelled.
Create
Constructor of the class.
Destroy
Destructor of the class.
EndEdit
This function will be called by the virtual string tree when the current
editing is being finished.
GetBounds
The virtual string tree uses this function to get the current bounding
rect of the node editor.
PrepareEdit
This function is called by a virtual string tree to initialize the node
editor.
ProcessMessage
This function is used to forward messages being directed to the virtual
string tree.
SetBounds
The virtual string tree calls this function to initialize the bounding rect
of the node editor.
IVTEditLink Interface
BeginEdit
This function will be called by the virtual tree when the editing starts.
CancelEdit
This function will be called by the virtual tree when the current editing
is about to be cancelled.
EndEdit
This function will be called by the virtual tree when the current editing
is being finished.
GetBounds
The virtual tree can use this function to get the current bounding rect
of the node editor.
PrepareEdit
This function is called by a virtual tree to initialize the node editor.
ProcessMessage
This function is used to forward messages being directed to the virtual
tree.
SetBounds
The virtual tree calls this function to initialize the bounding rectangle
of the node editor.
TStringEditLink Class Properties
TStringEditLink Class | Legend
Properties
Edit
Not documented.
Legend
TStringEditLink Class
Legend
public
Property
Method
virtual
TStringTreeOptions Class Methods
TStringTreeOptions Class | Legend
Methods
TCustomStringTreeOptions Class
AssignTo
Used to copy the options class.
Create
The constructor of the class.
TCustomVirtualTreeOptions Class
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
TStringTreeOptions Class Properties
TStringTreeOptions Class | Legend
Properties
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
StringOptions
The new options introduced by the class.
TCustomStringTreeOptions Class
StringOptions
The new options introduced by the class.
TCustomVirtualTreeOptions Class
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Legend
TStringTreeOptions Class
Legend
published
Property
protected
public
read only
Method
virtual
TVirtualDrawTree Class Events
TVirtualDrawTree Class | Legend
Events
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnDrawHint
Triggered when a node hint or tooltip must be drawn.
OnDrawNode
Triggered when a node must be drawn.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetHintSize
Triggered when a node hint or tooltip is about to show.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetNodeWidth
Triggered when a node is about to be drawn.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TCustomVirtualDrawTree Class
OnDrawHint
Triggered when a node hint or tooltip must be drawn.
OnDrawNode
Triggered when a node must be drawn.
OnGetHintSize
Triggered when a node hint or tooltip is about to show.
OnGetNodeWidth
Triggered when a node is about to be drawn.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TVirtualDrawTree Class Methods
TVirtualDrawTree Class | Legend
Methods
GetOptionsClass
Customization helper to determine which options class the tree should
use.
TCustomVirtualDrawTree Class
DoDrawHint
Overridable method which triggers OnDrawHint.
DoGetHintSize
Overridable method which triggers OnGetHintSize.
DoGetNodeWidth
Overridable method which triggers OnGetNodeWidth.
DoPaintNode
Overridable method which triggers OnPaintNode.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
TVirtualDrawTree Class Properties
TVirtualDrawTree Class | Legend
Properties
Action
Not documented.
Align
Not documented.
Alignment
Determines the horizontal alignment of text if no columns are defined.
Anchors
Not documented.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BevelEdges
Not documented.
BevelInner
Not documented.
BevelKind
Not documented.
BevelOuter
Not documented.
BevelWidth
Not documented.
BiDiMode
Not documented.
BorderStyle
Same as TForm.BorderStyle.
BorderWidth
Not documented.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
Canvas
Not documented.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Color
Not documented.
Colors
A collection of colors used in the tree.
Constraints
Not documented.
Ctl3D
Not documented.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragCursor
Not documented.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragKind
Not documented.
DragMode
Not documented.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
Enabled
Not documented.
Font
Same as TWinControl.Font.
Header
Provides access to the header instance.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
OnClick
Not documented.
OnDblClick
Not documented.
OnEndDock
Not documented.
OnEndDrag
Not documented.
OnEnter
Not documented.
OnExit
Not documented.
OnKeyDown
Not documented.
OnKeyPress
Not documented.
OnKeyUp
Not documented.
OnMouseDown
Not documented.
OnMouseMove
Not documented.
OnMouseUp
Not documented.
OnMouseWheel
Not documented.
OnResize
Not documented.
OnStartDock
Not documented.
ParentBiDiMode
Not documented.
ParentColor
Not documented.
ParentCtl3D
Not documented.
ParentFont
Not documented.
ParentShowHint
Not documented.
PopupMenu
Not documented.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
ShowHint
Not documented.
StateImages
Reference to the images list which is used for the state images.
TabOrder
Not documented.
TabStop
Not documented.
TextMargin
Read or set the distance of the node caption to its borders.
TreeOptions
Reference to the tree's options.
Visible
Not documented.
WantTabs
Read or set whether the tree wants to process tabs on its own.
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Legend
TVirtualDrawTree Class
Legend
published
Property
public
protected
read only
Event
Method
virtual
See Also
TVirtualDrawTree.CustomCheckImages Property
See Also
TCheckImageKind
See Also
TVirtualDrawTree.DefaultPasteMode Property
See Also
TVTNodeAttachMode
See Also
TVirtualDrawTree.EditDelay Property
See Also
Editors and editing
See Also
TVirtualDrawTree.Header Property
See Also
TVTHeader
See Also
TVirtualDrawTree.HotCursor Property
See Also
HotNode, TVTPaintOptions
See Also
TVirtualDrawTree.Images Property
See Also
StateImages, CheckImages
See Also
TVirtualDrawTree.IncrementalSearch Property
See Also
IncrementalSearchDirection, IncrementalSearchStart,
IncrementalSearchTimeout
See Also
TVirtualDrawTree.IncrementalSearchDirection Property
See Also
IncrementalSearch, IncrementalSearchStart,
IncrementalSearchTime123out
See Also
TVirtualDrawTree.IncrementalSearchStart Property
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchTimeout
See Also
TVirtualDrawTree.IncrementalSearchTimeout Property
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchStart
See Also
TVirtualDrawTree.Margin Property
See Also
TVirtualStringTree.TextMargin
See Also
TVirtualDrawTree.NodeAlignment Property
See Also
TVirtualNode
See Also
TVirtualDrawTree.NodeDataSize Property
See Also
Data handling
See Also
TVirtualDrawTree.OnAdvancedHeaderDraw Event
See Also
OnHeaderDrawQueryElements, OnHeaderDraw
See Also
TVirtualDrawTree.OnAfterCellPaint Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnAfterItemErase Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnAfterItemPaint Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnAfterPaint Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnBeforeCellPaint Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnBeforeItemErase Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnBeforeItemPaint Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnBeforePaint Event
See Also
Paint cycles and stages
See Also
TVirtualDrawTree.OnColumnClick Event
See Also
OnHeaderClick
See Also
TVirtualDrawTree.OnColumnDblClick Event
See Also
OnColumnClick, OnHeaderDblClick
See Also
TVirtualDrawTree.OnCompareNodes Event
See Also
SortTree, Sort
See Also
TVirtualDrawTree.OnCreateEditor Event
See Also
Editors and editing
See Also
TVirtualDrawTree.OnDragOver Event
See Also
OnDragDrop
See Also
TVirtualDrawTree.OnEdited Event
See Also
Editors and editing
See Also
TVirtualDrawTree.OnEditing Event
See Also
Editors and editing
See Also
TVirtualDrawTree.OnGetLineStyle Event
See Also
PrepareBitmaps
See Also
TVirtualDrawTree.OnGetNodeDataSize Event
See Also
NodeDataSize, Data handling
See Also
TVirtualDrawTree.OnHeaderClick Event
See Also
SortColumn, SortDirection
See Also
TVirtualDrawTree.OnHeaderDblClick Event
See Also
OnHeaderClick
See Also
TVirtualDrawTree.OnHeaderDrawQueryElements Event
See Also
OnAdvancedHeaderDraw
See Also
TVirtualDrawTree.OnInitChildren Event
See Also
The virtual paradigm
See Also
TVirtualDrawTree.OnInitNode Event
See Also
The virtual paradigm
See Also
TVirtualDrawTree.OnLoadNode Event
See Also
OnSaveNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
See Also
TVirtualDrawTree.OnMeasureItem Event
See Also
InvalidateNode, vsHeightMeasured
See Also
TVirtualDrawTree.OnResetNode Event
See Also
ResetNode
See Also
TVirtualDrawTree.OnSaveNode Event
See Also
OnLoadNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
See Also
TVirtualDrawTree.OnScroll Event
See Also
OffsetXY
See Also
TVirtualDrawTree.SelectionBlendFactor Property
See Also
DrawSelectionMode, TVTPaintOptions
See Also
TVirtualDrawTree.SelectionCurveRadius Property
See Also
SelectionBlendFactor, DrawSelectionMode, TVTPaintOptions
See Also
TVirtualDrawTree.StateImages Property
See Also
CheckImages, Images
See Also
TVirtualDrawTree.TextMargin Property
See Also
Margin
TVirtualStringTree Class Events
TVirtualStringTree Class | Legend
Events
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetHint
Virtual string tree event to query for a custom hint text.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetText
Virtual string tree event to query for a node's normal or static text.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNewText
Virtual string tree event to pass edited text.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnPaintText
Event to change text formatting for particular nodes.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShortenString
String tree event for custom handling of string abbreviations.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TCustomVirtualStringTree Class
OnGetHint
Virtual string tree event to query for a custom hint text.
OnGetText
Virtual string tree event to query for a node's normal or static text.
OnNewText
Virtual string tree event to pass edited text.
OnPaintText
Event to change text formatting for particular nodes.
OnShortenString
String tree event for custom handling of string abbreviations.
TBaseVirtualTree Class
OnAdvancedHeaderDraw
Header paint support event.
OnAfterCellPaint
Paint support event.
OnAfterItemErase
Paint support event.
OnAfterItemPaint
Paint support event.
OnAfterPaint
Paint support event.
OnBeforeCellPaint
Paint support event.
OnBeforeItemErase
Paint support event.
OnBeforeItemPaint
Paint support event.
OnBeforePaint
Paint support event.
OnChange
Navigation support event.
OnChecked
Check support event.
OnChecking
Check support event.
OnCollapsed
Miscellaneous event.
OnCollapsing
Miscellaneous event.
OnColumnClick
Header and column support event.
OnColumnDblClick
Header and column support event.
OnColumnResize
Header and column support routine.
OnCompareNodes
Sort and search support event.
OnCreateDataObject
Drag'n drop support event.
OnCreateDragManager
Drag'n drop support event.
OnCreateEditor
Editing support event.
OnDragAllowed
Drag'n drop support event.
OnDragDrop
Drag'n drop support event.
OnDragOver
Drag'n drop support event.
OnEditCancelled
Editing support event.
OnEdited
Editing support event.
OnEditing
Editing support event.
OnExpanded
Misscellaneous event.
OnExpanding
Miscellaneous event.
OnFocusChanged
Navigation support event.
OnFocusChanging
Navigation support event.
OnFreeNode
Data management node.
OnGetCellIsEmpty
Triggered when the tree control needs to know whether a given
column is empty.
OnGetCursor
Miscellaneous event.
OnGetHeaderCursor
Header and column support event.
OnGetHelpContext
Miscellaneous event.
OnGetImageIndex
Display management event.
OnGetImageIndexEx
Not documented.
OnGetLineStyle
Display management event.
OnGetNodeDataSize
Data management event.
OnGetPopupMenu
Miscellaneous event.
OnGetUserClipboardFormats
Drag'n drop and clipboard support event.
OnHeaderClick
Header & column support event.
OnHeaderDblClick
Header & column support event.
OnHeaderDragged
Header & column support event.
OnHeaderDraggedOut
Header & column support event.
OnHeaderDragging
Header & column support event.
OnHeaderDraw
Header & column support event.
OnHeaderDrawQueryElements
Header & column support event.
OnHeaderMouseDown
Header & column support event.
OnHeaderMouseMove
Header & column support event.
OnHeaderMouseUp
Header & column support event.
OnHotChange
Navigation support event.
OnIncrementalSearch
Miscellaneous event.
OnInitChildren
Node management event.
OnInitNode
Node management event.
OnKeyAction
Miscellaneous event.
OnLoadNode
Streaming support event.
OnMeasureItem
Miscellaneous event.
OnNodeCopied
Miscellaneous event.
OnNodeCopying
Miscellaneous event.
OnNodeMoved
Miscellaneous event.
OnNodeMoving
Miscellaneous event.
OnPaintBackground
Paint support event.
OnRenderOLEData
Drag'n drop and clipboard support event.
OnResetNode
Node management event.
OnSaveNode
Streaming support event.
OnScroll
Miscellaneous event.
OnShowScrollbar
Not documented.
OnStateChange
Miscellaneous event.
OnStructureChange
Miscellaneous event.
OnUpdating
Miscellaneous event.
TVirtualStringTree Class Methods
TVirtualStringTree Class | Legend
Methods
GetOptionsClass
Customization helper to determine which options class the tree should
use.
TCustomVirtualStringTree Class
AdjustPaintCellRect
Method which can be used by descentants to adjust the given
rectangle during a paint cycle.
CalculateTextWidth
Not documented.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
ComputeNodeHeight
Not documented.
ContentToClipboard
Not documented.
ContentToHTML
Not documented.
ContentToRTF
Not documented.
ContentToText
Not documented.
ContentToUnicode
Not documented.
Create
Constructor of the control
DefineProperties
Helper method to customize loading and saving persistent tree data.
DoCreateEditor
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetText
Not documented.
DoIncrementalSearch
Not documented.
DoNewText
Not documented.
DoPaintNode
Overridable method which does nothing.
DoPaintText
Not documented.
DoShortenString
Not documented.
DoTextDrawing
Not documented.
DoTextMeasuring
Not documented.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetTextInfo
Helper method for node editors, hints etc.
InternalData
Returns the address of the internal data for a tree class.
InvalidateNode
Invalidates the given node.
MainColumnChanged
Not documented.
Path
Not documented.
ReadChunk
Not documented.
ReadOldStringOptions
Not documented.
ReinitNode
Forces a reinitialization of the given node.
RenderOLEData
Renders pending OLE data.
WriteChunks
Writes the core chunks for the given node to the given stream.
TBaseVirtualTree Class
AbsoluteIndex
Reads the overall index of a node.
AddChild
Creates and adds a new child node to given node.
AddFromStream
Adds the content from the given stream to the given node.
AddToSelection
Adds one or more nodes to the current selection.
AdjustPaintCellRect
Used in descentants to modify the clip rectangle of the current column
while painting a certain node.
AdjustPanningCursor
Loads the proper cursor which indicates into which direction scrolling
is done.
AdviseChangeEvent
Used to register a delayed change event.
AllocateInternalDataArea
Registration method to allocate tree internal data per node.
Animate
Support method for animated actions in the tree view.
Assign
Used to copy properties from another Virtual Treeview.
BeginDrag
Starts an OLE drag'n drop operation.
BeginSynch
Enters the tree into a special synchronized mode.
BeginUpdate
Locks the tree view to perform several update operations.
CalculateSelectionRect
Support method for draw selection.
CanAutoScroll
Determines whether the tree can currently auto scroll its window.
CancelCutOrCopy
Canceles any pending cut or copy clipboard operation.
CancelEditNode
Cancel the current edit operation, if there is any.
CanEdit
Determines whether a node can be edited or not.
CanFocus
Support method to determine whether the tree window can receive
the input focus.
CanShowDragImage
Determines whether a drag image should be shown.
Change
Central method called when a node's selection state changes.
ChangeScale
Helper method called by the VCL when control resizing is due.
CheckParentCheckState
Helper method for recursive check state changes.
Clear
Clears the tree and removes all nodes.
ClearChecked
Not documented.
ClearSelection
Removes all nodes from the current selection.
ClearTempCache
Helper method to clear the internal temporary node cache.
ColumnIsEmpty
Used to determine if a cell is considered as being empty.
CopyTo
Copies Source and all its child nodes to Target.
CopyToClipBoard
Copies all currently selected nodes to the clipboard.
CountLevelDifference
Determines the level difference of two nodes.
CountVisibleChildren
Determines the number of visible child nodes of the given node.
Create
Constructor of the control
CreateParams
Prepares the creation of the controls window handle.
CreateWnd
Initializes data, which depends on the window handle.
CutToClipBoard
Copies the currently selected nodes to the clipboard and removes
them once a consumer has taken the data.
DefineProperties
Helper method to customize loading and saving persistent tree data.
DeleteChildren
Removes all child nodes from the given node.
DeleteNode
Removes the given node from the tree.
DeleteSelectedNodes
Removes all currently selected nodes form the tree.
Destroy
Destructor of the control.
DetermineHiddenChildrenFlag
Determines whether all children of a given node are hidden.
DetermineHiddenChildrenFlagAllNodes
Determines whether all children of all nodes are hidden.
DetermineHitPositionLTR
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineHitPositionRTL
Determines the hit position within a node with left-to-right and right-to-
left orientation.
DetermineNextCheckState
Not documented.
DetermineScrollDirections
Not documented.
DoAdvancedHeaderDraw
Not documented.
DoAfterCellPaint
Not documented.
DoAfterItemErase
Not documented.
DoAfterItemPaint
Not documented.
DoAfterPaint
Not documented.
DoAutoScroll
Enables or disables the auto scroll timer.
DoBeforeCellPaint
Not documented.
DoBeforeDrag
Not documented.
DoBeforeItemErase
Not documented.
DoBeforeItemPaint
Not documented.
DoBeforePaint
Not documented.
DoCancelEdit
Called when the tree should stop editing without accepting changed
values.
DoCanEdit
Not documented.
DoChange
Not documented.
DoCheckClick
Not documented.
DoChecked
Not documented.
DoChecking
Not documented.
DoCollapsed
Not documented.
DoCollapsing
Not documented.
DoColumnClick
Not documented.
DoColumnDblClick
Not documented.
DoColumnResize
Not documented.
DoCompare
Not documented.
DoCreateDataObject
Not documented.
DoCreateDragManager
Not documented.
DoCreateEditor
Not documented.
DoDragDrop
Not documented.
DoDragExpand
Not documented.
DoDragging
Internal method which handles drag' drop.
DoDragOver
Not documented.
DoEdit
Initiates editing of the currently set focused column and edit node.
DoEndDrag
Not documented.
DoEndEdit
Stops the current edit operation and takes over the new content.
DoExpanded
Not documented.
DoExpanding
Not documented.
DoFocusChange
Not documented.
DoFocusChanging
Not documented.
DoFocusNode
Internal method to set the focused node.
DoFreeNode
Not documented.
DoGetAnimationType
Determines the type of animation to be used.
DoGetCursor
Not documented.
DoGetHeaderCursor
Not documented.
DoGetImageIndex
Not documented.
DoGetLineStyle
Not documented.
DoGetNodeHint
Not documented.
DoGetNodeTooltip
Not documented.
DoGetNodeWidth
Overridable method which always retuns 0.
DoGetPopupMenu
Overridable method which triggers the OnGetPopup event.
DoGetUserClipboardFormats
Not documented.
DoHeaderClick
Not documented.
DoHeaderDblClick
Not documented.
DoHeaderDragged
Not documented.
DoHeaderDraggedOut
Not documented.
DoHeaderDragging
Not documented.
DoHeaderDraw
Not documented.
DoHeaderDrawQueryElements
Not documented.
DoHeaderMouseDown
Not documented.
DoHeaderMouseMove
Not documented.
DoHeaderMouseUp
Not documented.
DoHotChange
Not documented.
DoIncrementalSearch
Not documented.
DoInitChildren
Not documented.
DoInitNode
Not documented.
DoKeyAction
Not documented.
DoLoadUserData
Not documented.
DoMeasureItem
Not documented.
DoNodeCopied
Not documented.
DoNodeCopying
Not documented.
DoNodeMoved
Not documented.
DoNodeMoving
Not documented.
DoPaintBackground
Not documented.
DoPaintDropMark
Overridable method which draws the small line on top of a nodes
image depending on the current drop state.
DoPaintNode
Overridable method which does nothing.
DoPopupMenu
Overridable method which shows the popup menu for the given node.
DoRenderOLEData
Not documented.
DoReset
Not documented.
DoSaveUserData
Not documented.
DoScroll
Overridable method which triggers the OnScroll event.
DoSetOffsetXY
Internal core routine to set the tree's scroll position.
DoShowScrollbar
Not documented.
DoStartDrag
Not documented.
DoStateChange
Not documented.
DoStructureChange
Not documented.
DoTimerScroll
Callback method which is triggered whenever the scroll timer fires.
DoUpdating
Not documented.
DoValidateCache
Not documented.
DragCanceled
Called by the VCL when a drag'n drop operation was canceled by the
user.
DragDrop
Helper method, which is used when a drag operation is finished.
DragEnter
Not documented.
DragFinished
Called when a drag operation is finished (accepted or cancelled).
Dragging
Returns true if a drag'n drop operation is in progress.
DragLeave
Not documented.
DragOver
Not documented.
DrawDottedHLine
Not documented.
DrawDottedVLine
Not documented.
EditNode
Starts editing the given node if allowed to.
EndEditNode
Stops node editing if it was started before.
EndSynch
Counterpart to BeginSynch.
EndUpdate
Resets the update lock set by BeginUpdate.
ExecuteAction
Not documented.
FindNodeInSelection
Helper method to find the given node in the current selection.
FinishChunkHeader
Not documented.
FinishCutOrCopy
Stops any pending cut or copy clipboard operation.
FlushClipboard
Renders all pending clipboard data.
FontChanged
Not documented.
FullCollapse
Collapses all nodes in the tree.
FullExpand
Expands all nodes in the tree.
GetBorderDimensions
Not documented.
GetCheckImage
Not documented.
GetCheckImageListFor
Not documented.
GetColumnClass
Returns the class to be used to manage columns in the tree.
GetControlsAlignment
Not documented.
GetDisplayRect
Returns the visible region used by the given node in client
coordinates.
GetFirst
Group of node navigation functions.
GetFirstChecked
Not documented.
GetFirstChild
Group of node navigation functions.
GetFirstCutCopy
Group of node navigation functions.
GetFirstInitialized
Group of node navigation functions.
GetFirstNoInit
Group of node navigation functions.
GetFirstSelected
Group of node navigation functions.
GetFirstVisible
Group of node navigation functions.
GetFirstVisibleChild
Group of node navigation functions.
GetFirstVisibleChildNoInit
Group of node navigation functions.
GetFirstVisibleNoInit
Group of node navigation functions.
GetHeaderClass
Returns the header class to be used by the tree.
GetHintWindowClass
Not documented.
GetHitTestInfoAt
Returns information about the node at the given position.
GetImageIndex
Not documented.
GetLast
Group of node navigation functions.
GetLastChild
Group of node navigation functions.
GetLastChildNoInit
Group of node navigation functions.
GetLastInitialized
Group of node navigation functions.
GetLastNoInit
Group of node navigation functions.
GetLastVisible
Group of node navigation functions.
GetLastVisibleChild
Group of node navigation functions.
GetLastVisibleChildNoInit
Group of node navigation functions.
GetLastVisibleNoInit
Group of node navigation functions.
GetMaxColumnWidth
Returns the width of the largest node in the given column.
GetMaxRightExtend
Determines the maximum with of the currently visible part of the tree.
GetNativeClipboardFormats
Used to let descendants and the application add their own supported
clipboard formats.
GetNext
Group of node navigation functions.
GetNextChecked
Not documented.
GetNextCutCopy
Group of node navigation functions.
GetNextInitialized
Group of node navigation functions.
GetNextNoInit
Group of node navigation functions.
GetNextSelected
Group of node navigation functions.
GetNextSibling
Group of node navigation functions.
GetNextVisible
Group of node navigation functions.
GetNextVisibleNoInit
Group of node navigation functions.
GetNextVisibleSibling
Group of node navigation functions.
GetNextVisibleSiblingNoInit
Group of node navigation functions.
GetNodeAt
Not documented.
GetNodeData
Returns the address of the user data area of the given node.
GetNodeLevel
Returns the indentation level of the given node.
GetOptionsClass
Customization helper to determine which options class the tree should
use.
GetPrevious
Group of node navigation functions.
GetPreviousInitialized
Group of node navigation functions.
GetPreviousNoInit
Group of node navigation functions.
GetPreviousSibling
Group of node navigation functions.
GetPreviousVisible
Group of node navigation functions.
GetPreviousVisibleNoInit
Group of node navigation functions.
GetPreviousVisibleSibling
Group of node navigation functions.
GetPreviousVisibleSiblingNoInit
Group of node navigation functions.
GetSortedCutCopySet
Returns a sorted list of nodes, which are marked for s cut or copy
clipboard operation.
GetSortedSelection
Returns a sorted list of all currently selected nodes.
GetTextInfo
Helper method for node editors, hints etc.
GetTreeFromDataObject
OLE drag'n drop and clipboard support method.
GetTreeRect
Returns the size of the virtual tree image.
GetVisibleParent
Returns the first (nearest) parent node, which is visible.
HandleHotTrack
Not documented.
HandleIncrementalSearch
Not documented.
HandleMouseDblClick
Not documented.
HandleMouseDown
Not documented.
HandleMouseUp
Not documented.
HasAsParent
Determines if the given node has got another node as one of its
parents.
HasImage
Not documented.
HasPopupMenu
Determines whether there is a pop up menu assigned to the tree.
InitChildren
Not documented.
InitNode
Not documented.
InsertNode
Inserts a new node and returns it to the caller.
InternalAddFromStream
Not documented.
InternalAddToSelection
Not documented.
InternalCacheNode
Not documented.
InternalClearSelection
Not documented.
InternalConnectNode
Not documented.
InternalData
Returns the address of the internal data for a tree class.
InternalDisconnectNode
Not documented.
InternalRemoveFromSelection
Not documented.
InvalidateCache
Empties the internal node cache and marks it as invalid.
InvalidateChildren
Invalidates all children of the given node.
InvalidateColumn
Invalidates the client area part of a column.
InvalidateNode
Invalidates the given node.
InvalidateToBottom
Invalidates the client area starting with the top position of the given
node.
InvertSelection
Inverts the current selection.
IsEditing
Tells the caller whether the tree is currently in edit mode.
IsMouseSelecting
Tell the caller whether the tree is currently in draw selection mode.
IterateSubtree
Iterator method to go through all nodes of a given sub tree.
Loaded
Not documented.
LoadFromFile
Loads previously streamed out tree data back in again.
LoadFromStream
Loads previously streamed out tree data back in again.
MainColumnChanged
Not documented.
MarkCutCopyNodes
Not documented.
MeasureItemHeight
Not documented.
MouseMove
Not documented.
MoveTo
Moves Source and all its child nodes to Target.
Notification
Not documented.
OriginalWMNCPaint
Not documented.
Paint
TControl's Paint method used here to display the tree.
PaintCheckImage
Not documented.
PaintImage
Not documented.
PaintNodeButton
Not documented.
PaintSelectionRectangle
Not documented.
PaintTree
Main paint routine for the tree image.
PaintTreeLines
Not documented.
PanningWindowProc
Not documented.
PasteFromClipboard
Inserts the content of the clipboard into the tree.
PrepareDragImage
Not documented.
Print
Not documented.
ProcessDrop
Helper method to ease OLE drag'n drop operations.
ProcessOLEData
Takes serialized OLE tree data and reconstructs the former structure.
ReadChunk
Not documented.
ReadNode
Not documented.
RedirectFontChangeEvent
Not documented.
ReinitChildren
Forces all child nodes of Node to be reinitialized.
ReinitNode
Forces a reinitialization of the given node.
RemoveFromSelection
Removes the given node from the current selection.
RenderOLEData
Renders pending OLE data.
RepaintNode
Causes the treeview to repaint the given node.
ResetNode
Resets the given node to uninitialized.
ResetRangeAnchor
Not documented.
RestoreFontChangeEvent
Not documented.
SaveToFile
Saves the entire content of the tree into a file or stream.
SaveToStream
Saves the entire content of the tree into a file or stream.
ScrollIntoView
Scrolls the tree so that the given node comes in the client area.
SelectAll
Selects all nodes in the tree.
SelectNodes
Selects a range of nodes.
SetBiDiMode
Not documented.
SetFocusedNodeAndColumn
Not documented.
SkipNode
Not documented.
Sort
Sorts the given node.
SortTree
Sorts the entire tree view.
StartWheelPanning
Not documented.
StopWheelPanning
Not documented.
StructureChange
Not documented.
SuggestDropEffect
Not documented.
ToggleNode
Changes a node's expand state to the opposite state.
ToggleSelection
Toggles the selection state of a range of nodes.
UnselectNodes
Deselects a range of nodes.
UpdateAction
Not documented.
UpdateDesigner
Not documented.
UpdateEditBounds
Not documented.
UpdateHeaderRect
Not documented.
UpdateHorizontalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateScrollBars
Applies changes to the horizontal and vertical scrollbars.
UpdateVerticalScrollBar
Applies changes to the horizontal and vertical scrollbars.
UpdateWindowAndDragImage
Not documented.
UseRightToLeftReading
Helper method for right-to-left layout.
ValidateCache
Initiates the validation of the internal node cache.
ValidateChildren
Validates all children of a given node.
ValidateNode
Validates a given node.
ValidateNodeDataSize
Helper method for node data size initalization.
WndProc
Redirected window procedure to do some special processing.
WriteChunks
Writes the core chunks for the given node to the given stream.
WriteNode
Writes the cover (envelop) chunk for the given node to the given
stream.
TVirtualStringTree Class Properties
TVirtualStringTree Class | Legend
Properties
Action
Not documented.
Align
Not documented.
Alignment
Determines the horizontal alignment of text if no columns are defined.
Anchors
Not documented.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BevelEdges
Not documented.
BevelInner
Not documented.
BevelKind
Not documented.
BevelOuter
Not documented.
BevelWidth
Not documented.
BiDiMode
Not documented.
BorderStyle
Same as TForm.BorderStyle.
BorderWidth
Not documented.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
Canvas
Not documented.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Color
Not documented.
Colors
A collection of colors used in the tree.
Constraints
Not documented.
Ctl3D
Not documented.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DefaultText
Not documented.
DragCursor
Not documented.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragKind
Not documented.
DragMode
Not documented.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
Enabled
Not documented.
Font
Same as TWinControl.Font.
Header
Provides access to the header instance.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
OnClick
Not documented.
OnDblClick
Not documented.
OnEndDock
Not documented.
OnEndDrag
Not documented.
OnEnter
Not documented.
OnExit
Not documented.
OnKeyDown
Not documented.
OnKeyPress
Not documented.
OnKeyUp
Not documented.
OnMouseDown
Not documented.
OnMouseMove
Not documented.
OnMouseUp
Not documented.
OnMouseWheel
Not documented.
OnResize
Not documented.
OnStartDock
Not documented.
OnStartDrag
Not documented.
ParentBiDiMode
Not documented.
ParentColor
Not documented.
ParentCtl3D
Not documented.
ParentFont
Not documented.
ParentShowHint
Not documented.
PopupMenu
Not documented.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
ShowHint
Not documented.
StateImages
Reference to the images list which is used for the state images.
TabOrder
Not documented.
TabStop
Not documented.
TextMargin
Read or set the distance of the node caption to its borders.
TreeOptions
Reference to the tree's options.
Visible
Not documented.
WantTabs
Read or set whether the tree wants to process tabs on its own.
TCustomVirtualStringTree Class
DefaultText
Not documented.
EllipsisWidth
Not documented.
Text
Not documented.
TreeOptions
Reference to the tree's options.
TBaseVirtualTree Class
Alignment
Determines the horizontal alignment of text if no columns are defined.
AnimationDuration
Determines the maximum duration the tree can use to play an
animation.
AutoExpandDelay
Time delay after which a node gets expanded if it is the current drop
target.
AutoScrollDelay
Time which determines when auto scrolling should start.
AutoScrollInterval
Time interval between scroll events when doing auto scroll.
Background
Holds a background image for the tree.
BackgroundOffsetX
Horizontal offset of the background image.
BackgroundOffsetY
Vertical offset of the background image.
BorderStyle
Same as TForm.BorderStyle.
ButtonFillMode
Determines how to fill the background of the node buttons.
ButtonStyle
Determines the look of node buttons.
ChangeDelay
Time which determines when the OnChange event should be
triggered after the actual change event.
CheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
CheckImages
Not documented.
CheckState
Read or set the check state of a node.
CheckType
Read or set the check type of a node.
ChildCount
Read or set the number of child nodes of a node.
ChildrenInitialized
Read whether a node's child count has been initialized already.
ClipboardFormats
Special class to keep a list of clipboard format descriptions.
Colors
A collection of colors used in the tree.
CustomCheckImages
Assign your own image list to get the check images you like most.
DefaultNodeHeight
Read or set the height new nodes get as initial value.
DefaultPasteMode
Read or set the value, which determines where to add pasted nodes
to.
DragHeight
Read or set the vertical limit of the internal drag image.
DragImage
Holds the instance of the internal drag image.
DragImageKind
Read or set what should be shown in the drag image.
DragManager
Holds the reference to the internal drag manager.
DragOperations
Read or set which drag operations may be allowed in the tree.
DragSelection
Keeps a temporary list of nodes during drag'n drop.
DragType
Read or set which subsystem should be used for dragging.
DragWidth
Read or set the horizontal limit of the internal drag image.
DrawSelectionMode
Read or set how multiselection with the mouse is to be visualized.
DropTargetNode
Contains the current drop target node if the tree is currently the target
of a drag'n drop operation.
EditColumn
Not documented.
EditDelay
Read or set the maximum time between two single clicks on the same
node, which should start node editing.
EditLink
Keeps a reference to the internal edit link during a node edit
operation.
Expanded
Read or set the expanded state of a particular node.
FocusedColumn
Read or set the currently focused collumn.
FocusedNode
Read or set the currently focused node.
Font
Same as TWinControl.Font.
FullyVisible
Read or set whether a node is fully visible or not.
HasChildren
Read or set whether a node has got children.
Header
Provides access to the header instance.
HeaderRect
Returns the non-client-area rectangle used for the header.
HintAnimation
Read or set the current hint animation type.
HintMode
Read or set what type of hint you want for the tree view.
HotCursor
Read or set which cursor should be used for hot nodes.
HotNode
Read, which node is currently the hot node.
Images
Read or set the tree's normal image list.
IncrementalSearch
Read or set the current incremental search mode.
IncrementalSearchDirection
Read or set the direction to be used for incremental search.
IncrementalSearchStart
Read or set where to start incremental search.
IncrementalSearchTimeout
Read or set the maximum time, which is allowed between two
consecutive key strokes so that incremental search stays active.
Indent
Read or set the indentation amount for node levels.
IsDisabled
Read or set the enabled state of the given node.
IsVisible
Read or set the visibility state of the given node.
LastClickPos
Used for retained drag start and wheel mouse scrolling.
LastDropMode
Read how the last drop operation finished.
LineMode
Read or set the mode of the tree lines.
LineStyle
Read or set the mode of the tree lines.
Margin
Read or set the tree's node margin.
MultiLine
Read or toggle the multiline feature for a given node.
NodeAlignment
Read or set the node alignment value.
NodeDataSize
Read or set the extra data size for each node.
NodeHeight
Read or set a node's height.
NodeParent
Read or set a node's parent node.
OffsetX
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetXY
Read or set the tree's current horizontal and vertical scroll offsets.
OffsetY
Read or set the tree's current horizontal and vertical scroll offsets.
RootNode
Reference to the internal root node which is the anchor of the entire
tree node hierarchy.
RootNodeCount
Read or set the number of nodes on the top level.
ScrollBarOptions
Reference to the scroll bar options class.
SearchBuffer
Current input string for incremental search.
Selected
Property to modify or determine the selection state of a node.
SelectedCount
Contains the number of selected nodes.
SelectionBlendFactor
Read or set the current blend factor for the multi selection rectangle
and the node selection rectangle.
SelectionCurveRadius
Read or set the current corner radius for node selection rectangles.
StateImages
Reference to the images list which is used for the state images.
TextMargin
Read or set the distance of the node caption to its borders.
TopNode
The top node is the node which is currently at the top border of the
client area.
TotalCount
Returns the number of nodes in the tree.
TotalInternalDataSize
Keeps the currently accumulated data size for one node.
TreeOptions
Reference to the tree's options.
TreeStates
Property which keeps a set of flags which indicate current operation
and states of the tree.
UpdateCount
Not documented.
VerticalAlignment
Used to set a node's vertical button aligment with regard to the entire
node rectangle.
VisibleCount
Number of currently visible nodes.
VisiblePath
Property to set or determine a node parent's expand states.
WantTabs
Read or set whether the tree wants to process tabs on its own.
Legend
TVirtualStringTree Class
Legend
published
Property
public
protected
read only
Event
Method
virtual
See Also
TVirtualStringTree.CustomCheckImages Property
See Also
TCheckImageKind
See Also
TVirtualStringTree.DefaultPasteMode Property
See Also
TVTNodeAttachMode
See Also
TVirtualStringTree.EditDelay Property
See Also
Editors and editing
See Also
TVirtualStringTree.Header Property
See Also
TVTHeader
See Also
TVirtualStringTree.HotCursor Property
See Also
HotNode, TVTPaintOptions
See Also
TVirtualStringTree.Images Property
See Also
StateImages, CheckImages
See Also
TVirtualStringTree.IncrementalSearch Property
See Also
IncrementalSearchDirection, IncrementalSearchStart,
IncrementalSearchTimeout
See Also
TVirtualStringTree.IncrementalSearchDirection Property
See Also
IncrementalSearch, IncrementalSearchStart,
IncrementalSearchTime123out
See Also
TVirtualStringTree.IncrementalSearchStart Property
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchTimeout
See Also
TVirtualStringTree.IncrementalSearchTimeout Property
See Also
IncrementalSearch, IncrementalSearchDirection,
IncrementalSearchStart
See Also
TVirtualStringTree.Margin Property
See Also
TVirtualStringTree.TextMargin
See Also
TVirtualStringTree.NodeAlignment Property
See Also
TVirtualNode
See Also
TVirtualStringTree.NodeDataSize Property
See Also
Data handling
See Also
TVirtualStringTree.OnAdvancedHeaderDraw Event
See Also
OnHeaderDrawQueryElements, OnHeaderDraw
See Also
TVirtualStringTree.OnAfterCellPaint Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnAfterItemErase Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnAfterItemPaint Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnAfterPaint Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnBeforeCellPaint Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnBeforeItemErase Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnBeforeItemPaint Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnBeforePaint Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnColumnClick Event
See Also
OnHeaderClick
See Also
TVirtualStringTree.OnColumnDblClick Event
See Also
OnColumnClick, OnHeaderDblClick
See Also
TVirtualStringTree.OnCompareNodes Event
See Also
SortTree, Sort
See Also
TVirtualStringTree.OnCreateEditor Event
See Also
Editors and editing
See Also
TVirtualStringTree.OnDragOver Event
See Also
OnDragDrop
See Also
TVirtualStringTree.OnEditCancelled Event
See Also
Editors and editing
See Also
TVirtualStringTree.OnEdited Event
See Also
Editors and editing
See Also
TVirtualStringTree.OnEditing Event
See Also
Editors and editing
See Also
TVirtualStringTree.OnGetLineStyle Event
See Also
PrepareBitmaps
See Also
TVirtualStringTree.OnGetNodeDataSize Event
See Also
NodeDataSize, Data handling
See Also
TVirtualStringTree.OnGetText Event
See Also
OnPaintText
See Also
TVirtualStringTree.OnHeaderClick Event
See Also
SortColumn, SortDirection
See Also
TVirtualStringTree.OnHeaderDblClick Event
See Also
OnHeaderClick
See Also
TVirtualStringTree.OnHeaderDrawQueryElements Event
See Also
OnAdvancedHeaderDraw
See Also
TVirtualStringTree.OnInitChildren Event
See Also
The virtual paradigm
See Also
TVirtualStringTree.OnInitNode Event
See Also
The virtual paradigm
See Also
TVirtualStringTree.OnLoadNode Event
See Also
OnSaveNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
See Also
TVirtualStringTree.OnMeasureItem Event
See Also
InvalidateNode, vsHeightMeasured
See Also
TVirtualStringTree.OnNewText Event
See Also
OnCreateEditor, OnEdited
See Also
TVirtualStringTree.OnPaintText Event
See Also
Paint cycles and stages
See Also
TVirtualStringTree.OnResetNode Event
See Also
ResetNode
See Also
TVirtualStringTree.OnSaveNode Event
See Also
OnLoadNode, LoadFromStream, SaveToStream,
AddFromStream, VTTreeStreamVersion,
TVTHeader.LoadFromStream, TVTHeader.SaveToStream
See Also
TVirtualStringTree.OnScroll Event
See Also
OffsetXY
See Also
TVirtualStringTree.SelectionBlendFactor Property
See Also
DrawSelectionMode, TVTPaintOptions
See Also
TVirtualStringTree.SelectionCurveRadius Property
See Also
SelectionBlendFactor, DrawSelectionMode, TVTPaintOptions
See Also
TVirtualStringTree.StateImages Property
See Also
CheckImages, Images
See Also
TVirtualStringTree.TextMargin Property
See Also
Margin
TVirtualTreeColumn Class Methods
TVirtualTreeColumn Class | Legend
Methods
Assign
Not documented.
ComputeHeaderLayout
Calculates the layout of a column header.
Create
Not documented.
DefineProperties
Not documented.
Destroy
Not documented.
Equals
Not documented.
GetAbsoluteBounds
Not documented.
GetDisplayName
Not documented.
GetOwner
Not documented.
GetRect
Returns the rectangle this column occupies in the header (relative to
(0, 0) of the non-client area).
LoadFromStream
Not documented.
ParentBiDiModeChanged
Not documented.
ParentColorChanged
Not documented.
ReadHint
Not documented.
ReadText
Not documented.
RestoreLastWidth
Not documented.
SaveToStream
Not documented.
UseRightToLeftReading
Not documented.
WriteHint
Not documented.
WriteText
Not documented.
TVirtualTreeColumn Class Properties
TVirtualTreeColumn Class | Legend
Properties
Alignment
Not documented.
BiDiMode
Not documented.
Color
Not documented.
Hint
Not documented.
ImageIndex
Not documented.
Layout
Not documented.
Left
Not documented.
Margin
Not documented.
MaxWidth
Not documented.
MinWidth
Not documented.
Options
Not documented.
Owner
Not documented.
Position
Not documented.
Spacing
Not documented.
Style
Not documented.
Tag
Not documented.
Text
Not documented.
Width
Not documented.
Legend
TVirtualTreeColumn Class
Legend
published
Property
public
read only
Method
virtual
protected
TVirtualTreeColumns Class Methods
TVirtualTreeColumns Class | Legend
Methods
Add
Not documented.
AdjustAutoSize
Called when columns must be sized so that the fit the client area.
AdjustDownColumn
Determines the column from the given position and returns it.
AdjustHoverColumn
Determines the new hover column index and returns true if the index
actually changed else False.
AdjustPosition
Reorders the column position array so that the given column gets the
given position.
AnimatedResize
Resizes the given column animated by scrolling the window DC.
Assign
Not documented.
Clear
Not documented.
ColumnFromPosition
Returns the index of the column at the given position.
Create
Not documented.
Destroy
Not documented.
DrawButtonText
Not documented.
DrawXPButton
Helper procedure to draw an Windows XP like header button.
Equals
Compares itself with the given set of columns.
FixPositions
Fixes column positions after loading from DFM.
GetColumnAndBounds
Returns the column where the mouse is currently in as well as the left
and right bound of this column.
GetColumnBounds
Returns the left and right bound of the given column.
GetFirstVisibleColumn
Returns the index of the first visible column or "InvalidColumn" if
either no columns are defined or all columns are hidden.
GetLastVisibleColumn
Returns the index of the last visible column or "InvalidColumn" if
either no columns are defined or all columns are hidden.
GetNextColumn
Returns the next column in display order. Column is the index of an
item in the collection (a column).
GetNextVisibleColumn
Returns the next visible column in display order, Column is an index
into the columns list.
GetOwner
Not documented.
GetPreviousColumn
Returns the previous column in display order, Column is an index into
the columns list.
GetPreviousVisibleColumn
Returns the previous column in display order, Column is an index into
the columns list.
GetVisibleColumns
Returns a list of all currently visible columns in actual order.
GetVisibleFixedWidth
Not documented.
HandleClick
Generates a click event if the mouse button has been released over the
same column it was pressed first.
IndexChanged
Called by a column when its index in the collection changes.
InitializePositionArray
Ensures that the column position array contains as much entries as
columns are defined.
IsValidColumn
Determines whether the given column is valid or not, that is, whether it
is one of the current columns.
LoadFromStream
Not documented.
PaintHeader
Not documented.
SaveToStream
Not documented.
TotalWidth
Not documented.
Update
Not documented.
UpdatePositions
Recalculates the left border of every column and updates their position
property according to the PostionToIndex array, which primarily
determines where each column is placed visually.
TVirtualTreeColumns Class Properties
TVirtualTreeColumns Class | Legend
Properties
ClickIndex
Not documented.
Header
Not documented.
HeaderBitmap
Not documented.
Items
Not documented.
PositionToIndex
Not documented.
TrackIndex
Not documented.
Legend
TVirtualTreeColumns Class
Legend
public
Property
read only
protected
Method
virtual
TVirtualTreeHintWindow Class Methods
TVirtualTreeHintWindow Class | Legend
Methods
ActivateHint
Not documented.
CalcHintRect
Not documented.
Create
Not documented.
CreateParams
Not documented.
Destroy
Not documented.
IsHintMsg
The VCL is a bit too generous when telling that an existing hint can be
cancelled.
Paint
Not documented.
Legend
TVirtualTreeHintWindow Class
Legend
public
Method
virtual
protected
TVirtualTreeOptions Class Methods
TVirtualTreeOptions Class | Legend
Methods
TCustomVirtualTreeOptions Class
AssignTo
Used to copy this option class to another option collection.
Create
Constructor of the class.
TVirtualTreeOptions Class Properties
TVirtualTreeOptions Class | Legend
Properties
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
TCustomVirtualTreeOptions Class
AnimationOptions
Options related to animations.
AutoOptions
Options related to automatic actions.
MiscOptions
Options not related to any other category.
Owner
Owner tree to which the property class belongs.
PaintOptions
Options related to painting.
SelectionOptions
Options related to the way nodes can be selected.
Legend
TVirtualTreeOptions Class
Legend
published
Property
protected
public
read only
Method
virtual
TVTColors Class Methods
TVTColors Class | Legend
Methods
Assign
Not documented.
Create
Not documented.
TVTColors Class Properties
TVTColors Class | Legend
Properties
BorderColor
Not documented.
DisabledColor
Not documented.
DropMarkColor
Color of the drop mark.
DropTargetBorderColor
Not documented.
DropTargetColor
Not documented.
FocusedSelectionBorderColor
Not documented.
FocusedSelectionColor
Not documented.
GridLineColor
Not documented.
HeaderHotColor
Not documented.
HotColor
Not documented.
SelectionRectangleBlendColor
Not documented.
SelectionRectangleBorderColor
Not documented.
TreeLineColor
Not documented.
UnfocusedSelectionBorderColor
Not documented.
UnfocusedSelectionColor
Not documented.
Legend
TVTColors Class
Legend
published
Property
public
Method
virtual
TVTDataObject Class Methods
TVTDataObject Class | Legend
Methods
CanonicalIUnknown
Helper method for setting data in the IDataObject.
Create
Constructor of the class.
DAdvise
Implementation of the IDataObject.DAdvise method.
Destroy
Destructor of the class.
DUnadvise
Implementation of the IDataObject.DUnAdvise method.
EnumDAdvise
Implementation of the IDataObject.EnumDAdvise method.
EnumFormatEtc
Implementation of the IDataObject.EnumFormatEtc method.
EqualFormatEtc
Compares two TFormatEtc structures.
FindFormatEtc
Searchs the given array for a the given format.
FindInternalStgMedium
Returns a storage medium for a given clipboard format.
GetCanonicalFormatEtc
Implementation of the IDataObject.GetCanonicalFormatEtc method.
GetData
Implementation of the IDataObject.GetData method.
GetDataHere
Implementation of the IDataObject.GetDataHere method.
HGlobalClone
Helper method for SetData.
QueryGetData
Implementation of the IDataObject.QueryGetData method.
RenderInternalOLEData
Helper method to return data previously stored by SetData.
SetData
Implementation of the IDataObject.SetData method.
StgMediumIncRef
Central managing method to copy OLE data.
TVTDataObject Class Properties
TVTDataObject Class | Legend
Properties
ForClipboard
Not documented.
FormatEtcArray
Not documented.
InternalStgMediumArray
Not documented.
Owner
Not documented.
Legend
TVTDataObject Class
Legend
protected
Property
read only
Method
public
virtual
See Also
TVTDataObject.GetData Method
See Also
RenderOLEData
TVTDragImage Class Methods
TVTDragImage Class | Legend
Methods
Create
Not documented.
Destroy
Not documented.
DragTo
Moves the drag image to a new position, which is determined from the
passed point P and the previous mouse position.
EndDrag
Not documented.
GetDragImageRect
Returns the current size and position of the drag image (screen
coordinates).
HideDragImage
Not documented.
InternalShowDragImage
Frequently called helper routine to actually do the blend and put it
onto
MakeAlphaChannel
Not documented.
PrepareDrag
Creates all necessary structures to do alpha blended dragging using
the given image.
RecaptureBackground
Notification by the drop target tree to update the background image
because something in the tree has changed.
ShowDragImage
Shows the drag image after it has been hidden by HideDragImage.
WillMove
Add a summary here...
TVTDragImage Class Properties
TVTDragImage Class | Legend
Properties
ColorKey
Not documented.
Fade
Not documented.
MoveRestriction
Not documented.
PostBlendBias
Not documented.
PreBlendBias
Not documented.
Transparency
Not documented.
Visible
Not documented.
Legend
TVTDragImage Class
Legend
public
Property
read only
Method
virtual
protected
TVTDragManager Class Methods
TVTDragManager Class | Legend
Methods
Create
Not documented.
Destroy
Not documented.
DragEnter
Not documented.
DragLeave
Not documented.
DragOver
Not documented.
Drop
Not documented.
ForceDragLeave
This method calls the drop target helper's DragLeave method to
ensure it removes the drag image from screen.
GiveFeedback
Not documented.
QueryContinueDrag
Not documented.
IVTDragManager Interface
ForceDragLeave
Not documented.
GetDataObject
Not documented.
GetDragSource
Not documented.
GetDropTargetHelperSupported
Not documented.
GetIsDropTarget
Not documented.
TVTDragManager Class Properties
TVTDragManager Class | Legend
Properties
IVTDragManager Interface
DataObject
Not documented.
DragSource
Not documented.
DropTargetHelperSupported
Not documented.
IsDropTarget
Not documented.
Legend
TVTDragManager Class
Legend
public
Method
virtual
Property
read only
TVTEdit Class Methods
TVTEdit Class | Legend
Methods
AutoAdjustSize
Not documented.
Create
Not documented.
CreateParams
Not documented.
Release
Not documented.
TVTEdit Class Properties
TVTEdit Class | Legend
Properties
AutoSelect
Not documented.
AutoSize
Not documented.
BorderStyle
Not documented.
CharCase
Not documented.
HideSelection
Not documented.
MaxLength
Not documented.
OEMConvert
Not documented.
PasswordChar
Not documented.
Legend
TVTEdit Class
Legend
public
Property
protected
Method
virtual
TVTHeader Class Methods
TVTHeader Class | Legend
Methods
Assign
Not documented.
AutoFitColumns
Not documented.
CanWriteColumns
Not documented.
ChangeScale
Not documented.
Create
Not documented.
Destroy
Not documented.
DetermineSplitterIndex
Tries to find the index of that column whose right border corresponds
to P.
DragTo
Moves the drag image to a new position, which is determined from the
passed point P and the previous mouse position.
GetColumnsClass
Returns the class to be used for the actual column implementation.
GetOwner
Not documented.
GetShiftState
Not documented.
HandleHeaderMouseMove
Not documented.
HandleMessage
General message handler for the header.
ImageListChange
Not documented.
InHeader
Determines whether the given point (client coordinates!) is within the
header rectangle (non-client coordinates).
Invalidate
Invalidates the entire header or parts of it so they are repainted.
LoadFromStream
Restores the state of the header from the given stream.
PrepareDrag
Initializes dragging of the header, P is the current mouse postion and
Start the initial mouse position.
ReadColumns
Not documented.
RecalculateHeader
Initiate a recalculation of the non-client area of the owner tree.
RestoreColumns
Restores all columns to their width which they had before they have
been auto fitted.
SaveToStream
Saves the complete state of the header into the provided stream.
UpdateMainColumn
Called once the load process of the owner tree is done.
UpdateSpringColumns
Not documented.
WriteColumns
Not documented.
TVTHeader Class Properties
TVTHeader Class | Legend
Properties
AutoSizeIndex
Not documented.
Background
Not documented.
Columns
Not documented.
DragImage
Not documented.
Font
Not documented.
Height
Not documented.
Images
Not documented.
MainColumn
Not documented.
Options
Not documented.
ParentFont
Not documented.
PopupMenu
Not documented.
SortColumn
Not documented.
SortDirection
Not documented.
States
Not documented.
Style
Not documented.
Treeview
Not documented.
UseColumns
Not documented.
Legend
TVTHeader Class
Legend
published
Property
public
read only
Method
virtual
protected
TVTHeaderPopupMenu Class Events
TVTHeaderPopupMenu Class | Legend
Events
OnAddHeaderPopupItem
Not documented.
OnColumnChange
Not documented.
TVTHeaderPopupMenu Class Methods
TVTHeaderPopupMenu Class | Legend
Methods
DoAddHeaderPopupItem
Not documented.
DoColumnChange
Not documented.
OnMenuItemClick
Not documented.
Popup
Not documented.
TVTHeaderPopupMenu Class Properties
TVTHeaderPopupMenu Class | Legend
Properties
Options
Not documented.
Legend
TVTHeaderPopupMenu Class
Legend
published
Event
Property
protected
Method
virtual
public
TWideBufferedString Class Methods
TWideBufferedString Class | Legend
Methods
Add
Not documented.
AddNewLine
Not documented.
Destroy
Not documented.
TWideBufferedString Class Properties
TWideBufferedString Class | Legend
Properties
AsString
Not documented.
Legend
TWideBufferedString Class
Legend
public
Property
read only
Method
virtual
TWorkerThread Class Methods
TWorkerThread Class | Legend
Methods
AddTree
Not documented.
ChangeTreeStates
Not documented.
Create
Not documented.
Destroy
Not documented.
Execute
Not documented.
RemoveTree
Not documented.
TWorkerThread Class Properties
TWorkerThread Class | Legend
Properties
CurrentTree
Not documented.
Legend
TWorkerThread Class
Legend
public
Property
read only
Method
protected
virtual
Functions
Functions | Legend
Functions
AlphaBlend
General purpose procedure to blend one bitmap to another.
DrawTextW
Paint support procedure.
EnumerateVTClipboardFormats
Not documented.
EnumerateVTClipboardFormats
Not documented.
GetVTClipboardFormatDescription
Not documented.
PrtStretchDrawDIB
Not documented.
RegisterVTClipboardFormat
Methods to register a certain clipboard format for a given tree class.
RegisterVTClipboardFormat
Methods to register a certain clipboard format for a given tree class.
ShortenString
General purpose routine to shorten a Unicode string to a given
maximum size.
TreeFromNode
General purpose routine to get the tree to which a node belongs.
Legend
Functions
Legend
Function
Structs and Records Enumerations
Structs and Records | Legend
Enumerations
TVTTooltipLineBreakStyle
Not documented.
Structs and Records Records
Structs and Records | Legend
Records
TBaseChunk
Not documented.
TBaseChunkBody
Not documented.
TCacheEntry
Not documented.
TChunkHeader
Not documented.
TClipboardFormatEntry
Not documented.
TClipboardFormatListEntry
Not documented.
THeaderPaintInfo
Not documented.
THitInfo
Not documented.
TInternalStgMedium
Not documented.
TRealWMNCPaint
Not documented.
TSHDragImage
Not documented.
TToggleAnimationData
Not documented.
TVirtualNode
Not documented.
TVTHintData
Not documented.
TVTImageInfo
Not documented.
TVTPaintInfo
Not documented.
TVTReference
Not documented.
TWMPrint
Not documented.
Legend
Structs and Records
Legend
Struct
Types Enumerations
Types | Legend
Enumerations
TAddPopupItemType
Not documented.
TBlendMode
Not documented.
TChangeReason
Not documented.
TCheckImageKind
Determines which images should be used for checkboxes and radio
buttons.
TCheckState
Returns the current state of a node's check box, radio button or node
button.
TCheckType
Not documented.
TDragOperation
Not documented.
TDropMode
Not documented.
THeaderState
Not documented.
THintAnimationType
Not documented.
THitPosition
Not documented.
TItemEraseAction
Not documented.
TScrollBarStyle
Not documented.
TSortDirection
Not documented.
TVirtualNodeInitState
Not documented.
TVirtualNodeState
Not documented.
TVirtualTreeColumnStyle
Not documented.
TVSTTextSourceType
Not documented.
TVSTTextType
Not documented.
TVTAnimationOption
Not documented.
TVTAutoOption
Not documented.
TVTButtonFillMode
Determines how the interior of nodes buttons should be drawn.
TVTButtonStyle
Not documented.
TVTColumnOption
Not documented.
TVTDragImageKind
Not documented.
TVTDragMoveRestriction
Not documented.
TVTDragType
Not documented.
TVTDrawSelectionMode
Not documented.
TVTDropMarkMode
Not documented.
TVTHeaderColumnLayout
Not documented.
TVTHeaderOption
Not documented.
TVTHeaderPopupOption
Not documented.
TVTHeaderStyle
Not documented.
TVTHintMode
Not documented.
TVTImageInfoIndex
Not documented.
TVTImageKind
Not documented.
TVTIncrementalSearch
Not documented.
TVTInternalPaintOption
Not documented.
TVTLineMode
Not documented.
TVTLineStyle
Not documented.
TVTLineType
Not documented.
TVTMiscOption
Not documented.
TVTNodeAlignment
Not documented.
TVTNodeAttachMode
Not documented.
TVTPaintOption
Not documented.
TVTSearchDirection
Not documented.
TVTSearchStart
Not documented.
TVTSelectionOption
Not documented.
TVTStringOption
Not documented.
TVTUpdateState
Not documented.
Types
Types | Legend
Types
PCardinal
Not documented.
PClipboardFormatListEntry
Not documented.
PSHDragImage
Not documented.
PVirtualNode
Not documented.
PVTHintData
Not documented.
PVTReference
Not documented.
TAddHeaderPopupItemEvent
Not documented.
TAutoScrollInterval
Not documented.
TCache
Not documented.
TCardinalArray
Not documented.
TChangeStates
Not documented.
TColumnChangeEvent
Not documented.
TColumnIndex
Not documented.
TColumnPosition
Not documented.
TColumnsArray
Not documented.
TDragOperations
Not documented.
TFormatArray
Not documented.
TFormatEtcArray
Not documented.
TGetFirstNodeProc
Not documented.
TGetNextNodeProc
Not documented.
THeaderPaintElements
Not documented.
THeaderStates
Not documented.
THitPositions
Not documented.
TImageIndex
Not documented.
TIndexArray
Not documented.
TInternalStgMediumArray
Not documented.
TLineImage
Not documented.
TMagicID
Not documented.
TMouseButtons
Not documented.
TNodeArray
Not documented.
TScrollDirections
Not documented.
TScrollUpdateOptions
Not documented.
TTreeOptionsClass
Not documented.
TVirtualNodeInitStates
Not documented.
TVirtualNodeStates
Not documented.
TVirtualTreeClass
Not documented.
TVirtualTreeColumnClass
Not documented.
TVirtualTreeColumnsClass
Not documented.
TVirtualTreeStates
Not documented.
TVSTGetTextEvent
Not documented.
TVSTNewTextEvent
Not documented.
TVSTShortenStringEvent
Not documented.
TVTAdvancedHeaderPaintEvent
Not documented.
TVTAfterCellPaintEvent
Not documented.
TVTAfterItemEraseEvent
Not documented.
TVTAfterItemPaintEvent
Not documented.
TVTAnimationCallback
Not documented.
TVTAnimationOptions
Not documented.
TVTAutoOptions
Not documented.
TVTBackgroundPaintEvent
Not documented.
TVTBeforeCellPaintEvent
Not documented.
TVTBeforeItemEraseEvent
Not documented.
TVTBeforeItemPaintEvent
Not documented.
TVTBias
Not documented.
TVTChangeEvent
Not documented.
TVTChangingEvent
Not documented.
TVTCheckChangingEvent
Not documented.
TVTColumnClickEvent
Not documented.
TVTColumnDblClickEvent
Not documented.
TVTColumnOptions
Not documented.
TVTCompareEvent
Not documented.
TVTCreateDataObjectEvent
Not documented.
TVTCreateDragManagerEvent
Not documented.
TVTCreateEditorEvent
Not documented.
TVTDragAllowedEvent
Not documented.
TVTDragDropEvent
Not documented.
TVTDragImageStates
Not documented.
TVTDragOverEvent
Not documented.
TVTDrawHintEvent
Not documented.
TVTDrawNodeEvent
Not documented.
TVTEditCancelEvent
Not documented.
TVTEditChangeEvent
Not documented.
TVTEditChangingEvent
Not documented.
TVTFocusChangeEvent
Not documented.
TVTFocusChangingEvent
Not documented.
TVTFreeNodeEvent
Not documented.
TVTGetCursorEvent
Not documented.
TVTGetHeaderCursorEvent
Not documented.
TVTGetHintSizeEvent
Not documented.
TVTGetImageEvent
Not documented.
TVTGetLineStyleEvent
Not documented.
TVTGetNodeDataSizeEvent
Not documented.
TVTGetNodeProc
Not documented.
TVTGetNodeWidthEvent
Not documented.
TVTGetUserClipboardFormatsEvent
Not documented.
TVTHeaderClass
Not documented.
TVTHeaderClickEvent
Not documented.
TVTHeaderDraggedEvent
Not documented.
TVTHeaderDraggedOutEvent
Not documented.
TVSTGetHintEvent
Not documented.
TVTHeaderDraggingEvent
Not documented.
TVTHeaderMouseEvent
Not documented.
TVTHeaderMouseMoveEvent
Not documented.
TVTHeaderNotifyEvent
Not documented.
TVTHeaderOptions
Not documented.
TVTHeaderPaintEvent
Not documented.
TVTHeaderPaintQueryElementsEvent
Not documented.
TVTHeaderPopupOptions
Not documented.
TVTHelpContextEvent
Not documented.
TVTHotNodeChangeEvent
Not documented.
TVTIncrementalSearchEvent
Not documented.
TVTInitChildrenEvent
Not documented.
TVTInitNodeEvent
Not documented.
TVTInternalPaintOptions
Not documented.
TVTKeyActionEvent
Not documented.
TVTMeasureItemEvent
Not documented.
TVTMiscOptions
Not documented.
TVTNodeCopiedEvent
Not documented.
TVTNodeCopyingEvent
Not documented.
TVTNodeMovedEvent
Not documented.
TVTNodeMovingEvent
Not documented.
TVTPaintEvent
Not documented.
TVTPaintOptions
Not documented.
TVTPaintText
Not documented.
TVTPopupEvent
Not documented.
TVTRenderOLEDataEvent
Not documented.
TVTSaveNodeEvent
Not documented.
TVTScrollEvent
Not documented.
TVTScrollIncrement
Not documented.
TVTSelectionOptions
Not documented.
TVTStateChangeEvent
Not documented.
TVTStringOptions
Not documented.
TVTStructureChangeEvent
Not documented.
TVTTransparency
Not documented.
TVTUpdatingEvent
Not documented.
TWMContextMenu
Not documented.
TWMPrintClient
Not documented.
TVTGetCellIsEmptyEvent
Not documented.
TVTGetImageExEvent
Not documented.
TVTMenuItem
Not documented.
TVTScrollbarShowEvent
Not documented.
Legend
Types
Legend
Type
Struct
Variables
Variables | Legend
Variables
CF_CSV
Not documented.
CF_HTML
Not documented.
CF_VIRTUALTREE
Not documented.
CF_VRTF
Not documented.
CF_VRTFNOOBJS
Not documented.
CF_VTREFERENCE
Not documented.
ClipboardDescriptions
Not documented.
DarkCheckImages
Not documented.
DarkTickImages
Not documented.
FlatImages
Not documented.
HintFont
Not documented.
HintWindowDestroyed
Not documented.
Initialized
Not documented.
InternalClipboardFormats
Not documented.
IsWin2K
Not documented.
IsWinNT
Not documented.
IsWinXP
Not documented.
LightCheckImages
Not documented.
LightTickImages
Not documented.
MMXAvailable
Not documented.
NeedToUnitialize
Not documented.
StandardOLEFormat
Not documented.
SystemCheckImages
Not documented.
SystemFlatCheckImages
Not documented.
UtilityImages
Not documented.
Watcher
Not documented.
WorkerThread
Not documented.
WorkEvent
Not documented.
XPImages
Not documented.
Legend
Variables
Legend
Variable
Constants
Constants | Legend
Constants
AlignmentToDrawFlag
Not documented.
AllocIncrement
Not documented.
BaseChunk
Not documented.
CacheThreshold
Number of nodes a tree must at least have to start caching and at the
same time the maximum number of nodes between two cache
entries.
CaptionChunk
Not documented.
CFSTR_CSV
Contains the registration string for certain clipboard formats.
CFSTR_HTML
Contains the registration string for certain clipboard formats.
CFSTR_RTF
Contains the registration string for certain clipboard formats.
CFSTR_RTFNOOBJS
Contains the registration string for certain clipboard formats.
CFSTR_VIRTUALTREE
Contains the registration string for certain clipboard formats.
CFSTR_VTREFERENCE
Contains the registration string for certain clipboard formats.
ChangeTimer
Not documented.
ckButtonDisabled
ckButtonHot
ckButtonNormal
ckButtonPressed
ckCheckCheckedDisabled
ckCheckCheckedHot
ckCheckCheckedNormal
ckCheckCheckedPressed
ckCheckMixedDisabled
ckCheckMixedHot
ckCheckMixedNormal
ckCheckMixedPressed
ckCheckUncheckedDisabled
ckCheckUncheckedHot
ckCheckUncheckedNormal
ckCheckUncheckedPressed
ckEmpty
ckRadioCheckedDisabled
ckRadioCheckedHot
ckRadioCheckedNormal
ckRadioCheckedPressed
ckRadioUncheckedDisabled
ckRadioUncheckedHot
ckRadioUncheckedNormal
ckRadioUncheckedPressed
ClipboardStates
Not documented.
CLSID_DragDropHelper
Not documented.
CM_AUTOADJUST
Not documented.
CM_DENYSUBCLASSING
Not documented.
Copyright
Not documented.
crHeaderSplit
Not documented.
DefaultAnimationOptions
Not documented.
DefaultAutoOptions
Not documented.
DefaultColumnOptions
Not documented.
DefaultMiscOptions
Not documented.
DefaultPaintOptions
Not documented.
DefaultScrollUpdateFlags
Not documented.
DefaultSelectionOptions
Not documented.
DefaultStringOptions
Not documented.
EditTimer
Not documented.
ExpandTimer
Not documented.
FadeAnimationStepCount
Not documented.
Grays
Not documented.
hcTFCannotSetUserData
Not documented.
hcTFClipboardFailed
Not documented.
hcTFCorruptStream1
Not documented.
hcTFCorruptStream2
Not documented.
hcTFEditLinkIsNil
Not documented.
hcTFStreamTooSmall
Not documented.
hcTFWrongMoveError
Not documented.
hcTFWrongStreamFormat
Not documented.
hcTFWrongStreamVersion
Not documented.
HeaderTimer
Not documented.
IID_IDragSourceHelper
Not documented.
IID_IDropTarget
Not documented.
IID_IDropTargetHelper
Not documented.
InvalidColumn
Not documented.
MagicID
Not documented.
MinimumTimerInterval
Not documented.
MouseButtonDown
Not documented.
NoColumn
Not documented.
NodeChunk
Not documented.
OptionMap
Not documented.
PressedState
Not documented.
RTLFlag
Not documented.
SCannotSetUserData
Not documented.
SClipboardFailed
Not documented.
SCorruptStream1
Not documented.
SCorruptStream2
Not documented.
ScrollTimer
Not documented.
SearchTimer
Not documented.
SEditLinkIsNil
Not documented.
ShadowSize
Size in pixels of the hint shadow.
SID_IDragSourceHelper
Not documented.
SID_IDropTarget
Not documented.
SID_IDropTargetHelper
Not documented.
SStreamTooSmall
Not documented.
StructureChangeTimer
Not documented.
SWrongMoveError
Not documented.
SWrongStreamFormat
Not documented.
SWrongStreamVersion
Not documented.
SysGrays
Not documented.
TreeNodeSize
Not documented.
UnpressedState
Not documented.
UserChunk
Not documented.
UtilityImageSize
Not documented.
VTHeaderStreamVersion
Not documented.
VTTreeStreamVersion
Not documented.
VTVersion
Not documented.
WideCR
Not documented.
WideLF
Not documented.
WideLineSeparator
Not documented.
WideNull
Not documented.
WM_CHANGESTATE
Not documented.
XPDarkGradientColor
Not documented.
XPDarkSplitBarColor
Not documented.
XPDownInnerLineColor
Not documented.
XPDownMiddleLineColor
Not documented.
XPDownOuterLineColor
Not documented.
XPLightSplitBarColor
Not documented.
XPMainHeaderColorDown
Not documented.
XPMainHeaderColorHover
Not documented.
XPMainHeaderColorUp
Not documented.
Topics
Constants
Topics
Constant
Symbol Reference Interfaces
Symbol Reference | Legend
Interfaces
IDragSourceHelper
Not documented.
IDropTargetHelper
Not documented.
IVTDragManager
Not documented.
IVTEditLink
Interface which is used for communication between the treeview and
a node editor.
Legend
Symbol Reference
Legend
Class
IDragSourceHelper Interface Methods
IDragSourceHelper Interface | Legend
Methods
InitializeFromBitmap
Not documented.
InitializeFromWindow
Not documented.
Legend
IDragSourceHelper Interface
Legend
public
Method
IDropTargetHelper Interface Methods
IDropTargetHelper Interface | Legend
Methods
DragEnter
Not documented.
DragLeave
Not documented.
DragOver
Not documented.
Drop
Not documented.
Show
Not documented.
Legend
IDropTargetHelper Interface
Legend
public
Method
IVTDragManager Interface Methods
IVTDragManager Interface | Legend
Methods
ForceDragLeave
Not documented.
GetDataObject
Not documented.
GetDragSource
Not documented.
GetDropTargetHelperSupported
Not documented.
GetIsDropTarget
Not documented.
IVTDragManager Interface Properties
IVTDragManager Interface | Legend
Properties
DataObject
Not documented.
DragSource
Not documented.
DropTargetHelperSupported
Not documented.
IsDropTarget
Not documented.
Legend
IVTDragManager Interface
Legend
public
Property
read only
Method
IVTEditLink Interface Methods
IVTEditLink Interface | Legend
Methods
BeginEdit
This function will be called by the virtual tree when the editing starts.
CancelEdit
This function will be called by the virtual tree when the current editing
is about to be cancelled.
EndEdit
This function will be called by the virtual tree when the current editing
is being finished.
GetBounds
The virtual tree can use this function to get the current bounding rect
of the node editor.
PrepareEdit
This function is called by a virtual tree to initialize the node editor.
ProcessMessage
This function is used to forward messages being directed to the virtual
tree.
SetBounds
The virtual tree calls this function to initialize the bounding rectangle
of the node editor.
Legend
IVTEditLink Interface
Legend
public
Method
Legend
Class
Legend
protected
Event
Legend
public
Method
protected
virtual
Legend
protected
Property
public
read only
Legend
public
Method
virtual
Legend
public
Property
read only
Legend
public
Method
virtual
Legend
public
Method
virtual
Legend
public
Property
read only
Legend
protected
Data Member
Legend
public
Method
virtual
Legend
public
Method
virtual
Legend
protected
Property
public
read only
Legend
protected
Event
Legend
protected
Method
virtual
public
Legend
protected
Property
public
read only
Legend
protected
Event
Legend
protected
Method
virtual
public
Legend
protected
Property
read only
public
Legend
public
Method
virtual
Legend
protected
Property
public
read only
Legend
public
Method
Legend
public
Method
virtual
protected
Legend
published
Property
Legend
public
Method
virtual
Legend
public
Property
Legend
public
Method
virtual
Legend
published
Property
protected
public
read only
Legend
published
Event
protected
Legend
protected
Method
virtual
public
Legend
published
Property
public
protected
read only
Legend
published
Event
protected
Legend
protected
Method
virtual
public
Legend
published
Property
public
protected
read only
Legend
public
Method
virtual
protected
Legend
published
Property
public
read only
Legend
public
Method
virtual
protected
Legend
public
Property
read only
protected
Legend
public
Method
virtual
protected
Legend
public
Method
virtual
Legend
published
Property
protected
public
read only
Legend
public
Method
virtual
Legend
published
Property
Legend
protected
Method
public
virtual
Legend
protected
Property
read only
Legend
public
Method
virtual
protected
Legend
public
Property
read only
Legend
public
Method
virtual
Legend
public
Property
read only
Legend
protected
Method
public
virtual
Legend
public
Property
Legend
public
Method
virtual
protected
Legend
published
Property
public
read only
Legend
published
Event
Legend
protected
Method
virtual
public
Legend
published
Property
Legend
public
Method
virtual
Legend
public
Property
read only
Legend
public
Method
protected
virtual
Legend
public
Property
read only
Legend
Function
Legend
Struct
Legend
Struct
Legend
Struct
Legend
Type
Legend
Variable
Legend
Constant
Legend
Class
Legend
public
Method
Legend
public
Method
Legend
public
Method
Legend
public
Property
read only
Legend
public
Method