Agreed entirely - in fact I almost got onto that topic in my original email
before I decided I had moaned enough for one email!
David.
DB Solutions.
----- Original Message -----
From: "Neven MacEwan" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 4:04 PM
Subject: Re: [DUG]: Sorting a Collection
> David
>
> My gripe is the object pascal inconsistency that allows classes in the
> same unit to reference 'private' properties which leads to these sort of
> problems
>
> They could have exposted the list in this case
>
> TTFN
> Neven
>
> ----- Original Message -----
> From: David Brennan <[EMAIL PROTECTED]>
> To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> Sent: Thursday, 21 September 2000 15:58
> Subject: Re: [DUG]: Sorting a Collection
>
>
> > Frustrating.
> >
> > Does anyone else find that Borland are a bit too fanatical about hiding
> > things away as private declarations?
> >
> > I've lost track of the number of times I wanted to extend something only
> to
> > find the internal bits I needed were private. Sometimes you can get
around
> > it, but it's never as elegant as it could be. Would it hurt to have a
few
> > more things visible - perhaps a few read only protected properties would
> do?
> >
> > Just an idea...
> >
> > David.
> > DB Solutions.
> >
> > ----- Original Message -----
> > From: "Mike Mueller" <[EMAIL PROTECTED]>
> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> > Sent: Thursday, September 21, 2000 3:44 PM
> > Subject: RE: [DUG]: Sorting a Collection
> >
> >
> > > Good point - the FList field of a TCollection is private and there is
> > > neither a way of getting to it nor triggering its Sort function.
> > >
> > > You could either write your own QSort (or bubble sort depending on
your
> > > style) to process your collection, or you could copy the collection
> items
> > > into a TList, call TList.Sort and copy them back to the collection.
> (ooh
> > > nasty)
> > >
> > > Maybe you really wanted to use a Tlist in the first place? (:
> > > Mike
> > >
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
> > > > Behalf Of [EMAIL PROTECTED]
> > > > Sent: Friday, 22 September 2000 3:11
> > > > To: Multiple recipients of list delphi
> > > > Subject: [DUG]: Sorting a Collection
> > > >
> > > >
> > > > HI all.
> > > >
> > > > how does one got about sorting a Collection ?
> > > > I want to do it based on a Numberic value.
> > > >
> > > >
> > > > Cheers, Jeremy Coulter
> > > >
> > > >
> > > >
> > > > Jeremy Coulter (Manager)
> > > > Visual Software Solutions
> > > > Christchurch, New Zealand
> > > > PH 03-3521595
> > > > FAX 03-3521596
> > > > MOBILE 021-2533214
> > > > www.vss.co.nz
> > > >
> > > > ------------------------------------------------------------------
> > > > ---------
> > > > New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > > > Website: http://www.delphi.org.nz
> > > > To UnSub, send email to: [EMAIL PROTECTED]
> > > > with body of "unsubscribe delphi"
> > >
> >
>
> --------------------------------------------------------------------------
> > -
> > > New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> >
>
> --------------------------------------------------------------------------
> -
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> >
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"