Re: [Gambas-user] Custom Control

2009-11-28 Thread Kadaitcha Man
2009/11/29 D. L. Fox : > I'd like to start with customizing a PictureBox control - basically just > add some custom properties/methods. From what I can tell, the current > control is written in C and I'm not very adept at that language. > > Any tips on the best way to go about it? You don't need

[Gambas-user] Custom Control

2009-11-28 Thread D. L. Fox
I've been messing with creating a custom control in Gambas3. I've read the documentation at: http://gambasdoc.org/help/dev/gambas I've looked at some of the source code for FileView and other components. I've even made my first one but it needs improving. Is there any other documentation someo

Re: [Gambas-user] Creatable Menu

2009-11-28 Thread Kadaitcha Man
2009/11/29 richard terry : > Perhaps not so strangely I need religions in a medical program No. Not strange. One would want to make the mistake of bringing in a Roman Catholic priest to administer the last rights to a Hindu or Moslem :) > This code gives the picture shown. Thanks for that. Appr

Re: [Gambas-user] Creatable Menu

2009-11-28 Thread richard terry
On Sunday 29 November 2009 12:31:35 Kadaitcha Man wrote: > Menus are creatable according to http://gambasdoc.org/help/comp/gb.qt/menu > > However I cannot see any methods anywhere that will allow me to add a > menu item in code. For what I need to do, pre-defining the menus using > the menu editor

[Gambas-user] Gambas2 on (my) ARM processor: It Works!

2009-11-28 Thread Leandro Santiago
I'm sorry by the mail subject, but I waited more than 20 hours by gambas2 compilation on my ARM system emulated in a ubuntu box. I tested a small gtk+ application in ArmedSlackware-current and it works fine (it has just a combobox and a simple button, but works). I couldn't test the IDE, becaus

Re: [Gambas-user] Creatable Menu

2009-11-28 Thread Kadaitcha Man
2009/11/29 Kadaitcha Man : > Menus are creatable according to http://gambasdoc.org/help/comp/gb.qt/menu > > However I cannot see any methods anywhere that will allow me to add a > menu item in code. For what I need to do, pre-defining the menus using > the menu editor then hiding or showing the ite

[Gambas-user] Creatable Menu

2009-11-28 Thread Kadaitcha Man
Menus are creatable according to http://gambasdoc.org/help/comp/gb.qt/menu However I cannot see any methods anywhere that will allow me to add a menu item in code. For what I need to do, pre-defining the menus using the menu editor then hiding or showing the items is not practical. Have I missed

Re: [Gambas-user] Popup Menu Behaviour Issue

2009-11-28 Thread Kadaitcha Man
2009/11/29 Benoît Minisini : >> Popup menus don't behave as expected. Gambas 2.18 on Ubuntu 9.10. If >> the right-button is let go then the menu immediately disappears. > Maybe it is a decision from GTK+? Try to compare with Qt first. Yes, it seems to be GTK. I recreated exactly the same project

Re: [Gambas-user] Popup Menu Behaviour Issue

2009-11-28 Thread Benoît Minisini
> Popup menus don't behave as expected. Gambas 2.18 on Ubuntu 9.10. If > the right-button is let go then the menu immediately disappears. > > If I want to select an item I have to keep my right button pressed, > which is a completely unnatural movement. The menu should stay open > until I select a

[Gambas-user] Popup Menu Behaviour Issue

2009-11-28 Thread Kadaitcha Man
Popup menus don't behave as expected. Gambas 2.18 on Ubuntu 9.10. If the right-button is let go then the menu immediately disappears. If I want to select an item I have to keep my right button pressed, which is a completely unnatural movement. The menu should stay open until I select an item or cl

Re: [Gambas-user] Null Object

2009-11-28 Thread Kadaitcha Man
2009/11/29 Benoît Minisini : Le bug est mort. Vive le bug! > Did you do exactly something like that? I completely removed the original gambas and all the older source for 2.17 then followed the standard install instructions. It is now working fine; thank you very much for your time on this. > O

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

2009-11-28 Thread Kadaitcha Man
2009/11/29 Benoît Minisini : > A big thread for just changing the Default property of a button from True to > False! Sometimes you take a little more convincing than usual :) -- Let Crystal Reports handle the reporting -

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

2009-11-28 Thread 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. Benoît Minisini wrote: > The same thing for Gambas 3 will follow in a next revision. -- Let

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

2009-11-28 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Hi benoit, >> >> Just a comment re menu-editor which when doing large menu's I find >> annoying. >> >> The default action for the return/enter key in the textboxes is to trigger >> the OK button in the menu editor, so if one hits enter and not tab to get >> to the

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

