merlin2049er Well-Known Member Licensed User Longtime User Aug 24, 2013 #1 I replaced some of the pop up message boxes and with panels I turn on and off. Now users are forced to click the ok button, and not just anywhere. I did notice that the buttons below were still clickable, so I disabled them before I popped up my panel, then re-enabled them. Is there an alternative method? I would prefer to pop up a modal panel, and the stuff behind it inaccessible. Last edited: Aug 24, 2013
I replaced some of the pop up message boxes and with panels I turn on and off. Now users are forced to click the ok button, and not just anywhere. I did notice that the buttons below were still clickable, so I disabled them before I popped up my panel, then re-enabled them. Is there an alternative method? I would prefer to pop up a modal panel, and the stuff behind it inaccessible.
NJDude Expert Licensed User Longtime User Aug 24, 2013 #2 When you add panels to do what you described, add the TOUCH event to consume the events. B4X: Sub SomePanel_Touch(Action As Int, X As Float, Y As Float) 'Consume touch End Sub Upvote 0
When you add panels to do what you described, add the TOUCH event to consume the events. B4X: Sub SomePanel_Touch(Action As Int, X As Float, Y As Float) 'Consume touch End Sub
Harris Expert Licensed User Longtime User Aug 25, 2013 #3 NJDude said: When you add panels to do what you described, add the TOUCH event to consume the events. B4X: Sub SomePanel_Touch(Action As Int, X As Float, Y As Float) 'Consume touch End Sub Click to expand... I use panel_click event to do the same. Is there a difference? Upvote 0
NJDude said: When you add panels to do what you described, add the TOUCH event to consume the events. B4X: Sub SomePanel_Touch(Action As Int, X As Float, Y As Float) 'Consume touch End Sub Click to expand... I use panel_click event to do the same. Is there a difference?