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

RecreateWnd

Create the widget for a TWinControl

Declaration

Source position: controls.pp line 2646

procedure RecreateWnd(

  const AWinControl: TWinControl

);

Description

This function was originally member of TWincontrol.

From a VCL point of view that made perfectly sense since the VCL knows when a win32 widget has to be recreated when properties have changed.

The LCL however doesn't know, the widgetset does. To avoid old VCL behaviour and to provide a central function to the widgetset, it is moved here.

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