Re: [Gambas-user] GTK problems

2009-03-11 Thread Steven Drinnan
Please find sample project. Revised symptoms, In workspases no menu present at all even though one has been set in IDE on that form. Controls do not inherit the parents font and colour settings. (not all controls) Tab strip for one Also I can not change the background AND foreground colours bu

Re: [Gambas-user] HTML in Text Label

2009-03-11 Thread richard terry
On Wed, 11 Mar 2009 02:57:39 am Jason Hackney wrote: > I'm trying to insert some basic HTML into a text label and from the docs, > "" should work, but it displays the text align=center>. Meanwhile , , etc. seems to work well. Also, > TextLabel1.alignment = 3 has the result I want. Am I missing so

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

2009-03-11 Thread M. Cs.
Unfortunatelly, this doesn't work either: I've translated my program into Hungarian and Serbian, and did install locales and KDE support for Serbian, but the Serbian translation just doesn't load. Csaba -- Apps built with t

Re: [Gambas-user] GTK problems

2009-03-11 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] How to write a multilingual application

2009-03-11 Thread Benoît Minisini
> I also cannot use the translations into language which locales aren't > installed on the system. Is that O.K? > Csaba Yes. The translation system is based on the standard defined by the GNU translation tools, and so you need to install the locale first before being able to use the translation.

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

2009-03-11 Thread M. Cs.
I also cannot use the translations into language which locales aren't installed on the system. Is that O.K? Csaba -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cr

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

2009-03-11 Thread M. Cs.
For instant language switching I found a better solution: System.Language=... FMain.Delete() FMain.Raise() This works fine. Still, even if I've updated it to version 2.11, which is the most recent version for Mandriva, I can't use this in the .rpm package. The installed version doesn't know what

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

2009-03-11 Thread wig
To "M. Cs": Before .lang... In older versions I read the languages by reading the .po files in de .lang directory: PUBLIC SUB ChooseLanguage() Dialog.Title = ("Choose a language file") Dialog.Path = Application.Path &/ ".lang" DEBUG Dialog.Path Dialog.Filter = ["*.po", "Language files",

Re: [Gambas-user] Global Error Handing

2009-03-11 Thread Benoît Minisini
> Benoit, I was thinking about the same thing. > What is there was a method: _error (the brother to _new) > If present in a class, a class error falls into it as a default handler > Any error here most-liekly will implement Try/Catch by the programmer but > _error will not catch itself: an internal

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

2009-03-11 Thread Benoît Minisini
> Dear Benoit, > unfortunatelly that doesn't work with the created package! During the > development and test-run I could retrieve the list of translations with > Dir(".lang"), but not with the installed program. I need another method to > enable forced language switching with the installed package

Re: [Gambas-user] Menu and toobutton question

2009-03-11 Thread Benoît Minisini
> 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 > Yes. Controls having the same "group name" (i.e. "event name") can have d