Vcl.ComCtrls.TTreeNode.DisplayRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DisplayRect(TextOnly: Boolean): TRect;

C++

Winapi::Windows::TRect __fastcall DisplayRect(bool TextOnly);

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTreeNode

Description

Returns the bounding rectangle for a tree node.

If the TextOnly parameter is true, the bounding rectangle includes only the text of the node. Otherwise, it includes the entire line that the node occupies in the tree-view control.

See Also

Code Examples