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
under the input action "Write a Variable", it says "You can use the placeholders ElementRectangle.ptTopLeft.iX and .iY ElementRectangle.ptBottomRight.iY. It is replaced at runtime by the coordinates of the calling element". Does this apply to the input action "Open Dialog" as well? It has the same X/Y input boxes, but I haven't been able to get it to work. Does every element have these properties?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to open a dialog box at a position relative to the calling element, in this case a button. Looking through here:
https://help.codesys.com/webapp/_visu_dlg_input_configuration;product=core_visualization;version=3.5.15.0
under the input action "Write a Variable", it says "You can use the placeholders ElementRectangle.ptTopLeft.iX and .iY ElementRectangle.ptBottomRight.iY. It is replaced at runtime by the coordinates of the calling element". Does this apply to the input action "Open Dialog" as well? It has the same X/Y input boxes, but I haven't been able to get it to work. Does every element have these properties?
Hey,
check out my example here.
https://forge.codesys.com/forge/talk/Visualization/thread/4c16dc635a/#59af
Best regards,
Marcel
Thank you. I agree with the other comments there that it would be nice to see some documentation for these sort of features.