General information
Category:
Object Oriented Programming
>>You might consider returning .f. from form.load in abstract forms, so it's abstract or concrete controls won't eve init.
>
>There may well be code in the Init of the form or of some classes that makes the formclass complete in runtime.
I consider it the decision of the developer to decide if a class including form classes is abstract. it will never get concrete by loading subobjects. It would already be complete, if it has the code in it to make it complete. So I would not consider a change from abstract to concrete at runtime, it's decided already at design time.
If i desing an abstract vehicle class that laods subobjects at it's init by it's configuration or data driven, that makes a car or a truck object of it, it wouldn't be an abstract vehicle class anymore, it would rather be a universal vehicle class. And maybe a bad designed one. Depends on the real case.
Bye, Olaf.
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