[Gambas-user] form.resize works only once with gb.gtk

2010-08-07 Thread HARADA Kazutaka
Hi All, To restrict minimum size of form, I wrote following code. PUBLIC SUB Form_Resize() IF FMain.Height < 300 THEN FMain.Height = 300 ENDIF END But this works only once with gb.gtk. It seems 2nd and later resize method ignored.) It works fine with gb.qt. I'm running gambas-2.21.

Re: [Gambas-user] Return an array in a function

2010-08-07 Thread Matías Manuel Grandi
Sorry, hi goes again!!! - Hi Guys! I have a problem when calling a function, which receive an xmlreader and returns an array. The function is geturl and the error gambas give me is "Type Mismatch: Wanted an Array, got an Array instead

Re: [Gambas-user] Return an array in a function

2010-08-07 Thread M. Cs.
It's not readable! Can you resend it without weblinks? -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___

Re: [Gambas-user] Dinamic menus and clicks

2010-08-07 Thread M. Cs.
Thanks Fabian! With your modified example I could reach my goal! -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _

[Gambas-user] Return an array in a function

2010-08-07 Thread Matías Manuel Grandi
Hi Guys! I have a problem when calling a function, which receive an xmlreader and returns an array. The function is geturl and the error gambas give me is "Type Mismatch: Wanted an Array, got an Array instead" The code is (a bit simplified): PUBLIC SUB

Re: [Gambas-user] Dinamic menu structures

2010-08-07 Thread Fabien Bodard
all is in the exemple ... try to click on one item ! Last is the key ! 2010/8/6 M. Cs. : > Another question: how to read the text of the selected menu item, which were > dinamically created? > -- > This SF.net email is sp

Re: [Gambas-user] Parsing a xml file from internet

2010-08-07 Thread Matías Manuel Grandi
2010/8/7 Caveat > Caveat Thanks Caveat, works great! -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev

Re: [Gambas-user] Dinamic menus and clicks

2010-08-07 Thread Fabien Bodard
this is the full tuto :) 2010/8/6 M. Cs. : > The next question is, how can I retrieve the text of a menu item, which was > created dinamicaly with > > PUBLIC FUNCTION FillMenu(MenuParent AS Menu, root AS String) > DIM s AS String > DIM hMenu AS Menu > > IF MenuParent.Children.Count > 0 THEN Menu