From: eachus@spectre.mitre.org (Robert I. Eachus)
Subject: Re: preventing inheritance
Date: 1996/12/19
Date: 1996-12-19T00:00:00+00:00 [thread overview]
Message-ID: <EACHUS.96Dec19140037@spectre.mitre.org> (raw)
In-Reply-To: 32B640FC.D30@bix.com
In article <32B85141.376A@bix.com> Tom Moran <tmoran@bix.com> writes:
> 2) If MS in the future adds a way to implement Get_First_Character on
> Multiline edit controls, it would become reasonable to move that routine
> from Edit_Controls.Single_Line to Edit_Controls, leaving
> Edit_Controls.Single_Line a bodyless package containing nothing but a
> single type definition. It would become yet another instance of "this
> seemingly pointless complexity is here for historical reasons".
> My difficulty is really an aesthetic one so perhaps the only solution
> is to modify my aesthetic sensibilities. ;)
There are two other solutions:
1) Provide your own Get_First_Character for multiline edits. Can
be done.
2) Define Get_First_Character outside of Edit_Controls, or nested
in a Single_Line package. This reflects the actual structure--an
operation on the parent that is not inherited.
--
Robert I. Eachus
with Standard_Disclaimer;
use Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...
prev parent reply other threads:[~1996-12-19 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
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 [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox