Re: [Gambas-user] Trouble removing menu item during run time

2012-11-30 Thread Fabien Bodard
Not addonname.index but addonname[index] Le 1 déc. 2012 07:28, "Fabien Bodard" a écrit : > Simply tous need to store the menu instance in an array or a collection. > > Collection is usefully as you can retrieve menu from a name > So in your form header > Private $colMenu as new collection > > In

Re: [Gambas-user] Trouble removing menu item during run time

2012-11-30 Thread Fabien Bodard
Simply tous need to store the menu instance in an array or a collection. Collection is usefully as you can retrieve menu from a name So in your form header Private $colMenu as new collection In the menu creation: ... $colMenu[AddonName.index]=hmenu ... For delete $colMenu[AddonName.index] .delet

Re: [Gambas-user] Trouble removing menu item during run time

2012-11-30 Thread Willy Raets
On Sat, 2012-12-01 at 11:00 +1030, Bruce wrote: > On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote: > > I have this piece of code (in a rather big project) that build op a menu > > during run time in case AddOns get installed. Each installed AddOn gets > > it own Menu Item upon installation for

Re: [Gambas-user] Trouble removing menu item during run time

2012-11-30 Thread Bruce
On Sat, 2012-12-01 at 01:13 +0100, Willy Raets wrote: > I have this piece of code (in a rather big project) that build op a menu > during run time in case AddOns get installed. Each installed AddOn gets > it own Menu Item upon installation for launching the AddOn. THis all > works like clockwork. >

Re: [Gambas-user] Group property of controls in IDE

2012-11-30 Thread Willy Raets
On Fri, 2012-11-30 at 16:51 +0100, Tobias Boege wrote: > On Fri, 30 Nov 2012, Willy Raets wrote: > > Hi, > > > > Is there any documentation on how to use the group property for controls > > in IDE? > > > > How do I use this feature? > > Is it possible to make things happen to all controls part to

[Gambas-user] Trouble removing menu item during run time

2012-11-30 Thread Willy Raets
I have this piece of code (in a rather big project) that build op a menu during run time in case AddOns get installed. Each installed AddOn gets it own Menu Item upon installation for launching the AddOn. THis all works like clockwork. This is the code that creates the menu items for each Add On i

Re: [Gambas-user] gb.data is usable

2012-11-30 Thread Tobias Boege
On Fri, 30 Nov 2012, Beno?t Minisini wrote: > Le 30/11/2012 22:44, Beno?t Minisini a ?crit : > > Le 30/11/2012 22:20, Tobias Boege a ?crit : > >> On Fri, 30 Nov 2012, Beno?t Minisini wrote: > >>> Le 30/11/2012 22:07, Tobias Boege a ?crit : > Hrrm... Can somebody voodoo the wiki to take the new

Re: [Gambas-user] Wiki documentation batch

2012-11-30 Thread Tobias Boege
> > > That way, at least components written in Gambas could be first > > > documented inside the source code. > > > > > > For the components written in C/C++, we need a tool that extracts the > > > help comments from the source code and put them in the *.info file the > > > same way the Gambas comp

Re: [Gambas-user] gb.data is usable

2012-11-30 Thread Benoît Minisini
Le 30/11/2012 22:44, Benoît Minisini a écrit : > Le 30/11/2012 22:20, Tobias Boege a écrit : >> On Fri, 30 Nov 2012, Beno?t Minisini wrote: >>> Le 30/11/2012 22:07, Tobias Boege a ?crit : Hrrm... Can somebody voodoo the wiki to take the new symbols of the List class into account? Sev

Re: [Gambas-user] gb.data is usable

2012-11-30 Thread Benoît Minisini
Le 30/11/2012 22:20, Tobias Boege a écrit : > On Fri, 30 Nov 2012, Beno?t Minisini wrote: >> Le 30/11/2012 22:07, Tobias Boege a ?crit : >>> Hrrm... Can somebody voodoo the wiki to take the new symbols of the List >>> class into account? Several ones are missing. >>> >>> Thanks, >>> Tobi >>> >> >>

Re: [Gambas-user] Point sort methods

2012-11-30 Thread Benoît Minisini
Le 30/11/2012 22:30, Jussi Lahtinen a écrit : > Hmph... of course it is same as sort method of object array. Sorry about > confusion. > But maybe point should have this compare option... > > Jussi > You can inherit Point and implement your own '_compare' method. -- Benoît Minisini -

Re: [Gambas-user] Point sort methods

2012-11-30 Thread Jussi Lahtinen
Hmph... of course it is same as sort method of object array. Sorry about confusion. But maybe point should have this compare option... Jussi On Fri, Nov 30, 2012 at 11:21 PM, Jussi Lahtinen wrote: > Hi! > I'm replacing my own point implementation with Gambas native > implementation (which is a

[Gambas-user] Point sort methods

2012-11-30 Thread Jussi Lahtinen
Hi! I'm replacing my own point implementation with Gambas native implementation (which is almost same). And I cannot find documentation about point sort methods... My own implementation included sort by euclidean distance to given reference point, does native point class have this? And if it does,

Re: [Gambas-user] gb.data is usable

2012-11-30 Thread Tobias Boege
On Fri, 30 Nov 2012, Beno?t Minisini wrote: > Le 30/11/2012 22:07, Tobias Boege a ?crit : > > Hrrm... Can somebody voodoo the wiki to take the new symbols of the List > > class into account? Several ones are missing. > > > > Thanks, > > Tobi > > > > I can't copy the new symbols information files o

