[futurebasic] Re: [FB] List manager question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2000 : Group Archive : Group : All Groups

From: Scott Spencer <sj3@...>
Date: Tue, 14 Mar 2000 20:34:54 -0800
on 3/14/00 11:04 AM, Joe Lewis Wilkins at PepeToo@... wrote:

> One additional thought Mark,
> 
> Change all of the ids you use in the creation of these items, particularly the
> scroll bar to like 5000 and above - to help assure there is no conflict with
> ids
> in other parts of your code. Even though you moved it to the beginning, that
> does not prevent subsequent overrides - ie confusion. Maybe?
> 
> Joe Wilkins

Mark and Joe,

Reading this makes me wonder how Mark is creating his list.  Mark, if your
using the List Manager (which I assumed) you don't need to create a seperate
scroll bar.

Just set hte desired scroll parameter to true in the toolbox call:

listH& = FN LNEW 
lRect,dRect,cellSize,lProc%,wndPtr&,drawIt,hasGrow,scrollH,scrollV)

If you want a horizontal scroll, scrollH = _true
If you want a vertical scroll, scrollV = _true

BTW, on the FutureBASIC.org site, there is a great file by Mars called "List
Utils.INCL". Has some great List Manager stuff in it.

-- 
Scott Spencer
SJ3
sj3@...