GuiMod- How can i make a scrollbar for a panel?

BlitzMax Forums/BlitzMax Programming/GuiMod- How can i make a scrollbar for a panel?

Space_guy(Posted 2005) [#1]
How can i make a scrollbar for a panel?
I see there slider objects. But how is one to actually scroll a window or a panel? Should i move all the objects in the group or is there a different smarter way?


Space_guy(Posted 2005) [#2]
Anyone? Please. i have no idea how to make scrollsbars. i read threw all the documentation and looked at all the samples. There scrollbars all voer the editor. How can one activate them and what gadgets should i use?


Shagwana(Posted 2005) [#3]
1. Create a container panel
2. Make another panel inside the container panel
4. Create all gadgets to be grouped on this panel in step 2
3. Create the slider at the side of the panels

Then

When the slider is moved in the main program, move the panel inside the container panel using the "setgadgetshape" command!.


Space_guy(Posted 2005) [#4]
Thank you. im alrteady tearing my hair here ;) i will try that!