TTMSFNCDataGridCellItemExtended.Clear Method
Empties Value and DisplayValue and marks the item Invalid so the display text is rebuilt.
API unit family: TMSFNCDataGridCell
Declaring type: TTMSFNCDataGridCellItemExtended
Inherited from: TTMSFNCDataGridCellItem
Overloads
Overload 1
Empties Value and DisplayValue and marks the item Invalid so the display text is rebuilt.
procedure Clear; virtual;
virtual void __fastcall Clear();
Overload 2
Clears the value and resets the extended settings to their defaults.
procedure Clear; override;
virtual void __fastcall Clear();
Remarks
Frees ManagedObject, the bitmap, the control margins, and the per-cell layout; detaches Control from its parent without freeing it; clears Object; and restores the defaults of Type, the bitmap flags, BitmapName, the control settings, Comment, ReadOnly, RadioGroupIndex, and MergeInfo. Hint, BooleanValue, IntegerValue, and the Data* slots keep their values.