Skip to main content
Table of Contents

TTMSFNCDataGridButtonCell.OnClick Event

Occurs when the button is clicked, either as a live control or through its cached bitmap.

API unit family: TMSFNCDataGridCell Declaring type: TTMSFNCDataGridButtonCell Type: TNotifyEvent

Syntax

FMX.TMSFNCDataGridCell.hppPascalC++
property OnClick: TNotifyEvent;
__property System::Classes::TNotifyEvent OnClick = {read=FOnClick, write=FOnClick};

Remarks

Sender is the cell, not the button. The grid assigns its own handler when it prepares the cell; use TTMSFNCCustomDataGrid.OnCellButtonClick in application code.