>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.