TargetHasGUI

From Xojo Documentation


Constant As Boolean

anBoolean = TargetHasGUI

Used to indicate whether the application has a GUI. ConsoleApplications do not.

Usage

result=TargetHasGUI

Part Type Description
result Boolean Returns True if you are compiling or running an app that supports a GUI.

See Also

DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetCocoa, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetWeb, TargetWindows, TargetX86 constants; #If...#Endif statement; ConsoleApplication, ServiceApplication classes.