GUI Help > General > setAutoUpdate
setAutoUpdate
setAutoUpdate handle gadget, bool autoUpdate
Description: Specifies whether or not the gadget repaints itself when it is altered in some way. If auto-update is disabled, the gadget will ignore any calls to repaint itself.
Return Value:
Parameters:
gadget | Handle to a gadget
autoPaint | 0 to disable auto-updating, 1 to enable auto-updating.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)