开发者

Delphi VirtualStringTree - Indenting Problem

Hey S.O! I realized my child nodes are not being indented - they are on the same level as the root nodes. Here's a screenshot:

Delphi VirtualStringTree - Indenting Problem

As you see, the childnodes are on the first level's Indent. FixedIndent is OFF, so thats no开发者_JAVA百科t whats causing it..

Any suggestions?

Thanks!


It looks like the check boxes are indented slightly. Keep in mind that the control only indents one column. All other columns are treated like ordinary table columns. Set the Header.MainColumn property to 1 if you want the "Full Name" column to be the one showing indented items. Then set the Indent property.

You can also handle the OnBeforeCellPaint event. Adjust the dimensions of the ContentRect parameter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