Hi,
I have two forms.
formA and formB
I am trying to code it so that when formB closes, the statusbar on formA will clear.... any ideas? i've tried everything! thanks for any help.
Printable View
Hi,
I have two forms.
formA and formB
I am trying to code it so that when formB closes, the statusbar on formA will clear.... any ideas? i've tried everything! thanks for any help.
First, you have to make the control public instead of the default of private.
Next, you need to have a reference to the form that the control is on. Once you have a reference, you can use it to get to your control to access its properties (that is why it needs to be public). You can pass this reference in by the forms constructor...search the forum, you will find many examples on that.
I searched for you, here is what you need:
http://www.vbforums.com/showthread.p...hreadid=216964