PDA

View Full Version : how to change the size of a scrollbar


Angelinne
05-30-2006, 02:13 PM
hi folks!

i have a small problem with my scrollbar. i would like to know how can to change the lenght of a scrollbar which is dynamicly generated. I have made galery which show different pictures. when a picture was been chosen, a new scrollbar beneath the first one appears. this new scrollbar musst have a different position and size as the other one. with which command can i make my second scrollbar move?i will be very thankful for your help.

truly yours,
--leila--

don simon
06-14-2006, 10:58 AM
scrollBar._x and scrollBar._y moves.
scrollBar.setSize(width, height) resizes the bar but maintains the button sizes.