Re: [Gambas-user] DrawingArea capabilities

2009-04-04 Thread jbskaggs
On every screen refresh the computer redraws the area. So you only need to change the x and y points of your picture being drawn. so something like : Mind you I only did the x coordinate you will have to do the y, and I also did a example with the right arrow key. public_sub drawingarea1_keypr

Re: [Gambas-user] DrawingArea capabilities

2009-04-04 Thread Jussi Lahtinen
Hi! It is possible but you need to do work to do it... AFAIK there is no method in drawingarea to know what different pictures are drawed into. So drawingarea handles only graphics, and you have to write engine to move them. Jussi On Sat, Apr 4, 2009 at 13:08, Tomas Eroles i Forner wrote: > Hi

[Gambas-user] DrawingArea capabilities

2009-04-04 Thread Tomas Eroles i Forner
Hi all Is there any way to draw mobile objects on a DrawingArea? That is, is it possible to draw something and after to move it with mouse? The idea is to draw things in a drawingarea? and when required, to move them using the mouse Thanks in advance --