[Gambas-user] Gambas 3.5.1 in Debian Testing (Jessie) official repository

2013-12-22 Thread Kende Krisztián
Good news, Gambas3 packages are up-to-date in Debian official repository, but these packages break my and IDE created apps. I follow the specifications, but if I install my app on Debian Testing, this program not starting. Exit with error message: gbr3: unable to load component: gb.gui My app

Re: [Gambas-user] A statusbar control

2013-12-22 Thread Tobias Boege
On Sun, 22 Dec 2013, Bruce wrote: On Sat, 2013-12-21 at 10:46 +0100, Tobias Boege wrote: On Sat, 21 Dec 2013, Bruce wrote: Did someone recently speak about having developed a statusbar form control? If you mean[0], then yes, roughly. There was a StatusBar class from Raymond de

[Gambas-user] How do I limit directory access using the file open dialog?

2013-12-22 Thread Marty
Hello, I'm using the open file dialog to allow the user to select one file. I want to limit his access to only one directory to limit the damage he can do. I've set the dialog.path = /home/xxx/xx. The specified directory is highlighted but the entire directory tree from root down is also

Re: [Gambas-user] Native Complex type?

2013-12-22 Thread Benoît Minisini
Le 21/12/2013 16:53, Tobias Boege a écrit : Hi Benoit, is it planned to support complex numbers in Val() or to have an IsComplex() function? No at the moment. It's a problem for Val(), because some people may assume that Val() only returns a Date, a Boolean, a Float or an Integer. I see

Re: [Gambas-user] Time(0, 0, 555) = invalid date

2013-12-22 Thread Benoît Minisini
Le 21/12/2013 21:58, abbat81 a écrit : Hi! I'm dissapointed. After my last Gambas update my programm do not work. I had a variable named match. My old program worked OK, but for now the var named match - is not allowed. It is not problem to rename the variables. The problem is in Time()

Re: [Gambas-user] Gambas 3.5.1 in Debian Testing (Jessie) official repository

2013-12-22 Thread Benoît Minisini
Le 22/12/2013 10:39, Kende Krisztián a écrit : Good news, Gambas3 packages are up-to-date in Debian official repository, but these packages break my and IDE created apps. I follow the specifications, but if I install my app on Debian Testing, this program not starting. Exit with error message:

Re: [Gambas-user] Gambas 3.5.1 in Debian Testing (Jessie) official repository

2013-12-22 Thread Kende Krisztián
2013-12-22 19:12 keltezéssel, Benoît Minisini írta: Le 22/12/2013 10:39, Kende Krisztián a écrit : Good news, Gambas3 packages are up-to-date in Debian official repository, but these packages break my and IDE created apps. I follow the specifications, but if I install my app on Debian Testing,

Re: [Gambas-user] How do I limit directory access using the file open dialog?

2013-12-22 Thread Kende Krisztián
2013-12-22 18:35 keltezéssel, Marty írta: Hello, I'm using the open file dialog to allow the user to select one file. I want to limit his access to only one directory to limit the damage he can do. I've set the dialog.path = /home/xxx/xx. The specified directory is highlighted but the entire

Re: [Gambas-user] Gambas 3.5.1 in Debian Testing (Jessie) official repository

2013-12-22 Thread Kende Krisztián
2013-12-22 19:28 keltezéssel, Gianni Piccini írta: On 22/12/2013 10:39, Kende Krisztián wrote: I don't see message previously sent, if double please don't kill me :-) gb.geom component doesn't exist in any of the packages. In order to have Gambas 3.5.1 running on my Debian amd64 (the bug is

Re: [Gambas-user] Gambas 3.5.1 in Debian Testing (Jessie) official repository

2013-12-22 Thread Gianni Piccini
On 22/12/2013 10:39, Kende Krisztián wrote: gb.geom component doesn't exist in any of the packages. In order to have Gambas 3.5.1 running on my Debian amd64 (the bug is filed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731487), I walk this way: obviously I think that the problem is

Re: [Gambas-user] Gambas 3.5.1 in Debian Testing (Jessie) official repository

2013-12-22 Thread ISS Boss
Hello: I had a completely working project that suddenly quit running. It was as if the contents of the entire form went Enabled = False. Nothing clicks, nothing works. It runs in the IDE, and I can click the 'Close' X, but the rest of the form is dead. I can also hit a breakpoint in the

