From: "Ronald Vogelaar" <[EMAIL PROTECTED]>
Date: Thu, 18 May 2006 07:56:21 +0200
Btw, RB's ListBox really isn't as bad as many think. I thought it
was slow,
until I really concentrated on finding a solution. I compared
everything I
could find. I also tried to create a listbox with declares.
In the end, it came down to clever RB programming. It's now much, much
faster than what I did at first. I don't know what issues you have
that
makes it slow though. If you send me an example project I could
have a look
at it... Not because I'm a better programmer, but because I've been
there.
It's not that it's slow, as much as it's badly designed.
If I want to stuff a million items into the listbox, I can't do that
with RB. But with NSTableView, it's easy, I DON'T stuff a million
items, I just provide a data source that has an item count of a
million, and allows indexed access. This way, the listbox doesn't
request more data than is on screen. It really speeds everything up.
It also enforces a better style of programming.
And it looks better.
Also, NSTableView lets you put everything you want into it.
editfields, checkboxes, buttons, etc etc, but do it *properly*, as
real buttons, real checkboxes, etc etc.
RB's listbox tries to be all things to all people and fails. Really
RB should split up their listbox into a treeview and a 1D view.
Actually they should just model theirs on Apple's :)
--
http://elfdata.com/plugin/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>