dibesw Active Member Licensed User Longtime User Sep 1, 2011 #1 Whe I use gestures dll I write: Code: Copy g.SetOnTouchListener(bgd, "GesturesTouch") What is the command that disable GesturesTouch? Ragards
Whe I use gestures dll I write: Code: Copy g.SetOnTouchListener(bgd, "GesturesTouch") What is the command that disable GesturesTouch? Ragards
agraham Expert Licensed User Longtime User Sep 1, 2011 #2 There isn't one. Why would you want to do that? Upvote 0
dibesw Active Member Licensed User Longtime User Sep 1, 2011 #3 ...because the panel that contains GesturesTouch is to front some edittext; after drawing I save the image and want disable or remove GesturesTouch. Layout is: Upvote 0
...because the panel that contains GesturesTouch is to front some edittext; after drawing I save the image and want disable or remove GesturesTouch. Layout is:
agraham Expert Licensed User Longtime User Sep 1, 2011 #4 There is no way to remove the listener, though I suppose you could try setting it to null with the Reflection library, but I don't understand why you would need to anyway. You could set a global flag and check it in your listener to to see whether to ignore gestures. Upvote 0
There is no way to remove the listener, though I suppose you could try setting it to null with the Reflection library, but I don't understand why you would need to anyway. You could set a global flag and check it in your listener to to see whether to ignore gestures.
dibesw Active Member Licensed User Longtime User Sep 1, 2011 #5 explain better: I wish fill some text; then I wish draw a sign into a panel with: panel1.visible=true g.SetOnTouchListener(bgd, "GesturesTouch") after signing in this panel I wish remove GesturesTouch; then I do panel1.visible=false but now if I can not do this so that I can draw again: but I do not want to draw more... Last edited: Sep 1, 2011 Upvote 0
explain better: I wish fill some text; then I wish draw a sign into a panel with: panel1.visible=true g.SetOnTouchListener(bgd, "GesturesTouch") after signing in this panel I wish remove GesturesTouch; then I do panel1.visible=false but now if I can not do this so that I can draw again: but I do not want to draw more...
agraham Expert Licensed User Longtime User Sep 1, 2011 #6 Setting Panel.Enable to False should inhibit gestures. Upvote 0
dibesw Active Member Licensed User Longtime User Sep 1, 2011 #7 It was so easy!! Great agraham! :sign0098: Thank you! Upvote 0