RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInplaceEdit Class

TInplaceEdit provides text editing capabilities for grid controls.

Pascal
TInplaceEdit = class(TCustomMaskEdit);
C++
class TInplaceEdit : public TCustomMaskEdit;

Grids

TInplaceEdit is a helper object tailored to work with grid controls. It provides a multiline editing window that appears in the appropriate cell of a grid control. TInplaceEdit provides services so that the grid can influence the response of the control to user actions, and can move or resize the editing window as cells are moved or resized.  

The TInplaceEdit window has no border, so it does not stand out as a separate control. TInplaceEdit is not a data-aware control, but can work with a data-aware grid such as TDBGrid, allowing the grid to fetch or post the text, and allowing the grid to impose a mask to limit the text of the edit control to data that is valid. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!