SamuelP Member Licensed User Feb 20, 2018 #1 Hallo, while I wait for the SQL-Server to return data using B4X: Wait For DBHelper_Result (dt As DBResult) I want to prevent hat the user clicks on any view. I want to force waiting. Is there any way? Samuel
Hallo, while I wait for the SQL-Server to return data using B4X: Wait For DBHelper_Result (dt As DBResult) I want to prevent hat the user clicks on any view. I want to force waiting. Is there any way? Samuel
MarkusR Well-Known Member Licensed User Longtime User Feb 20, 2018 #2 maybe like this, in theory its recursive B4X: Activity.GetView(0).Enabled=False Upvote 0
lemonisdead Well-Known Member Licensed User Longtime User Feb 20, 2018 #3 Another option here could be to put a panel over the whole Activity's layout and return true at panel's touch event Upvote 0
Another option here could be to put a panel over the whole Activity's layout and return true at panel's touch event
klaus Expert Licensed User Longtime User Feb 20, 2018 #4 Using the suggestion of lemonisdead, add an empty click event for the Panel, this will consume the events. Set the Panel.Visible property to true to block the events and set it to False to eanble the events. Upvote 0
Using the suggestion of lemonisdead, add an empty click event for the Panel, this will consume the events. Set the Panel.Visible property to true to block the events and set it to False to eanble the events.
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2018 #5 ProgressDialogsShow2 with Cancelable = False is another option. Upvote 0
SamuelP Member Licensed User Feb 21, 2018 #6 Erel said: ProgressDialogsShow2 with Cancelable = False is another option. Click to expand... This did it for me. Thanks for alle the suggestions. Upvote 0
Erel said: ProgressDialogsShow2 with Cancelable = False is another option. Click to expand... This did it for me. Thanks for alle the suggestions.