GetActiveWorkspace - method of the Pm object
Syntax:
Object GetActiveWorkspace()
Note:
Caution! The method can return
null for
JavaScript or
Nothing for
VBScript and therefore the result should be tested, in order to avoid calling the method over non-existing reference.
The method is often used when working with multiple open workspaces simultaneously (
PmaWorkspace objects), for example when using multiple displays (see
How to use a PROMOTIC application on two or more displays). In this case the method returns
PmaWorkspace object, that has been worked on for the last time (i.e. the workspace that has the focus).
This method
is not functional in
Web panels.