Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ISX still needed in VFP7?
Message
 
To
03/08/2001 02:44:16
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00538213
Message ID:
00539287
Views:
13
Hi KM,

>I find that the above statement is only true when the parent class is a VFP Base Class.

Or when the parent is a class in a VCX library. VFP doesn't seem to contain code to parse PRG classes for properties...

>However, it will be great if user-defined properties of the currently editing class (not ready to be instantiated) can also be listed when we type "THIS." (similar to variable listing of ISX.PRG).

ISX has presedence, because it's triggered by ON KEY LABEL. If you are willing to write the code that parses the PRG (take a look at the code to parse for variables to see how it's done), then you can extend ISX to display a list of properties for all kind of classes. including being triggered when THIS or any object reference is used. It's really the "parsing for properties IN PRGs" part that is not implemented in VFP, nor in ISX. The rest is only a few modification in ISX and hooking the call into ISX.


Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform