Context: |
Class Method (Function) |
Library/Class: |
FileExport Class |
Function FileExport.WordDialog() As Integer
WordDialog (stats As staticvars, dlgnum As Integer)
This is a generic method to call Word dialogs using the Word application object class (stats.WordAppl.Dialogs(dlgnum).Show). The method processes the following steps:
- disables the Integra progress bar
- activates the Word application (makes it visible)
- calls the Word dialog as specified in the dlgnum parameter
- hides the Word application
- enables the Integra progress bar
The method can be used to call any of the available Word dialogs, however, Integra is using only two dialogs: the file print dialog and the file save as dialog. For those two dialogs there are the following constants defined:
Public Const wdDialogFilePrint = 88
Public Const wdDialogFileSaveAs = 84
Parameters:
Handle to Integra's runtime object stats
dlgnum (Integer)
(Index-) Number of the Word dialog
Return Value:
Passes on the return value of stats.WordAppl.Dialogs(dlgnum).Show.
|