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

TCustomGrid.CreateWnd

Creates and configures the widgetset handle for the grid control.

Declaration

Source position: grids.pas line 1015

protected procedure TCustomGrid.CreateWnd; override;

Description

CreateWnd is an overridden method in TCustomGrid. It calls the inherited method to allocate the Handle for the widgetset class.

CreateWnd ensures that internal flags used for horizontal and vertical scroll bar visibility are updated to reflect the states for the control Handle. The CheckPosition method is called to determine the cell selection in the grid. VisualChange is called to refresh the visible area and scroll bars in the control.

See also

TCustomGrid.CheckPosition

  

Determines if the cell can be selected, or finds a suitable position using auto-advance.

TCustomGrid.VisualChange

  

Updates the grid after changes to the visual properties in the control.

TWinControl.CreateWnd

  

Creates the interface object (widget) and assigns the value in Handle.

TWinControl.Handle

  

A reference handle to the widgetset class instance associated with this control.


Version 4.0 Generated 2025-05-03 Home