Mensaje
General information
Foro:
Visual FoxPro
Category:
Formularios & Diseñador de formularios
Miscellaneous
ID de la conversación:
00811268
ID del mensaje:
00811271
Views:
16
>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
Responder
Mapa
Ver