I would like to add a confirmation before fire up a numeric text field
I add some scripts on property change but does not work as I expected
if system.gui.confirm(“Are you sure you want to open this window?”):
if event.keyCode==event.VK_ENTER: event.source.doClick()
would you please help me? numeric text using an indirect tag to UDT parameter
propertyChange events happen after the property has already changed. You could add a custom property with the ‘real’ value, that you only write from scripting
after your write has been attempted from the text component itself.
Thanks for the reply, I tried several ways, but I didn’t get results, do you have any examples? Confirmation of any input should be a basic part of SCADA
Can you advise a quick example on how it is done?
The following post has similar enquiry.
Is it possible to use confirmation with the boolean toggle button?
I know i can use confirmation with the 2 state toggle, but i can’t seem to replicate the visual styling of the boolean toggle on the 2 state toggle.