2009-11-28 Thread Benoît Minisini
> Hi benoit, > > Just a comment re menu-editor which when doing large menu's I find > annoying. > > The default action for the return/enter key in the textboxes is to trigger > the OK button in the menu editor, so if one hits enter and not tab to get > to the next box > hasty exit from the men

Re: [Gambas-user] Null Object

2009-11-28 Thread Benoît Minisini
> 2009/11/28 Kadaitcha Man : > > 2009/11/28 Charlie Reinl : > >> sent you 2 script (make them executable) > > I'm fairly certain I got it right without the scripts because gambas > came up as 2.18. Nevertheless I will uninstall gambas and try your > scripts. I got the same error in the version t

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

2009-11-28 Thread 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 Radio Button, it will always be T

Re: [Gambas-user] libtool problem

2009-11-28 Thread Laurent Carlier
Le samedi 28 novembre 2009 14:09:06, o.s.p a écrit : > hallo! > frugalware (current) here with libtool 2.2.6b > when in make install step i have this error: > . > libtool: Version mismatch error. This is libtool 2.2.6, but the > libtool: definition of this LT_INIT comes from libtool 2.2.6b. >

Re: [Gambas-user] FileChooser1

2009-11-28 Thread Charlie Reinl
Am Samstag, den 28.11.2009, 08:11 -0500 schrieb John: > Hi Benoit > Please find attached the following file Vbtogambas.tar.gz > The version of Gambas 2.13 > The version of operating system Ubuntu 9.10 > Hope this is enough information for you. > > On Sat, 2009-11-28 at 10:09 +0100, Benoî

Re: [Gambas-user] libtool problem

2009-11-28 Thread Jussi Lahtinen
Have you tried to run aclocal? Jussi On Sat, Nov 28, 2009 at 15:09, o.s.p wrote: > hallo! > frugalware (current) here with libtool 2.2.6b > when in make install step i have this error: > . > libtool: Version mismatch error.  This is libtool 2.2.6, but the > libtool: definition of this LT_IN

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

2009-11-28 Thread Jussi Lahtinen
Yes, it was clear to me. Like I said, it is more like habit. There is problem with scope, you can think "I am finished with this menu entry" and press enter. But of course you should think "I am not finished with this whole menu, just one entry" and press tab. Same thing with pidgin; "I am finnish

[Gambas-user] libtool problem

2009-11-28 Thread o.s.p
hallo! frugalware (current) here with libtool 2.2.6b when in make install step i have this error: . libtool: Version mismatch error. This is libtool 2.2.6, but the libtool: definition of this LT_INIT comes from libtool 2.2.6b. libtool: You should recreate aclocal.m4 with macros from libtool 2.

Re: [Gambas-user] FileChooser1

2009-11-28 Thread John
Hi Benoit Please find attached the following file Vbtogambas.tar.gz The version of Gambas 2.13 The version of operating system Ubuntu 9.10 Hope this is enough information for you. On Sat, 2009-11-28 at 10:09 +0100, Benoît Minisini wrote: > > Hi All > >I have on the main form a Wi

Re: [Gambas-user] Null Object

2009-11-28 Thread Kadaitcha Man
2009/11/28 Kadaitcha Man : > 2009/11/28 Charlie Reinl : > >> sent you 2 script (make them executable) I'm fairly certain I got it right without the scripts because gambas came up as 2.18. Nevertheless I will uninstall gambas and try your scripts. I got the same error in the version that said it

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

2009-11-28 Thread Fabien Bodard
pour une explivation des menu delphi http://www.jmdoudoux.fr/delphi/menu/index.htm 2009/11/28 Doriano Blengino : > Benoît Minisini ha scritto: >>> Kadaitcha Man ha scritto: >>> 2009/11/28 Jussi Lahtinen : > There are many GUIs where you must validate your input with enter. > Exam

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

2009-11-28 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Kadaitcha Man ha scritto: >> >>> 2009/11/28 Jussi Lahtinen : >>> There are many GUIs where you must validate your input with enter. Example, if you send message with pidgin. >>> Enter means, "I am finished. It's your turn to do some

Re: [Gambas-user] Null Object

2009-11-28 Thread Kadaitcha Man
2009/11/28 Charlie Reinl : > sent you 2 script (make them executable) Brilliant, thank you. I'll look at those shortly because... > but please before installing the svn version, remove the existing > gambas2 version. Too late :) I think I neglected to cd 2.0 before compiling. We'll see. ---

Re: [Gambas-user] Null Object

2009-11-28 Thread Charlie Reinl
Am Samstag, den 28.11.2009, 20:44 +1100 schrieb Kadaitcha Man: > I probably creamed my linux Salut, sent you 2 script (make them executable) copy then to the dir you will work. and call ./update20 ( edit {TARGET} first ) svnMake is copied every time you run ./update20 into {TARGET} so it takes

Re: [Gambas-user] Null Object

2009-11-28 Thread Kadaitcha Man
2009/11/28 Kadaitcha Man : > 2009/11/28 Kadaitcha Man : > >> Thanks, Benoît. I need a little more help. I can see rev #2445 on >> sourceforge but how do I get it? > > I may or may not have figured it out. > > cd /usr/src/gambas-something > svn checkout > https://gambas.svn.sourceforge.net/svnroot/

Re: [Gambas-user] Null Object

2009-11-28 Thread Kadaitcha Man
2009/11/28 Kadaitcha Man : > Thanks, Benoît. I need a little more help. I can see rev #2445 on > sourceforge but how do I get it? I may or may not have figured it out. cd /usr/src/gambas-something svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/2.0 ./reconf-all I

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

2009-11-28 Thread Kadaitcha Man
2009/11/28 Doriano Blengino : > Dear Kadaitcha Oh, not that again. Some troll stole my email address and spread it all over the planet. You have me mistaken with someone else. > keep in mind that there is a lot of people out there > which do not exactly understand what a keyboard is. You're not

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

2009-11-28 Thread Benoît Minisini
> Kadaitcha Man ha scritto: > > 2009/11/28 Jussi Lahtinen : > >> There are many GUIs where you must validate your input with enter. > >> Example, if you send message with pidgin. > > > > Enter means, "I am finished. It's your turn to do something, mister > > pooter." Tab means, "I am not finished.

Re: [Gambas-user] Null Object

2009-11-28 Thread Kadaitcha Man
2009/11/28 Benoît Minisini : > It should be fixed in revision #2445. Thanks, Benoît. I need a little more help. I can see rev #2445 on sourceforge but how do I get it? -- Let Crystal Reports handle the reporting - Free C

[Gambas-user] Support for PostgreSQL schemas

2009-11-28 Thread Benoît Minisini
> The support has landed in the revision 2438. > > It was not that simple, and at the moment there is a workaround in the IDE > because the DB.Quote() function cannot handle them. > > Allowing DB.Quote() to correctly quote table names with a schema name > inside needs a little change in the data

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

2009-11-28 Thread Doriano Blengino
Kadaitcha Man ha scritto: > 2009/11/28 Jussi Lahtinen : > > >> There are many GUIs where you must validate your input with enter. >> Example, if you send message with pidgin. >> > > Enter means, "I am finished. It's your turn to do something, mister pooter." > Tab means, "I am not finished.

Re: [Gambas-user] FileChooser1

2009-11-28 Thread Benoît Minisini
> Hi All >I have on the main form a Wizard1 control and in the first > step of that Wizard1 control I have a Filechooser1 control. > Here is the code > > ' Gambas class file > PUBLIC Spath AS String > PUBLIC SUB _new() > > END > > PUBLIC SUB Form_Open() > > END > PUBLIC SUB Wizard1_Canc

Re: [Gambas-user] Null Object

2009-11-28 Thread Benoît Minisini
> I'm having trouble with editing a TableView. I found this when looking > for a solution: > > http://old.nabble.com/tableview-edit-td25328595.html > > It's the same problem I've got. There is neither a class name nor any > line number in the error message as the guy said, however he didn't > res

Re: [Gambas-user] Modifying a picture assigned to a menu

2009-11-28 Thread Benoît Minisini
> > Because the underlying toolkit uses its own "picture" object that is not > > automatically reassigned to the control automatically. In other words, > > assume that the Picture property returns a copy of the underlying > > picture. > > I hope this doesn't create extra unneeded picture objects i

Re: [Gambas-user] Modifying a picture assigned to a menu

2009-11-28 Thread Kadaitcha Man
2009/11/28 David Dell : >> the underlying toolkit > I hope this doesn't create extra unneeded picture objects in memory, > for any number of times without memory penalties. > > Please confirm this. He said "the underlying toolkit". that means it is out of Benoit's control.

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

2009-11-28 Thread Fabien Bodard
i need to look about that 2009/11/28 David Dell : > OK, but how can I get the standard radio check icon for menus on the > Linux operating system the program is running (for example in Ubuntu > the one used in View menu of the Calculator program, etc.)? Is there a > way to get if from the system u

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

2009-11-28 Thread David Dell
OK, but how can I get the standard radio check icon for menus on the Linux operating system the program is running (for example in Ubuntu the one used in View menu of the Calculator program, etc.)? Is there a way to get if from the system using Gambas instead of including it in my program? Thank y

Re: [Gambas-user] Modifying a picture assigned to a menu

2009-11-28 Thread David Dell
> Because the underlying toolkit uses its own "picture" object that is not > automatically reassigned to the control automatically. In other words, assume > that the Picture property returns a copy of the underlying picture. I hope this doesn't create extra unneeded picture objects in memory, so I