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?
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!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.