General information
Title:
Cant write .VCX file ?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only