Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do continuous vertical scrollbar?

Status
Not open for further replies.

HuntsvilleRob

Programmer
Nov 3, 2010
26
US
Hi. I have a simple TStringGrid component which has a vertical scroll bar. When the app is run and the user clicks and moves the vertical scroll bar button (not on the up and down arrows of the scroll bar), the StringGrid display does not update until the user finishes moving the scroll bar, then the display "jumps" to where the scroll bar button stops. I want the StringGrid display to be continuously updating as the user moves the vertical scroll bar button. How can I do this? Should be simple but can't figure it out. Thanks! -Rob
 
I've not noticed this before. I suspect that you may have to do a custom-drawn box. I'll look around some more and see if I can find out anything.



James P. Cottingham
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
I was told, "goThumbTracking: The grid image updates while the user is dragging the thumb of the scroll bar. If goThumbTracking is not included, the image does not update until the user releases the thumb in a new position"




James P. Cottingham
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top