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 camera or even from a scanner. Once loaded you can move the picture around by left clicking. You can easily modify the code by checking which button is pressed (but then you will loose the menu feature.) I hope it helps. Its a bit overloaded for what you need but it will hopefully get you pointed in the right direction. If you need any help please ask. Steven Drinnan On Sun, 2009-04-05 at 18:00 +0200, Jesus Guardon wrote: > 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 Gambas2, but without the picture (size > too big to be accepted by the list) > > Regards > > Jesús > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user
SJDSoftpicscroll.tar.gz
Description: application/compressed-tar
------------------------------------------------------------------------------
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user