Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you trap Expanding and Collapsing TreeView controls at Design Time

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
Hello All,

For TreeView type controls (eg Location and Size), can you trap the mouse click that expands or collapses the control? Thanks in advance!

Have a great day!

j2consulting@yahoo.com
 
Yes, you can handle the following treeview events.

Treeview1.AfterExpand
Treeview1.AfterCollapse
 
Or indeed these events too (forgot about them..)

treeview1.BeforeExpand
Treeview1.BeforeCollapse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top