[futurebasic] simple list mgr help (please)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1998 : Group Archive : Group : All Groups

From: "Edwards, Waverly" <WEdwards@...>
Date: Mon, 30 Nov 1998 20:41:28 -0500
Anyone willing to take a look at code for a SIMPLE list mgr please email
me privately.  
I have code that I intend to add to a commercial program.  It makes
simple list.  
My personal deadline is already blown as of today, so I figure that
while my back is breaking I'd see if I could get some help. 

It was intended to be a CDEF like Staz's LCMD but after four days of
trying, I've decided to just make it an include file.
I got some tips from Staz but I'm at witts end making this a CDEF.  I'd
use Staz's List but I need more control over the end product.

*** HELP ****

I *need* some help in making the list scroll faster and to
eliminate/minimize flashing.  When drag hilighting (shift or command),
there is a lot of flashing due to the the method I use to draw the
cells.
 
*****************

I have used copybits to update the list.  This completely eliminated the
flash but dragging and scrolling got slower as the physical dimensions
of the list got bigger.  Not to mention the amount of memory required to
make it work. 

I've tried using SCROLLRECT to scroll data that didnt need to be
refreshed and only draw cells that needed to be drawn. 
I could not figure out an algorithm that worked while doing multiple
cell selections.


All features have not been added

current /features/

The maximum number of cells is 32000.
Supports any font (that I know of)
Single column text only.
Supports Shift and Command key behaviours.
Multiple cell selection.
Drag selections.
Cell disabling.
resizable list.  (has a grow rect that can be drug around)
Autoscroll/force scroll hiliting.

/features/ to be added.

Search
multiple columns
Color text
*simple* STR# support


All, not just some, a few or a couple but ALL suggestions are/will be
welcome.


Thanks,


W.