Shift WebDialog Focus to SU?
-
hmm... A Win32 API call on the PC maybe? Then, something else on the Mac..?
-
Would closing the dialog work to transfer focus to the parent (SU) window?
-
Yeah, that's what I thought. Thanks guys.
-
EDIT: Maybe it's not important... If I select a Tool in the Dialog, move to the SU drawing area - even if the dialog still has focus, the selected tool still appears to be active using inferencing et.al.
-
Don't think you can control the focus of anything outside the HTML page from JavaScript.
-
Something like
onfocus="this.blur()"?
-
And rightly so. Its a basic tenet of UI design that users choose where to focus.
And I guess a corollary of that is you might ask yourself if this is the best approach.. ie don't let it become of feat of engineering and lose sight whether its such a hot idea to be pinging the focus automagically around..
Adam
-
@adamb said:
And rightly so. Its a basic tenet of UI design that users choose where to focus.
And I guess a corollary of that is you might ask yourself if this is the best approach.. ie don't let it become of feat of engineering and lose sight whether its such a hot idea to be pinging the focus automagically around..
Adam
Such as SU bouncing focus back to toolwindows when you undo operations..? grumble
-
@thomthom said:
Such as SU bouncing focus back to toolwindows when you undo operations..? grumble
But thats correct behavior if I unwind an operation to just before the Tool was used..No?
Just becomes others are inconsistent doesn't mean you have to stoop to that too! You're better than that..

Adam
-
@adamb said:
But thats correct behavior if I unwind an operation to just before the Tool was used..No?
Nah. Not IMO. I find it very annoying. I want to keep the focus on the viewport.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement