[Gambas-user] R: "\[" -> Bad character constant in string

2014-05-07 Thread Ru Vuott
uhmmm solved: Print "PS1='\e[3;2f'" Gio 8/5/14, Ru Vuott ha scritto: Oggetto: [Gambas-user] "\[" -> Bad character constant in string A: gambas-user@lists.sourceforge.net Data: Giovedì 8 maggio 2014, 05:00 Hello, if I run this line:

[Gambas-user] "\[" -> Bad character constant in string

2014-05-07 Thread Ru Vuott
Hello, if I run this line: Print "PS1='\[\033[3;2f\]'" I obtain this error-notice: "Bad character constant in string" ...where the problem seems to be: \[ and \] How can I solve that problem ? I'd like to specify that I do not want the mere graphic result, but (...in other code,

Re: [Gambas-user] Fontchooser help

2014-05-07 Thread Jb Skaggs
thank you this will help a lot :) On Wed, May 7, 2014 at 5:03 PM, Willy Raets wrote: > On Wed, 2014-05-07 at 15:32 -0500, Jb Skaggs wrote: >> I have not been able to find any font chooser examples. I can get my >> textarea font to match the file chooser font, but I can't seem to >> change the siz

Re: [Gambas-user] Fontchooser help

2014-05-07 Thread Willy Raets
On Wed, 2014-05-07 at 15:32 -0500, Jb Skaggs wrote: > I have not been able to find any font chooser examples. I can get my > textarea font to match the file chooser font, but I can't seem to > change the size or styles to that of the fontchooser. Could someone > point me to an example showing how

Re: [Gambas-user] Custom control not appearing in toolbox

2014-05-07 Thread VonZorch
Thanks for the help. On Tue, May 6, 2014 at 11:47 PM, B Bruen [via Gambas] < ml-node+s8142n46355...@n7.nabble.com> wrote: > On Mon, 5 May 2014 21:13:25 -0700 (PDT) > VonZorch <[hidden email]> > wrote: > > > I developed a custom control. I foll

Re: [Gambas-user] Report and Settings

2014-05-07 Thread Randall Morgan
Can you supply your code? You don't give enough details for anyone to be able to help. On Wed, May 7, 2014 at 2:11 PM, Roki wrote: > Hello everyone, I'm new here! > > Here's my question!? > > When I add gb.settings component in my project, a report returning this > error ("type mismatch: wanted

[Gambas-user] Report and Settings

2014-05-07 Thread Roki
Hello everyone, I'm new here! Here's my question!? When I add gb.settings component in my project, a report returning this error ("type mismatch: wanted integer, got null instead"). When I turn off gb.settings component, report work correctly. Is this a bug or I do something wrong? Sorry for

[Gambas-user] Fontchooser help

2014-05-07 Thread Jb Skaggs
I have not been able to find any font chooser examples. I can get my textarea font to match the file chooser font, but I can't seem to change the size or styles to that of the fontchooser. Could someone point me to an example showing how the fontchooser works?

Re: [Gambas-user] gb.report question on setting printer to print to

2014-05-07 Thread Willy Raets
On Tue, 2014-05-06 at 21:55 +0200, Fabien Bodard wrote: > hi willy > > > the option is available since 3.5.3 > > Report.Print(optional MyPrinter as printer) > > if printer is defined then the configure box will not show. > > > dim hprinter as new printer > > hprinter.name = HP-LaserJet > >

Re: [Gambas-user] Calling external function by pointer

2014-05-07 Thread Bruno Félix Rezende Ribeiro
Em Wed, 07 May 2014 19:32:46 +0200 Benoît Minisini escreveu: > I'm afraid this is not possible, because the FFI library used by > Gambas must know the signature of the function before calling it. What about providing a way to declare the function signature for a pointer variable? -- ,= ,-_-.

Re: [Gambas-user] Calling external function by pointer

2014-05-07 Thread Benoît Minisini
Le 07/05/2014 18:27, Bruno Félix Rezende Ribeiro a écrit : > Hello all! > > Suppose we have an external function pointer inside the Gambas variable > 'pExternFunction' and we want to call the correspondent function > passing the arguments, known at compilation time, 'Arg1' to 'ArgN'. > How can we a

Re: [Gambas-user] Problem with ColorButton in 3.5.3 with Gtk and Gui components.

2014-05-07 Thread Benoît Minisini
Le 07/05/2014 18:10, gian a écrit : > Hello Benoit, > > > I accidentally sent this message to the owner email sorry. And I just sent a mail for that, because I didn't see that mail first! :-) -- Benoît Minisini -- Is yo

Re: [Gambas-user] Problem with ColorButton in 3.5.3 with Gtk and Gui components.

2014-05-07 Thread Benoît Minisini
Le 07/05/2014 17:31, gian a écrit : > Hello Benoit, > > > Having this simple code on a Fmain.form with ColorButton1 and this code: > > > Public Sub Form_Open() > > Me.Center > > ColorButton1.Color = Color.White > > End > > > Public Sub ColorButton1_Change() > > > Dim iCol As Integer > > iCol = Colo

[Gambas-user] Calling external function by pointer

2014-05-07 Thread Bruno Félix Rezende Ribeiro
Hello all! Suppose we have an external function pointer inside the Gambas variable 'pExternFunction' and we want to call the correspondent function passing the arguments, known at compilation time, 'Arg1' to 'ArgN'. How can we accomplish this in Gambas? Thanks in advance. -- ,= ,-_-. =. Bruno

[Gambas-user] Problem with ColorButton in 3.5.3 with Gtk and Gui components.

2014-05-07 Thread gian
Hello Benoit, I accidentally sent this message to the owner email sorry. Having this simple code on a Fmain.form with ColorButton1 and this code: Public Sub Form_Open() Me.Center ColorButton1.Color = Color.White End Public Sub ColorButton1_Change() Dim iCol As Integer iCol = ColorButt

Re: [Gambas-user] New syntax for using variables arguments in a function call

2014-05-07 Thread Bruno Félix Rezende Ribeiro
Em Tue, 06 May 2014 09:51:00 +0200 Benoît Minisini escreveu: > In revision #6252, I added the following syntax: [...] Thank you! That is a very useful feature. Happy Hacking! -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(