Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Controlling a ListBox's Scrollbar

bizkit714bizkit714 Member Posts: 2
Okay the problem i am having is that i can't control the listbox's thumbbar (that little thing in the middle of a scroll bar) I have tried many different api calls and a few math equations that have come close but nothing that works as good as the real thing. I have also figured out how to control the up and down scrolling of a listbox, that only makes this problem more annoying. Anyway if you have any suggestions please tell me.

Nate

Comments

  • ColdShineColdShine Member Posts: 597
    What are trying to do? Do you only want to manipuate the scroll bar thumb? Do you need the list to scroll an item into view?
    If you just need to ensure an item is visible, you can use the TopIndex property to set the topmost item in the current view of the list, so you can use it do display an item in any position of the list (with few maths).
    ________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b][/size]

  • bizkit714bizkit714 Member Posts: 2
    I am trying to control the position of the thumbbar. I have been succesfull in moving the thumbbar to a certain position but the listbox wont react to the movement
  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    __ \ http://forcoder.org \ free video tutorials and ebooks about // PHP, Scratch, Python, Perl, Assembly, C, PL/SQL, Swift, C++, Java, Visual Basic, R, Ruby, Go, MATLAB, Objective-C, Delphi, C#, JavaScript, Visual Basic .NET Awk, Scheme, Kotlin, ABAP, Apex, D, Prolog, COBOL, F#, Alice, Clojure, Transact-SQL, ML, Lua, Logo, Dart, Lisp, Hack, Scala, Rust, LabVIEW, Ada, Bash, FoxPro, Fortran, Erlang, VBScript, Crystal, Julia, SAS // __

Sign In or Register to comment.