Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Kadaitcha Man
2009/11/30 Fabien Bodard : > it is complicated because off the actiongroup of qt My view is that it's an unnecessary feature; a nice to have razzle-dazzle. If it's going to complicate the GTK toolkit I'd be inclined to give it a miss. but then, that's just my opinion. ---

Re: [Gambas-user] Custom Control

2009-11-29 Thread Benoît Minisini
> I apologize if I gave you the wrong impression. I didn't intend for you > to change anything. I was just wondering if it could already be done and > I was missing it. > > I really like Gambas and have been enjoying the learning experience. > Thanks for creating it. > No, you really shown me th

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Fabien Bodard
it is complicated because off the actiongroup of qt how to define the children group in a simple sequence of menu entry... and it use a special actiongroup (exclude) http://doc.trolltech.com/4.5/qaction.html#checkable-prop then is there something like that in gtk ?... as we need to maintain the

Re: [Gambas-user] Get the index of a menu

2009-11-29 Thread Fabien Bodard
better is to use the last key PUBLIC SUB Menuname_Click() and do everything with the menu item with the properties Last.xxx = ... 2009/11/29 Matti : > What is the need for the index? > A menu has a name. > You can react to the click event with > PUBLIC SUB Menuname_Click() > and do everything

Re: [Gambas-user] Custom Control

2009-11-29 Thread D. L. Fox
I apologize if I gave you the wrong impression. I didn't intend for you to change anything. I was just wondering if it could already be done and I was missing it. I really like Gambas and have been enjoying the learning experience. Thanks for creating it. Benoît Minisini wrote: > You get a poi

Re: [Gambas-user] Custom Control

2009-11-29 Thread Benoît Minisini
> Benoît Minisini wrote: > > In Gambas 3, the /control directory must be put inside the "Project" > > section. > > Okay, that worked. I was using the control directory automatically > created when I first created the project. Thanks. > > > Please provide the details of what you have done, and may

Re: [Gambas-user] error in documentation

2009-11-29 Thread Benoît Minisini
> I think there is an error in > http://gambasdoc.org/help/doc/locale > > About the charset it says: > "All characters that follows the xx_YY string are ignored by Gambas." > > I had a big problem when I tried to run my prog in English, because with > "en_GB" or "en_US" a wrong charset was loade

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Kadaitcha Man
2009/11/29 nando : > Radio Buttons only make sense when you use more than ONE. > Placing them on a PANEL container makes them a 'family' and > are grouped together so that only one can be selected TRUE. > If you don't want to see the panel border, you can have no border. > If you use only ONE Radi

Re: [Gambas-user] Custom Control

2009-11-29 Thread D. L. Fox
Benoît Minisini wrote: > In Gambas 3, the /control directory must be put inside the "Project" section. Okay, that worked. I was using the control directory automatically created when I first created the project. Thanks. > Please provide the details of what you have done, and maybe I will tell yo

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread nando
A radio button is one thing. A Checkbox is another thing. Below, somebody wrote..."OK, but how can I get the standard 'radio check' icon" Someone is confused using Radio from radio button and Check from Checkbox. There is no check for radio... If you place two radio buttons on one panel, they are E

Re: [Gambas-user] How can I create radio (mutually exclusive) menu?

2009-11-29 Thread Matti
David, why do you want to go the complicated way by all means? I simply use the "checked" property of the menu items (like Fabien told you), and then: PUBLIC SUB mnuSortA_Click() IF mnuSortA.Checked = FALSE THEN mnuSortT.Checked = FALSE mnuSortA.Checked = TRUE . It's easy, work

Re: [Gambas-user] Get the index of a menu

2009-11-29 Thread Matti
What is the need for the index? A menu has a name. You can react to the click event with PUBLIC SUB Menuname_Click() and do everything with the menu item with the properties Menuname.xxx = ... enable/disable, check, and so on. Matti David Dell schrieb: > How can I get the index of a menu in the

Re: [Gambas-user] Custom Control

2009-11-29 Thread Benoît Minisini
> Kadaitcha Man wrote: > > You don't need to know C. Simply inherit the control in > > Gambas code then wrap your methods and properties around it. > > DOH! I should have thought of that. Thanks! > > Either I've found a bug, or I'm not doing something right. The doc says: > > "To provide the

Re: [Gambas-user] Custom Control

2009-11-29 Thread D. L. Fox
Kadaitcha Man wrote: > You don't need to know C. Simply inherit the control in > Gambas code then wrap your methods and properties around it. DOH! I should have thought of that. Thanks! Either I've found a bug, or I'm not doing something right. The doc says: "To provide the icons of your comp

[Gambas-user] error in documentation

2009-11-29 Thread Matti
I think there is an error in http://gambasdoc.org/help/doc/locale About the charset it says: "All characters that follows the xx_YY string are ignored by Gambas." I had a big problem when I tried to run my prog in English, because with "en_GB" or "en_US" a wrong charset was loaded. One runtime er

[Gambas-user] Gambas wiki license

2009-11-29 Thread Benoît Minisini
Hi world, So that Gambas can be registered in the gnu.org free software repository, the license of the documentation must be clearly defined. So I decided to put the entire wiki under the Creative Commons Attribution- ShareAlike (CC-BY-SA) 3.0 license : http://creativecommons.org/licenses/by-sa

Re: [Gambas-user] Menu editor - not a bug but annoying

2009-11-29 Thread Fabien Bodard
2009/11/28 D. L. Fox : > ...and while you're on the subject of Gambas3 revisions: How often is it > revised? I haven't updated since I first installed it. near to 3 times or more in a week :) -- Let Crystal Reports handle