TTMSFNCDataGridCellControlInfo.Compare Method
Returns True when
AInfodescribes the same control appearance, so a bitmap cached for one can be drawn for the other.
API unit family: TMSFNCDataGridCell
Declaring type: TTMSFNCDataGridCellControlInfo
Syntax
function Compare(AInfo: TTMSFNCDataGridCellControlInfo): Boolean; virtual;
virtual bool __fastcall Compare(TTMSFNCDataGridCellControlInfo* AInfo);
Remarks
Override together with Assign and CopyInstance when a descendant adds fields.
Parameters
| Name | Description |
|---|---|
AInfo |
Control info to compare with; must not be nil. |
Returns
True when Type, Width, Height, Text, Caption, Focused, Tag, and ExtraHash are all equal.