Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal form not showing up ONLY when .exe run in non-VFP
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00811268
Message ID:
00811271
Views:
14
>The following code is in a startup.prg:
>DO FORM datasources TO CurDataSource
>
>"datasources" is a modal form which allows users to select from different databases. The problem is, this code works fine in VFP and when I run the compiled exe from the VFP command window. It doesn't work (almost like it's skipped) when the .exe is run from Windows.
>
>Any ideas why? All default form props except:
>AlwaysOnTop = .t.
>AutoCenter = .t.
>WindowType = 1-Modal

If you're using a toplevel form, there is no such thing as modal. It's not supported. You'll have to use a READ EVENTS to make this work.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform