TargetHasGUI
From Xojo Documentation
This item was deprecated in version 2015r1. Please use TargetDesktop as a replacement. |
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.