Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starting VFP and command=
Message
De
31/12/2007 17:10:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
31/12/2007 14:42:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01278717
Message ID:
01278756
Vues:
22
>Hi,
>
>I have:
> COMMAND=MyStartup.prg in my .FPW file and
>
>In MyStartup, I have:
> uMtToolbar() && Which plug my own toolbar to the VFP desktop
> uIDEWinUp() && Which tab-dock properties windows, toolbox and so on to screen edge
>
>Everything works as expected if I start VFP normally.
>
>However, if I double-click a scx file from Windows explorer (which starts VFP and open up the form designer for the scx file), then things become different, as though both the uMtToolbar() and uIDEWinUp() are not executed??? No toolbar, no tab-dcok windows... only the properties window is floting there.
>
>Why? What should I do in order to make VFP executes my codes in MyStartup before it open up the scx file in the form designer?

You aren't in the home() directory if you start VFP by doubleclicking a file somewhere else. You may want to set

command=do home()+"mystartup"

and there in mystartup.prg, first do
set path to (home()) additive
before calling any of the code.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform