FMX.Platform.TPlatform

From XE2 API Documentation
Jump to: navigation, search

System.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTPlatform

Delphi

TPlatform = class(TComponent)

C++

class PASCALIMPLEMENTATION TPlatform : public System::Classes::TComponent

Properties

Type Visibility Source Unit Parent
class public
FMX.Platform.pas
FMX.Platform.hpp
FMX.Platform FMX.Platform

Description

Represents features commonly available on various operating system platforms in a generic way.

TPlatform represents features commonly available on various operating system platforms in a generic way. Such features include:

  • Open/Save dialogs
  • Timers
  • Low-level window manipulation

Each platform implements these features in its own way, but there is enough commonality to provide an abstract interface. Concrete subclasses are provided for the platforms that run FireMonkey applications. At startup, an instance of the appropriate subclass is created and assigned to Platform. Use that instance to make calls.

TPlatform is a virtual abstract class with no implementation. The descendants must implement every method defined in the TPlatform class.

See Also