PC-DMIS 2019 R2 Object Library
IsClosing Property
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > Application Object : IsClosing Property

Glossary Item Box

Description

This returns True when the PC-DMIS application window quits, through the File | Exit menu item, or when someone closes the application window manually with the x button in the top right.

Syntax

Visual Basic
Public Property IsClosing As Boolean

Return Type

Read-only Boolean. If the application window closes, this returns True. If the application window does not close, this returns False.

Remarks

When you run PC-DMIS through automation and the application window closes, the pcdlrn.exe process continues to run in the background without any visible user interface until the automation application releases all references.

To know how many application objects are referenced, use the LockObjectCount property.

A listening application should use the OnClosingApplication event within ApplicationObjectEvents to properly release PC-DMIS. The UserExit and LockObjectCount parameters show the value of the respective application properties when PC-DMIS started to close.

See Also

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.