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

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 : > 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() > > > Jussi >

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 statisti

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] 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: http://gambas.8142.n7.nabble.com/Feeding-a-DataView-using-data-from-another-DataVie

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 s

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 To: nand...@nothingsi

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 anoth

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 t

Re: [Gambas-user] how to make threats

2013-11-12 Thread Jussi Lahtinen
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() Jussi On Tue, Nov 12, 2013 at 1:00 PM, nando wrote: > There are many ways to accomplish this: > Some examples are: > > 1.

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

2013-11-12 Thread Benoît Minisini
Le 12/11/2013 14:11, nando a écrit : > 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

[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 -> StatusbarForm.clas

[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 a

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] 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*

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: t

[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, containin

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 statist

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 ---