Android Question Panel vs Messagebox

merlin2049er

Well-Known Member
Licensed User
Longtime User
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:

Harris

Expert
Licensed User
Longtime User
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

I use panel_click event to do the same. Is there a difference?
 
Upvote 0
Top