No +/- in TreeView

  • Thread starter Thread starter martdi
  • Start date Start date
M

martdi

I am writing an application in Access that needs a TreeView.

I have drawn a TreeView in my form.

I have set the style property to 6 - tvwTreeLinesPlusMinusText, but the
plus/minus won't appear in my form.

the object class is:
MSComctlLib.TreeCtrl.2

OLE Application is:
TreeCtrl

Is there a way to make the +/- appear ?
 
Well, I just found out that the plus does not appear on topmost nodes
of the tree, but it appears on childs of the top ones.

So how can i do to make the +/- on the topmost nodes ?
 
treListeAcces is my TreeView

"_" & noAcc is the key of the node
strNomAcces is the string variable containing the text I want to
display

treListeAcces.Nodes.Add , , "_" & noAcc, strNomAcces
 
Well, I have finally been able to make the +/- appear by changing the
LineStyle of my treeview to tvwRootLines.
 
Back
Top