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

Collapse All Expand All

# Description

Read Only: Returns the number of hits currently shown in the readouts window

# Property type

Read-write property

# Syntax

Visual Basic

    Public Property HitCount() As Long

# Example

Private Sub CommandHitCount()
' This subroutine returns the number of hits
Dim App As PCDLRN.Application
Set App = CreateObject("PCDLRN.Application")
Dim Part As PCDLRN.PartProgram
Set Part = App.ActivePartProgram
Dim DRO As PCDLRN.ReadoutWindow
Set DRO = Part.GetReadoutWindow(1)
MsgBox "Numhits = " & DRO.HitCount
End Sub

# See Also

ReadoutWindow Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.