RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.SetDisplayWidth Method

Sets the display width of the outline.

Pascal
procedure SetDisplayWidth(Value: Integer);
C++
__fastcall SetDisplayWidth(int Value);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!