Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using _menu dialogs in compiled executables
Message
De
22/07/1998 08:39:50
Brian Gruselle
Diversified Data Systems Inc.
Green Bay, Wisconsin, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00119659
Message ID:
00120109
Vues:
22
>Brian,
>
>Are you using a Top-Level form and setting _screen.Visible = .f.? If so, make the _screen temporarily visible off screen to get the dialogs to display:
>
>with _screen
> .Left = -10000
> .Top = -10000
> .Visible = .t.
>endwith
>
>DoYourDialog
>
>_screen.Visible = .f.
>
David,

Are you suggesting that these dialogs are appearing underneath the top level form of my application?

The dialogs I am trying to invoke were added to my application menu by first creating a 'quick' menu, looking in the menu designer and copying the commands that were produced in the quick menu. (ie. _mfi_pgset for print setup, or _mfi_export for file export).

These commands do work if I run my executable from within the VFP command window but they do not work if I run my executable from the windows desktop. This is what makes me think I am failing to reproduce some aspect of the VFP environment in the environment of my compiled executable.

Thanks for your reply,

Brian Gruselle
Diversified Data Systems Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform