I have a form with 2 fields, the tabsequence is set.
When the cursor is in field 1 I can press tab-key to set the focus to field 2.
BUT, when I press tab-key again the cursor disapperas from field 2, but does Not appear in field 1, it is gone.
When I put the cursor in field 2 ( by mouseclick) pressing tab-key does not put the cursor to field 1
It does not seem to cycle trough the fields when You keep pressing Tab-key
Is this expected behaviour or ??
This is in 5.2.10 in windows 7
Regards,
I’m seeing the same behavior using Servoy 5.2.9 on Win XP
web or smart?
but if you keep hitting a few times the tab key doesn’t it go into field 1 again?
the thing is that the menu bar or other stuff also can get the focus, please look closely
Hi,
I noticed that this happens when the form is in the Servoy Framework.
A form not in the framework acts as expected ( tab cycle )
I’ll put this in the framework section also.
By tw way : is there a way to gte the name of the element that has the focus ?
That way I could see where the focus goes and maybe understand what happens.
Regards,
Forgot to answer Johan’s question : it is on Smart Client.
I now use a workaround by issuing “controller.focusFirstField()” in
the onFocusLost of the last field.
That works, but not in find mode ;-(
Regards,
Aaaah , forgot about the //controller.search (must be getting old … )
now it also works in find mode
function onFocusLost(event) {
//controller.search()
controller.focusFirstField()
return true
}