From Xojo Documentation

Revision as of 14:58, 10 April 2013 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


SQLiteBackupInterface.Progress(percent As Double, ByRef cancel As Boolean)

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.


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

See Also