RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPopupGrid.CreateWnd Method

Creates the window used to display the data-aware grid.

Pascal
procedure CreateWnd; override;
C++
virtual __fastcall CreateWnd();

The Windows control for the grid can be temporarily destroyed and recreated in order to set properties that require changing the window creation parameters. TCustomDBGrid calls CreateWnd to create this Windows control when necessary.  

CreateWnd overrides the inherited method to set up the relationship between the visual display and the data source after the window is created. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!