open dialog at relative position

tvm
2020-12-02
2020-12-03
  • tvm - 2020-12-02

    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?

     
  • tvm - 2020-12-03

    Thank you. I agree with the other comments there that it would be nice to see some documentation for these sort of features.

     

Log in to post a comment.