You won't change the default list behaviour (that is, showing the two
scroll buttons) by setting the hasScrollBar flag. If you need a list with a
normal scrollbar, you must program this yourself by the following:
- set the number of items of the list to exactly the list height
- attach the scrollbar to the list and set the scrollbar's dimensions to be
appropriate
- when the user scrolls, you set again the Items pointer to the new
location, but keep the number of items the same
By using these artifacts, the list doesn't know that you have more items
than it can display and it won't show the scroll buttons. The inconvenience
is that you must program all the stuff yourself.
Dan Patrutiu
"Ralf Krauss" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Hi:
>
> I need a list with normal ScrollBar and not with the default one.
> Can I change the "ListAttr" (hasScrollBar) of a list during runtime?
>
> thanks.
> Ralf
>
>
>
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/