Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Multiple Forms in a Form Set
Message
 
À
12/05/1998 03:07:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00098666
Message ID:
00098675
Vues:
30
>>>I am trying to use a form set for a main form plus a small form that is supposed to come to the top when required. The main form is set as a Top Level Form and the small form as "In Top Level Form". In the compiled version, the screen is off and only the Top Level Form shows on startup.
>>>
>>>The small form is not visible, and the main form is AlwaysOnTop.
>>>
>>>When I call the small form, I set
>>>
>>>thisset.mainform.enabled=.f.
>>>* which stops the user accessing other controls
>>>thisset.mainform.alwaysontop=.f.
>>>thisset.smallform.alwaysontop=.t.
>>>thisset.smallform.visible=.t.
>>>
>>>While debugging the program in the interpreter, the small form just will not appear in the top level form, but only in the main VFP window. It might work in the compiled version (I don't know because ever since I used SP3, my system has been producing corrupt installation sets). I know I can set up multiple form sets (each one with only a single form, but that seems a bit stupid as this sort of thing ought to be a breeze in a program like VFP), can anyone tell me how to have the form "come to the front" in the interpreter?
>>
>>To achieve multi-windows apps, we do not use Formset as our main window because it is hard to manipulate and maintain. Instead we have a totally separate form which is set as "as top level" to make it an SDI Form, thus no need to make it AlwaysOnTop. Menu then is attached into it by calling the menu at init event of the form. All sub forms can now be called via menus. The said subforms shall be set to "in top level".
>
>I certainly agree that VFP seems to make formsets "hard to manipulate and maintain"!!

We do use Formsets but not as a main window.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform