[Gambas-user] [SOLVED] Socket Horror!

2009-11-22 Thread nospam.nospam.nospam
Some of you will know that I've had truckloads of socket horror with a proxy server I've written in gambas. Well I had more socket horror just now. Everything was working fine last night but not when I booted up this afternoon. The server socket starts and listens. The server socket detects an

Re: [Gambas-user] Either I am blind or...

2009-11-22 Thread nospam.nospam.nospam
Benoît Minisini wrote: >> Benoît Minisini wrote: Benoît Minisini wrote: >> ...menus don't support drag. >> >> Please tell me I am blind. > > They don't, no toolkit supports drag & drop on menus natively. I'm looking to drag menu items off a menu, not drag them on

Re: [Gambas-user] Serial ports in Gambas

2009-11-22 Thread Robert JUHASZ
Hello, In the examples you find one for the serial port: Open Example \ Networking \ SerialPort. It shows the basics. You can send commands from your code (by taking them for example from a textbox filled by the user) with PRINT or WRITE, you can read from the serial port with READ. Regards, Rob

[Gambas-user] Serial ports in Gambas

2009-11-22 Thread Kari Laine
Hi, after not being active with Gambas for some time now. I am thinking of making a program with it. I am learning products from http://www.byvac.com especially the BV513, which is PIC-based microcontroller programmed in basic. The sofware from Byvac is for Windows only. I tried with minicom but

Re: [Gambas-user] Either I am blind or...

2009-11-22 Thread richard terry
On Monday 23 November 2009 07:58:47 Benoît Minisini wrote: > > Benoît Minisini wrote: > > >> ...menus don't support drag. > > >> > > >> Please tell me I am blind. > > > > > > They don't, no toolkit supports drag & drop on menus natively. > > > > I'm looking to drag menu items off a menu, not drag

Re: [Gambas-user] Either I am blind or...

2009-11-22 Thread Benoît Minisini
> Benoît Minisini wrote: > >> Benoît Minisini wrote: > ...menus don't support drag. > > Please tell me I am blind. > >>> > >>> They don't, no toolkit supports drag & drop on menus natively. > >> > >> I'm looking to drag menu items off a menu, not drag them onto a > >> menu. The gnom

Re: [Gambas-user] Either I am blind or...

2009-11-22 Thread nospam.nospam.nospam
Benoît Minisini wrote: >> Benoît Minisini wrote: ...menus don't support drag. Please tell me I am blind. >>> >>> They don't, no toolkit supports drag & drop on menus natively. >> >> I'm looking to drag menu items off a menu, not drag them onto a >> menu. The gnome panel menus do it.

Re: [Gambas-user] Either I am blind or...

2009-11-22 Thread Benoît Minisini
> Benoît Minisini wrote: > >> ...menus don't support drag. > >> > >> Please tell me I am blind. > > > > They don't, no toolkit supports drag & drop on menus natively. > > I'm looking to drag menu items off a menu, not drag them onto a menu. The > gnome panel menus do it. > > Pity. I'm rewriting

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread nospam.nospam.nospam
Benoît Minisini wrote: >> Toni wrote: >>> Hi there, >>> >>> I think it's got to do with the order that events fire... In any >>> case, if you use the event "GotFocus" of the TabStrip, it should >>> work as you expect. >> >> Ok, that's far better than it was, many, many thanks. However after >> movi

Re: [Gambas-user] Either I am blind or...

2009-11-22 Thread nospam.nospam.nospam
Benoît Minisini wrote: >> ...menus don't support drag. >> >> Please tell me I am blind. >> > > They don't, no toolkit supports drag & drop on menus natively. I'm looking to drag menu items off a menu, not drag them onto a menu. The gnome panel menus do it. Pity. I'm rewriting a Windows app that

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread nospam.nospam.nospam
Charlie Reinl wrote: > Am Sonntag, den 22.11.2009, 23:05 +1100 schrieb > nospam.nospam.nos...@gmail.com: >> Charlie Reinl wrote: >>> Am Sonntag, den 22.11.2009, 22:06 +1100 schrieb >>> nospam.nospam.nos...@gmail.com: Toni wrote: > Hi there, > > I think it's got to do with the orde

Re: [Gambas-user] Setting a checkbox value

2009-11-22 Thread Benoît Minisini
> Benoît Minisini ha scritto: > >>> bbb888 ha scritto: > Benoit, > > Why oh why should setting checkbox value in code generate a click > event? > > bruce > >>> > >>> I join. > >>> I think that events should be fired by user, never by code. > >>> > >>> Regards, > >> > >

Re: [Gambas-user] Setting a checkbox value

2009-11-22 Thread Doriano Blengino
Benoît Minisini ha scritto: >>> bbb888 ha scritto: >>> Benoit, Why oh why should setting checkbox value in code generate a click event? bruce >>> I join. >>> I think that events should be fired by user, never by code. >>> >>> Regards, >>> >>

Re: [Gambas-user] Setting a checkbox value

2009-11-22 Thread Benoît Minisini
> nospam.nospam.nospam wrote: > > You'd be saying exactly the opposite if gambas was badly designed and > > didn't > > generate the event on a coded change when you needed it to. You would > > have no way in hell of easily detecting it, not ever. Besides that, > > firing events > > for code-set att

Re: [Gambas-user] Setting a checkbox value

2009-11-22 Thread Benoît Minisini
> > bbb888 ha scritto: > > > Benoit, > > > > > > Why oh why should setting checkbox value in code generate a click > > > event? > > > > > > bruce > > > > I join. > > I think that events should be fired by user, never by code. > > > > Regards, > > Why should we make a difference between the user an

