Re: [Gambas-user] baloon size

2009-02-26 Thread M0E Lnx
when can I expect to see this fixed? On Thu, Feb 26, 2009 at 7:31 AM, Benoît Minisini wrote: >> Is there any way to get a balloon to resize to what I need? >> >> I'm using aballoon to display about 12 lines of text (each line about >> 70 characters long) >> Is there any way to make the baloon res

Re: [Gambas-user] help with data import into postgres - funny characters> import fails

2009-02-26 Thread Robert Moss
Sorry to post two messages, but I just thought of something. Maybe they are nulls, and maybe postgres has a problem importing nulls into a string datatype. Just a thought to look into. DEFINITELY look at the hex representation (ideally next to the character representation) and see if you can identi

Re: [Gambas-user] help with data import into postgres - funny characters> import fails

2009-02-26 Thread Robert Moss
Is the error a Gambas error or a Postgres error? It might be they are using a charset with special keys spefic to their industry, which might indicate more data, or, more likely, the data is errorenous and got bit-shifted, and now, the high-order bit might be too large to be part of the UTF-8 chars

[Gambas-user] help with data import into postgres - funny characters> import fails

2009-02-26 Thread richard terry
Hi , I'm trying to import the hl7 from a local radiology provider: It's got funny characters in the file and postgres baulks when I go to save the line with the message attatched, but it basically says - invalid byte sequence for encoding UTF8. My postgres database is created with UTF8 encoding

Re: [Gambas-user] Switching between forms in tabstrip

2009-02-26 Thread Dimitris Anogiatis
Glad I could help Marcel :) On Thu, Feb 26, 2009 at 1:33 PM, Vackoy wrote: > > I tried this last example and it worked like a charm. Thanks. > > Marcel > > -- > View this message in context: > http://www.nabble.com/Switching-between-forms-in-tabstrip-tp22206694p22233025.html > Sent from the gamb

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

2009-02-26 Thread Jesus Guardon
Hello I'm trying to test my application (which uses gb.settings) into a virtualized OpenSuse. 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 mak

Re: [Gambas-user] Change translations at runtime

2009-02-26 Thread Jesus Guardon
Thanks Benoît and M0E, it works. But as you said, I must reload the main form after this command. No problem anyway, because at the moment I'm using it only for debugging purposes. Cheers Jesús Guardón Benoît Minisini escribió: > First, you must set the System.Language property, which reload

Re: [Gambas-user] Switching between forms in tabstrip

2009-02-26 Thread Vackoy
I tried this last example and it worked like a charm. Thanks. Marcel -- View this message in context: http://www.nabble.com/Switching-between-forms-in-tabstrip-tp22206694p22233025.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] Two minor "bugs"

2009-02-26 Thread Ron_1st
On Thursday 26 February 2009, Rolf-Werner Eilert wrote: ---8<--- > > > > Best regards, > > > > Ron_1st > > > > Hi Ron, > > just FYI, I found where it is and just switched it off. Here is what I did: > > Download the source, unpack and ./configure. > > Then look for /gb.qt/src/CGridView.cpp

Re: [Gambas-user] Switching between forms in tabstrip

2009-02-26 Thread Dimitris Anogiatis
After reading Benoît 's guidelines and going through my previous example I came up with this. PUBLIC SUB Form_KeyPress() IF Key.Control SELECT CASE Workspace1.Children.Find(Workspace1.ActiveWindow) CASE 0 TO Workspace1.Children.Count - 2 Workspace1.ActiveWindow = Workspace1.Chil

Re: [Gambas-user] Two minor "bugs"

2009-02-26 Thread Rolf-Werner Eilert
Ron_1st schrieb: > On Wednesday 14 January 2009, Rolf-Werner Eilert wrote: > >> Thinking it over, I still feel that it should be the programmer's choice >> what width the last column should have. Implementing it as an option >> (Property: LastColumnStretch or so) would be nice, although it would

Re: [Gambas-user] Probable bug in Postgres db driver

2009-02-26 Thread Benoît Minisini
> I've posted about this before in regards to the PictureDatabase example, as > in postgres though you can save the picture, it dosn't retreive. I had > asked someone to test it, though no-one appears to have had the time. > > This driver is pretty critical to my medical records project, as I used

Re: [Gambas-user] baloon size

2009-02-26 Thread Benoît Minisini
> Is there any way to get a balloon to resize to what I need? > > I'm using aballoon to display about 12 lines of text (each line about > 70 characters long) > Is there any way to make the baloon resize to fit such a thing? > > Using Gambas2-2.11.1 > Mmm. It seems there is a bug in gb.gtk, as with

Re: [Gambas-user] What's the Margin property of vertical box Do

2009-02-26 Thread Benoît Minisini
> ?? > Never noticed it there before, and no help available. > > REgards > richard > If set, the Margin property adds Desktop.Scale to the Padding property. -- Benoît -- Open Source Business Conference (OSBC), March 24-

Re: [Gambas-user] Gambas3 byref behavior

2009-02-26 Thread Benoît Minisini
> Hi > I could be wrong, but. > I think that byref command should behave like this: > > a = 0 > TestFunction(a) > Print a > > Public Function TestFunction(Byref x as Integer) > Inc x > End > > Result: > 1 > > > And if you like to pass byref argument byval instead for some reason, > you should do t

Re: [Gambas-user] Switching between forms in tabstrip

2009-02-26 Thread Benoît Minisini
> Dimitris, > thanks for the tip. I can get the Keypress event from the form and get the > combination for Ctrl + Tab. > However, since I have a Workspace, I don't know how to access the Tabstrip > control or how to index the forms in it. You don't. You must use the Workspace.Children property to

Re: [Gambas-user] Change translations at runtime

2009-02-26 Thread Benoît Minisini
> I have a program that runs the same way. Unfortunately, for > translations to take place, all translated objects must be destroyed > and re-created under the new environment. > > The first time around, I created a loop to restart the application > after setting the right environment. > Later, I r

Re: [Gambas-user] Switching between forms in tabstrip

2009-02-26 Thread Vackoy
Dimitris, thanks for the tip. I can get the Keypress event from the form and get the combination for Ctrl + Tab. However, since I have a Workspace, I don't know how to access the Tabstrip control or how to index the forms in it. Any thoughts? Thanks Dimitris Anogiatis wrote: > > If I may add m