Page 1 of 1

Autotab property to move focus to next field in Web page

Posted: Wed Mar 01, 2017 3:41 pm
by MegumiSawada
Hi

We can use Autotab property to move focus to the next field after the fill digit are entered in Form.
Can we use Autotab property to do so in Web page too?

I have tried it with the following code on IE11 but it doesn't work as expected. After text entered to the maximum digit, The whole text will be selected.(Our expected behavior is to move focus to the next field.)
It seems it works as expected on Chrome and Microsoft Edge.
Which is the intended behavior?

Code: Select all

Begin_Com Role(*EXTENDS #PRIM_WEB)
Define_Com Class(#STD_CODE.Visual) Name(#STD_CODE) Componentversion(1) Displayposition(1) Height(21) Left(8) Parent(#COM_OWNER) Tabposition(1) Top(8) Usepicklist(False) Width(207) Autotab(True)
Define_Com Class(#STD_CODEL.Visual) Name(#STD_CODEL) Componentversion(1) Displayposition(2) Height(21) Left(8) Parent(#COM_OWNER) Tabposition(2) Top(30) Usepicklist(False) Width(240)

Evtroutine Handling(#Com_owner.Initialize)

Endroutine

End_Com
Best Regards,
Megumi Sawada

Re: Autotab property to move focus to next field in Web page

Posted: Thu Mar 02, 2017 1:21 pm
by Stewart Marshall
Hi Megumi

Visual LANSA features should behave the same in every browser.

As Autotab works correctly in Chrome and Edge, it should do the same in IE. The fact that it doesn't means that it is a bug.

Please report this to your regional helpdesk


Regards