PC-Dmis 2010 MR1 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Visible Property
See Also

Collapse All Expand All

# Description

Read/Write: Returns/Sets Visibility Status of Report Window

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

# Property type

Read-write property

# 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

ReportWindow Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.