SQLiteBackupInterface.Progress
From Xojo Documentation
Method
SQLiteBackupInterface.Progress(percent As Double, ByRef cancel As Boolean)
Supported for all project types and targets.
Supported for all project types and targets.
This method is called for you as the SQLiteDatabase.Backup progresses, supplying the percent complete in percent. To cancel the backup, set cancel to True.
Example
If your implementing class has a reference to a ProgressBar, you can update it using the percent value:
If BackupProgressBar <> Nil Then
BackupProgressBar.Maximum = 100
BackupProgressBar.Value = percent*100
End If
BackupProgressBar.Maximum = 100
BackupProgressBar.Value = percent*100
End If