I looked and can find how to know the previous control that had focus?
Have an exit button that will ask "Abort?" and if No will return to the last multi_line or control, but now the exit button has focus.
You can make that button a 'signal only' button so the focus doesn't change. And you can check MSE - position 25,2 contains the object that lost focus.
-Eric-
Quote from: EVa on September 16, 2020, 11:01:45 AM
You can make that button a 'signal only' button so the focus doesn't change. And you can check MSE - position 25,2 contains the object that lost focus.
-Eric-
That did it, thanks!