Table of Contents

TTMSFNCDataGridCellControlInfo Class

Snapshot of a cell control's configuration used as the key for the control bitmap cache.

API unit family: TMSFNCDataGridCell

Syntax

TTMSFNCDataGridCellControlInfo = class

Remarks

Two instances are compared via Compare() to determine whether the cached bitmap is still valid. ExtraHash is built from RTTI values of user-supplied extra property names and participates in the comparison.

Properties

Name Description
Caption Caption text of the cached control.
ExtraHash RTTI-derived hash of extra user-specified properties; included in the cache comparison.
Focused When True, the control had keyboard focus when the cache entry was created; when False, it did not.
Height Height of the control at cache time, in logical pixels.
Tag Tag value of the control at cache time.
Text Text content of the control at cache time.
Width Width of the control at cache time, in logical pixels.

Methods

Name Description
Compare Returns True when all fields of AInfo match this instance, indicating the cached bitmap is still valid.
CopyInstance Creates and returns a new TTMSFNCDataGridCellControlInfo with the same field values as this instance.