How to Turn OFF Focus in Ignition Edge

Hello People, I am running Ignition on KEBA T70 device.

The device have a keypad with buttons, which are configured to JOG in manual mode functionalities.

whenever I try to press button and if a text field is focused on the screen then its getting filled with alphabets. I tried using the following scripts in the event clients

  1. event.source.setFocusable(0)

    if val.val:
    root = event.source.parent

It worked on my PC in vision client but not on the KEBA device.

Please share some ideas or suggestions on this issue.

Thanks in advance