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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Order of events

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hi, I have 2 Components, an edit box and a tree view.
I want certain actions to be performed on the exit event of the edit box and the onchange event of the tree view.(Every time the user clicks on the treeview, the contents are changed on the onclick event) My problem is that if the edit box has focus and then i click on the treeview, the on change event of the treeview occurs before the onexit event of the edit box. When logically one would have to exit the edit box before entering the treeview.

Does anyone have any idea why this occurs?

Help is always appreciated

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top