Skip to main content
Table of Contents

TTMSFNCPopupMenu.OnGetFocusedSubControl Event

Fires to supply the control that should receive focus when the menu opens.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCPopupMenu Inherited from: TTMSFNCCustomPopupMenu

Syntax

FMX.TMSFNCPopupMenu.hppPascalC++
OnGetFocusedSubControl: TTMSFNCPopupMenuGetControl;
__property TTMSFNCPopupMenuGetControl OnGetFocusedSubControl = {read=FOnGetFocusedSubControl, write=FOnGetFocusedSubControl};

Parameters

Name Description
Sender The popup menu that raised the event.
AControl Set to the control that should receive focus; leave unchanged to use the default behavior.