I am using this code
But the form is freezed during the try connection; No Progressindicator show and no doevents
How I can show the Progressindicator during the Try ?
B4X:
Try
piConnexion.Enabled = True
piConnexion.Visible = True
MySql.Initialize2("com.mysql.jdbc.Driver", StringSql,BaseConnect.LoginB,BaseConnect.MDP)
Catch
piConnexion.Visible = False
Msgbox.Show("Database connection settings not correct or timeOut. Please check et restart." & CRLF & LastException,"Database")
MnDataBase_Action
BtnQuit_Action
End Try
How I can show the Progressindicator during the Try ?