Re: [Gambas-user] Button events

2010-12-22 Thread NW
On Wed, 22 Dec 2010 12:37:12 +0100 Stefano Palmeri wrote: > Il mercoledì 22 dicembre 2010 10:08:55 NW ha scritto: > > I have just noticed that there is no right click event for a button. > > Are there any plans to add this please? > > > > Neil > > It&#x

[Gambas-user] Button events

2010-12-22 Thread NW
I have just noticed that there is no right click event for a button. Are there any plans to add this please? Neil -- Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300%

[Gambas-user] Project - Make ...

2010-11-14 Thread NW
Can anyone help me with the difference between Project --> Make --> Source Archive and Project --> Make --> Installation Package please? I think that the installation package is aimed at setting up a usable Gambas program for someone who does not have Gambas installed. Is that correct? If so, w

Re: [Gambas-user] Writing to a file on disk

2010-11-11 Thread NW
On Thu, 11 Nov 2010 15:47:26 +0100 Rolf-Werner Eilert wrote: > > Sure, and Fabien has already given the example, so I quote him here. > Copying his mail, I find something interesting he mentioned right at the > beginning. I've never used that stuff, so just give it a try :-) Here is > what he

Re: [Gambas-user] Writing to a file on disk

2010-11-11 Thread NW
On Thu, 11 Nov 2010 09:03:14 +0100 Rolf-Werner Eilert wrote: > Hi Neil, > > Nice to read your code. Here are some comments on it: > > > Anyway, for simple textfile input/output, File.Read and File.Save will > be your friends. > As a follow up to this. I have searched around via Google and m

Re: [Gambas-user] Writing to a file on disk

2010-11-11 Thread NW
On Thu, 11 Nov 2010 09:03:14 +0100 Rolf-Werner Eilert wrote: > Hi Neil, > > Nice to read your code. Here are some comments on it: > > > > Thanks for your comments. I have made the suggested changes. I still get an extra character at the beginning of the line every time I write the new version

Re: [Gambas-user] Writing to a file on disk

2010-11-10 Thread NW
On Wed, 10 Nov 2010 19:21:47 +0100 Fabien Bodard wrote: > have you tryed to replace result by a global string variable ? > > textbox use utf8 charset > > and yes in your case ... use file.save > > > to resume your code > > Private $sResult as string > > PUBLIC SUB Button1_Click() > > $s

Re: [Gambas-user] Writing to a file on disk

2010-11-10 Thread NW
If you want to store just a few informations from your project, there is also the very simple way via the gb.settings component. You have to choose this component in the project properties first. Then (this is Gambas3, look in the docs if you use Gambas2): Write: Settings["MyText/1"] = result.Tex

Re: [Gambas-user] Writing to a file on disk

2010-11-10 Thread NW
On Wed, 10 Nov 2010 17:14:24 +0100 Rolf-Werner Eilert wrote: > > > > Maybe it's better you give us the lines you are using in your program to > read and write the line. Then we should be able to see where the bug > sits :-) > > Did you try the File functions to do this? These should work with

Re: [Gambas-user] Writing to a file on disk

2010-11-10 Thread NW
On Wed, 10 Nov 2010 14:38:57 + NW wrote: > My first question on the list. > > I am trying to read in a text file with just one line, to make a slight > change to that line and then to write the new line to the original file on > disk. The new line should replace the origi

[Gambas-user] Writing to a file on disk

2010-11-10 Thread NW
My first question on the list. I am trying to read in a text file with just one line, to make a slight change to that line and then to write the new line to the original file on disk. The new line should replace the original line in the file. I can read in the file OK. I then use lineinput and