Refreshfunction
Synchronizes the grid's visual state with its data source.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION Refresh () AS HRESULT
Description
It ensures that any pending visual changes—such as property updates, cell coloring, or text changes—are rendered on the screen without waiting for the operating system's standard paint cycle.
Example
' Stop the grid from flickering during a bulk update grid.Redraw = False
' ... Perform hundreds of cell updates ...
' Re-enable drawing grid.Redraw = True
' Force the control to update its visual appearance right now grid.Refresh
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid