Author |
Message |
12/09/2012 14:39:13
|
gbaumgartner
Active
Joined: 14/05/2012 13:58:06
Messages: 13
Offline
|
Hi,
I would like to focus an input field in "overwrite mode". I am able to focus the input field using the RequestFocusManager after e.g. a hotkey event or a button click.
The problem is, that the content of the input field is sometimes selected (so pressing a button deletes/overwrites the current content - which is my desire behavior), and sometimes it is not (just the cursor standing in the input field - pressing a button adds the character without deleting the "old" content).
I already tried setting "selectallwhenfocussed" to true, but it did not show any effect so I guess that this is not the correct option.
Is there a way to do this?
Thanks,
Gernot
|
|
|
12/09/2012 22:04:26
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5529
Offline
|
Hi,
the default is "true" for SELECTALLWHENFOCUSSED, so explicitly setting "true" does not bring any further effect.
We currently cannot reproduce. Is there something special that you are doing? - Even better: could you produce a client log (client parameters: loglevel=ALL clientlogfile=c:/temp/log.log) to help us with sorting out this problem?
THANKS...!
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/09/2012 09:13:23
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5529
Offline
|
...we checked the focus management and found one (not severe) problem that was "added" in an update 2 weeks ago. Maybe this is the same problem causing the behaviour that you describe...
We are just about to find out...
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/09/2012 09:21:39
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5529
Offline
|
...but would be great to send us the log anyway. If you have not recorded a client log so far + have questions on this: please directly contact us.
Thanks + regards!
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
13/09/2012 11:54:09
|
gbaumgartner
Active
Joined: 14/05/2012 13:58:06
Messages: 13
Offline
|
Ok, I will try to get a log.
Best regards,
Gernot
|
|
|
14/09/2012 17:03:16
|
gbaumgartner
Active
Joined: 14/05/2012 13:58:06
Messages: 13
Offline
|
Hi,
I still don't have a log, but now I changed the sequence of the instructions and I was able to reproduce the problem.
I have an input field an a button with a hotkey (return) defined. If I press the button with the mouse, the request is processed and afterwards the focus is set correctly back to the input field (in overwrite mode).
But if I change the value in the input field and press "return", then the focus is set back to the input field, but not in overwrite mode.
Best regards,
Gernot
|
|
|
|