Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 To: Cheryl B
  Where is Cheryl B?
 Xenia
 Ohio - United States
 Cheryl B
 Tags
Subject: RE: Calling a form from another form
Thread ID: 787 Message ID: 821 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, June 14, 2001 11:30:26 PM         
   


> > So open the form in the menu choose Form->New Property and as a name type in:
> > aLinkedForms[1,1]
>
> In the LOAD EVENT of the main form, do I need to add:
> DIMENSION aLinkedForms[1, 1]
> as well? Do I need to put the name of the child form somewhere?
>
> I'm sorta grasping what you're explaining here, but I'm not quite getting it. I do appreciate the help, though.
>
> Cheryl A Bellucci
> Vice President
> Rapp Systems Corporation

No, you are resizing the array when you call a form.
The array is a property of the main screen and therefor there as soon as you open the form.
Once you call a form (through a button, combo or whatever) you fire the code as described and it will resize the array itself.

As for the name of the childwindow, don't worry, the part of the code that says "NAME THISFORM.aLinkedForms[lnIndex]" will take care for it.

Boudewijn Lutgerink.

ENTIRE THREAD

Calling a form from another form Posted by Cheryl Bellucci @ 6/14/2001 8:59:39 AM
RE: Calling a form from another form Posted by Boudewijn Lutgerink @ 6/14/2001 9:32:44 AM
RE: Calling a form from another form Posted by Cheryl Bellucci @ 6/14/2001 1:56:55 PM
RE: Calling a form from another form Posted by Ryss Unger @ 6/14/2001 2:37:26 PM
RE: Calling a form from another form Posted by Cheryl Bellucci @ 6/14/2001 2:53:15 PM
RE: Calling a form from another form Posted by Ryss Unger @ 6/14/2001 4:08:34 PM
RE: Calling a form from another form Posted by Dale Dedoroy @ 6/14/2001 10:54:17 PM
RE: Calling a form from another form Posted by Boudewijn Lutgerink @ 6/14/2001 11:30:26 PM
RE: Calling a form from another form Posted by Cheryl Bellucci @ 6/15/2001 1:30:10 PM
RE: Calling a form from another form Posted by Eric den Doop @ 6/15/2001 7:50:48 PM