A
Ahmed
I have a program with multiple forms.
On my main form I have a function which sole purpose is to change the label
caption.
On another form I have a function which needs to modify the value in the
label on my main form.
Now when I debug I see the event being called on my main form and I see the
caption being changed BUT the caption on the program does not change.
I have tried adding lblChange.Refresh() but still no luck.
Might I add at the beginning on my other form (not main) I declared I main
form as such:
Dim WithEvents FMain As New frmMain
Can anyone help me out with this...I am stumped
TIA,
Ahmed
On my main form I have a function which sole purpose is to change the label
caption.
On another form I have a function which needs to modify the value in the
label on my main form.
Now when I debug I see the event being called on my main form and I see the
caption being changed BUT the caption on the program does not change.
I have tried adding lblChange.Refresh() but still no luck.
Might I add at the beginning on my other form (not main) I declared I main
form as such:
Dim WithEvents FMain As New frmMain
Can anyone help me out with this...I am stumped
TIA,
Ahmed