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 _

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

[Gambas-user] Dinamic menus and clicks

2010-08-06 Thread 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 MenuParent.Children[0].Delete FOR EACH s IN Dir(root, "*", gb.d