OpenSheetDocked
PowerScript function
Description
Opens a sheet docked in a specified position within an MDI frame
window for dockable windows.
Applies to
Window objects
Syntax
|
1 |
OpenSheetDocked ( sheetrefvar {, windowtype }, mdiframe, position, sheetname ) |
|
Argument |
Description |
|---|---|
|
sheetrefvar |
The name of any window variable that is not an MDI frame |
|
windowtype (optional) |
A string whose value is the datatype of the window you |
|
mdiframe |
The name of an MDI frame window. |
|
position |
An enumerated type that specifies where to dock the
|
|
sheetname |
A unique string identifier for the sheet, which is used |
Return value
Integer.
Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, OpenSheetDocked returns null. In some cases,
such as if the windowtype argument is invalid, OpenSheetDocked throws a
runtime error and does not return a value; therefore, it is recommended
that you both test the return value and wrap the function call in a
try-catch block.
Usage
Open the sheet, docked in a specified position.