Problem description:
Is there a more modern and convenient way to maintain focus on wherever the client is active during pop-ups? I checked around and couldn't really find anything outside of browse(null, null). This is inconvenient in the cases where they is a browser provided in the interface.
ID:1715028
Nov 7 2014, 12:15 pm
|
|
Nov 7 2014, 12:22 pm
|
|
Try using winset(theclient, "thewindow", "focus=true")
|
I am aware of this, but I need a way of actively knowing what the focus of the client was before re-setting the focus. This instance, I have tried out the sd_alert library by ShadowDarke, which is nice, but it keeps focus with the use of browse(null, null) and I have already explained the downfall of that.
Nevermind, I have found what I was looking for: Calling the winget() proc with a blank or null control ID can return some values that belong to the whole program. |