Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find where a control is used?
Message
From
12/04/2007 10:42:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01214200
Message ID:
01214981
Views:
19
>>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
>
>Could you point me to where is this procedure FoxRefSearch_form.prg?

It's in the source for the Code References tool in Tools\XSource\VFPSource\FoxRef.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform