Indenting Problem
Hey SO! I realized my child nodes are not being indented - they are on the same level as the root nodes. Here's a screenshot:
As you see, the childnodes are on the first level's Indent. FixedIndent is OFF, so thats not 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.
上一篇: 将指针传递给记录
下一篇: 缩进问题