klaus Expert Licensed User Longtime User Nov 13, 2014 #1 As the titles says, LayoutValues.DeviceApproximateScreenSize returns 0 instead of 4.7 for my iPhone 6.
As the titles says, LayoutValues.DeviceApproximateScreenSize returns 0 instead of 4.7 for my iPhone 6.
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2014 #2 How did you create the object? B4X: Log(GetDeviceLayoutValues.DeviceApproximateScreenSize)
klaus Expert Licensed User Longtime User Nov 13, 2014 #3 Thank you ! I missed lv = GetDeviceLayoutValues
tdocs2 Well-Known Member Licensed User Longtime User Jan 18, 2015 #4 Erel said: How did you create the object? B4X: Log(GetDeviceLayoutValues.DeviceApproximateScreenSize) Click to expand... This is the correct format: B4X: Log(GetDeviceLayoutValues.ApproximateScreenSize)
Erel said: How did you create the object? B4X: Log(GetDeviceLayoutValues.DeviceApproximateScreenSize) Click to expand... This is the correct format: B4X: Log(GetDeviceLayoutValues.ApproximateScreenSize)