Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Fabien Bodard
2010/2/11 Vassilis K : > I 'll use the Gambas Mysql commands to make a table ! it works ! > The reason that I asked you is that the code for creating a Mysql table > in Gambas is less accurate than the code of python. no at same... but the gambas code way allow you to change the database server wit

[Gambas-user] gb.Text, gb.case

2010-02-11 Thread richard terry
Benoit, using replace, I used gb.case as per docs, gambas bauked, but gb.text does work as case insensitive replace. ?? Regards Richard -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Pred

Re: [Gambas-user] How to align cells to the Right on a Gridview ?

2010-02-11 Thread Benoît Minisini
> How is this possible ? (to specify the alignment for each cell). > Like in the example of the Gridview documentation page. GridView[X, Y].Alignment = Align. Or in the Data event if you use it, with the GridView.Data.Alignment property. -- Benoît Minisini ---

Re: [Gambas-user] How to align cells to the Right on a Gridview ?

2010-02-11 Thread Vassilis K
How is this possible ? (to specify the alignment for each cell). -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.n

Re: [Gambas-user] How to align cells to the Right on a Gridview ?

2010-02-11 Thread Benoît Minisini
> I tried > > .Columns[1].Alignment = Align.Right > > AND I get error : > > Unknown symbol 'alignment' in class '.GridviewColumn' > > I'm using Gambas 2.17 > Sorry, I made a mistakte: you must specify the alignment for each cell. There is no alignment for all the column. But it would be poss

Re: [Gambas-user] How to align cells to the Right on a Gridview ?

2010-02-11 Thread Vassilis K
I tried .Columns[1].Alignment = Align.Right AND I get error : Unknown symbol 'alignment' in class '.GridviewColumn' I'm using Gambas 2.17 -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, P

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Benoît Minisini
> Fabien Bodard ha scritto: > > Le 11 février 2010 15:23, Benoît Minisini > > > > a écrit : > >>> sql = "CREATE TABLE Aplianikis (" > >>> "aa BIGINT(20) NOT NULL auto_increment," > >>> "Eponimia VARCHAR(40) NOT NULL," > >>> "AFM VARCHAR(18) NOT NULL," > >>> "Hmerom

Re: [Gambas-user] How to align cells to the Right on a Gridview ?

2010-02-11 Thread Benoît Minisini
> Lets say that I want to align the 2nd columns of the following code to > the right. How is this possible? > > WITH GridView1 > .rows.count = 0 > .columns.count = 6 > .Columns[0].Width = 45 > .columns[0].text = "AA" > .Columns[1].Width = 280 > .columns[1].text = "Name" >

[Gambas-user] How to align cells to the Right on a Gridview ?

2010-02-11 Thread Vassilis K
Lets say that I want to align the 2nd columns of the following code to the right. How is this possible? WITH GridView1 .rows.count = 0 .columns.count = 6 .Columns[0].Width = 45 .columns[0].text = "AA" .Columns[1].Width = 280 .columns[1].text = "Name" etc.. I have t

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Vassilis K
I 'll use the Gambas Mysql commands to make a table ! it works ! The reason that I asked you is that the code for creating a Mysql table in Gambas is less accurate than the code of python. -- SOLARIS 10 is the OS for Data

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Doriano Blengino
Fabien Bodard ha scritto: > Le 11 février 2010 15:23, Benoît Minisini > a écrit : > >>> sql = "CREATE TABLE Aplianikis (" >>> "aa BIGINT(20) NOT NULL auto_increment," >>> "Eponimia VARCHAR(40) NOT NULL," >>> "AFM VARCHAR(18) NOT NULL," >>> "Hmerominia DATE NOT N

Re: [Gambas-user] Text in a TrayIcon

2010-02-11 Thread Fabien Bodard
hum ... 16X16 or 24X24 px ... not really interesting size for a text isn't it ? 2010/2/11 Demosthenes Koptsis : > you can create an image with written text inside but with accepted > dimensions for tray. > > On Thu, Feb 11, 2010 at 3:25 PM, Fabien Bodard wrote: > >> it's in the name ... :/ tray i

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Fabien Bodard
Le 11 février 2010 15:23, Benoît Minisini a écrit : >> sql = "CREATE TABLE Aplianikis (" >>         "aa BIGINT(20) NOT NULL auto_increment," >>         "Eponimia VARCHAR(40) NOT NULL," >>         "AFM  VARCHAR(18) NOT NULL," >>         "Hmerominia DATE NOT NULL," >>         "Checkbox TINYINT(1) NO

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Benoît Minisini
> sql = "CREATE TABLE Aplianikis (" > "aa BIGINT(20) NOT NULL auto_increment," > "Eponimia VARCHAR(40) NOT NULL," > "AFM VARCHAR(18) NOT NULL," > "Hmerominia DATE NOT NULL," > "Checkbox TINYINT(1) NOT NULL," > "primary key(aa)" > ")" >

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Fabien Bodard
sql = "CREATE TABLE Aplianikis (" "aa BIGINT(20) NOT NULL auto_increment," "Eponimia VARCHAR(40) NOT NULL," "AFM VARCHAR(18) NOT NULL," "Hmerominia DATE NOT NULL," "Checkbox TINYINT(1) NOT NULL," "primary key(aa)" ")" "DEFAULT CHARSET

Re: [Gambas-user] Text in a TrayIcon

2010-02-11 Thread Demosthenes Koptsis
you can create an image with written text inside but with accepted dimensions for tray. On Thu, Feb 11, 2010 at 3:25 PM, Fabien Bodard wrote: > it's in the name ... :/ tray icon ... > > you can't set text nor too large icon the system tray don't accept it > > 2010/2/11 Toni Rosa : > > Hi, > > I'

