|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Controlling Window Scrolling betterI first wanted to say how much of a value all the folks in these groups have been to me. I definitely appreciate your input and help in the past. Ok so now onto why I'm writing :) I have a a form defined with several datagrid controls on the form. The Form is representing a Document style layout so, some of the controls go outside the normal bounds of a windows viewing area. I was able to enable scrolling by setting the autoscrollmargins and turning on autoscroll. However the problem I am seeing is that if I have scrolled my window down to bring a particular grid control into view, then I click into that grid control, my window pops back up to the top and so I keep having to scroll my window back down and re-click and everytime it pops back up to the top until after the 3rd time I do this....Why 3 times is beyond me, but on the 3rd time doing so, my form will stay positioned where I first have it set. But then as soon as I move to a new row...here we go again. So, can anyone please tell me how to make my scrolled window stay in the position I have scrolled it to while I work with the visible controls. Thanks, so much for any advise |
|||||||||||||||||||||||