From Clomosy Docs

No edit summary
No edit summary
 
Line 1: Line 1:
<div class="alert alert-ligth border border-3 border-primary-subtle rounded-5 p-4 shadow-sm" role="alert">
<div class="alert alert-ligth border border-3 border-primary-subtle rounded-5 p-4 shadow-sm" role="alert">
function Clomosy.PlatformIsMobile: Boolean;
function PlatformIsMobile: Boolean;
</div>
</div>



Latest revision as of 07:19, 25 March 2025

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.');
}

See Also