Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  

SystemInfo.MacSystemDarkMode

Queries dark mode setting for system.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SystemInfo 9.5 Yes No Yes, macOS only No No
MBS( "SystemInfo.MacSystemDarkMode" )   More

Parameters

none

Result

Returns OK or error.

Description

Queries dark mode setting for system.
Returns 1 if system runs in dark mode.
The application may not run in dark mode, even if system has dark mode.

Examples

Query dark mode values:

MBS( "SystemInfo.MacSystemDarkMode" ) & ¶ & MBS( "SystemInfo.MacAppDarkMode" )

See also

Blog Entries

Created 28th October 2019, last changed 28th October 2019


SystemInfo.MacSerialNumber   -   SystemInfo.MacUUID

Feedback: Report problem or ask question.




Links
MBS Xojo blog