Description
To run a macro when the Resize event occurs, set the OnResize property to the name of the macro.
Remarks To repaint the screen every time a form is resized, use the RepaintObject action in the macro you specify for the Resize event. You can't use the CancelEvent action in a Resize macro.See Also Resize event — event procedures.