Re: [Gambas-user] Text in a TrayIcon

2010-02-11 Thread Fabien Bodard
it's in the name ... :/ tray icon ... you can't set text nor too large icon the system tray don't accept it 2010/2/11 Toni Rosa : > Hi, > I'm using the TrayIcon control in one of my projects and I wondered > whether it would be possible to add text to it, no just a Pictures. > (Maybe a TrayText c

[Gambas-user] Text in a TrayIcon

2010-02-11 Thread Toni Rosa
Hi, I'm using the TrayIcon control in one of my projects and I wondered whether it would be possible to add text to it, no just a Pictures. (Maybe a TrayText control? ) Regards, Toni -- SOLARIS 10 is the OS for Data Ce

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Vassilis K
I am using python because it executes the table creation commands with the same type like in terminal mode. For example in python we write: sql = """CREATE TABLE Aplianikis ( aa BIGINT(20) NOT NULL auto_increment, Eponimia VARCHAR(40) NOT NULL, AFM VARCHAR(18) NOT NULL,

Re: [Gambas-user] a Dumb shell question - passing quoted text

2010-02-11 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Hi List, >> >> I want to end up with this text to pass to the shell, and it contains >> quotation marks, I wondered how to do that. >> >> wkhtmltopdf *.html /tmp/temp.pdf --toc --header-right "Page [page]" >> --footer- center "- EasyGP Medical Records -" --footer-spa

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Doriano Blengino
Fabien Bodard ha scritto: > >>> >>> I am using the following code for the creation of a table in a Mysql DB: >>> >>> >>> SHELL"python >>> /home/delphi/Documents/Apodeixi/dimiourgiaTableMYSQLmePython1.py" IF ERROR >>> THEN >>> Message.Error(DConv(Error.Text)) >>> ENDIF >>> >>> The co

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Fabien Bodard
and why are you using python to create your table ??? Le 11 février 2010 12:35, Benoît Minisini a écrit : >> Hello again, >> >> I am using the following code for the creation of a table in a Mysql DB: >> >> >> SHELL"python >>  /home/delphi/Documents/Apodeixi/dimiourgiaTableMYSQLmePython1.py" IF E

Re: [Gambas-user] a Dumb shell question - passing quoted text

2010-02-11 Thread Benoît Minisini
> Hi List, > > I want to end up with this text to pass to the shell, and it contains > quotation marks, I wondered how to do that. > > wkhtmltopdf *.html /tmp/temp.pdf --toc --header-right "Page [page]" > --footer- center "- EasyGP Medical Records -" --footer-spacing 5 > --footer-font-name "com

Re: [Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Benoît Minisini
> Hello again, > > I am using the following code for the creation of a table in a Mysql DB: > > > SHELL"python > /home/delphi/Documents/Apodeixi/dimiourgiaTableMYSQLmePython1.py" IF ERROR > THEN > Message.Error(DConv(Error.Text)) > ENDIF > > The command works perfectly and it cr

Re: [Gambas-user] Help file download and F1

2010-02-11 Thread Fabien Bodard
sorry gambas package are more older on ubuntu you are using a source compiled version normally it work 2010/2/11 Fabien Bodard : > installed from packages ? > > have you installed the doc one ? > > 2010/2/11 Fiddler63 : >> >> >> >> Fiddler63 wrote: >>> >>> Ubuntu 9.10, 64bit >>> Gambas 2.19

Re: [Gambas-user] Help file download and F1

2010-02-11 Thread Fabien Bodard
installed from packages ? have you installed the doc one ? 2010/2/11 Fiddler63 : > > > > Fiddler63 wrote: >> >> Ubuntu 9.10, 64bit >> Gambas 2.19 >> >> F1 does nothing at all >> >> Kim >> > > an F2 does not do anything either > Kim > -- > View this message in context: > http://old.nabble.com/Hel

Re: [Gambas-user] Help file download and F1

2010-02-11 Thread Fiddler63
Fiddler63 wrote: > > Ubuntu 9.10, 64bit > Gambas 2.19 > > F1 does nothing at all > > Kim > an F2 does not do anything either Kim -- View this message in context: http://old.nabble.com/Help-file-download-and-F1-tp27542391p27544328.html Sent from the gambas-user mailing list archive at Nab

Re: [Gambas-user] Help file download and F1

2010-02-11 Thread Fiddler63
Ubuntu 9.10, 64bit Gambas 2.19 F1 does nothing at all Kim -- View this message in context: http://old.nabble.com/Help-file-download-and-F1-tp27542391p27544327.html Sent from the gambas-user mailing list archive at Nabble.com. --

[Gambas-user] a Dumb shell question - passing quoted text

2010-02-11 Thread richard terry
Hi List, I want to end up with this text to pass to the shell, and it contains quotation marks, I wondered how to do that. wkhtmltopdf *.html /tmp/temp.pdf --toc --header-right "Page [page]" --footer- center "- EasyGP Medical Records -" --footer-spacing 5 --footer-font-name "comic sans ms" any

[Gambas-user] SHELL command with python does not execute!

2010-02-11 Thread Vassilis K
Hello again, I am using the following code for the creation of a table in a Mysql DB: SHELL"python /home/delphi/Documents/Apodeixi/dimiourgiaTableMYSQLmePython1.py" IF ERROR THEN Message.Error(DConv(Error.Text)) ENDIF The command works perfectly and it creates the table.