Re: [Gambas-user] Best control for a game

2008-09-06 Thread Peter Russell
Maybe using a grid might be an option. Regards Pete On Sat, 2008-09-06 at 10:13 +0200, Tomas Eroles i Forner wrote: > Ok, it seems to work fine. > I can draw all the board without problems, but I have yet some > questions: > > I'm drawing the board after a menu command. If after the drawing the

Re: [Gambas-user] Best control for a game

2008-09-06 Thread Tomas Eroles i Forner
Ok, it seems to work fine. I can draw all the board without problems, but I have yet some questions: I'm drawing the board after a menu command. If after the drawing the board I click on Maximize button, the board is erased and I have to draw it another time. How can I solve that? Other question:

Re: [Gambas-user] Best control for a game

2008-09-05 Thread Benoit Minisini
On vendredi 05 septembre 2008, Doriano Blengino wrote: > Werner ha scritto: > > Tomas Eroles i Forner wrote: > >> 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 somethin

Re: [Gambas-user] Best control for a game

2008-09-04 Thread Doriano Blengino
Werner ha scritto: > Tomas Eroles i Forner wrote: > >> 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. >>

Re: [Gambas-user] Best control for a game

2008-09-04 Thread Werner
Tomas Eroles i Forner wrote: > 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. >

Re: [Gambas-user] Best control for a game

2008-09-04 Thread Tomas Eroles i Forner
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 ca

Re: [Gambas-user] Best control for a game

2008-08-28 Thread Tomas Eroles i Forner
Thanks Benoit. I will work on it 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

Re: [Gambas-user] Best control for a game

2008-08-28 Thread Tomas Eroles i Forner
Hello anyway. Don't worry, I've found it. I will use a GridView. It seems to work: I can colour the cells, put some text and so on. Thanks anyway El dj 28 de 08 del 2008 a les 11:51 +0200, en/na Tomas Eroles i Forner va escriure: > Hi all > I'm trying to write a gambas scrabble (yes, I'm in holi

Re: [Gambas-user] Best control for a game

2008-08-28 Thread Benoit Minisini
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 th

[Gambas-user] Best control for a game

2008-08-28 Thread Tomas Eroles i Forner
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 pa