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

TWinControl.WMWindowPosChanged

Event handler for size/move messages.

Declaration

Source position: controls.pp line 2154

protected procedure TWinControl.WMWindowPosChanged(

  var Message: TLMWindowPosChanged

); message;

Description

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

If the source of the message is the interface, the new size is stored in the internal BoundsRealized member. Avoids sending a size message back to the interface.

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