45377 - iOS when a TextArea is on top of a Rectangle within a ContainerControl, its Open event never fires
Michel Bujardet Today at 12:21 AM
OS: OS X 10.12.1
Xojo: Xojo 2016r3
Steps: See the attached project.
The TextArea rests on a Rectangle, on a ContainerControl.
Then an instance of the ContainerControl is placed on View1.
The Open event of the TextArea never fires.
Probably bound to :
(https://xojo.com/issue/44429)]Feedback Case #44429
(https://xojo.com/issue/44743)]Feedback Case #44743
Still in the hope to see this fixed quickly
I worked around the issue by using the Container Control’s Open event. But yet it is messy.
So apparently Open at the class level works here, unlike 44743.
Something funny going on with CC and rectangles. When the rectangle is not here, the TextArea Open event fires.
I had a big doubt and replaced the rectangle by a Canvas, then by an ImageWell. Same problem. Visibly anything under the TextArea consumes the event. That would not be necessary if like in Desktop the ContainerControl had the Paint event.
45379 - iOSContainerControl should have the Paint event
If I understand right, iOSContainerControl is based on Canvas.
It then would be a huge improvement to keep the Paint event, so it would not be necessary to overlay a rectangle, a Canvas or an ImageWell as backdrop.
I know most of the FR filed since 2014 have fallen in oblivion. But I still hope someone, at some point, will realize that Xojo iOS merits more.