From Clomosy Docs
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
<b>Example</b><br> | <b>Example</b><br> | ||
<pre> | <pre> | ||
var | var | ||
| Line 17: | Line 17: | ||
ShowMessage('The application is opened on a Windows platform.'); | ShowMessage('The application is opened on a Windows platform.'); | ||
} | } | ||
</pre> | </pre> | ||
<h2> See Also </h2> | <h2> See Also </h2> | ||
* [[Clomosy_Class#System_Function | System Functions]] | * [[Clomosy_Class#System_Function | System Functions]] | ||
Revision as of 12:30, 13 November 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.');
}