Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invisible Dialogues
Message
De
11/03/1998 11:59:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00083915
Message ID:
00083924
Vues:
34
>>Can anyone explain to me the behavior you get if you create a PRG with the following lines and execute it? VFP5.0a SP3 under WinNT4.0 SP3
>>
>>_SCREEN.VISIBLE = .F.
>>?GETFILE()
>>_SCREEN.VISIBLE = .T.
>>
>>Thanks,
>>Bill
>
>Hi Bill,
>
>I would think the screen would not be visible and the second line would "freeze" your program at a modal GETFILE() dialog that can't be seen. If you can navigate out of the dialog without seeing it then the third line would execute. Just a guess right now, I'll have to test this assumption.

The GETFILE() dialogue is indeed invisible, but why? This also happens with PUTFILE() or LOCFILE() but not GETDIR(). You can also define a top-level form, run it with _SCREEN.VISIBLE = .F., make the top-level form itself invisible and run GETFILE() from it and it works ok.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform