Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form not being Modal in VFP 6
Message
 
À
04/01/2000 08:34:24
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00311883
Message ID:
00313026
Vues:
87
Well, normally you'd want to hide the VFP screen when you're running a top-level form. I don't know of a specific discussion on ShowWindow and WindowType, but you could start one. Did you try to play around with these at all?

>I discovered that part of the problem was that I was hiding the VFP screen. If I don't hide it, everything works OK. If I set the Menu Form to Top-level, Modeless and then the various child screens as IN-Top-Level, Modal. They no longer behave like a modal screen. But if I don't hide the main screen and set the child screens to In Screen, Modal, everything works. I really want to hide the main VFP screen though. Is there a discussion or description somewhere of how and when the various ShowWindow and WindowType properties are best used and their effects? Thanks for your help.
>
>Shane
>
>
>>There was a similar thread going in FoxForum.com called "WindowType resets itself??" under the General category. The crux of the situation was that VFP makes top-level forms non-modal, and the only place you can really set it back is the form's Load, Init, or Show method, the Show being the best place to do this since it has a parameter to determine the style.
>>
>>>I have an app I am trying to convert from VFP3.0 to VFP6.0. It has a main form that is MODELESS and several other MODAL forms. I hide the main VFP screen and the Main Menu form is set as TOP LEVEL, MODELESS. The other forms are ShowWindow - In Top Level, Desktop - FALSE, MODAL. But they don't behave modally. What am I doing wrong?
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform