yuenchichi
October 21st, 2001, 01:49 AM
Dear all,
I have developed a MDI form and one child form. And also, I placed a text box and one timer control in the child form. I have created the object variable and created the new object instance to show the child form. The question is if I called several instances of the form, how does it increment by 1 and place it to the text box independently based on the duration of the timer.
For example:
'Somewhere in module and calling from the timer
'event
public i as Integer
Public sub SetText()
i = i+1
form1.text1.text = i
End Sub
I know that this sub has an error here, please help me to find out. Thanks
I have developed a MDI form and one child form. And also, I placed a text box and one timer control in the child form. I have created the object variable and created the new object instance to show the child form. The question is if I called several instances of the form, how does it increment by 1 and place it to the text box independently based on the duration of the timer.
For example:
'Somewhere in module and calling from the timer
'event
public i as Integer
Public sub SetText()
i = i+1
form1.text1.text = i
End Sub
I know that this sub has an error here, please help me to find out. Thanks