i have a panel and on this panel is a imageview, i use the panel touch event to draw with the fingers, but if i touch on the painted area, then the touch event is not firing.
This happend only on B4J.
A example you find on my AS Draw view, change the size to 100 and draw a area, then change the color and try to draw on the painted area again, the touch event of the panel is not firing.
What do I have to consider?
Subject: Routine to enable mouse events being transmitted to underlying nodes. In B4J, when a node covers other nodes, like a Pane, the mouse events are not submitted to underlying nodes. This is the same as in B4i, it is inverse in B4A. In B4i, you can use the UserInteractionEnabled property...
www.b4x.com
B4X:
'code from XUI Views
#if B4J
Dim jo As JavaObject = HintImageView
jo.RunMethod("setMouseTransparent", Array(True))
#End If