General information
Category:
Object Oriented Programming
Ken,
> oops forgot something - remember you can always RELEASE the
> public variables as the forms are released if you want to go
> that way - that also gets rid of the NULLS ...
Yeah, I address this in my other response... I am trying to avoid having to do things form the form side of things because the public reference will essentially be a random name (I use the class name plus a string generated from GetTickCount() so that I can open multiple forms of the same class without incident). So, to release it later I would have to store the name with the form, meaning adding a parameter to the Init of the form. I don't like doing that, because the more parameters you have the more troubles it causes during inheritance later...I always forget to pass parameters properly, so parameters can end up breaking the whole object hierarchy branch...
Thanks,
Joe Kaufman
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