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 my

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

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 get

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 this: a = 0

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-25,

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 gb.qt

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 =

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] 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

[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

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 marcel.duf...@gmail.com 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

[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

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

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

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 gam...@users.sourceforge.net 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