Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog Close Script, or Hide Window close 'X' #939

Closed
unocelli opened this issue Oct 22, 2023 Discussed in #936 · 1 comment
Closed

Dialog Close Script, or Hide Window close 'X' #939

unocelli opened this issue Oct 22, 2023 Discussed in #936 · 1 comment
Labels
feature New feature

Comments

@unocelli
Copy link
Member

Discussed in #936

Originally posted by robbudge October 19, 2023
Any way to run a script on dialog close?
or to disable the close 'x' in the top right.
i use a common dialog and tag structure in the PLC for read only information, so when the use clicks on a device the PLC is sent an index to copy into the standard structure.
Write tags we use the Variable bind.
When the 'Close' button is clicked a value of 255 is written to the PLC inform the PLC the common structure is not required. This common structure can be upwards of 30 Variables Binding them would be a nightmare for 50 devices.

The problem arrises when the user simply clicks the 'X' and the dialog closes. the PLC is still copying the data and the common area is utilized.

a simple option would be make the 'X' White so still active just not visible, Any ideas ???

@robbudge
Copy link

robbudge commented Jan 5, 2024

Works Great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants