Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TopLevel Form Problem
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00808026
Message ID:
00808041
Views:
19
Top-level form cannot be modal. Try
oForm.Show()
>I'm trying to create a little app that runs as a top level form, I'm going to be running this as an EXE. The problem is when I run the exe, I get a flash and then it disappears, if I call up the taskmanager, it's running. I have to kill it from the taskmanager. I have a read events. The main program calls the code to create the form in code. Below is the code.
>
>I have the calling program:
>
>
>* Program: lanMess.prg
>ON SHUTDOWN quit
>_Screen.Visible=.f.
>DO tmess
>READ events
>
>
>
>and the tmess.prg
>
>
>oForm = CreateObject("Tform")
>oForm.Show(1)
>* end of main
<snip>>
>
>
>Thanks for any help
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform