Hi again Well, I've made some research in DrawingArea. I've been reading the documentation on the wiki, and, if I understand it, for drawing I have to draw into a DrawingArea enclosing all draw commands in a Draw.Begin(DrawingArea)...Draw.End group of code.
It seems to work, but, I see that you can start drawing if you put a command button, or a menu or something like this, but it does not work in a Form_Open event. Is it like this? Thanks El dj 28 de 08 del 2008 a les 11:57 +0200, en/na Benoit Minisini va escriure: > On jeudi 28 août 2008, Tomas Eroles i Forner wrote: > > Hi all > > I'm trying to write a gambas scrabble (yes, I'm in holidays :-), and I'm > > thinking which is the best control to do that. > > I've tried to use a 15x15 matrix text label, but I think perhaps there > > is a better control. > > > > What do you think about? > > If using a GridView or TableView, is it possible to paint some squares > > (for 2xWord, 3xWord, 2xLetter...) > > > > Thanks in advance > > Draw everything yourself in a DrawingArea, this is the fastest. > > Or create your own "scrabble cell" control based on a DrawingArea, and put > 225 > of them inside a container. > > Regards, > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user