Re: [Gambas-user] how to make threats

2013-11-12 Thread Rolf-Werner Eilert
And how would you stop such a thread when you finish the main program (GUI)? Am 11.11.2013 23:31, schrieb nando: one way is to make use rc.local file and place the name of the executable there with a at the end to make it run in the background. -- Original Message ---

Re: [Gambas-user] Semi-persistent pop-up form?

2013-11-12 Thread Rolf-Werner Eilert
Am 12.11.2013 00:19, schrieb Bruce: On Mon, 2013-11-11 at 22:30 +0100, Benoît Minisini wrote: Le 11/11/2013 21:47, Bruce a écrit : Is there some way to make a popup form only close on a specific user action? In the attached picture, I have a popup form displaying some statistical guff

[Gambas-user] Feeding a DataView using data from another DataView

2013-11-12 Thread Jose Monteiro
Please guys, some help here. I'm at the middle of a program for controlling a process for a chemical company. 1 - There is a DataSource linked to a table and containing a Dataview. The DataView will show hundreds of rows. 2 - There is another DataSource, which will use a sql statement,

Re: [Gambas-user] how to make threats

2013-11-12 Thread nando
There are many ways to accomplish this: Some examples are: 1. In a terminal, use the 'top' command. Notice the PID. Press k to kill it. 2. again, in a terminal, you can use commands such as ps -aux, kill, pkill achieve the same thing. 3. I have used this (simple) method on many occasions:

[Gambas-user] Questions about reading of a text file with Read.

2013-11-12 Thread Ru Vuott
Hello, ...I would have specific questions about the reading of a text file with Read. I intend to read a text file in string representation using the classic command Open For ... READ Dim s As String Read #fluxus, s Print s 1) Why don't I get the error End of file, *only if* the

Re: [Gambas-user] Questions about reading of a text file with Read.

2013-11-12 Thread nando
Please read the help on READ. When you specify a string variable 's' with out a length then the string length byte is read first. So your string you are reading is probably 49 characters long and Im guessing the first is probably character 48 so it will only read 48 characters starting in the next

[Gambas-user] Question READ WRITE in V3

2013-11-12 Thread nando
Benoit, I use (still) v1.17 and v2 and I use the READ and WRITE statements I have not ported to v3 yet. When I was replying to someone's issue about READ I came across the V3 help for READ Question: is it still true that WRITE #file, s,14 will write 14 bytes and NOT write the length first just

[Gambas-user] Edit specialised Forms in the IDE

2013-11-12 Thread Tobias Boege
Hi, I have written a StatusbarForm.class which is a Form with a built-in Statusbar. Some people seem to like this sort of thing. My class hierarchy looks like this: - Statusbar.class (a Statusbar) - _StatusbarLabel.class (to manage the contents of a Statusbar) - Form -

Re: [Gambas-user] Edit specialised Forms in the IDE

2013-11-12 Thread Benoît Minisini
Le 12/11/2013 14:22, Tobias Boege a écrit : Hi, I have written a StatusbarForm.class which is a Form with a built-in Statusbar. Some people seem to like this sort of thing. My class hierarchy looks like this: - Statusbar.class (a Statusbar) - _StatusbarLabel.class (to manage the

Re: [Gambas-user] Feeding a DataView using data from another DataView

2013-11-12 Thread Benoît Minisini
Le 12/11/2013 10:49, Jose Monteiro a écrit : Please guys, some help here. I'm at the middle of a program for controlling a process for a chemical company. 1 - There is a DataSource linked to a table and containing a Dataview. The DataView will show hundreds of rows. 2 - There is another

Re: [Gambas-user] Question READ WRITE in V3

2013-11-12 Thread nando
Thanks Benoit, but actually, my question wasn't about how to get help for V2, it was is it still true that WRITE #file, s, 14 will only write 14 bytes and NOT write the length first (as it did in other versions) -- Original Message --- From: Benoît Minisini

Re: [Gambas-user] Question READ WRITE in V3

2013-11-12 Thread Benoît Minisini
Le 12/11/2013 14:44, nando a écrit : Thanks Benoit, but actually, my question wasn't about how to get help for V2, it was is it still true that WRITE #file, s, 14 will only write 14 bytes and NOT write the length first (as it did in other versions) WRITE #hfile, s, 14 never wrote the string

Re: [Gambas-user] Feeding a DataView using data from another DataView

2013-11-12 Thread MinnesotaJon
Jose -- Remember that there is a big difference between a MouseDown event on the DataView *control*, and an Activate event on a field containing information, inside that control. -- View this message in context:

Re: [Gambas-user] Semi-persistent pop-up form?

2013-11-12 Thread MinnesotaJon
Bruce -- You may want to try using the Desktop component, which allows you to easily switch active (top-level) windows. It seems that I can't attach a file here, on a Reply, so I will e-mail you a small program showing how this component works. If you have two virtual desktops open, activating

Re: [Gambas-user] Semi-persistent pop-up form?

2013-11-12 Thread Benoît Minisini
Le 12/11/2013 00:19, Bruce a écrit : On Mon, 2013-11-11 at 22:30 +0100, Benoît Minisini wrote: Le 11/11/2013 21:47, Bruce a écrit : Is there some way to make a popup form only close on a specific user action? In the attached picture, I have a popup form displaying some statistical guff

Re: [Gambas-user] how to make threats

2013-11-12 Thread Fabien Bodard
There is the TASK class too. http://gambasdoc.org/help/comp/gb/task?v3 2013/11/12 Jussi Lahtinen jussi.lahti...@gmail.com: Why not to start needed program with exec, if you need it with GUI program? 'Start: hProcess = Exec [gbr3, PathToProgram / YourApp.gambas] 'Kill: hProcess.Kill()

Re: [Gambas-user] Semi-persistent pop-up form?

2013-11-12 Thread paulwheeler
Bruce, Unfortunately, I have no answer for your question, but wanted to say that your illustrations are SO COOL! If you don't mind my asking, how did you do them? paul On 11/11/2013 01:47 PM, Bruce wrote: Is there some way to make a popup form only close on a specific user action? In the