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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing a control on one form from another form

Status
Not open for further replies.

TerDavis

Technical User
Sep 18, 2002
36
US
Hi,

I am using the windows forms and have an MDI.
I activated one form(A) and want to access a tab control on this form from another form(B)I activated which will function as a wizard and on 'Finish', i want to affect which tab page is being displayed on form (A).
So, on the 'Finish' button of form(B), i want this form to close and the tab control on form(A) to be set to a specific page.
Can anyone help ??
 
I guess the forms A and B are linked e.g one is parent and another is child. So , when you create B form keep a reference to the form A or if A is the parent then set B.MdiParent = A;
and you can access A from B.

-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top