BBGadTools

BBHSlider(Id,X,Y,Width,MaxToShow[,0-1])


Description:

With this Command can you Define a Horizontal Slider. (Scrollbar)
The Slider with Id-Number "Id" will Draws on Coordinaates "X,Y".
With "MaxToShow" can you type a Number. This is a Number for
maximally Chars thats the Lister can later show. If you e.g. type
a value of "10", the Slider will make first at "11" Chars a Scrollbar.
The first "10" Chars are so visible in Lister and the Slider requires no Scrollbar.
"0-1" is an Optional Parameter, with it can you adding ArrowButtons to a Slider.
If you select "1", then get the Slider ArrowButtons, and with "0" is none.
If you use not this Optional Parameter, the Slider will Add Arrows as Default.
Please read in addition to it also BBHSliderHit(), BBSetHSliderEntrys(), BBGetHSliderState(), BBSetHSliderState(), BBRemoveHSlider() and BBSliderUse()

Parameter:

Id = Id-Number of the Slider
X = X-Position.
Y = Y-Position.
Width = Width of the Slider in Pixel.
MaxToShow = Maximally visible Chars in Lister.
0-1 = Optional Parameter. (1 = With ArrowButtons / 0 = No ArrowButtons / Default = 1)

Example:

BBHSlider(1,50,80,200,10) ; 10 Chars are visible in Lister, at 11 Chars can you Scroll.
BBHSlider(1,50,80,200,10,0) ; Same at the top, only here add no ArrowButtons.

Back to the Menu