PML Customisation
User Guide
Gadgets and their Attributes
: Refreshing Gadgets
Refreshing Gadgets
In general, when a gadget is edited inside a PML callback function or macro the visual change is delayed until the entire callback has been executed or interactive input is sought. If you want to see the gadget’s appearance change immediately it is edited, use the method
!Gadget.Refresh()
You can also use the command
REFRESH
to refresh all gadgets of all displayed forms.
REFRESH is required after deleting AVEVA E3D™ elements in an interactive DO LOOP.
Warning: Refreshing gadgets should be used sparingly, especially for View gadgets, as it will cause their content to be regenerated.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.