I have a full screen ImageView and have placed a canvas on top that is my button to move to the next view.
A pink line appears around the ImageView control to indicate the canvas is part of the group. The canvas events don’t appear to register. If I separate the controls so they are not overlapping then everything behaves but obviously I don’t get what I want with a fullscreen image as the backdrop. Suggestions?
Make sure the canvas is actually in front, by using the position commands icons 7-10 on top of the IDE. Otherwise any control in front will consume the event.
Including of course another canvas, contrary to what happens in OS X where canvases let events through unless return true in MouseDown.
Yes sure it is front object.
What is the significance of the control objects being in a group? Is it just for moving them around?
I have even tried deleting it and adding again.
[quote=282790:@Martin Fitzgibbons]I have a full screen ImageView and have placed a canvas on top that is my button to move to the next view.
A pink line appears around the ImageView control to indicate the canvas is part of the group. The canvas events don’t appear to register. If I separate the controls so they are not overlapping then everything behaves but obviously I don’t get what I want with a fullscreen image as the backdrop. Suggestions?[/quote]
I have the same problem, a red frame around random controls. Sometimes Xojo sets random parents to controls. You must select the control on the explorer(?) left side and move it in design mode out of the control area and back. I wish i could set the parents or remove all of them.
Op says he can’t click on the “smaller” item, even though its in front. He tried it in design mode.
It is the other way around: He wants the Canvas to be the child of the ImageView. And it works as expected: you can simulate touch events on an ImageWell, which does not have these events itself.