I could really use controls Left and Top properties which are indicated at http://developer.xojo.com/ioscontrol$Left as read only.
They simply report zero.
That does not seem normal. Or is it ?
I could really use controls Left and Top properties which are indicated at http://developer.xojo.com/ioscontrol$Left as read only.
They simply report zero.
That does not seem normal. Or is it ?
Please file a bug report about this
[quote=292472:@jean-paul devulder]Using this hack for getting correct position:
Display on console, the control position[/quote]
Thank you Jean-Paul
I am going to try that right away
45507 - iOS : iOSControls Left and Top report zero instead of the read only value expected
Status: Needs Review Rank: Not Ranked Product: Xojo Category: N/A
Michel Bujardet Today at 1:18 AM
OS: OS X 10.12.1
Xojo: Xojo 2016r3
Steps: See Why are Control.Left and Control.Top in iOS reporting nothing ? - iOS - Xojo Programming Forum
Load the attached project. It should display left and top of the rectangle, but only zero is displayed.
I tried with other controls with the same result.
Jean-Paul, your demo works great. Thank you so much. It will save my skin for my current project.
[quote=292472:@jean-paul devulder]Using this hack for getting correct position:
Display on console, the control position[/quote]
Hum. I just found out that sometimes, top is reported incorrectly (201 instead of 95 for instance). I have since moved to using a constraint.
At any rate, the bug is corrected for the next version.