Re: [Gambas-user] Panning a picturebox inside a scrollview with mouse

2009-04-06 Thread Jesus Guardon
Many thanks Steven for your input I have solved this issue using a drawingarea object instead a picturebox. I've stated than it is much less cpu consuming, because the image --a big world map-- I want to show, needs to be updated periodically by other shell command that modifies it with texts

[Gambas-user] Panning a picturebox inside a scrollview with mouse

2009-04-05 Thread Jesus Guardon
I need some help about this issue, because I'm unable to get it working. What I want to do is panning a picturebox inside a scrollview when I click RMB and move the mouse around. BTW, something usual in a lot of graphical apps. Can anyone help me, please? Attached is the basic project in

Re: [Gambas-user] Panning a picturebox inside a scrollview with mouse

2009-04-05 Thread Steven James Drinnan
Hi here is an example. In this example, you can embed the ocphotoview into a form. It is from a project that I am working on, so . Some of the code comes from the web camera example. There are some use full functions there as well. To load a picture right click. You can select. By file or Web