RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInplaceEdit.UpdateContents Method

Sets the EditMask and Text properties to values specified by the grid.

Pascal
procedure UpdateContents; virtual;
C++
virtual __fastcall UpdateContents();

UpdateContents calls the GetEditMask and GetEditText methods of the grid, and sets the EditMask and Text properties accordingly. UpdateContents allows the grid to bring up the inplace edit control with the contents of a particular cell, and to impose a mask to restrict the editor to valid input for the particular cell. 

 

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