TTMSFNCDataGridCellControlWrapper Class
Internal clipping container that hosts a live control inside a grid cell.
API unit family: TMSFNCDataGridCell
Inherits from: TControlTCustomControl
Syntax
TTMSFNCDataGridCellControlWrapper = class(TControlTCustomControl)
class PASCALIMPLEMENTATION TTMSFNCDataGridCellControlWrapper : public TControlTCustomControl
Remarks
The grid parents a cell's live control into a wrapper that is sized to the visible part of the control rectangle, so the control is clipped at the grid's scroll area. The wrapper also lets the grid keep a focused live control alive while its cell is recycled. Not used directly by application code.
Methods
| Name | Description |
|---|---|
| BeforeDestruction | Cancels any hint that is currently shown by the application before the wrapper is destroyed, so no hint remains attached to a destroyed control. |