Re: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event

2008-10-08 Thread Doriano Blengino
M0E Lnx ha scritto: > is there a way to code it in my key_release event? > > On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini > <[EMAIL PROTECTED]> wrote: > >> On mardi 07 octobre 2008, M0E Lnx wrote: >> >>> I have a really long list in a lisbox. I'd like to make it so when I >>> press "s" o

[Gambas-user] Semi noob question for Best way to do something.

2008-10-08 Thread jbskaggs
I have written an app in gambas that is generating a little bit of interest in the linux world. But I have two features I wish to add, that I am not sure how to implement in Gambas. My app is a writer's app. As such I would like to have a way to have my app be able to upload and download posts

Re: [Gambas-user] Autocomplete

2008-10-08 Thread Benoit Minisini
On mercredi 08 octobre 2008, David Villalobos Cambronero wrote: > Ok, I'll try. > > I got an Editor to hinglight MySQL Keywords, but I want that when the user > types INS shows a box with some words like INSERT, just as Gambas does. > > In Gambas if you write PRI then appears a box with PRIVATE an

Re: [Gambas-user] Autocomplete

2008-10-08 Thread David Villalobos Cambronero
Ok, I'll try. I got an Editor to hinglight MySQL Keywords, but I want that when the user types INS shows a box with some words like INSERT, just as Gambas does. In Gambas if you write PRI then appears a box with PRIVATE and some other Gambas Keywords. That is what I want to do. Hope I was cle

Re: [Gambas-user] Autocomplete

2008-10-08 Thread Benoit Minisini
On mercredi 08 octobre 2008, David Villalobos Cambronero wrote: > Hi, Benoit, how did you implement the autocomplete feature? > > Any idea? > > Regards. > > > -- > David > Maybe you could ask a less general question? Otherwise I can answer "elbow grease" :-) -- Benoit Minisini ---

Re: [Gambas-user] Where is Font.Resolution?

2008-10-08 Thread Benoit Minisini
On mercredi 08 octobre 2008, Rolf-Werner Eilert wrote: > Another question: > > In Gambas1, there was Font.Resolution. I used it for scaling things. In > Gambas2, it doesn't exist anymore. > > Is there a replacement? > > Regards > > Rolf > Desktop.Resolution (more logical name) -- Benoit Minisini

Re: [Gambas-user] gb.db

2008-10-08 Thread Benoit Minisini
On mercredi 08 octobre 2008, Kari Laine wrote: > Hi, > > I am writing a test program and I am little stuck with the big fields in > gb.db. Could someone tell me please? > > what type I define to use the following MySQL fields? > > VARCHAR(*M*), VARBINARY(*M*) *L* + 1 bytes if column values require

Re: [Gambas-user] What's wrong here? (Drawing an image)

2008-10-08 Thread Benoit Minisini
On mercredi 08 octobre 2008, Rolf-Werner Eilert wrote: > Hi folks, > > I'm slightly confused - this was ok in Gambas1, but in Gambas2 it > doesn't want to run. Here is an excerpt: > > DIM bild AS NEW image > > bild.Load(datei$) > > breite = bild.Width > > What I get here is "0", but no er

[Gambas-user] Autocomplete

2008-10-08 Thread David Villalobos Cambronero
Hi, Benoit, how did you implement the autocomplete feature? Any idea? Regards. -- David - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications w

Re: [Gambas-user] gb.db

2008-10-08 Thread David Villalobos Cambronero
Hi, maybe use gb.db.mysql. Regards -- David - Original Message From: Kari Laine <[EMAIL PROTECTED]> To: mailing list for gambas users Sent: Wednesday, October 8, 2008 10:30:08 AM Subject: [Gambas-user] gb.db Hi, I am writing a test program and I am little stuck with the big field

[Gambas-user] gb.db

2008-10-08 Thread Kari Laine
Hi, I am writing a test program and I am little stuck with the big fields in gb.db. Could someone tell me please? what type I define to use the following MySQL fields? VARCHAR(*M*), VARBINARY(*M*) *L* + 1 bytes if column values require 0 – 255 bytes, *L* + 2 bytes if values may require more than

[Gambas-user] Where is Font.Resolution?

2008-10-08 Thread Rolf-Werner Eilert
Another question: In Gambas1, there was Font.Resolution. I used it for scaling things. In Gambas2, it doesn't exist anymore. Is there a replacement? Regards Rolf - This SF.Net email is sponsored by the Moblin Your Move De

Re: [Gambas-user] How to lock a file

2008-10-08 Thread Rolf-Werner Eilert
Doriano Blengino schrieb: > Rolf-Werner Eilert ha scritto: >> Alright, but it doesn't delete the lock-file with UNLOCK, and the >> lock-file has standard rights rw-r--r-- (644), so no other user than the >> one who has created it should be able to delete it. Up to now, I just >> tested it on my

[Gambas-user] What's wrong here? (Drawing an image)

2008-10-08 Thread Rolf-Werner Eilert
Hi folks, I'm slightly confused - this was ok in Gambas1, but in Gambas2 it doesn't want to run. Here is an excerpt: DIM bild AS NEW image bild.Load(datei$) breite = bild.Width What I get here is "0", but no error. I checked it and even changed the file from BMP to PNG to see if it

Re: [Gambas-user] How to lock a file

2008-10-08 Thread Doriano Blengino
Rolf-Werner Eilert ha scritto: > > Alright, but it doesn't delete the lock-file with UNLOCK, and the > lock-file has standard rights rw-r--r-- (644), so no other user than the > one who has created it should be able to delete it. Up to now, I just > tested it on my own account with a file from m

Re: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event

2008-10-08 Thread M0E Lnx
is there a way to code it in my key_release event? On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini <[EMAIL PROTECTED]> wrote: > On mardi 07 octobre 2008, M0E Lnx wrote: >> I have a really long list in a lisbox. I'd like to make it so when I >> press "s" on the keyboard, it jumps to the first item

Re: [Gambas-user] How to lock a file

2008-10-08 Thread Rolf-Werner Eilert
Benoit Minisini schrieb: > On mardi 07 octobre 2008, Rolf-Werner Eilert wrote: >> Benoit Minisini schrieb: >>> On mardi 07 octobre 2008, nando wrote: There is a problem with your method. Between the execution of the KILL and the CREATION of the file, multitasking happens and another