RectControl.Refresh
From Xojo Documentation
Method
Repaints the entire contents of the control immediately.
Method
RectControl.Refresh(x As Integer, y As Integer, width As Integer, height As Integer, [EraseBackground as Boolean])
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Repaints the portion specified of the contents of the control immediately.
If the optional parameter EraseBackground is True, the background will be erased prior to redrawing the control. The default is True.
Notes
Calling this frequently can cause the code executing to slow down. It is often preferable to call RectControl.Invalidate instead.
Sample Code
Refresh the entire area:
Refresh a portion of the area:
Me.Refresh(100, 150, 200, 300)