Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Visual Class from Prg base Classes
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00596920
Message ID:
00596923
Views:
25
>Trying to Instantiate a Visual Class sub-classed from a class created in a prg using define class gives me an error "Cannot find XXXClass in XXX.vcx".
>
>The only way I've found that I can modify the Visual Class is by creating the object in the prg class using createobject("XXXClass").
>
>I figured that if I use "Set Proc to XXX.prg" this would be enough for the Visual Class to find it's parent. But it's not working!!!
>
>Hacking the VCX file and changing the VCX reference to a PRG file the gives me an error "Not a table".
>
>Any ideas? TIA

VFP doesn't allow visually subclassing classes defined in PRG code. VFP throws an error if you attempt this at all. How did you do it in the first place?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform