Auto focus input field

When displaying a window containing user input fields, the focus should automatically be set on an input field so that any entered value goes directly into the selected field without requiring a mouse click.

This is intended for use with a barcode scanner. The operator will press a button, which opens a popup window with an input field. This field should automatically be focused so that the operator can simply scan without having to activate the input field with the mouse.

Any ideas?

Parents
  • Hi Thomas, This can sometimes be a challenge, We have achieved this by using the .Net Winforms Textbox witch has an .Focus() property that can be set using scripting.


    There are some additional challenges if you are using OMI (.Net Winforms is not supported in Industrial Graphics, but in a pane only), but at least its a possible way forward.

    Are you using InTouch for System Platform or InTouch OMI?

Reply
  • Hi Thomas, This can sometimes be a challenge, We have achieved this by using the .Net Winforms Textbox witch has an .Focus() property that can be set using scripting.


    There are some additional challenges if you are using OMI (.Net Winforms is not supported in Industrial Graphics, but in a pane only), but at least its a possible way forward.

    Are you using InTouch for System Platform or InTouch OMI?

Children