Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling other forms from a top level form
Message
De
23/02/2000 10:03:14
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, Royaume Uni
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00335424
Message ID:
00335985
Vues:
22
Hi Larry,

I've already gone for option 3 which is not too bad. I'd sort've realised what was going on. Thanks for your persistence.

Regards

Paul

>Hi Paul,
>Non-modal forms don't stop program execution. Form zzz needs to be modal. But as I said before, Top-level forms can not be modal. Rock and hard place?
>
>Options to look at:
>1. Can you put "do more code here" stuff in the Destroy event of form zzz? This way it won't run until you close the form.
>2. Can you set form zzz ShowWindow to 1 (in Top-level form)? WIll this cause a major problem with your system design?
>3. Can you put both forms in the normal VFP screen? You can do the following:
>
With _Screen
>   .Titlebar = 0
>   .WindowState = 2
>   .Backcolor = rgb(0,0,0) or .Picture = some file
>Endwith
>Turn the status bar off (set status bar off) and the VFP desktop will look like your Windows desktop.
>
>Good luck.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform