> 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 ...