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!

Creating & calling another form 1

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo. I have a main form, but need to call another (custom) form to retrieve some input.
&, beleive it or not, I have no idea how to call it, or how I might get the two forms talking to each other.
Does anyone know a handy line of code or an FAQ I could read?

Cheers,
Douglas. If it don't make you laugh, it ain't true.
 
Include the units header files, so that they can access one another.

Say you have Form1 and Form2.

To acces an item on form1 from form2: eg a button caption

Form1->Button1->Caption;

You can do the same with variables and so forth
 
Cheers, man - if I give you a star can we keep it quiet I didn't even know that?

Thanks again,
Douglas
:) If it don't make you laugh, it ain't true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top