Hi all!
I'm trying to do a pretty simple thing in VB6, but it's not working!
In the main form:
And in Class1:
I though this would update the statusbar text in real time, but it doesn't work!
Anyone knows why?
I'm trying to do a pretty simple thing in VB6, but it's not working!
In the main form:
Code:
Sub Command1_Click()
Dim cls1 As New Class1
cls1.fnc1 StatusBar1.SimpleText
end sub
Code:
Function fnc1(ByRef logText As String)
Dim i as Integer
For i=0 To 10
logText = "We're at number " & i
Next
End Function
Anyone knows why?
Comment