Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Projecthook problem
Message
De
18/11/2002 11:46:09
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
18/11/2002 05:31:00
Martin Van Krieken
Capgemini Nederland Bv
Utrecht, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00723770
Message ID:
00723893
Vues:
25
Martin

Activate does not fire when the project is docked. I got around this be placing the code in the init of the project. I try and have only one project open at a time so this works well for me.

>Hello,
>
>I often work with multiple projects in my VFP 7.0 IDE. These projects are in different directories which makes it nessery to CD to another directory often. I would like to have a projecthook class to switch directories om the activation of a project. So I build one with this code in the activate:
>
>DoDefault()
>If Type('_VFP.ActiveProject') == 'O'
> CD (_VFP.ActiveProject.HomeDir)
>EndIf
>
>Next I atteched this projecthook to four projects I have currently open. Now it seems that only one project respondes to the activate in the projecthook. The other tree projects do't run any code on activation. I put a messagebox in my projecthook to see if the activate was fired, but ik these three projects the activate was never fired.
>
>Has anyone an idea how to solve this?
>
>TIA,
>
>Martin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform