>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao