Is there a way to force the MainForm to update its components?
My basic problem is:
1) User selects a menu action which leads to an intensive routine
2) I want to update a status textfield before the routine runs - E.g, "Working ..."
The issue is, although I call MyTextField.Text="Working .." before the intensive routine the actual update to the text field does not happen until the menu action sub is completed.
I need something like:
Thanks
My basic problem is:
1) User selects a menu action which leads to an intensive routine
2) I want to update a status textfield before the routine runs - E.g, "Working ..."
The issue is, although I call MyTextField.Text="Working .." before the intensive routine the actual update to the text field does not happen until the menu action sub is completed.
I need something like:
B4X:
Sub menu_DoStuff_Action
MyTextField.Text="Working .."
MainForm.Update ' <--------------- THIS
Do_Big_Task_Here
MyTextField.Text="Done"
End Sub
Thanks