Vcl.Outline.TCustomOutline.SetDisplayWidth
Delphi
procedure SetDisplayWidth(Value: Integer);
C++
void __fastcall SetDisplayWidth(int Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Outline.pas Vcl.Outline.hpp |
Vcl.Outline | TCustomOutline |
Description
Sets the display width of the outline.
Call SetDisplayWidth to set the width of the image of the outline to the number of pixels specified by the Value parameter. Value should large enough to display the most deeply nested node. Use the GetNodeDisplayWidth method to determine the size needed to display the visible nodes.
If the display width is greater than the client width of the control, users can scroll the image to view the entire width.