Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form flashed and disappered
Message
From
26/07/2002 13:48:54
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
 
To
26/07/2002 10:51:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00682995
Message ID:
00683089
Views:
28
The variable used to 'Link' with the form must have PUBLIC scope either through declaration or association with a Global App Object, etc. The variable goes out of scope and takes the Form with it.

HTH,

-Irv.


>Hello,
>My form runs fine when it is in the VFP system.
>But when it is compiled into an exe file
>and run in Windows, it flashes and disappeares.
>Anybody knows why? Thanks for any help.
>
>
>Below is my "main.prg" to call the form. The form's windowstate = modal
>*---------------------
>PROCEDURE Main
>CLOSE ALL
>CLEAR ALL
>_screen.visible = .F.
>DO FORM R_Form NAME main LINKED
>READ EVENTS
>CLOSE DATABASES
>CANCEL
>SET NOTIFY ON
>RETURN
>*---------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform