> It is fixed in revision #5420. Thanks, I'll have a look at it as soon as I have rev #5420 installed > > But note the way you are doing animation is not good: > - You are drawing on a non-cached DrawingArea outside of a Draw event. > You must not do that, even if at the moment it works because you are > using X-Window. Use a cached DrawingArea, or paint only inside the Draw > event handler.
DrawingArea in example is named drwAbout First line of code in Form_Activate() after the Dim is drwAbout.Cached = True Next I start drawing all. Doesn't that mean I'm drawing on a cached DrawingArea? Or am I completely misunderstanding? > > - You are using the WAIT instruction. You should use a Timer instead. > For example, to make animations in the MediaPlayer example, I have > implemented a little class named CAnimation. I suggest you look at it > and steal it. I'll have a look at the Timer and steal it :-) > > Regards, > Thanks again, Willy ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user