FMX.DialogService.TDialogService.TPreferredMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TPreferredMode = (Platform, Async, Sync);

C++

enum class DECLSPEC_DENUM TPreferredMode : unsigned char { Platform, Async, Sync };

Properties

Type Visibility Source Unit Parent
enum public
FMX.DialogService.pas
FMX.DialogService.hpp
FMX.DialogService TDialogService

Description

The TPreferredMode enumeration is used to define the behaviour of the dialog boxes.

TPreferredMode defines the following values:

Value Description Support
Platform

The behavior depends on the platform:

  • Sets Sync methods as preferred for desktop platforms (Windows and OS X).
  • Sets Async methods as preferred for mobile platforms (Android and iOS).

All platforms.

Async

The behavior is always asynchronous.

  • Sets Async methods as preferred when available.

All platforms.

Sync

The behavior is always synchronous.

  • Sets Sync methods as preferred when available.

Not supported by Android.

See Also