🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.oop.macapp3
2 messages
2 total messages Started by STEELE MARK A Fri, 20 Nov 1992 17:42
long GridView
#102
Author: STEELE MARK A
Date: Fri, 20 Nov 1992 17:42
8 lines
807 bytes
I am working on an application that uses the a ListView. This particular
app needs to be able to handle more then 32K items in the list. A solution
would be to change the boundries in GridView from short to long. This
approach will disable the selecting using regions. Does anybody know of
a better solution?

Mark Steele
steelem@rintintin.colorado.edu
Re: long GridView
#103
Author: John Werner
Date: Fri, 20 Nov 1992 19:33
16 lines
1331 bytes
In article <1992Nov20.174230.13144@ucsu.Colorado.EDU>,
steelem@rintintin.Colorado.EDU (STEELE MARK A) wrote:
> I am working on an application that uses the a ListView. This particular
> app needs to be able to handle more then 32K items in the list.

The best answer is probably "roll your own".  If all you need is a list,
with constant row heights, this probably won't be too hard.  And it will
probably be easier in the long run than all the hacks you'll have to make
to get TGridView to work.  The only tricky part will probably be
remembering which items in the list are selected.  Perhaps you could do
this with some sort of array or linked list of (start,end) selection
ranges.

--
John Werner                         werner@soe.berkeley.edu
UC Berkeley School of Education     510-642-9651
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads