Pendrush Well-Known Member Licensed User Longtime User Oct 11, 2016 #1 As I wrote here can we have GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer? EDIT 1: We already have options to check. Sorry. If 100%y < 400dip Then Ad.Height = 32dip Else If 100%y > 400dip And 100%y <= 720dip Then Ad.Height = 50dip Else If 100%y > 720dip Then Ad.Height = 90dip End If Click to expand... EDIT 2: Code from EDIT 1 is not correct. We still need GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer. Last edited: Oct 12, 2016
As I wrote here can we have GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer? EDIT 1: We already have options to check. Sorry. If 100%y < 400dip Then Ad.Height = 32dip Else If 100%y > 400dip And 100%y <= 720dip Then Ad.Height = 50dip Else If 100%y > 720dip Then Ad.Height = 90dip End If Click to expand... EDIT 2: Code from EDIT 1 is not correct. We still need GetDeviceLayoutValues.Height and GetDeviceLayoutValues.Scale in designer.