Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Reference
Message
 
 
To
14/11/2009 10:51:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01434754
Message ID:
01434765
Views:
50
>>>>Hi,
>>>>
>>>>I was trying to find in my VFP 9 application all classes based on a certain "base" class. The Code Reference (where I searched by class name) reported none found. Yet, I do have a class (at least one) based on this "base" class. Is this by design how Code Reference work? If so, what other methods are more reliable to look for classes based on a certain class?
>>>
>>>Open your pjx as a dbf, scan for type="V", open each vcx as named in the name field (ends with a chr(0), though), then scan for anything having that in the class field.
>>
>>This is pretty much what I am doing. I thought that there is a more automated (like Code References) method of quickly finding all references to a base class. And now that I know that this is the only way, I feel better <g>. Thank you very much.
>
>Code References reads whatever is explicitly mentioned in the properties memo or the methods memo. Base class is in a separate field which it doesn't look into.

I am sure that this will be enhanced in VFP 10 <g>. Thank you for the explanation.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform