ee
----- Mensagem original -----
De: Aaron Scott-Boddendijk
[SMTP:[EMAIL PROTECTED]]
Enviada em: Quinta-feira, 2 de Dezembro de 1999 0:00
Para: Multiple recipients of list delphi
Assunto: Re: [DUG]: TStrings.Objects
SNIP - Lot's of talk about the qualitative use of storing explicitly
cast data into
TStrings.Object storage areas in preference to recognising pascals
assistance in
strong-typing and support for extensible class instance storage.
> In this case it is a matter of there not being a
TrzDBLookupCheckList or
> something :)
>
> When I used a Listview in a similar way the Data property of each
list item is
> just a simple pointer, not an object. I suppose I could just use a
TListView
> instead, as they do have check boxes, the only issue being that
there isn't a
> ClickCheck event for the TListView.
From the point of views taken storing non pointer data is exactly
the same:
var
A :TObject;
A is just a pointer - it happens to be a typed pointer that the
compiler knows to treat
differently, but it's still just a pointer into memory.
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List -
[EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz