>Hi all
>
>Currently I am using the DoForm() as supplied in the CodeBook framework to instantiate my mover class. Essentially DoForm() sets the mouse pointer, CREATEOBJECT()s, SHOW()s the form, returns the return value if found and resets the mouse pointer (?). Just to avoid repetitive steps I tend to use DoForm() instead of instantiating the object and stuff myself, the downside is that the mover has to have an LPARAMETERS in it's Init().
>
>OOP wants me to populate the properties instead of passing parameters and I agree with it, can such a DoForm() be written that does what it does and yet allow me to populate properties instead of using parameters?
What do you mean "OOP wants me to populate the properties instead of passing parameters and I agree with it"? I wouldn't agree, I think but probably I didn't understand.
Without knowing exactly what your DoForm() is doing it is hard to determine, but yes you can populate properties after you get a reference to object it creates. Looks like:
oForm = doform()
oForm.SomeProperty = somevalue
Cetin