Hi,
I have a Main Module that loads a form. I want to update text on a Label, my code is:
Public mFormSplash As Form = New FormSplash
Sub Main
With mFormSplash
.Show()
.LoadStatus.text = "Test"
.Update()
System.Threading.Thread.Sleep(1000)
End With 'mFormSplash
...........
The code loads the form OK but does not update the Label's text (LabelStatus)
I am getting an error Error:
'LabelStatus' is not a member of 'System.Windows.Forms.Form'.
This worked ok on a previous project and I can't work out what is different.
Thanks for any assistance.
I have a Main Module that loads a form. I want to update text on a Label, my code is:
Public mFormSplash As Form = New FormSplash
Sub Main
With mFormSplash
.Show()
.LoadStatus.text = "Test"
.Update()
System.Threading.Thread.Sleep(1000)
End With 'mFormSplash
...........
The code loads the form OK but does not update the Label's text (LabelStatus)
I am getting an error Error:
'LabelStatus' is not a member of 'System.Windows.Forms.Form'.
This worked ok on a previous project and I can't work out what is different.
Thanks for any assistance.