John Van De Giessen
Member
My B4X project targets Android, IOS and Java. I need to show a wait cursor for lengthy operations and am able to do that easily for Android and IOS. My problem is how to do this simply in B4J.
This is what I'm doing:
#IF B4A
ProgressDialogShow("Doing something")
#END IF
#IF B4I
Dim pd As HUD
pd.ProgressDialogShow("Doing something")
#End If
#IF B4J
******************
What to do here?
******************
#End If
Similarly I need to hide the Wait cursor as well which again is simple for Android and IOS with "ProgressDialogHide" and "pb.ProgressDialogHide" respectively.
I have seen a number of methods that can be used from Forum searches and Google searches and even from ChatGPT, but none of these seem to address the situation that this B4J project is part of a B4XPages project.
How do I achieve this in B4J which is part of a B4XPages project?
Better still, is there a B4X way of doing this that is common to all three platforms?
This is what I'm doing:
#IF B4A
ProgressDialogShow("Doing something")
#END IF
#IF B4I
Dim pd As HUD
pd.ProgressDialogShow("Doing something")
#End If
#IF B4J
******************
What to do here?
******************
#End If
Similarly I need to hide the Wait cursor as well which again is simple for Android and IOS with "ProgressDialogHide" and "pb.ProgressDialogHide" respectively.
I have seen a number of methods that can be used from Forum searches and Google searches and even from ChatGPT, but none of these seem to address the situation that this B4J project is part of a B4XPages project.
How do I achieve this in B4J which is part of a B4XPages project?
Better still, is there a B4X way of doing this that is common to all three platforms?