--- Eric Daniels <[EMAIL PROTECTED]> wrote:
> First off Thanks to Eddie Shipman for his jpegimagelist source it did work
> however not entirely how I had hoped. After searching using 5 different
> search engines for a jpegimagelist and coming up with nothing useful I came
> to the conclusion either there is no desire for such a component or it is
> extensively complicated to write one... As a result I plan to try to tackle
> the chore of writing a full blown jpeg imagelist component which mimicks
> delphi's imagelist component. If successful I will post a link to it's
> source code...for comments and criticism :-)
Well, I guess people have never really required one. I just wrote something
quick and dirty. It really needs some work and you can even use it as a basis
for your own if you want.
I would suggest giving it a property editor, however, but if you want one that
looks like the one for TImageList, you'll have to write it from scratch,
including it's own form. I didn't do a property editor for mine but that is how
I would do it.
>
> I've never written a full blown component and as a result I'm learning a
> great deal about class methods vs component methods, as well as properties
> usefulness... how to debug components without installing them and several
> other tidbits...
TO test, just add the component unit to your uses and create the component
in your form constructor.
<SNIP>
>
> The biggest question is which class should I derive from for a jpeg image
> list component...
TComponent with the list property of the type TObjectList would be the best
to build from.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi