Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you get description of property or method?
Message
From
22/07/2001 21:40:03
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00533645
Message ID:
00533741
Views:
15
David,

I did it the old fashioned way: by looking at the class and classlocation fields in the vcx while looking for reserved3.

This way I pick up the first description made as you go up the class ancestry. Now the problem is, if no description was made in the hierarchy, I can't come up with the default VFP description. Any ideas ?

Thanks,

Alex


>Alex,
>
>You can use the scope resolution operator to work back through all the levels of hierarchy to get values of properties at each level of inheritance. I can give you a sample later on tonight.
>
>>Nancy and Frank, please help me design function GetPemDescription().
>>
>>Since this is for a builder we have a variable with a reference to a screen object. Lets say we already know the PEM name and just need the description.
>>
>>With ACLASS() we could get ancestor classes, but how do we find ancestor classlibs beyond the parent? Or we could single step back in a loop, but again, how do we find the classlib of the grandparent class and beyond?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform