Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Top-Level Form not showing
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01657542
Message ID:
01657561
Views:
77
>Hi there,
>
>I am creating an app with one form which shall run as top-level-form wothout showing the vfp-screen.
>I have dome this before but in this case it is not working and I do not know why.
>What i am doing is this:
>
>In the start-program I call the form and issue a readevents-command
>
>The form itself has these props set:
>
>Autocenter = .T.
>Desktop = .F.
>ShowWindow = 2 As Top level form
>Windowstate = Normal
>Windowrype = 1 - Modal
>
>In the activate-event the following command is issued:
>
>_screen.Visible = .F.
>
>The app runs but the form dows not show. To end I have to call the taskmanager and end the app.
>
>Can someone tell me what I might have missed?
>
>Thanks in advance
>
>Thomas

As far as I know you cannot run a top Level form modal. So you Need to issue a READ EVENTS right after showing the form, and in the destroy of the form a CLEAR EVENTS
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform