Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find where a control is used?
Message
 
 
À
11/04/2007 14:03:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01214200
Message ID:
01214577
Vues:
27
>>You're welcome. Still it's a bit strange that Code Reference didn't find it. I thought it should.
>
>I dug into this a bit this morning. It turns out that Code References doesn't look at the Class or ClassLib field, which is what's needed to find this info. It's a fairly easy change to the code to handle it.
>
>Add this to the DoSearch method of RefSearchForm in FoxRefSearch_Form.PRG:
>
>
>IF !EMPTY(Class)
>m.lSuccess = THIS.FindInText(Class, FINDTYPE_NAME, ;
>   NVL(cRootClass, cClassName), cObjName, ;
>   SEARCHTYPE_EXPR, UniqueID, "CLASS", .T.)
>ENDIF
>
>
>Then rebuild the APP and point to the new copy.
>
>Tamar

Thanks, Tamar. I trust you it will only improve the Code Reference tool. May be it's not too late to add as a suggestion for SP2?

Thanks again.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform