Skip to main content
Table of Contents

TTMSFNCWXPDFToolbarItem.OnCustomEvent Event

Occurs when a button whose role is trCustom is clicked.

API unit family: TMSFNCWXPDFToolbar Declaring type: TTMSFNCWXPDFToolbarItem Type: TNotifyEvent

Syntax

FMX.TMSFNCWXPDFToolbar.hppPascalC++
property OnCustomEvent: TNotifyEvent;
__property System::Classes::TNotifyEvent OnCustomEvent = {read=FOnCustomEvent, write=FOnCustomEvent};

Remarks

Use this handler to implement an application-specific action. The Sender passed to the handler is the clicked item itself. The event is not raised for items that use a built-in role.