1

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:

alt text

As you see, the childnodes are on the first level's Indent. FixedIndent is OFF, so thats not whats causing it..

Any suggestions?

Thanks!

Nik Reiman
  • 39,067
  • 29
  • 104
  • 160
Jeff
  • 12,085
  • 12
  • 82
  • 152
  • 3
    Are you allowed to use Skype's icons like that? – David Heffernan Jan 14 '11 at 20:51
  • 3
    And do you think your contacts would approve of you broadcasting their Skype IDs to the entire world like that? – David Heffernan Jan 14 '11 at 20:54
  • @David, yes, those selected few are all internet marketers - thats all they do basically. I gave them free exposure. ;) Also, they have all agreed to help out with the development of my program (suggestions, testing, etc), hence the category "xSky". Skype's Icon's are used freely with their API. – Jeff Jan 14 '11 at 22:58
  • @jeff that's very enlightened of Skype! – David Heffernan Jan 14 '11 at 23:04
  • @David - what exactly do you mean? Skype would not make something available for public use, if you were not allowed to use it. ;) – Jeff Jan 14 '11 at 23:11
  • @Jeff Some corporations wouldn't let others using their branding but by letting others do so, Skype will get free marketing. I consider that to be enlightened. – David Heffernan Jan 14 '11 at 23:13
  • @David - Ah, yes, of course. They even provided a wrapper for their API - examples in Delphi, Skype's mother language ;) – Jeff Jan 14 '11 at 23:15

1 Answers1

2

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.

Rob Kennedy
  • 161,384
  • 21
  • 275
  • 467
  • Thank you, I just read up on the documentation - I had the Indent to 1, cause I thought it affected all the nodes :P – Jeff Jan 14 '11 at 21:14