|
|
StatusBar - Отображение ProgressBar
Private Sub PGInStatusBarTest()
DoCmd.Hourglass True
SysCmd acSysCmdClearStatus
SysCmd acSysCmdInitMeter, "Произвожу копирование файлов ...", 100
SysCmd acSysCmdInitMeter, "Copying files ...", 100
SysCmd acSysCmdUpdateMeter, 1
SysCmd acSysCmdUpdateMeter, 20
SysCmd acSysCmdUpdateMeter, 40
SysCmd acSysCmdUpdateMeter, 60
SysCmd acSysCmdUpdateMeter, 80
SysCmd acSysCmdUpdateMeter, 100
MsgBox "Готово!", vbInformation, "Progress Bar in Status Bar"
MsgBox "Outstanding directory Copied Successfully", _
vbInformation, "Progress Bar in Status Bar"
SysCmd acSysCmdClearStatus
DoCmd.Hourglass False
End Sub
|
|