comp.lang.ada
 help / color / mirror / Atom feed
From: Tom Moran <tmoran@bix.com>
Subject: Re: preventing inheritance
Date: 1996/12/16
Date: 1996-12-16T00:00:00+00:00	[thread overview]
Message-ID: <32B640FC.D30@bix.com> (raw)
In-Reply-To: 32B5A234.947@watson.ibm.com


>Create abstract S and derive T and U from it
  I could do this but it will look rather bizarre.  Type T is an 
MS Windows Edit control and type U is a multiline Edit control. 
Operation B is 'get first visible character horizontally' for the
single line edit control, but the corresponding multiline operation 
is to get the first visible line vertically.  Other than that, it's
always reasonable to have one operation which either is identical for
single/multiline edit boxes, and thus can be inherited, or two
operations which have obviously analogous, if not identical,
interpretations, and thus need over-riding.
   Several ways of getting around this annoyance have been suggested,
but none seems likely to cause a user to look and say 'obviously, that's
the only reasonable organization'.




  reply	other threads:[~1996-12-16  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-13  0:00 preventing inheritance Tom Moran
1996-12-16  0:00 ` Norman H. Cohen
1996-12-16  0:00   ` Tom Moran [this message]
1996-12-16  0:00     ` Tom Moran
1996-12-17  0:00       ` Larry Kilgallen
1996-12-18  0:00       ` Norman H. Cohen
1996-12-18  0:00         ` Tom Moran
1996-12-19  0:00     ` Robert I. Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox