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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP - ScrollToColumn?????? on a grid dw

Status
Not open for further replies.

gbinoy

Programmer
Dec 14, 2000
1
0
0
US
SUBJECT: HELP - ScrollToColumn?????? on a grid dw

When we setcolumn the cursor goes to the correct column. But since the dw is bigger than the dw control, I am not able to see the current column. How can I scroll to the current column?

Thanks,

George & Faisal.


 
Have you looked into the HorizontalScrollPosition property? I had the same problem a while ago, so in my setrowcol function I set this property to 1 when I needed to be at the left side of the datawindow and set it to HorizontalScrollMaximum property (which I set into a variable earlier on in the code)when I needed to be at the right side of the datawindow. Hope this helps!
 
ScrollToRow() - Specify the row you want to see, not just the column.

David Kirchner
davidkirchner@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top