Re: [Gambas-user] TableView Header Names

2010-04-07 Thread Robert JUHASZ
TableViewName.Columns[columnIindex].Title or TableViewName.Columns[columnIndex].Text (does the same as far as I could see). Robi 2010/4/7 Keith Clark > How do I change the text that is displayed in the TableView Headers? > > Thanks (still learning!), > > Keith > > > > >

Re: [Gambas-user] Input command with double enter: is this expected?

2010-04-07 Thread Leandro Santiago
Thanks. Now it works :-) 2010/4/7 Benoît Minisini > > Confirmed with Gambas3 rev 2822, Ubuntu 9.10 64bit. > > > > This code; > > Public Sub Main() > > Dim a As String > > Input a > > Print a > > End > > > > Yields this; > > " > > $ gbr3 ~/Desktop/cmdTesti.gambas > > This will be printed to scree

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread Keith Clark
On Wed, 2010-04-07 at 21:55 +0200, Fabien Bodard wrote: > 2010/4/7 Keith Clark : > > On Wed, 2010-04-07 at 14:40 -0500, nando wrote: > >> Replace will work for quote and backslash > >> For double quote: > >> > >> doublequote$ is chr$(34) > >> Replace$(mystring, chr$(34), "\" & chr$(34) > >> > >> Bu

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread Keith Clark
On Wed, 2010-04-07 at 14:40 -0500, nando wrote: > Replace will work for quote and backslash > For double quote: > > doublequote$ is chr$(34) > Replace$(mystring, chr$(34), "\" & chr$(34) > > But, Benoit had an email of the nice solution. > -Fernando > > Ok, I've tried this: DescriptionTe

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-07 Thread mike
On 04/07/2010 02:47 PM, nando wrote: > Seek will not change the address. > > > -- Original Message --- > From: Doriano Blengino > To: nand...@nothingsimple.com, mailing list for gambas users > > Sent: Wed, 07 Apr 2010 11:06:42 +0200 > Subject: Re: [Gambas-user] Parallel Port - Ille

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread Keith Clark
> did you understand how subst() function work ijn gambas ?? > > mystring = subst("this is my &1 &2", "black", "dog") > > print mystring give : > > this my black dog > > &1 and &2 are replaced by subst param > > for the sql queries it work at the same ... but with an automatic escaping. > so t

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread Fabien Bodard
2010/4/7 Keith Clark : > On Wed, 2010-04-07 at 14:40 -0500, nando wrote: >> Replace will work for quote and backslash >> For double quote: >> >> doublequote$ is chr$(34) >> Replace$(mystring, chr$(34), "\" & chr$(34) >> >> But, Benoit had an email of the nice solution. >> -Fernando > > I did not un

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread Keith Clark
On Wed, 2010-04-07 at 14:40 -0500, nando wrote: > Replace will work for quote and backslash > For double quote: > > doublequote$ is chr$(34) > Replace$(mystring, chr$(34), "\" & chr$(34) > > But, Benoit had an email of the nice solution. > -Fernando > I don't think this works. This is what I ge

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread Keith Clark
On Wed, 2010-04-07 at 14:40 -0500, nando wrote: > Replace will work for quote and backslash > For double quote: > > doublequote$ is chr$(34) > Replace$(mystring, chr$(34), "\" & chr$(34) > > But, Benoit had an email of the nice solution. > -Fernando I did not understand that solution either.

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread nando
Replace will work for quote and backslash For double quote: doublequote$ is chr$(34) Replace$(mystring, chr$(34), "\" & chr$(34) But, Benoit had an email of the nice solution. -Fernando -- Original Message --- From: Keith Clark To: nand...@nothingsimple.com, mailing list for ga

Re: [Gambas-user] MySQL query problems with apostropies

2010-04-07 Thread Keith Clark
On Tue, 2010-04-06 at 16:27 -0500, nando wrote: > Strings that contain these three characters: quote, double quote and backslash > need to be escaped. > You escape them by having a backslash immediately before it. > Example: > Patty O'Lantern would be... > Patty O\'Lantern > > One way is to mak

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-07 Thread nando
Seek will not change the address. -- Original Message --- From: Doriano Blengino To: nand...@nothingsimple.com, mailing list for gambas users Sent: Wed, 07 Apr 2010 11:06:42 +0200 Subject: Re: [Gambas-user] Parallel Port - Illegal Seek - > nando ha scritto: > > Using SEEK is no

Re: [Gambas-user] Input command with double enter: is this expected?

2010-04-07 Thread Benoît Minisini
> Confirmed with Gambas3 rev 2822, Ubuntu 9.10 64bit. > > This code; > Public Sub Main() > Dim a As String > Input a > Print a > End > > Yields this; > " > $ gbr3 ~/Desktop/cmdTesti.gambas > This will be printed to screen... > > This > " > > Though, I'm not sure how 'input' should behave... > C

[Gambas-user] TableView Header Names

2010-04-07 Thread Keith Clark
How do I change the text that is displayed in the TableView Headers? Thanks (still learning!), Keith -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactive

Re: [Gambas-user] Input command with double enter: is this expected?

2010-04-07 Thread Jussi Lahtinen
Confirmed with Gambas3 rev 2822, Ubuntu 9.10 64bit. This code; Public Sub Main() Dim a As String Input a Print a End Yields this; " $ gbr3 ~/Desktop/cmdTesti.gambas This will be printed to screen... This " Though, I'm not sure how 'input' should behave... Can you use Application.Args[] ? Jussi

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-07 Thread Benoît Minisini
> I post this problem before but until now this issue left unsolved. > > i try to create a form with many buttons (something like a keyboard). > > 1. when I try to change the height and width of all the buttons by using > align same height and width , it doesn't work . > > 2. I position each but

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-07 Thread richard terry
On Wednesday 07 April 2010 17:13:39 Kadaitcha Man wrote: > On 6 April 2010 20:38, richard terry wrote: > > I've never used a panel ever in my project, and I've hundreds of forms > > and modules on a postgres backend with 30 schemas and hundreds of tables. > > > > I've programmed in VB3-6, Python/

Re: [Gambas-user] Parallel Port - Illegal Seek -

2010-04-07 Thread Doriano Blengino
nando ha scritto: > Using SEEK is not correct. > If you think of the parallel port as a file, you cannot seek. > It doesn't make sense. > You can only read and write. > What are you trying to accomplish ? > -Fernando > He is trying to do low level access to the parallel port, which has 3 hardwa

Re: [Gambas-user] problem with alignmet & position in GB3(qt)

2010-04-07 Thread Kadaitcha Man
On 6 April 2010 20:38, richard terry wrote: > I've never used a panel ever in my project, and I've hundreds of forms and > modules on a postgres backend with 30 schemas and hundreds of tables. > > I've programmed in VB3-6, Python/ wxPython, various IDe's and I reckon gambas > is probably the most