Hi,
I have a recursively filled treeview control on a form that shows a concatenated ID and Description. The display is a variable varText
varText holds the display in the treeview
Anyone know if there is anyway of adding 2 fields to be displayed in a treeview ctrl so it appears that the second variable is Tabbed away from the ID.
Concatanating the strID and strTextField doesn't work as a tab character doesn't work in the treeview as below
rs is a recordset.
BTW strID is also the Treeview key
another alternative would be for the ID to be bold and varText normal but I also have no idea how to do this
Thanks in advance for anyhelp
Regards
Jon
I have a recursively filled treeview control on a form that shows a concatenated ID and Description. The display is a variable varText
Code:
nodCurrent = objTree.Nodes.Add(nodParent, tvwChild, strKey, varText)
varText holds the display in the treeview
Anyone know if there is anyway of adding 2 fields to be displayed in a treeview ctrl so it appears that the second variable is Tabbed away from the ID.
Concatanating the strID and strTextField doesn't work as a tab character doesn't work in the treeview as below
Code:
varText = rs(strID) & Chr(9) & "(" & rs(strTextField) & ")"
BTW strID is also the Treeview key
another alternative would be for the ID to be bold and varText normal but I also have no idea how to do this
Thanks in advance for anyhelp
Regards
Jon