Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call a modal form from a top-level form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00267205
Message ID:
00267209
Vues:
21
Hi Sylvain,

Try setting the .DeskTop property to .T. and ShowWindow = 1 for the second form.

>I have a top-level form that need to call another form, stored as a class. The second form should be modal.
>
>With ShowWindow = 0 - In screen, the form is displayed in the hidden VFP main screen.
>
>With ShowWindow = 1 - In Top-Level form, it show in the first form, but since the second one is bigger than the first, I see only part of it.
>
>With ShowWindow = 2 - As Top-Level form, it display and close by itself, ignoring the WindowType = 1 - Modal and the oForm.Show(1) call.
>
>Should I use ShowWindow = 1 and resize the first form accordingly or is there something I missed? Why the form doesn't respect the Modal setting with ShowWindow = 3?
>
>TIA
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform