Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: Cosmin Popescu
  Where is Cosmin Popescu?
 Calgary
 Canada
 Cosmin Popescu
 Tags
Subject: RE: Yes Eric it work as top leve form,but....
Thread ID: 22575 Message ID: 22650 # Views: 3 # Ratings: 0
Version: Visual FoxPro 7 Category: General VFP Topics
Date: Wednesday, April 23, 2003 1:30:51 PM         
   


> That it Eric ,works as top level form very good, but imagine that :
> in my aplication ,firs i use a small form for data(mm.dd.yyyy) entry end after that i go to the main aplication (i need to memorize as Public this data)
> here ,in this first form (is very small) i dont manage to drop main fox window
> if i set this small form as top level will be very large and ugly ,i have just textbox on it.
> maybe is not posible to treat this form without main fox window
> i have this problem all the time ,and realy i need to resolve this problem
> i'm very sad ...

Hi,
If you got 2 forms tied together and all the time like you are explaining, create them
as a formset, and both set to top-level forms. Have the larger one set to visible=.f.
and the small one that you enter the date in first set as visible=.t. After you enter in the
date set the small one to visible=.f., the large one to visible=.t., and set the focus on the
large form to the control you want the user to start at. Since formsets share dataenvironments
the date in the first form can be obtained from the second form via:
ddate=Thisformset.smallform.txtdate.Value
You can move back to the small date input form via a command button on the second form
that reverses the process. Set the large one to visible=.f., set the small date one to visible=.t.,
set the focus back to the small date form in the date textbox.
Have both forms set as model forms, and do what Eric advises you with the screen stuff.

Pete from the Great White North. (Only in Canada, ay.) Over and Out ...


COMPLETE THREAD

The main VFP window Posted by Cosmin Popescu @ 4/22/2003 2:49:46 PM
RE: The main VFP window Posted by Eric den Doop @ 4/22/2003 3:36:38 PM
RE: Tanks Eric , but dosn't work.!!! Posted by Cosmin Popescu @ 4/23/2003 8:05:07 AM
RE: Tanks Eric , but dosn't work.!!! Posted by Eric den Doop @ 4/23/2003 8:58:07 AM
Yes Eric it work as top leve form,but.... Posted by Cosmin Popescu @ 4/23/2003 10:16:38 AM
RE: Yes Eric it work as top leve form,but.... Posted by Pete Sass @ 4/23/2003 1:30:51 PM
Finaly ,It works as you say ... Posted by Cosmin Popescu @ 4/23/2003 2:12:51 PM