Treeview Controls events

D

Dale Fye

I'm using a treeview control to display some heirarchical
data. Unfortunately, when in the design mode it appears
that this control only has five events (OnUpdate, OnEnter,
OnExit, OnGotFocus, OnLostFocus). Although the Enter,
Exit, GotFocus, LostFocus fire, I cannot figure out what
causes the Update to fire. Additionally, I had assumed
there would be events for Checked, Selected, or something
else.

I'd like to be able to display some detail for each item
when it is selected, but the only way I have been able to
figure out to do this to date is to use the forms timer
event. There has to be a better way.

Thanks
 
D

Dan Artuso

Hi,
Here's how to view all the events.
When you're in the form's code module, select the tree view control from the
upper left combo, then in the upper right combo you will be able to select all the events.
I use the NodeClick event myself.
 
D

Dale Fye

Thanks a lot Dan. I knew there had to be a way to do it,
just wasn't sure why those events were not showing up in
the design views Properties - Events tab.

Dale
-----Original Message-----
Hi,
Here's how to view all the events.
When you're in the form's code module, select the tree view control from the
upper left combo, then in the upper right combo you will
be able to select all the events.
 

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

Top