Re: [Gambas-user] WITH and FOR EACH across .. STUB!

2010-12-28 Thread Benoît Minisini
> On Mon, 27 Dec 2010 12:48:40 pm Bruce Bruen wrote: > > a great deal > > p.s. please reply to this post rather than the original so we don't > incovenience zillions of electrons. Your project is not complete. I need a way to reproduce the bug on my machine! -- Benoît Minisini

Re: [Gambas-user] Form_KeyPress not raised on Gtk

2010-12-28 Thread Benoît Minisini
> Hi to all, > the Event Form_keyPress is'n raised with Gtk library. > The attached project uses a function to check the CapsLock status. > The function is called on Form_Open and should be called at > Form_KeyPress event, such event isn't raised at all. > No matter the initial status (Visible / Hi

Re: [Gambas-user] problem with Key.Code and form focus

2010-12-28 Thread Benoît Minisini
> I'm having trouble having keypresses detected on a form. Sample code > attached. > > qt > FMain.border=true > Works - "a" keypress hides button, next "a" keypress makes button > visible > FMain.border=false > Fails - form can't receive focus > > GTK+ > FMain.border=true > Fails - "a

Re: [Gambas-user] Label.Adjust

2010-12-28 Thread Demosthenes Koptsis
On Tue, 2010-12-28 at 16:59 +0100, Benoît Minisini wrote: > > In wiki says > > > > Adjusts the Label dimensions to its contents. > > > > But in my tests only the height dimension is adjusted. > > > > The width dimension is not adjusted properly for a long text. > > Which GUI do you use? What is

[Gambas-user] DataControls with Visible = False

2010-12-28 Thread math.e...@t-online.de
Gambas 3 rev. 3390 I tried to make a data-bound form the lazy way, without SQL commands. Just a DataSource with some DataControls in it. Works fine. Then, for better layout of the form, I gave the values of the DataControls to TextLabels, Buttons and so on. Works also. But

Re: [Gambas-user] Some new features in Gambas 3

2010-12-28 Thread Jussi Lahtinen
> 2) A new set of native functions named Mk$() to create a string from > the > memory representation of a value. For example, MkShort$(1234) returns > Chr$(210) & Chr$(4) (on a little endian machine). > I'm updating GambasTester to handle new commands and features. And I don't quite understand th

Re: [Gambas-user] Multiple TCP server sockets

2010-12-28 Thread Ron
Do I miss something here? I have several server sockets on several ports for years in Gambas2... Regards, Ron_2nd. 2010/12/28 Benoît Minisini : >> >  > >> >  > That is not the issue, you can do that, but they all use the same >> >  > socket_read sub. Or I my missing something here? >> > >> > Hem,

Re: [Gambas-user] Drag and Drop

2010-12-28 Thread Dag-Jarle Johansen
Hi Benoit, I figured it out, how to move something around... 2010/12/27 Dag-Jarle Johansen > Hi Benoît, > > Ok, Still it would be nice to find out how that works. It's such a long > time since I have done such things, I'll have to start all over again, and > then better do it right. > > Regards

Re: [Gambas-user] Label.Adjust

2010-12-28 Thread Benoît Minisini
> In wiki says > > Adjusts the Label dimensions to its contents. > > But in my tests only the height dimension is adjusted. > > The width dimension is not adjusted properly for a long text. Which GUI do you use? What is the source code? -- Benoît Minisini

[Gambas-user] Label.Adjust

2010-12-28 Thread Demosthenes Koptsis
In wiki says Adjusts the Label dimensions to its contents. But in my tests only the height dimension is adjusted. The width dimension is not adjusted properly for a long text. -- Regards, Demosthenes Koptsis. -- Lea

Re: [Gambas-user] Multiple TCP server sockets

2010-12-28 Thread Benoît Minisini
> > > > > > That is not the issue, you can do that, but they all use the same > > > socket_read sub. Or I my missing something here? > > > > Hem, you are right, I didn't notice. > > > > Internallly the Socket object knows which ServerSocket created it, but > > you don't have any access to i

Re: [Gambas-user] Locking files - best method

2010-12-28 Thread Benoît Minisini
> Benoît Minisini schrieb: > >> Sharing a file exclusively locked very briefly and getting everything > >> to work correctly amongst multiple programs can be brain-twisting. > >> With increasing use of mulit-cores, the possibility for sharing files > >> using any lock technique is more important th

[Gambas-user] Form_KeyPress not raised on Gtk

2010-12-28 Thread Emanuele Sottocorno
Hi to all, the Event Form_keyPress is'n raised with Gtk library. The attached project uses a function to check the CapsLock status. The function is called on Form_Open and should be called at Form_KeyPress event, such event isn't raised at all. No matter the initial status (Visible / Hidden) of tex