PC-DMIS 2021.1 Object Library
Visible Property
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > ReportWindow Object : Visible Property

Glossary Item Box

Description

This returns or sets the visibility state of the Report window.

Syntax

Visual Basic
Public Property Visible As Long

Return Type

Read/write Long value.

Remarks

To turn the window on or off, give it a True or False value respectively.

Example

Sub Main

Dim App As Object

Dim PartProg As Object

Dim RepWin As Object

Set App = CreateObject("Pcdlrn.Application")

Set PartProg = App.ActivePartProgram

Set RepWin = PartProg.ReportWindow

 

' Hide Report Window

RepWin.Visible = False

MsgBox "Report window is now hidden."

 

' Show Report Window

RepWin.Visible = True

MsgBox "Report window is now visible."

End Sub

See Also

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