P park jae hyun Member Licensed User Longtime User Sep 17, 2011 #1 sub button1_click ProgressDialogShow2("Please wait !............. ",True) StartActivity("bmain") end sub 1 .. The first question: the spin stops. 2 .. Second question: the source's getting longer, the loading Iong Please help. Last edited: Sep 18, 2011
sub button1_click ProgressDialogShow2("Please wait !............. ",True) StartActivity("bmain") end sub 1 .. The first question: the spin stops. 2 .. Second question: the source's getting longer, the loading Iong Please help.
Amalkotey Active Member Licensed User Longtime User Sep 18, 2011 #3 Hello park jae hyun, can it be that the display ProgressDialogShow2 (...) but ProgressDialogHide is reached too quickly? I had this problem at the start of my program. The solution was to wait for 5 seconds. I have achieved this with Code: Copy Sub Wait(Sekunden As Int) Dim Ti As Long Ti = DateTime.Now + (Sekunden * 1000) Do While DateTime.Now < Ti DoEvents Loop End Sub The calling of the sub is done with Code: Copy Wait ( seconds ) best regards Amalkotey Upvote 0
Hello park jae hyun, can it be that the display ProgressDialogShow2 (...) but ProgressDialogHide is reached too quickly? I had this problem at the start of my program. The solution was to wait for 5 seconds. I have achieved this with Code: Copy Sub Wait(Sekunden As Int) Dim Ti As Long Ti = DateTime.Now + (Sekunden * 1000) Do While DateTime.Now < Ti DoEvents Loop End Sub The calling of the sub is done with Code: Copy Wait ( seconds ) best regards Amalkotey
P park jae hyun Member Licensed User Longtime User Sep 18, 2011 #4 help Source is a long program will take 3 seconds to load. So .... Show black screen while changing the screen is visible. Please tell me another way Upvote 0
help Source is a long program will take 3 seconds to load. So .... Show black screen while changing the screen is visible. Please tell me another way
Erel B4X founder Staff member Licensed User Longtime User Sep 18, 2011 #5 You should find why it takes long to start your program. Maybe you are doing a heavy operation when the activity starts. Upvote 0
You should find why it takes long to start your program. Maybe you are doing a heavy operation when the activity starts.