Prevent focus move with arrow keys

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
MegumiSawada
Posts: 79
Joined: Tue Mar 22, 2016 1:45 pm
Location: Tokyo, Japan

Prevent focus move with arrow keys

Post 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
Post Reply