From Clomosy Docs
No edit summary |
ClomosyAdmin (talk | contribs) No edit summary |
||
| Line 21: | Line 21: | ||
<h2> See Also </h2> | <h2> See Also </h2> | ||
* [[Clomosy_Class#System_Function | System Functions]] | * [[Clomosy_Class#System_Function | System Functions]] | ||
{{#seo:|description=Determine if your app is running on a mobile platform with Clomosy’s PlatformIsMobile function, providing easy access to device type information.}} | |||
Revision as of 15:08, 23 December 2024
function Clomosy.PlatformIsMobile: Boolean;
It provides information indicating that the application is running on a mobile platform. If the platform on which the application is opened is mobile, it returns True; otherwise, it returns False.
Example
var
isMobile : Boolean;
{
isMobile = Clomosy.PlatformIsMobile;
if isMobile
ShowMessage('The application is opened on a mobile platform.');
else
ShowMessage('The application is opened on a Windows platform.');
}