[Gambas-user] Centering a dialog on a parent

2009-03-09 Thread richard terry
Is this possible to change:. If the main form is 'off centre' of the screen, the dialog itself pops up in the centre of the screen, instead of the centre of the parent. regards richard -- ___

[Gambas-user] Menu and toobutton question

2009-03-09 Thread richard terry
I think I've missed this, but can if one uses the same group name in a menu and for the toolbuttons, and the same tag in both, can you just use the group_click event to execute the same code? Regards Richard -- ___

Re: [Gambas-user] GTK problems

2009-03-09 Thread Steven Drinnan
I use 2.11 from the fedora repos. On Mon, 2009-03-09 at 16:13 +0100, Benoît Minisini wrote: > > Hi all, > > > > I am developing a student management system. Up till now I have been > > using QT. But in reading the licensing decided I need to switch to GTK > > components. But I have found the fol

Re: [Gambas-user] Missing gambas2-gb-settings in OpenSuse

2009-03-09 Thread Jesus Guardon
I am not a SuSe user, but Ubuntu one. When I create an OpenSuSE RPM package which uses this class, gambas2-gb-settings appears as a required dependency/component. I don't know if for some reason it was included into gambas2-runtime, but trying to install this RPM (in a VM OpenSuSe 11.1) fires a

Re: [Gambas-user] Missing gambas2-gb-settings in OpenSuse

2009-03-09 Thread Lars Vogdt
Hi Jesus Guardon schrieb: > All dependencies are found, except gambas2-gb-settings. I've browsed > repositories manually and also had no luck. > > Even if I install the whole Gambas IDE into OpenSuSe, debugging the > application or making an executable runs fine, but creating a RPM > package a

Re: [Gambas-user] How to pause the execution

2009-03-09 Thread Dimitris Anogiatis
Off the top of my head (although I could be totally wrong) I would say you could show the temporary form as a modal form. It's the same as showing a dialog box and waiting for the ok or cancel buttons to be pressed. Dimitris On Mon, Mar 9, 2009 at 3:12 PM, M. Cs. wrote: > O.K. There's another p

[Gambas-user] How to pause the execution

2009-03-09 Thread M. Cs.
O.K. There's another problem: I have a FMain form, with all the program codes. I would like to insert a temporary form into _new() subrutine, which is not a child form of FMain. I can create the form, with a combo box and a button, and I want to pause the execution of the program in FMain until

[Gambas-user] Gambas and FluxBox

2009-03-09 Thread Wellington de Souza Pinto
Hi every one! I'm using gambas3 svn version with linux kubuntu and fluxbox window manager. The captions bar of forms without captions bar (border = none), not work. Continue with captions bar. The ballons class show with caption bar in fluxbox. Any idea about this problem? Reguards, Wellington

Re: [Gambas-user] Pointer[] error in Ubuntu 8.04

2009-03-09 Thread Jesus Guardon
Sorry if I was unclear. I have released an Ubuntu package of my own application in my development machine running Ubuntu 8.10 and Gambas 2.9. No problems at all, so far on this configuration. Later, I've installed such .deb package into a *clean* Ubuntu 8.04, which complains about pointer[] cl

Re: [Gambas-user] How to write a multilingual application

2009-03-09 Thread Benoît Minisini
> Thank you! > I have one more question: Is it possible to list all available languages > (translations) through a Gambas command? How? > I would plainly do the translations, create the package, but after that at > first run ask the user to choose between available languages...How could I > get the

Re: [Gambas-user] How to write a multilingual application

2009-03-09 Thread M. Cs.
Thank you! I have one more question: Is it possible to list all available languages (translations) through a Gambas command? How? I would plainly do the translations, create the package, but after that at first run ask the user to choose between available languages...How could I get the list to off

Re: [Gambas-user] How to write a multilingual application

2009-03-09 Thread Benoît Minisini
> Once more, if I understood you correctly: > 1.) If I make translations into different languages, during the compilation > time it will pack them all into .RPM or .DEB or source package, and when > installed, it will use the system language if available, or the English. Is > it correct? > > 2). I

Re: [Gambas-user] How to write a multilingual application

2009-03-09 Thread M. Cs.
Once more, if I understood you correctly: 1.) If I make translations into different languages, during the compilation time it will pack them all into .RPM or .DEB or source package, and when installed, it will use the system language if available, or the English. Is it correct? 2). I can use a com

Re: [Gambas-user] Global Error Handing

2009-03-09 Thread Benoît Minisini
> Question: > > Does gambas have any mechanism for global error handling -e.g error rigging > an entire project including all subroutines with a master error handler, > which would catch all un-handled fatal errors, and do something like pop up > a dialog box with options for user to type in what t

Re: [Gambas-user] Pointer[] error in Ubuntu 8.04

2009-03-09 Thread Benoît Minisini
> Hi all > > Since I'm testing my application in several distributions, I've noticed > a bug? with pointer class in Ubuntu 8.04 only. > > This is related to embedder, so it's better to show my code based on the > example provided by Gambas. Note that the example doesn't work, too. > > PUBLIC SUB Fo

Re: [Gambas-user] GTK problems

2009-03-09 Thread Benoît Minisini
> Hi all, > > I am developing a student management system. Up till now I have been > using QT. But in reading the licensing decided I need to switch to GTK > components. But I have found the following problems. > > 1. Scaling and item placing will change when the form is scaled and when > it is no

Re: [Gambas-user] GTK problems (License)

2009-03-09 Thread Rob
On Monday 09 March 2009 05:53, wig wrote: > GPL and LGPL ... no reason any more to "avoid" QT as far as I know. Well, once Gambas starts using Qt 4.5. I haven't avoided Qt since the GPL dual-licensing kicked in years ago, but I can understand why someone who wants to make proprietary software wi

Re: [Gambas-user] How to write a multilingual application

2009-03-09 Thread wig
The language is selected on project start; it depends on the language of the system you work on (shell: echo $LANG) If you programmed your project in English, and made translations for French and German then a French system runs the French version, a German system runs the German version If the l

Re: [Gambas-user] GTK problems (License)

2009-03-09 Thread wig
Older versions: "QPL" "It captures the general meaning of the GNU General Public Licence (GPL), but is incompatible with it" (Wikipedia) Later: "Trolltech toolkit version 4.0 was released under GPL version 2." (Wikipedia) "Version 4.5.0 will be the first release of Qt licensed under the LGPL,