Treeview Controls events

  • Thread starter Thread starter Dale Fye
  • Start date Start date
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
 
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.
 
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.
 
Back
Top