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

Visualisation Element Slider

Tyro
2021-12-03
2021-12-05
  • Tyro - 2021-12-03

    Hello
    I have a question regarding the Visualisation Control 'Slider'.
    Is it possible to set the value of assigned Variable to Zero or some default value, the moment finger is taken away from Slider Control.

    Options like "On MOuse Leave" would do the purpose. But Unfortunalety it is not available.
    Plese help!
    Thanks
    Singh

     
  • Tyro - 2021-12-03

    i even thought of TouchDetection Example but if i use TouchControl function then i have to define a rectangle which would render this control practically not usable.....

     
  • Tyro - 2021-12-03

    ..

     

    Last edit: Tyro 2021-12-03
  • sgronchi - 2021-12-03

    You can also build the slider yourself if your display tells you touchscreen coordinates and you do not plan to support mouse.

    It's a bar (= rounded rectangle), a line and some math on touch coordinates.

     
  • Tyro - 2021-12-05

    hi, Thx a lot.
    i still have a following question. Is it possible to know my touch coordinates irrespective of knowledge of current visu?

     

Log in to post a comment.