Re: [Gambas-user] Either I am blind or...

2009-11-22 Thread Benoît Minisini
> ...menus don't support drag. > > Please tell me I am blind. > They don't, no toolkit supports drag & drop on menus natively. -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 200

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread Benoît Minisini
> Toni wrote: > > Hi there, > > > > I think it's got to do with the order that events fire... In any case, > > if you use the event "GotFocus" of the TabStrip, it should work as you > > expect. > > Ok, that's far better than it was, many, many thanks. However after moving > the code into GotFocus

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread Charlie Reinl
Am Sonntag, den 22.11.2009, 23:05 +1100 schrieb nospam.nospam.nos...@gmail.com: > Charlie Reinl wrote: > > Am Sonntag, den 22.11.2009, 22:06 +1100 schrieb > > nospam.nospam.nos...@gmail.com: > >> Toni wrote: > >>> Hi there, > >>> > >>> I think it's got to do with the order that events fire... In an

Re: [Gambas-user] file.save saves in DOS format

2009-11-22 Thread nospam.nospam.nospam
Joshua Higgins wrote: > Thanks for the info. My program generates the /etc/exports file from > a list of IP addresses and allowed shares. For some reason, when I'm > using File.Save to save the contents of a TextArea to /etc/exports, > it is putting the two end of line characters like the DOS forma

Re: [Gambas-user] file.save saves in DOS format

2009-11-22 Thread Joshua Higgins
Thanks for the info. My program generates the /etc/exports file from a list of IP addresses and allowed shares. For some reason, when I'm using File.Save to save the contents of a TextArea to /etc/exports, it is putting the two end of line characters like the DOS format, instead of one, so the NFS

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread nospam.nospam.nospam
Charlie Reinl wrote: > Am Sonntag, den 22.11.2009, 22:06 +1100 schrieb > nospam.nospam.nos...@gmail.com: >> Toni wrote: >>> Hi there, >>> >>> I think it's got to do with the order that events fire... In any >>> case, if you use the event "GotFocus" of the TabStrip, it should >>> work as you expect.

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread Charlie Reinl
Am Sonntag, den 22.11.2009, 22:06 +1100 schrieb nospam.nospam.nos...@gmail.com: > Toni wrote: > > Hi there, > > > > I think it's got to do with the order that events fire... In any case, > > if you use the event "GotFocus" of the TabStrip, it should work as you > > expect. > > Ok, that's far bette

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread nospam.nospam.nospam
Toni wrote: > Hi there, > > I think it's got to do with the order that events fire... In any case, > if you use the event "GotFocus" of the TabStrip, it should work as you > expect. Ok, that's far better than it was, many, many thanks. However after moving the code into GotFocus the first row of

Re: [Gambas-user] Setting a checkbox value

2009-11-22 Thread Doriano Blengino
nospam.nospam.nos...@gmail.com ha scritto: > Doriano Blengino wrote: > >> bbb888 ha scritto: >> >>> Benoit, >>> >>> Why oh why should setting checkbox value in code generate a click >>> event? >>> >>> >> I join. >> I think that events should be fired by user, never by code. >> >

Re: [Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread Toni
Hi there, I think it's got to do with the order that events fire... In any case, if you use the event "GotFocus" of the TabStrip, it should work as you expect. Regards, Toni En/na nospam.nospam.nos...@gmail.com ha escrit: > Okie dokey, this one is giving me so much heartburn that even rude >

[Gambas-user] SetFocus on DataBrowser

2009-11-22 Thread nospam.nospam.nospam
Okie dokey, this one is giving me so much heartburn that even rude suggestions are welcome. There is a form with a tab control (tsMain) that has a number of tabs. There is code in tsMain_Click that sets the focus to the default control on the tab that was selected. If the default control is,

Re: [Gambas-user] Split

2009-11-22 Thread Charlie Reinl
Am Sonntag, den 22.11.2009, 01:03 -0800 schrieb yuhej: > Hello, > > The Split function baheves strange for me. > I receive data fon an equipment throu RS232 and I need to extract the > information from a string. > > The data groups are separated by 4 chr(10) character (originally it was 2 > CrLf

Re: [Gambas-user] Wizard source code

2009-11-22 Thread Charlie Reinl
Am Sonntag, den 22.11.2009, 09:59 +1100 schrieb richard terry: > Hi List, > > I wondered if the wizard was a gambas component or qt, if gambas is it > possible to access the source code? > > Regards > > Richard > Salut Richard, if you have the package from http://gambas.sourceforge.net/ or by

[Gambas-user] Split

2009-11-22 Thread yuhej
Hello, The Split function baheves strange for me. I receive data fon an equipment throu RS232 and I need to extract the information from a string. The data groups are separated by 4 chr(10) character (originally it was 2 CrLf but when reading in Gambas it became 4 chr(10) - this is also strange)

Re: [Gambas-user] Setting a checkbox value

2009-11-22 Thread nospam.nospam.nospam
bbb888 wrote: > nospam.nospam.nospam wrote: >> >> >> You'd be saying exactly the opposite if gambas was badly designed and >> didn't >> generate the event on a coded change when you needed it to. You >> would have no way in hell of easily detecting it, not ever. Besides >> that, firing events >>

Re: [Gambas-user] Setting a checkbox value

2009-11-22 Thread bbb888
nospam.nospam.nospam wrote: > > > You'd be saying exactly the opposite if gambas was badly designed and > didn't > generate the event on a coded change when you needed it to. You would have > no way in hell of easily detecting it, not ever. Besides that, firing > events > for code-set attri