Page 1 of 1

Prevent focus move with arrow keys

Posted: Thu Nov 09, 2023 1:35 pm
by MegumiSawada
Hi All,

I believe you can move focus on webpage with arrow keys for push buttons, radio buttons and checkboxes.
Is there any way to prevent this focus move with arrow keys?
I'd like to keep moving focus with tab key, so I cannot set Tabstop(false) to those controls.

Thank you in advance.

Best Regards,
Megumi Sawada

Code: Select all

Begin_Com Role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>)
Define_Com Class(#PRIM_CKBX) Name(#CheckBox1) Caption('CheckBox1') Displayposition(1) Left(80) Marginleft(2) Parent(#COM_OWNER) Tabposition(1) Top(148) Height(24) 
Define_Com Class(#PRIM_CKBX) Name(#CheckBox2) Caption('CheckBox2') Displayposition(2) Left(264) Marginleft(2) Parent(#COM_OWNER) Tabposition(2) Top(152) Height(24) 
Define_Com Class(#PRIM_PHBN) Name(#Button1) Caption('Button1') Displayposition(3) Left(73) Parent(#COM_OWNER) Tabposition(3) Top(237)
Define_Com Class(#PRIM_RDBN) Name(#RadioButton1) Caption('RadioButton1') Displayposition(4) Left(75) Marginleft(2) Parent(#COM_OWNER) Tabposition(4) Top(296)
Define_Com Class(#PRIM_RDBN) Name(#RadioButton2) Caption('RadioButton2') Displayposition(5) Left(256) Marginleft(2) Parent(#COM_OWNER) Tabposition(5) Top(288) Height(24) 

Evtroutine Handling(#Com_owner.Initialize)

Endroutine

End_Com