Re: NEWERA - beforerow -- supertable class
Posted in 1997
Mike Ripley wrote: > > > I would like to thank everyone for their help on this subject, but all > the solutions still require the developer to be aware of the event > functionallity of the parent class. Either you remember to override a > function or you remember to make a call in the child event. > > Whilst I am now resigned to using one of the two methods surely this is > contrary to the concept of inherited functionally through the class > structure? I disagree. The concept of being able to override inherited functionality is basic to object orientation. (If I have inherited black hair and decide to dye it blonde, I better know what benefits of black hair I'm losing.) Which emphasises the need for complete documentation on derivable classes; make sure you inform the consumer what events/methods of a bas class (like ixSuperTable) you're overriding in your class, so they can be aware and take appropriate step. //////////////// ======================================================= ////////// // Dennis J. Pimple Informix Software, Inc. ////// / /// Principal Consultant 5299 DTC Blvd Suite 740 ///// // //// dennisp@informix.com Englewood CO 80111 //// // ///// /// // ////// recept: 303-850-0210 // // /////// direct: 303-740-5611 Opinions expressed are mine, / /////////// fax: 303-843-6408 and do not necessarily //////////////// http://www.informix.com reflect those of my employer