Previous Document Next Document

Object Model Reference : Classes : W : Workspace : Properties : Workspace.Active


Workspace.Active

Property Active As Boolean

Description

Member of Workspace

The Active property returns whether a workspace is currently active in CorelDRAW.

The Active property returns a read-only value.

VBA example

The following VBA example displays a list of all workspaces and determines which one is active.

Sub Test()
Dim Ws As Workspace
 For Each Ws In Workspaces
  s = s & Ws.Name & " - Active: " & Ws.Active & vbCr
 Next Ws
 MsgBox "Workspaces: " & vbCr & s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.