Re: [Gambas-user] Problem with dialog box already displayed

2013-12-22 Thread Benoît Minisini
Le 22/12/2013 22:04, richard terry a écrit : Hi Benoit. I've noticed (infrequently) that if a dialog box is being called by clicking a button and my computer is busy doing other stuff chewing up the cpu and the user (me) doesn't get a response to the button that I just pressed and I press it

Re: [Gambas-user] Problem with dialog box already displayed

2013-12-22 Thread Benoît Minisini
Le 22/12/2013 22:08, Benoît Minisini a écrit : Le 22/12/2013 22:04, richard terry a écrit : Hi Benoit. I've noticed (infrequently) that if a dialog box is being called by clicking a button and my computer is busy doing other stuff chewing up the cpu and the user (me) doesn't get a response

Re: [Gambas-user] Problem with dialog box already displayed

2013-12-22 Thread richard terry
On 23/12/13 08:08, Benoît Minisini wrote: Le 22/12/2013 22:04, richard terry a écrit : Hi Benoit. I've noticed (infrequently) that if a dialog box is being called by clicking a button and my computer is busy doing other stuff chewing up the cpu and the user (me) doesn't get a response to the

[Gambas-user] Serial port control

2013-12-22 Thread Carl Nilsson
G'day all: Now with Gambas 3 installed, I want to get on with porting my running software from VB6/Windows. It requires processing multiple streams of binary serial data from attached devices. The serial control in gambas 3 does not seem up to the job, in so far as the available properties

Re: [Gambas-user] Application quit running

2013-12-22 Thread ISS Boss
More information: This unresponsive behavior all takes place in the IDE under Debug-Run. Thinking back to just prior to this happening, I lassoed four ValueBoxes which were off-center and used the context menu to try and center then Horizontally on the form. It was a disaster!

Re: [Gambas-user] Application quit running

2013-12-22 Thread Benoît Minisini
Le 23/12/2013 02:24, ISS Boss a écrit : More information: This unresponsive behavior all takes place in the IDE under Debug-Run. Thinking back to just prior to this happening, I lassoed four ValueBoxes which were off-center and used the context menu to try and center then

Re: [Gambas-user] Serial port control

2013-12-22 Thread Randall Morgan
As I recall gb serial is steam based and so you would handle buffers via the stream not the serial object. On Sun, Dec 22, 2013 at 3:01 PM, Carl Nilsson nils...@iinet.net.au wrote: G'day all: Now with Gambas 3 installed, I want to get on with porting my running software from VB6/Windows. It

Re: [Gambas-user] Serial port control

2013-12-22 Thread Carl Nilsson
Randall: Thanks for responding. OK, I have looked at the stream functions: My question was, basically, how do I specify how many bytes I want to take in from a given serial port at each instance? For example, on one input I expect a continuous stream of 31 byte packets and I want to take

Re: [Gambas-user] Serial port control

2013-12-22 Thread Randall Morgan
It has been a long while since I have used the serial component of GB but I have a project starting in which I will need to re-acquaint myself with it. The stream can be setup as blocking or non-blocking. The PC uses either polling or interrupt when the port is opened. So trying to manage the

Re: [Gambas-user] Serial port control

2013-12-22 Thread Carl Nilsson
Thanks Randall. I guess it's time to try it and play around a little, which I can't do for a few days. At the moment I'm trying to look ahead and see where problems might lie. When push comes to shove, I don't know how these things really work! I follow recipes! Don't really want to close

Re: [Gambas-user] basics of dynamic arrays of structures

2013-12-22 Thread Kevin Fishburne
On 12/21/2013 04:57 AM, Tobias Boege wrote: On Sat, 21 Dec 2013, Kevin Fishburne wrote: On 12/21/2013 12:36 AM, Kevin Fishburne wrote: I've gotten some flak about how I declare arrays and want to change my ways. Previously I would do something like: Public SomeArray[300,300] as Integer I

Re: [Gambas-user] Serial port control

2013-12-22 Thread Randall Morgan
I think the RTheshold of VB simply sets the byte count that must accumulate in the receive buffer before a comm event is triggered. It doesn't do anything else. In the background VB is still polling the buffer and looking at the byte count. You can do this in GB but you will have to write it