Show: Delphi C++
Display Preferences

System.SysUtils.TOSVersion.TPlatform

From XE3 API Documentation
Jump to: navigation, search

Delphi

TPlatform = (pfWindows, pfMacOS);

C++

enum DECLSPEC_DENUM TPlatform : unsigned char { pfWindows, pfMacOS };

Properties

Type Visibility Source Unit Parent
enum public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TOSVersion

Description

Enumerates the platforms on which Delphi and C++Builder application can run (Windows, Mac OS).

Use TOSVersion.Platform to get the current platform:

  • Windows
  • Mac OS

See Also

Personal tools
Translations