Tree View Control not working in MS Access 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I working with the TreeView control in MS Access for the first time and going
through some examples.

Right off the bat, I do not show any styles under the TreeCtrl Properties.

Any ideas?

lsl
 
To change the node settings in your treeview control (xTree) you will need to
use the Visual Basic Editor to enter code such as:

Private Sub xTree_NodeClick(ByVal Selnode As Object)

Dim nodCurrent As Node
Set nodCurrent = Selnode

nodCurrent.ForeColor = RGB(90, 10, 250)
nodCurrent.BackColor= RGB(0, 255, 255)
nodCurrent.Bold = True
xTree.Object.Font = "Comic Sans MS"

End Sub

Note that most settings are global to the treeview control e.g. Font.

This is the closest you will get to styles.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top