Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2024-05-12 06:50:12 +00:00
5 __UI_ForceRedraw
Fellippe Heitor edited this page 2018-06-17 18:51:55 -03:00

__UI_ForceRedraw is a global variable that triggers a redraw for all form controls when it's set to True. When it's not set to True, controls are redrawn only when changes in their properties or state are detected.

__UI_ForceRedraw = True

It's automatically set back to False after the next form repaint is executed.

If you want to trigger a redraw for only a specific control, use the Redraw property:

Control(myControl).Redraw = True