PxPlus User Forum

Main Board => Discussions => Nomads => Topic started by: MikeinFL on September 16, 2020, 10:22:01 AM

Title: Determine previous control that had focus?
Post by: MikeinFL on September 16, 2020, 10:22:01 AM
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.

Title: Re: Determine previous control that had focus?
Post by: 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-
Title: Re: Determine previous control that had focus?
Post by: MikeinFL on September 16, 2020, 11:07:59 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!