FMX.AcceleratorKey.IFMXAcceleratorKeyRegistryService.ChangeReceiverRoot
Delphi
procedure ChangeReceiverRoot(const AReceiver: IAcceleratorKeyReceiver; const AOldRoot, ANewRoot: IRoot);
C++
virtual void __fastcall ChangeReceiverRoot(const _di_IAcceleratorKeyReceiver AReceiver, const Fmx::Types::_di_IRoot AOldRoot, const Fmx::Types::_di_IRoot ANewRoot) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.AcceleratorKey.pas FMX.AcceleratorKey.hpp |
FMX.AcceleratorKey | IFMXAcceleratorKeyRegistryService |
Description
Updates the root where the accelerator key receiver is registered.
ChangeReceiverRoot is used to unregister the accelerator key receiver from the old root (typically a form) and register the receiver into the new root.