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

2009-02-25 Thread richard terry
?? Never noticed it there before, and no help available. REgards richard -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the En

[Gambas-user] Probable bug in Postgres db driver

2009-02-25 Thread richard terry
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 to be

[Gambas-user] question about gambas2-runtime

2009-02-25 Thread Joshua Higgins
I'm assuming that installing gambas2-runtime in Ubuntu, I'd still need to install gambas2-gb-net package to work if my program uses a UDP server, for example? -- joshua higgins >>-- -- Open Source Business Confere

[Gambas-user] Fwd: Gambas3 byref behavior

2009-02-25 Thread Jussi Lahtinen
I forgot to mention about related bug... IDE doesn't like this; With someobject TestFunction(ByRef .x) End With it renders to; With someobject TestFunction(ByRef.x) <-- Unknown identifier: ByRef End With Sorry about messy post... Jussi -- Forwarded message -- From: Jussi La

[Gambas-user] Gambas3 byref behavior

2009-02-25 Thread Jussi Lahtinen
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 TestFunction(Byval

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

2009-02-25 Thread Dimitris Anogiatis
If I may add my 2 cents worth, if you just use the form_keypress event you might be able to do what you want. this is my attempt; tbsettings is my tabstrip control I have 4 tabs (with index 0 to 3) add this to the form that you have the tabstrip onto PUBLIC SUB Form_KeyPress() IF Key.Control

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

2009-02-25 Thread Doriano Blengino
Vackoy ha scritto: > Thanks everyone for your responses. > I think that what Benoit and Doriano suggested are in the way of what I > need. > > Doriano, the layout of what I have is the following: > * a main form > * a workspace > * several forms added to the workspace by .add method > > Where shoul

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

2009-02-25 Thread Vackoy
Thanks everyone for your responses. I think that what Benoit and Doriano suggested are in the way of what I need. Doriano, the layout of what I have is the following: * a main form * a workspace * several forms added to the workspace by .add method Where should I add the menu, in the main form?

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

2009-02-25 Thread Doriano Blengino
Vackoy ha scritto: > @jacky-12 > I understand that but that is not what I need. > Let me see if I can explain it better. > I have a workspace and add several forms to it. In each for i have different > controls as textboxes, buttons, gridviews, etc. > The thing is that I want to be able to switch

Re: [Gambas-user] Missing dependencies in compiled packages

2009-02-25 Thread M. Cs.
Yes, I would do if you explained me how to do it. I've written an aplication which is open for everyone, and I would like to make it usable from dependency part too. Greetings, Csaba -- Open Source Business Conference (OSBC

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

2009-02-25 Thread M0E Lnx
The form does have a keypress() event. If you are using a workspace to host(embed) other forms into one host form, you'll have to declare a variable that holds the current object in the workspace, and address the correct object. For example. PUBLIC $CurrentObject as Object on the guest forms open

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

2009-02-25 Thread Benoît Minisini
> @jacky-12 > I understand that but that is not what I need. > Let me see if I can explain it better. > I have a workspace and add several forms to it. In each for i have > different controls as textboxes, buttons, gridviews, etc. > The thing is that I want to be able to switch between forms with s

Re: [Gambas-user] Change translations at runtime

2009-02-25 Thread M0E Lnx
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 realized that

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

2009-02-25 Thread Vackoy
@jacky-12 I understand that but that is not what I need. Let me see if I can explain it better. I have a workspace and add several forms to it. In each for i have different controls as textboxes, buttons, gridviews, etc. The thing is that I want to be able to switch between forms with some key co

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

2009-02-25 Thread Jack
Le mercredi 25 février 2009 18:03:29 Vackoy, vous avez écrit : > Yes, but which element/object is the observer for the Keypress? > I tried with Workspace.Keypress but when I open a form, the observer > becomes the form and not the workspace, so no matter what key I press it > doesn't raise the even

[Gambas-user] Change translations at runtime

2009-02-25 Thread Jesus Guardon
Hi I know that this issue has been addressed earlier in the list, but has not been answered yet. I have a translated project in English, Spanish, Catalan, etc. Thanks to an Stefano Palmeri's reply on Jun 06, 2007, I can see the program running in a different language on the console by typing "e

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

2009-02-25 Thread Vackoy
Yes, but which element/object is the observer for the Keypress? I tried with Workspace.Keypress but when I open a form, the observer becomes the form and not the workspace, so no matter what key I press it doesn't raise the event... M0E Lnx wrote: > > Have not tried it but I imagine you can cod

Re: [Gambas-user] Missing dependencies in compiled packages

2009-02-25 Thread Benoît Minisini
> I'm facing a serious problem when compiling a project: > When I'm trying to install the created package, it gives the list of > required dependencies, but there are missing gambas components. > For example, I cannot add the gambas2-gb-db-sqlite3 package, and I can't > see it in projects propertie

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

2009-02-25 Thread M0E Lnx
Have not tried it but I imagine you can code that in the windows_Keypress() event. Should be doable -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open so

[Gambas-user] Switching between forms in tabstrip

2009-02-25 Thread Vackoy
Hi, has anyone tried this before? switching between tabs without clicking them. Doing it from code pressing Crtl + Tab or something, like Firefox does. Thanks, Marcel -- View this message in context: http://www.nabble.com/Switching-between-forms-in-tabstrip-tp22206694p22206694.html Sent from t

Re: [Gambas-user] Missing dependencies in compiled packages

2009-02-25 Thread M0E Lnx
I asked this question a long time ago (08/18/08) Apparently, there are no provisions for this in the gambas2 branch. I was referred to this back then http://gambas.svn.sourceforge.net/viewvc/gambas?view=rev&revision=1520 (notice the log message) In the mean time, you may need to study your .deb pa

Re: [Gambas-user] Missing dependencies in compiled packages

2009-02-25 Thread M0E Lnx
BTW, the 3.0 development branch is said to have support for such a thing... I have yet to try it. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open sour

Re: [Gambas-user] EOF character seems not to work

2009-02-25 Thread Benoît Minisini
> I need to write an array of lines to a file, each ending in the EOL char > for MAC, I used this code, it dosn't work, it ends up with the UNIX EOL. > > I must have my syntax wrong somehow: > > Dim hfile As file > hfile.EndOfLine = gb.Mac How can that line of code work? hFile is NULL, you must

Re: [Gambas-user] Missing dependencies in compiled packages

2009-02-25 Thread Jorge Carrión
I'm waiting for an answer too. I've have the same problem with the gambas2-gb-db-mysql.deb package on Ubuntu. 2009/2/24 minthaka > > > What are you trying to do? Please tell us more. > > My question is twofold: > 1. I've written a program in Gambas. It uses the sqlite3 server as backend. > When