Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread Fiddler63
kobolds wrote: gambas3 qt4 I notice that gb ide auto change the width when it's not suppose too. I have 3 button each with width 90, 100,100 I want all 3 button width become 90 . I select them and choose align same width . I notice all 3 button width now become 91 when it suppose

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread nospam.nospam.nos...@gmail.com
2010/1/16 Fiddler63 mx4...@gmail.com: kobolds wrote: gambas3 qt4 I notice that gb ide auto change the width when it's not suppose too. I have 3 button each with width 90, 100,100  I want all 3 button width become 90 . I select them and choose align same width . I notice all 3 button

[Gambas-user] Error - Signal 11 - Gambas 2.19

2010-01-16 Thread Fiddler63
A button with the following code will cause a Signal 11 error in Gambas 2.19. If I remove the ([50, 50]) I get no error. PUBLIC SUB New_Btn_Click() DIM hPic AS Picture hPic = NEW Picture([50, 50]) END Cheers Kim -- View this message in context:

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread Fiddler63
Kadaitcha Man wrote: 2010/1/16 Fiddler63 mx4...@gmail.com: kobolds wrote: gambas3 qt4 I notice that gb ide auto change the width when it's not suppose too. I have 3 button each with width 90, 100,100  I want all 3 button width become 90 . I select them and choose align same width

Re: [Gambas-user] Collections

2010-01-16 Thread nospam.nospam.nos...@gmail.com
2010/1/16 Pino Zollo pinozo...@gmail.com: The two print statements print exactly the same thing...the Lista.key is correct and all different, but the other ( ; Element[1];;   ;; Element[0] ) print always the last element added to the structure. First you need to sort out if you have a

Re: [Gambas-user] Collections

2010-01-16 Thread Charlie Reinl
Am Samstag, den 16.01.2010, 07:23 -0300 schrieb Pino Zollo: Il venerdì 15 gennaio 2010 17:39:14 hai scritto: Am Freitag, den 15.01.2010, 16:04 -0300 schrieb Pino Zollo: DIM Dict AS NEW Collection DIM Element AS String Dict[Blue] = 3 Dict[Red] = 1 Dict[Green] = 2 FOR EACH

Re: [Gambas-user] Collections

2010-01-16 Thread Werner
On 16/01/10 18:23, Pino Zollo wrote: Il venerdì 15 gennaio 2010 17:39:14 hai scritto: Am Freitag, den 15.01.2010, 16:04 -0300 schrieb Pino Zollo: DIM Dict AS NEW Collection DIM Element AS String Dict[Blue] = 3 Dict[Red] = 1 Dict[Green] = 2 FOR EACH Element IN Dict PRINT

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread kobolds
I using gb3 and qt4 and I still having these problem Kadaitcha Man wrote: 2010/1/16 Fiddler63 mx4...@gmail.com: kobolds wrote: gambas3 qt4 I notice that gb ide auto change the width when it's not suppose too. I have 3 button each with width 90, 100,100  I want all 3 button width

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread nospam.nospam.nos...@gmail.com
2010/1/17 kobolds kobo...@singnet.com.sg: I using gb3 and qt4 and I still having these problem Yes, but did you select qt4 in Project Properties Components? -- Throughout its 18-year history, RSA Conference

Re: [Gambas-user] Collections

2010-01-16 Thread Pino Zollo
Il sabato 16 gennaio 2010 08:25:56 hai scritto: Salut Pino, my problem with your problem is: That is just a piece of code, I can only run and debug, if I invent ALL the rest. And so,every test will say nothing(if it is not a typo in that piece code). So please sent always a full run able

Re: [Gambas-user] Gambas-user Digest, Vol 44, Issue 34

2010-01-16 Thread Pino Zollo
Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net ha scritto:   I look at the code above and wonder abount the first 2 lines. Say i is 3 and count is 6. When it loops you get the following:     i        count     3        6     4        5 end of loop because

Re: [Gambas-user] Collections

2010-01-16 Thread Pino Zollo
Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net ha scritto:               Disp.DisRes.Text = Disp.DisRes.Text ~             INC i          LOOP          ' CBCommand.Clear          ' CBComm2.Clear          FOR EACH Element IN Lista              

Re: [Gambas-user] Collections

2010-01-16 Thread Werner
On 17/01/10 00:27, Pino Zollo wrote: Il sabato 16 gennaio 2010 12:21:09 gambas-user-requ...@lists.sourceforge.net ha scritto: Disp.DisRes.Text = Disp.DisRes.Text ~ INC i LOOP ' CBCommand.Clear ' CBComm2.Clear FOR

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread kobolds
yes . it's selected by default Kadaitcha Man wrote: 2010/1/17 kobolds kobo...@singnet.com.sg: I using gb3 and qt4 and I still having these problem Yes, but did you select qt4 in Project Properties Components?

