How can get the the minimum and maximum value of scrolling position of
a ScrollView?

The task I'd like to solve is to open a picture which is put into a
PictureBox inside a ScrollView. My problem is how to get the right X
and Y coordinates under the mouse pointer, but related to the (0,0)
coordinates of the picture.
So I need to determine the mouse position over the picture, not the
screen or scrollview .The PictureBox is dimensioned according to the
width and height of the picture I open, so there are no scaling, but
working with the original picture size. I was trying to solve this
with proportions in scrolling minimum and maximum value, but I cannot
access to the min and max value of the scrollbar position of the view.

Any ideas?

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to