how to determine the resolution of the device

billy047

Member
Licensed User
Longtime User
Hello good day, I can not find how to determine the resolution of the device, to load the corresponding layout.

Thanks in advance
 
try using GetDeviceLayoutValues which returns the device LayoutValues.

Code: Copy
Dim resolution As String
resolution=GetDeviceLayoutValues

If resolution.IndexOf("240 x 320") <> -1 Then
   'do something
end if
 
Upvote 0
Thanks to everyone for sharing their knowledge, I will review all the information you have provided me, again thank you very much.
Guillermo
 
Upvote 0
Back
Top