Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invisible Dialogues
Message
From
11/03/1998 11:59:49
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00083915
Message ID:
00083924
Views:
30
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform