BBGadTools
=BBGetVSliderState(Id)
Description:
With this Command can you get the State of a Vertical Slider. (Scrollbar)
The Returned Value is the first Entry at the Top, thats showing in your Lister.
For Example: If you have a Lister thats Shows 10 Entrys, and the returned Value is 15,
you must Draws the Texts from 15-24. (= 10 Entrys visible). If you sets e.g. with
BBSetVSliderEntrys() maximally 20 Entrys, the max. returned value is 11. (Entrys 11-20 are visible)
Please read in addition to it also BBVSlider(), BBSetVSliderEntrys(), BBVSliderHit(), BBSetVSliderState(), BBRemoveVSlider() and BBSliderUse()
Parameter:
ID = ID-Number of the Slider!
Example:
BBVSlider(1,30,50,200,10) ; Maximally 10 Entrys are later in Lister visible!
BBSetVSliderEntrys(1,150) ; Slider Calculates 150 Entrys. (Scrollbar resize automatically)
A=BBGetVSliderState(1) ; Maximally returned value is 141. (141-150 = 10 Entrys visible)
Back to the Menu