PDA

View Full Version : howto hide scrollbar in listbox?


grayhalo
04-08-2005, 01:18 AM
I'd like to write my own sort of scrollbar that has an arrow at the top and an arrow at the bottom over the main column for scrolling up and down. Obviously that's going to take a little R&D but in the meantime how do I get rid of the scrollbar space that is allocated on the rhs? It's there even when there aren't enough entries to fill the visible area! help!

grayhalo
04-08-2005, 01:48 AM
Ok, found a way to disable the default vscroll space.

lb.setStyle("vScrollPolicy", "off");

However, any tips for implementing up/down arrows at top/bottom for my own scrolling interface are very much appreciated.