Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form not showing up ONLY when .exe run in non-VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00811268
Message ID:
00811271
Vues:
15
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform