>If I place a class on a form I can easily change the code for a method or event. If I instantiate a class using CREATEOBJECT() in code, how do I make the same code changes to a method or event?
this sample builds method in subForm
frmForm=CREATEOBJECT('subform')
frmForm.show
read events
DEFINE CLASS subForm AS FORM &&--------------------------------------
AUTOCENTER=.T.
SHOWWINDOW=1
ALWAYSONTOP=.T.
VISIBLE=.T.
WIDTH=300
HEIGHT=200
BORDERSTYLE=2
MAXBUTTON=.F.
MINBUTTON=.F.
CAPTION=[Class form]
* Define class procedure
PROCEDURE CLICK
messagebox([CLick])
ENDPROC
ENDDEF &&-----------------------------------------------------------
Imagination is more important than knowledge