PC-DMIS 2022.1 Object Library
OnPropertySheetOpen Event
See Also  Send Topic Feedback | See Object Hierarchy Chart
PropertySheetDialog
An expression that evaluates to a PropertySheetDialog object to determine the property sheet for which this event should wait.
PCDLRN ActiveX DLL > ApplicationObjectEvents Object : OnPropertySheetOpen Event

Glossary Item Box

Description

This event gets launched when a generic property sheet is opened.

Syntax

Visual Basic
Public Event OnPropertySheetOpen( _
   ByVal PropertySheetDialog As PropertySheetDialog _
)

Parameters

PropertySheetDialog
An expression that evaluates to a PropertySheetDialog object to determine the property sheet for which this event should wait.

Remarks

Important: When one of these events is launched, you must test for the IsReady property. However, the application event handler cannot wait until IsReady, because the handler blocks PC-DMIS. If PC-DMIS is blocked, IsReady never becomes True. The solution is to start a separate worker thread that checks IsReady. This allows the event handler to immediately return, allowing PC-DMIS to work.

See Also

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