epiCode Active Member Licensed User Jul 13, 2021 #1 I've a panel full of labels and controls. I wish to capture panel click /touch event but the child controls cover it fully. Is there a way to intercept click /touch event before it goes to other controls?
I've a panel full of labels and controls. I wish to capture panel click /touch event but the child controls cover it fully. Is there a way to intercept click /touch event before it goes to other controls?
nibbo Active Member Licensed User Longtime User Jul 13, 2021 #2 You could put another transparent panel over the top of them. Upvote 0
epiCode Active Member Licensed User Jul 13, 2021 #3 Well that's the best guess I came up with, but it would also involve resizing it and it would block spinners in the panel Upvote 0
Well that's the best guess I came up with, but it would also involve resizing it and it would block spinners in the panel
Jmu5667 Well-Known Member Licensed User Longtime User Jul 13, 2021 #4 What task do you want to do when you capture the panel click ? Any chance of a screen shot ? Upvote 0
Star-Dust Expert Licensed User Longtime User Jul 13, 2021 #5 mohsyn said: I've a panel full of labels and controls. I wish to capture panel click /touch event but the child controls cover it fully. Is there a way to intercept click /touch event before it goes to other controls? Click to expand... Yes, it is possible to intercept the touch also in the underlying panels Upvote 0
mohsyn said: I've a panel full of labels and controls. I wish to capture panel click /touch event but the child controls cover it fully. Is there a way to intercept click /touch event before it goes to other controls? Click to expand... Yes, it is possible to intercept the touch also in the underlying panels
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2021 #6 You can use TouchPanelCreator from ViewsEx for this. It is not trivial to handle the gestures correctly. It is used in B4XDrawer and CLVSwipe. Upvote 0
You can use TouchPanelCreator from ViewsEx for this. It is not trivial to handle the gestures correctly. It is used in B4XDrawer and CLVSwipe.