Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant write .VCX file ?
Message
From
28/05/1999 03:33:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Cant write .VCX file ?
Miscellaneous
Thread ID:
00223832
Message ID:
00223832
Views:
39
Hi all

Need help with error message from code below
I get error message - "One of the members of this class is based on a non visual Class.cannot write .VCX file"
the same thing happens with any class I define.

I expected to define a class, place it on a form and the save that class

Code.....
oOb = createObject("form")
With oOb
.visible = .T.
.addobject("testCont1","testCont")

with .testCont1
.visible = .T.
wait
.SaveAsClass("c:\myClasses\Test" ,"testCont1" )
endwith
Endwith

Define CLASS testCont AS container
procedure click
? "clicked"
endproc
Enddefine

Return

tia
John Harriss
Next
Reply
Map
View

Click here to load this message in the networking platform