Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Object Oriented Programming
>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?
OOP does not want you to populate properties instead of passing parameters. If you do that two objects calling a method of a third object can interfere with one another.
Previous
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