You can add properties and methods in the designer! For instance to add properties by writing a little program like this:
LOCAL laObj(1), lcClass
laObj = ''
= ASELOBJ(laObj)
IF VARTYPE(laObj(1)) = 'O'
lcClass = INPUTBOX('Property name to add','Add Propery',"")
IF NOT EMPTY(lcClass) AND NOT PEMSTATUS(laObj(1),lcClass,5)
laObj(1).addproperty(lcClass)
ENDIF
ENDIF
Glenn
>Can someone clue me in. When working in the form designer, you can add properties and methods to the form through the "form" menu pad option, but you can't do the same for objects contained within the form. You have to first save the contained objects to a class, get out of the form, then go through the class designer to add custom properties and methods. I'm just wondering how come custom properties and methods can't be added to contained objects through the form designer. Is it because it would foster bad design?
>
>It seems to me building quick prototypes would go much faster if this capability existed in the form designer. Or is my thought process just a??-backwards