[Gambas-user] How to set fonts to fixed size?

2010-01-16 Thread M. Cs.
I need fixed size for the GUI and all the texts. Is it possible to have exactly the same sizes for all the screen resolutions? I don't want to have dynamically scaled texts. Is it possible to set them as fixed all at once?

Re: [Gambas-user] update to report-ng

2010-01-16 Thread Charlie Reinl
Am Freitag, den 15.01.2010, 10:36 + schrieb Joshua Higgins: Hi list, I have updated the report-ng script so that it should work with any distro that is supplying an /etc/lsb-release file. Before it only expected Ubuntu to provide this file. Regards, Salut Joshua, send you the output

Re: [Gambas-user] update to report-ng

2010-01-16 Thread Charlie Reinl
Am Freitag, den 15.01.2010, 10:36 + schrieb Joshua Higgins: Hi list, I have updated the report-ng script so that it should work with any distro that is supplying an /etc/lsb-release file. Before it only expected Ubuntu to provide this file. Regards, Salut Joshua, send you the output

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread kobolds
OK , I think I finally found the bugs . you can try your self and will see the bug. 1. add a button to a form 2. change the button width and height to 60 . or any even number 3. click to select the button to copy and paste . see the new pasted button width and height now become 59 . his bug

Re: [Gambas-user] update to report-ng

2010-01-16 Thread Joshua Higgins
Ah, yes, please try this version. -- joshua higgins -- report-ng Description: Binary data -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field,

Re: [Gambas-user] update to report-ng

2010-01-16 Thread Charlie Reinl
Am Samstag, den 16.01.2010, 21:41 + schrieb Joshua Higgins: Ah, yes, please try this version. Salut Joshua, YES, for my Ubuntu 8.04.3 LTS and Mandriva 2010.0 it works fine. Thanks Charlie -- Throughout its

Re: [Gambas-user] Collections

2010-01-16 Thread Fabien Bodard
just don't forget when you add multiple array, think to add new array as only the memory address is added to the collection , not the array content. In other case all the array in the collection link to the same one dim mycol as NEW collection dim i as integer dim aText as string[] For i = 0 to

Re: [Gambas-user] Collection of String[2]

2010-01-16 Thread Fabien Bodard
2010/1/15 Pino Zollo pinozo...@gmail.com: Please, where am I wrong ? For Element[1] and Element[0]  I get always the same values STATIC PUBLIC Lista AS NEW Collection ... ... PUBLIC FUNCTION xyz ...  DIM Element AS String[2]  DIM Parti AS String[] ...  DO WHILE... Parti =

Re: [Gambas-user] How to set fonts to fixed size?

2010-01-16 Thread Fabien Bodard
Form.scaled = false 2010/1/16 M. Cs. mohar...@gmail.com: I need fixed size for the GUI and all the texts. Is it possible to have exactly the same sizes for all the screen resolutions? I don't want to have dynamically scaled texts. Is it possible to set them as fixed all at once?

Re: [Gambas-user] problem with aligment same width (gambas3)

2010-01-16 Thread nospam.nospam.nos...@gmail.com
2010/1/17 kobolds kobo...@singnet.com.sg: OK , I think I finally found the bugs . you can try your self and will see the bug. 1. add a button to a form 2. change the button width and height to 60 . or any even number 3. click to select the button to copy and paste . see the new pasted

Re: [Gambas-user] Collection of String[2]

2010-01-16 Thread Pino Zollo
Thanks a lot Fabien, it works now ! A la prochain Pino Please, where am I wrong ? For Element[1] and Element[0]  I get always the same values STATIC PUBLIC Lista AS NEW Collection ... ... PUBLIC FUNCTION xyz ...  DIM Element AS String[2]  DIM Parti AS String[] ...  DO WHILE...

[Gambas-user] Custom controls

2010-01-16 Thread Aaron Peachey
Hi all, I'm just learning Gambas and trying to do something simple (I thought) by making custom versions of controls. For example, I want to inherit the Label and TextBox controls to add some new properties and methods. As a basic example, in my program the labels for mandatory fields are a

[Gambas-user] PictureBox.Picture.Image[x, y] output interpretation

2010-01-16 Thread kevinfishburne
When retrieving the value of a pixel at x,y from the picture in a picturebox control it outputs a single value. How does this value represent the pixel's value, and can it be easily converted to an RGB value? This is something that's going to need to be done 4,294,967,296 times, so is there a