GetActiveWorkspace - method of object Pm
GetActiveWorkspace As Object
Set o = Pm.GetActiveWorkspace
Caution! The method can return Nothing, 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 (PmWorkspace
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 PmWorkspace
, that has been worked on for the last time (i.e. the workspace that has the focus).
This method is not
functional for Web panels
language (and therefore it is not working in Web panels