Referencing a control on another form

  • Thread starter Thread starter Jonesgj
  • Start date Start date
J

Jonesgj

Hi,

1. What I have is a form which does something. It is a child form within an
MDI app. What I would like it to do is update the text in the status panel
of the parent form. I thought this would be easy, but .....

2. Also, a very similar problem. The progam initally loads a logon form.
This checks the users credentilas before allowing them to continue. Again,
when this form unloads I want it to update the opening MDI status panle's
text.

I may have asked this question before, but I can't remember getting an
answer.

Any help appreciated.

JonesG
 
Hi,

1) From the mdichild DirectCast(Me.MdiParent, FormName).Statusbar1.Text =
"New Text"

2) You need to pass a reference to the mdi form when you open the login
form.

Ken
----------------------
Hi,

1. What I have is a form which does something. It is a child form within an
MDI app. What I would like it to do is update the text in the status panel
of the parent form. I thought this would be easy, but .....

2. Also, a very similar problem. The progam initally loads a logon form.
This checks the users credentilas before allowing them to continue. Again,
when this form unloads I want it to update the opening MDI status panle's
text.

I may have asked this question before, but I can't remember getting an
answer.

Any help appreciated.

JonesG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top