StayOnTop PropertyProperty that allows you to get or set whether the ProgressDialog will stay on top of all other windows. The default is True. (Note: If your concern is to allow message boxes to appear on top of the ProgressDialog, you can leave StayOnTop set to True and instead use the MsgBox method to show message boxes.) object.StayOnTop
= new_value Arguments
Remarks If you want to use the regular built-in VBScript MsgBox function, you can set the StayOnTop property to False immediately before you show the message box and set it back to True immediately after the message box is closed. Example ' Create the dialog box Set Dialog = CreateObject("TPFSoftware.ProgressDialog") ' Prevent it from automatically covering all other windows Dialog.StayOnTop = False |