[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.WMSize

Event handler for size messages.

Declaration

Source position: controls.pp line 2066

protected procedure TWinControl.WMSize(

  var Message: TLMSize

); message;

Description

This method is called whenever width, height, clientwidth or clientheight have changed.

If the source of the message is the interface, the new size is stored in FBoundsRealized to avoid sending a size message back to the interface.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.