CurrentBrowserPage

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Browser >

CurrentBrowserPage

Description

Returns the currently open browser page

Syntax

call DBWShell("CurrentBrowserPage")

Results

@PAGE

Browser page status:
-1: Browser closed
0: Documents Page
1: Query Page
2: Tree Page

Example

Sub Main()

 DBWinit(true)
 call DBWShell("CurrentBrowserPage")
 page = DBWResult("@PAGE")
 DBWMsgBox page
End Sub