Re: [hlcoders] Vgui ScrollBar Question

2003-01-31 Thread [LMS]007
Thx, that works, actually my range was correct, i had it scalled a crapload but i calling all kinds of other functions in desparation. i guess i tried set rage after i tried some of the other stuff, but forgot to take it out and it ended up not working, anyway, thx m_pScrollBar = new ScrollBar(

[hlcoders] Vgui ScrollBar Question

2003-01-30 Thread [LMS]007
I'm trying to make he scroll bar work independently of ScrollPanel. I just want a little slider bar to handle some client variables which relate to color! So in theory ill have the scroll bar inclement or decrement some hex valve or something like that. Problem is i can't get the slider bar to

Re: [hlcoders] Vgui ScrollBar Question

2003-01-30 Thread Cortex
Hi, I just coded that for my mod. The only workaround I found was to multiply by 10 the range (so, to go from 0 to 255 the range would be 0 to 2550). Then, the slider was right and its size was fine. For any other question about this scrollbar, feel free to mail me, I should be able to answer