- Joined
- Feb 15, 2006
- Messages
- 1
- Reaction score
- 0
Consider a panel with both horizontal and vertical scrollbars in a windows form.
During runtime, just move the scrollbars and check for the co-ordinates of the top-left corner of the panel. It always says 0,0 and not the relative position, as the scroll bar is moved. How can I find the exact co-ordinates of the top left corner of the panel considering the part which got moved due to scroll bar?
During runtime, just move the scrollbars and check for the co-ordinates of the top-left corner of the panel. It always says 0,0 and not the relative position, as the scroll bar is moved. How can I find the exact co-ordinates of the top left corner of the panel considering the part which got moved due to scroll bar?