Detect if running on Mobile?

At the moment I use the TWebDeviceOrientation component as a proxy for identifying if the webcore app is running on a mobile device (TWebDeviceOrientation = True).

Just wanted to check if there is a better method for this that would also help identify if it was a phone or a tablet.


Did you try to use:

Application.IsMobile: boolean


Now that sounds sensible.

Why didn't I spot that in the documentation?


page 114

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.