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.
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.