Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Child forms 1

Status
Not open for further replies.

rdavis

Programmer
Apr 29, 2002
157
US
How can I reference a child form from another form that was called from this child form.

For example, I loaded Form1 from a child form. In Form1 I have to make reference to the calling ChildForm (I place information in the Tag property of the Childfrom in the Form1 code)

Thanks in advance

Rob
 

You can reference form properties like so...

FormName.PropertyName

Or if you are looking to reference a control in the form then...

FormName.ControlName.PropertyName

I hope this helps in your quest for knowledge, Good Luck.
 
But when I open my child form like this

Dim ChildForm1 as ChildForm
ChildForm1.Show

In the code of ChildForm I call a non childform Form1

Then I have to make refernce to the ChildForm in Form1

I dont't think I can do ChildForm.Tag, or can I? (because I might have another instance of the childform open)

Rob
 

check out these threads they may help.

Thread222-358835
Thread222-110874

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top