FMX.Edit.TEdit.OnPresentationNameChoosing

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnPresentationNameChoosing: TPresenterNameChoosingEvent read FOnPresenterNameChoosing write FOnPresenterNameChoosing;

C++

__property OnPresentationNameChoosing;

Properties

Type Visibility Source Unit Parent
event published
FMX.Edit.pas
FMX.Edit.hpp
FMX.Edit TEdit

Description

Occurs right before your control loads its presentation, and it allows you to define a custom presentation proxy name different from the name that DefinePresentationName returns.

FMX.Edit.TEdit.OnPresentationNameChoosing inherits from FMX.Controls.Presentation.TPresentedControl.OnPresentationNameChoosing. All content below this line refers to FMX.Controls.Presentation.TPresentedControl.OnPresentationNameChoosing.

Occurs right before your control loads its presentation, and it allows you to define a custom presentation proxy name different from the name that DefinePresentationName returns.

The event handler of OnPresentationNameChoosing receives the following parameters:

  • Sender is your control.
  • PresenterName is the name that DefinePresentationName returns. Assign PresenterName a new, previously-registered presentation proxy name to use the matching presentation proxy class for the presentation of the control.

See Also