Page 1 of 1

Focus-Autorestore

Posted: Mon Feb 22, 2010 7:05 am
by Markus Walter
Hello Roger,

in September 2009 i asked in old webboard for a focus autorestore switching with Alt-Tab from express-Window with dcget to another window and back (now the cursor is at position 1 after Alt-Tab/Alt-Tab). It would be nice if cursor would be at the same position as before Alt-Tab/Alt-Tab.

You wrote:
That's a bit more difficult. Instead of just restoring focus to an object,
it would require saving the current cursor position.
Xbase Parts doesn't have a common iVar or method for this, so it would
require expanding the DC_* classes
to provide for this and then saving this info on a lostfocus. It's all
doable, but it will have to wait til the next release.
Perhaps you find some time to make this change?

Re: Focus-Autorestore

Posted: Wed Feb 24, 2010 1:22 pm
by rdonnay
I spent some time on this today and don't think I will be successful.

Re: Focus-Autorestore

Posted: Thu Feb 25, 2010 1:06 am
by Markus Walter
rdonnay wrote:I spent some time on this today and don't think I will be successful.
:(
We hear this often at our support, when users switch to another window to copy data (exp. Phonenumber, partnumber) to my DCGETs...