Welcome, Guest
Username: Password: Remember me
Welcome to TeslaSCADA forum!

Tell us and our members about your experience of using our products.

TOPIC: is clicked function in structured text

is clicked function in structured text 1 year 6 months ago #2185

  • CYSan1994
  • CYSan1994's Avatar
  • Offline
  • Junior Member
  • Posts: 28
  • Karma: 0
Hi,
Currently I have a customized object which is built on text, image and rectangle. Can I know is there any function like this.objects.groupobject.isclicked() so when the object is clicked, this value is changed.

Thanks,
San
The administrator has disabled public write access.

is clicked function in structured text 1 year 6 months ago #2186

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 842
  • Thank you received: 126
  • Karma: -107
Hello,

You can do it by using scripts. You have to create object type script:





Change tag's value inside script.





And bind this script to the object. Unfortunately it's not possible to bind to the group object, but you can bind this script to all objects of the group or create transparent rectangle object, place it over all group objects and add this script to this object.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top