Re: [Gambas-user] gb.data is usable

2012-11-30 Thread Benoît Minisini
Le 30/11/2012 21:47, Tobias Boege a écrit : > ...binary search trees were anticipated very much? I don't know, but it will be useful for sure. We can live without List as soon as we have arrays, but binary trees (and red-black trees) are irreplaceable! Regards, -- Benoît Minisini ---

Re: [Gambas-user] gb.data is usable

2012-11-30 Thread Benoît Minisini
Le 30/11/2012 22:07, Tobias Boege a écrit : > Hrrm... Can somebody voodoo the wiki to take the new symbols of the List > class into account? Several ones are missing. > > Thanks, > Tobi > I can't copy the new symbols information files on the wiki before you do the commit. Seems logical. :-) --

Re: [Gambas-user] gb.data is usable

2012-11-30 Thread Tobias Boege
Hrrm... Can somebody voodoo the wiki to take the new symbols of the List class into account? Several ones are missing. Thanks, Tobi -- Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune

[Gambas-user] gb.data is usable

2012-11-30 Thread Tobias Boege
Hi folks, I only wanted to announce that I just finished the List class and thus, the gb.data component as far as it is, is completely usable. Use it! I attached my personal test project (adt_test) which mainly does obscure things with the objects to check for memory leaks and errors. Valgrind do

Re: [Gambas-user] Stretchable GridView

2012-11-30 Thread Benoît Minisini
Le 30/11/2012 20:14, M. Cs. a écrit : > I have a GridView with constant number of rows.The rows are painted with > different colors than the GUI's background. How it is possible to set the > grid view to loose the white area on the bottom of the gridView? The Form > is resizeable and I would like t

[Gambas-user] Stretchable GridView

2012-11-30 Thread M. Cs.
I have a GridView with constant number of rows.The rows are painted with different colors than the GUI's background. How it is possible to set the grid view to loose the white area on the bottom of the gridView? The Form is resizeable and I would like to have gridView's area filled with the 9 rows

Re: [Gambas-user] How to invoke warnings in Gambas3 IDE?

2012-11-30 Thread Jussi Lahtinen
Activate warnings from Project properties -> Options -> Activate warnings. Then click on Compile All. See attached screenshot. Jussi On Fri, Nov 30, 2012 at 7:24 PM, M. Cs. wrote: > Hello! > I would like to cleanup the project from the unused variables. I see > Warnings in IDE sometimes, bu

Re: [Gambas-user] Gambas-user Digest, Vol 78, Issue 77

2012-11-30 Thread Federico Allegretti
> Message: 5 > Date: Thu, 29 Nov 2012 13:15:03 +0100 > From: Beno?t Minisini > Subject: Re: [Gambas-user] multiple mp3 play with gambas > To: mailing list for gambas users > Message-ID: <50b751c7.7080...@users.sourceforge.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Le 2

[Gambas-user] How to invoke warnings in Gambas3 IDE?

2012-11-30 Thread M. Cs.
Hello! I would like to cleanup the project from the unused variables. I see Warnings in IDE sometimes, but I didn't find the way how to invoke this function. Csaba -- Keep yourself connected to Go Parallel: TUNE You got i

Re: [Gambas-user] Group property of controls in IDE

2012-11-30 Thread Tobias Boege
On Fri, 30 Nov 2012, Willy Raets wrote: > Hi, > > Is there any documentation on how to use the group property for controls > in IDE? > > How do I use this feature? > Is it possible to make things happen to all controls part to the same > group at once? That is what I hope it does, but I can't fin

[Gambas-user] Group property of controls in IDE

2012-11-30 Thread Willy Raets
Hi, Is there any documentation on how to use the group property for controls in IDE? How do I use this feature? Is it possible to make things happen to all controls part to the same group at once? That is what I hope it does, but I can't find anything in the documentation. Willy --

Re: [Gambas-user] Problem clearing picture in a PictureBox

2012-11-30 Thread Willy Raets
On Fri, 2012-11-30 at 16:06 +0100, Benoît Minisini wrote: > Le 30/11/2012 16:04, Willy Raets a écrit : > > Hi, > > > > I've this form with a Panel and in there some TextBoxes, PictureBoxes > > and some Buttons. > > Button opens a Dialog to browse for PNG files and when selected show use > > the Dia

Re: [Gambas-user] Problem clearing picture in a PictureBox

2012-11-30 Thread Benoît Minisini
Le 30/11/2012 16:04, Willy Raets a écrit : > Hi, > > I've this form with a Panel and in there some TextBoxes, PictureBoxes > and some Buttons. > Button opens a Dialog to browse for PNG files and when selected show use > the Dialog.Path to load the PNG into PictureBox (using PicBox.Picture = > Pictu

[Gambas-user] Problem clearing picture in a PictureBox

2012-11-30 Thread Willy Raets
Hi, I've this form with a Panel and in there some TextBoxes, PictureBoxes and some Buttons. Button opens a Dialog to browse for PNG files and when selected show use the Dialog.Path to load the PNG into PictureBox (using PicBox.Picture = Picture.Load(Dialog.Path)) At a certain moment I want to cle

Re: [Gambas-user] Dialog.OpenFile raises signal #6

2012-11-30 Thread bill-lancaster
Benoît, I'm not happy with my new compilation of Gb3, the debug process doesn't run properly. I'll install Gambas again Bill -- View this message in context: http://gambas.8142.n7.nabble.com/Dialog-OpenFile-raises-signal-6-tp40108p40165.html Sent from the gambas-user mailing list archive at Nab