TVTPaintOption Enumeration

Virtual Tree View

Not documented.

Pascal
TVTPaintOption = (toHideFocusRect, toHideSelection, toHotTrack, toPopupMode, toShowBackground, toShowButtons, toShowDropmark, toShowHorzGridLines, toShowRoot, toShowTreeLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toGhostedIfUnfocused, toFullVertGridLines, toAlwaysHideSelection, toUseBlendedSelection, toStaticBackground);
Description

Use other resources like the news group or the Delphi Gems message board to find a description.

Members
Members 
Description 
toHideFocusRect 
Avoid drawing the dotted rectangle around the currently focused node. 
toHideSelection 
Selected nodes are drawn as unselected nodes if the tree is unfocused. 
toHotTrack 
Track which node is under the mouse cursor. 
toPopupMode 
Paint tree as would it always have the focus (useful for tree combo boxes etc.) 
toShowBackground 
Use the background image if there's one. 
toShowButtons 
Display collapse/expand buttons left to a node. 
toShowDropmark 
Show the dropmark during drag'n drop operations. 
toShowHorzGridLines 
Display horizontal lines to simulate a grid. 
toShowRoot 
Show lines also at top level (does not show the hidden/internal root node). 
toShowTreeLines 
Display tree lines to show hierarchy of nodes. 
toShowVertGridLines 
Display vertical lines (depending on columns) to simulate a grid. 
toThemeAware 
Draw UI elements (header, tree buttons etc.) according to the current theme if enabled (Windows XP+ only, application must be themed). 
toUseBlendedImages 
Enable alpha blending for ghosted nodes or those which are being cut/copied. 
toGhostedIfUnfocused 
Ghosted images are still shown as ghosted if unfocused (otherwise the become non-ghosted images). 
toFullVertGridLines 
This option only has an effect if toShowVertGridLines is enabled too. 
toAlwaysHideSelection 
Do not draw node selection, regardless of focused state. 
toUseBlendedSelection 
Enable alpha blending for node selections. 
Group
File

VirtualTrees

Links
What do you think about this topic? Send feedback!