ISDBApplication::Progress: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
{{MethodDeclaration|SDBApplication|ISDBApplication|Property Get Progress As ISDBProgress}}
{{MethodDeclaration|SDBApplication|ISDBApplication|Property Get Progress As [[ISDBProgress]]}}


===Property description===
===Property description===


Returns [[SDBProgress]] object. It is also initialized and shown this way. In order to further modify the progress bar, see SDBProgress properties.
Returns [[SDBProgress]] object. It is also initialized and shown this way. In order to further modify the progress bar, see [[SDBProgress]] properties.


===Example code===                     
===Example code===                     

Revision as of 18:18, 26 December 2007

CoClass SDBApplication, Interface ISDBApplication

Property Get Progress As ISDBProgress


Property description

Returns SDBProgress object. It is also initialized and shown this way. In order to further modify the progress bar, see SDBProgress properties.

Example code

Dim Progress
Set Progress = SDB.Progress
Progress.Text = SDB.Localize("Exporting...")
Progress.MaxValue = list.count

for i=0 to list.count-1
  '... some code here
  Progress.Value = i+1
next