Vcl.Grids.TInplaceEdit.UpdateContents
Delphi
procedure UpdateContents; virtual;
C++
virtual void __fastcall UpdateContents();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TInplaceEdit |
Description
Sets the EditMask and Text properties to values specified by the grid.
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.