Using Tabs in MSComctlLib.TreeCtrl.2 control

Ive set up a treeview using the MSComctlLib.TreeCtrl.2 control that has a series of information, currently seperated by commas and hyphens etc. Because of the proportional text used it all looks a bit messy. Is is possible to use tab characters to better lay out the displayed text of a node, if so how (I've tried Chr(9)). How would the tab spacing be set up etc.

Thanks



Answer this question

Using Tabs in MSComctlLib.TreeCtrl.2 control

  • jzfredricks

    Hi,

    It is not possible to put a tab alignment within the text of the treeview node.

    Try to set the font of the treeview to some fixed width font like courier new.



  • Walkab

    That's what I was afraid of. Thought of a fixed font, but they just look so unappealing

    Thanks for your reply


  • Using Tabs in MSComctlLib.TreeCtrl.2 control