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

Events execution

Status
Not open for further replies.

pbsky

Programmer
Jul 5, 2005
3
0
0
US
In my window, I have a SLE object with code in the modified event. Also, my application has a menu icon that call my "edit" event in my window.
The situation is that if the users enter something in the SLE without pressing enter, tab, etc., and then they click the menu icon, my app. is executing first the SLE code and then the "edit" event.

How Can I stop the execution of the SLE? I just want to execute the "edit" event if the user enters something in the SLE without pressing any key.
I tried the KeyDown function but it did not work well.

Thank you.

 
Define a user event with pbm id 'enchange' - you could define it as editchange - and put your code in that event - that may work.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top