LibsNum Method (Window object)

Returns the number of open libraries in the library window.

Applies to: Window object

Syntax

[[Let] countRet =] object.LibsNum ()

The LibsNum method syntax has these parts:

Part Description
object Required. An expression that returns a Window object.

countRet

Optional. A Long type variable.

Remarks

This method is only effective if the window is a library window (see the Type property). For window of all other types the LibsNum method always returns Nothing.

The LibsNum always returns a value equal to or greater than 1, as ConceptDraw automatically closes the library window when the last library in the window has been closed.

 

See Also

Type property, FindLib method, Lib method, LibByName property, Library object