Client and I are making great use of popup dialogs to show additional information and for entering configuration and tuneup data. I'd like to take this technique to the next level where the end user would be able to drag a popup to a convenient location so it's not blocking critical information on the main screen behind.
This can be very useful, in that instead of cluttering a given screen with as much as possible, one could simply provide and over view widget (i.e. some combination indicators) which when clicked could popup details that could remain. This would require that the operator have the ability to reposition and resize the window as desired/required.
I have not found a way of obtaining realtime mouse data nor a way of writing such data to position and scale properties of the window such that it would be redrawn at the new location.
Please let me know if this is possible. If not please add this to some kind of wish list as it would be very useful to all codesys users/customers.
Moving dialogs is planned for one of the next releases.
Is there any ETA for this feature?
I'm trying to create templates for different control objects (like motors, valves etc) with a popup dialog faceplate to control the object, it would be very nice to be able to move them around instead of having fixed positions.
As of today, moving dialogs is part of the 188.8.131.52 visualization release.
This release contains the support for moving dialogs in the webvisualization.
For the targetvisualization you have to wait for 3.5 SP18 release.
The release for visualization 184.108.40.206 is currently planned for october 2021.
Thank you for your quick answer Marcel.
Great to hear that it will soon be here.
i'm using codesysy 220.127.116.11 with visualization package 18.104.22.168 but cannot find the option to move dialogs in webvisualization.
Can you confirm if this is possible now?
yes it is part of the 22.214.171.124 visualization, but requires the option "Support client animations and overlay of native elements" to be checked.
Thanks Marcel, it is working now
Thanks for the quick reply. That's great news and will be anxiously awaiting for this feature.
Care to point me in the direction of any information on how to create pop ups?
Create a visualization object and set its properties to "Dialog"
Create a button, InputConfiguratioin=>OnMouseDown=>OpenDialog
So I've started playing with dialogs, but am getting a bit frustrated as I can't seem to get them to work with my VAR_IN_OUT.
Essentially, the dialog is has a start, Stop and Close button. And the interface to the visualisation is a UDT with Start, Stop and Running.
I placed the button action to toggle variable and these appear available so I linked them, but when operating the button, it really doesn't do anything to the variables.
Any idea what I may be doing wrong, here?
Found it... It's not immediate unless passed as a pointer with:
Log in to post a comment.