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

Activate/deactivate standard keyboard handling from the code

Alexey
2020-06-24
2020-12-08
  • Alexey - 2020-06-24

    Hi guys! In Visualization MAnager there is a check-box "Activate standard keyboard handling". I need to turn this option ON and OFF from the code in real time. Is there any way to do it?

     
  • m.prestel - 2020-07-13

    Hey,

    Could you please describe what you are trying to achieve?

    VisuElems.g_SelectionManager.EnabledSelectionType := VisuElems.VisuElemBase.Visu_Selection_Constants.VISU_SELECTION_ENABLED_NONE;
    

    should do the trick.

    Best regards,
    Marcel

     
    πŸ‘
    1
    • Alexey - 2020-12-08

      Hi mate! There is a special PLC described in this topic:

      https://forge.codesys.com/forge/talk/Visualization/thread/7bfd114b72/

      Which required such function, but after long discussion with the manufacturer, they decided to add key change functionality in the future

       

Log in to post a comment.