Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

How to detect user input activity for TextField?

e.kislov
2019-12-09
2019-12-11
  • e.kislov - 2019-12-09

    Hi.
    I use element TextField.
    How to detect user input activity for this element? (with BOOL value: FALSE - not active, TRUE - active)
    I attach some pics to show my needs.

    IMG: TF01.png

    IMG: TF02.png

     
  • m.prestel - 2019-12-10

    Hello,

    there is currently no listener to get the information if a input was opened.
    You can however add a separate action on the same input containing the write variable action which calls a function to inform you that the input was opened.

    There is a interface so you get the information when a variable is written via input (see attached screenshot)

    Best regards,
    Marcel

    IMG: EditBoxHandler.PNG

     
  • e.kislov - 2019-12-11

    Thanks, m.prestel.
    It's suitable solution.

     

Log in to post a comment.