Skip to main content
Table of Contents

TTMSFNCDataGridButton.Control Property

Optional custom control hosted in this button slot instead of the default toolbar button.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGridButton Type: TTMSFNCDataGridCellControl

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
property Control: TTMSFNCDataGridCellControl;
__property TTMSFNCDataGridCellControl* Control = {read=FControl, write=SetControl};

Remarks

Assigning a control frees the internal Button, hides the control until the bar positions it, and copies the control's width into Width. The item does not own the control. Setting nil makes the previous control visible again. OnClick and Callback are not wired to the custom control.