• Advertisement
Sign in to follow this  

Custom Listbox: Scrolling?

This topic is 4402 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is what I'm trying to create: But I don't know how to implement the scrollbar. I was going to go with one of these two versions of the listbox. Fixed Height: The control is only ever three "items" worth of data high. One box is highlighted all of the time and moving the scrollbar moves the data up and down the three displayable items. Smooth Scrolling Any Height: It act like a normal listbox does :) The problem is that I'm not sure what to do when the scrollbar is at each end, if its at one then you want to draw item one, two, three. Also if its in the middle such as 15, which do i draw? 14,15,16? 15,16,17? I would like the smooth scrolling system but I don't know how to approach this either. Thanks for any suggestions/help :)

Share this post


Link to post
Share on other sites
Advertisement
I don't know VB6 myself but here is a bump for you. If you don't get a reply by Sunday post in a more specific forum (I think that should be ok, check the FAQ first).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement