vbAccelerator - Contents of code file: Form1.frmVERSION 5.00
Begin VB.Form frmTestCircularReferencesFix2
Caption = "Application With Circular References - Fix 2"
ClientHeight = 3420
ClientLeft = 3255
ClientTop = 1665
ClientWidth = 6375
LinkTopic = "Form1"
ScaleHeight = 3420
ScaleWidth = 6375
Begin VB.CommandButton cmdTry
Caption = "&Test"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 5100
TabIndex = 0
Top = 60
Width = 1095
End
Begin VB.Label lblInfo
Caption = $"Form1.frx":0000
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1155
Index = 0
Left = 120
TabIndex = 2
Top = 120
Width = 4815
End
Begin VB.Label lblInfo
Caption = $"Form1.frx":016F
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1155
Index = 1
Left = 120
TabIndex = 1
Top = 1440
Width = 4815
End
End
Attribute VB_Name = "frmTestCircularReferencesFix2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cmdTry_Click()
Dim c As New cParent
With c.Add("MyWorker")
.Iterations = 50
.InitialValue = 3
.DoProcess
MsgBox "Return is " & .Value
End With
End Sub
|