|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > UserInterface > WaitDialogSetMessage |
available from build: 20040511 |
Set the message in the previously created wait dialog.
call DBWShell("WaitDialogSetMessage Message")
Message |
It is the message to display |
WaitDialogClose
WaitDialogSetMessage
WaitDialogOpen
WaitDialogPoll
...
'get the totalCount number of records to read
...
actionCanceled = false
recCount = 0
DBWShell("WaitDialogOpen " & replace("Local Checkout Mode Database Synchronization"," ","|") & _
" " & replace("Synchronization in progress ..."," ","|") )
While recset.EOF = false and actionCanceled = false
= recset.Fields(0).Value
= recset.Fields(1).Value
...
DBWShell("WaitDialogPoll " & Clng((recCount*100)/totalCount) )
actionCanceled = DBWResult("@CANCELED")
DBWShell("WaitDialogSetMessage " & replace("Reading record #" & recCount," ","|"))
recCount = recCount+1
recSet.MoveNext
Wend
DBWShell("WaitDialogClose")
...
...