RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDBGrid.CanEditShow Method

Indicates whether the inplace edit control can be created to allow editing.

Pascal
function CanEditShow: Boolean; override;
C++
virtual __fastcall Boolean CanEditShow();

TCustomDBGrid overrides the inherited method to prevent the inplace edit control from coming up while the layout of the grid is being recomputed. 

Grid controls call CanEditShow internally before creating the editor for a cell. CanEditShow is called after the grid has determined that the field can be edited by calling CanEditModify

 

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