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

2014-05-06 Thread Benoît Minisini
Hi, In revision #6252, I added the following syntax: Public Sub Foo(X As Integer, ...) Super.Foo(X, ...) End It allows to send all variables arguments of a function to another function call. This was not possible before, especially when using Super and inheritance. Regards, -- Benoît

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

2014-05-06 Thread Fabien Bodard
§? Public Sub _GetSizeHints((AvailableW) As Float, (AvailableH) As Float, (TotalWidth) As Float, (TotalHeight) As Float, DataIndex As Integer) As TSizeHint hMyHints = Super._GetSizeHints(AvailableW, AvailableH, TotalWidth, TotalHeight, DataIndex) Where is the difference ? 2014-05-06

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

2014-05-06 Thread Fabien Bodard
H... sorry ... it was the ... ... i see it now :-) 2014-05-06 21:49 GMT+02:00 Fabien Bodard gambas...@gmail.com: §? Public Sub _GetSizeHints((AvailableW) As Float, (AvailableH) As Float, (TotalWidth) As Float, (TotalHeight) As Float, DataIndex As Integer) As TSizeHint hMyHints =

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

2014-05-06 Thread Fabien Bodard
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 report.print(hprinter) 2014-05-05 17:39 GMT+02:00 Willy Raets

Re: [Gambas-user] Dialog on top of FullScreen window

2014-05-06 Thread Patrik Karlsson
After I had problem [1] with gstreamer and MediaPlayer I tried it on a couple of other distributions. It was only on elementary OS I had that problem. At the same time I ran my program in full screen mode and the problem only appeared on elementary with pantheon desktop. Are there something

Re: [Gambas-user] MaskBox.Mask

2014-05-06 Thread Patrik Karlsson
Thank you for your input. I will keep my code since I prefer the protection for CTRL-V over the optimization for a very short string. However, the _KeyPress and Stop Event will come in handy in another place, thanks! /Patrik 2014-04-27 16:26 GMT+02:00 Tobias Boege tabo...@gmail.com: On Sat,

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

2014-05-06 Thread Fabien Bodard
yes... you must inherit usercontrol 2014-05-06 6:13 GMT+02:00 VonZorch vonzo...@gmail.com: I developed a custom control. I followed the instructions on the How to Program Components In Gambas page. It works correctly and can be selected from the project properties dialog. It can be created

Re: [Gambas-user] Cute compiler bug

2014-05-06 Thread Benoît Minisini
Le 03/05/2014 22:38, Tobias Boege a écrit : Hi Benoit, the compiler seems to ignore As something annotations on the LHS of an assignment. I called them annotations but actually I couldn't find any mention of such a construct in the grammar of expression assignment or LHS published in the

Re: [Gambas-user] Problem with TextArea in Gambas 3.5.3

2014-05-06 Thread Benoît Minisini
Le 27/04/2014 09:13, DL7NB a écrit : Hi, When trying to erase a textarea.text with the command: TextArea1.text = ..does not work and it throws the Gtk-Critical error message: (Textarea:9381): Gtk-CRITICAL **: IA__gtk_text_buffer_set_text: assertion `text != NULL' failed

Re: [Gambas-user] Pcduino

2014-05-06 Thread PICCORO McKAY Lenz
From: Shane shanep1...@tpg.com.au Can you show me some links to what you are talking about as i am not sure what you mean i try to explain that all u asked can be done, of course with some fin tune.. i try to said to u that i have already minor hardware compared to pcduino and i run gambas,

Re: [Gambas-user] Help Taskbar(form_panel)

2014-05-06 Thread Benoît Minisini
Le 28/04/2014 22:12, herberth guzman a écrit : Hi, I'm making a desktop in Gambas3 called Innova (everything was possible thanks to the help of Fabien Bodard) some widget (w_desktop, w_date, w_clock, w_calc, w_eject, w_PcInfo), Etc. I'm making a panel for my desktop and I need to know how

Re: [Gambas-user] Problem with TextArea in Gambas 3.5.3

2014-05-06 Thread Jussi Lahtinen
I cannot reproduce it either. Maybe the problem is in older version of GTK+ (libgtk-x11-2.0.so.0.2400. *10* instead of libgtk-x11-2.0.so.0.2400.*23*)? [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Ubuntu 14.04 LTS Desktop=XFCE Theme=QGtk

Re: [Gambas-user] Problem with TextArea in Gambas 3.5.3

2014-05-06 Thread gian
Hello Benoit, I (re)confirm Wolfgang results: With gb.gui: (F3:2853): Gtk-CRITICAL **: IA__gtk_text_buffer_set_text: assertion 'text != NULL' failed With gb.gtk: ERROR: TextArea1.Text is not static With gb.qt4: well works!!! My system is: [System] Gambas=3.5.3

Re: [Gambas-user] Problem with TextArea in Gambas 3.5.3

2014-05-06 Thread gian
Hello Benoit, on my wife's computer TextArea works well, so I think it's a problem of 3.5.3 [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.11.0-20-generic Architecture=x86 Distribution=Ubuntu 13.10 Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3021M [Libraries]

Re: [Gambas-user] Problem with TextArea in Gambas 3.5.3

2014-05-06 Thread Benoît Minisini
Le 07/05/2014 00:45, gian a écrit : Hello Benoit, on my wife's computer TextArea works well, so I think it's a problem of 3.5.3 The bug should be fixed in revision #6255. Regards, -- Benoît Minisini -- Is your

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

2014-05-06 Thread VonZorch
When I uncomment the Inherits UserControl line I get the error Cannot Inherit twice. On Tue, May 6, 2014 at 3:08 PM, Fabien Bodard-4 [via Gambas] ml-node+s8142n46344...@n7.nabble.com wrote: yes... you must inherit usercontrol 2014-05-06 6:13 GMT+02:00 VonZorch [hidden

Re: [Gambas-user] Pcduino

2014-05-06 Thread Shane
yes I have it running on my pcduino and it runs well and I have been able to turn leds on and off using gambas but as far as anything else go's I've had no luck Eg: getting the PWM to work and One Wire when I first started looking into this I thought that I would be simple and that the pcduino

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

2014-05-06 Thread B Bruen
On Mon, 5 May 2014 21:13:25 -0700 (PDT) VonZorch vonzo...@gmail.com wrote: I developed a custom control. I followed the instructions on the How to Program Components In Gambas page. It works correctly and can be selected from the project properties dialog. It can be created in code but I

Re: [Gambas-user] Problem with TextArea in Gambas 3.5.3

2014-05-06 Thread Wolfgang, dl7nb
Am 07.05.2014 01:22, schrieb Benoît Minisini: Le 07/05/2014 00:45, gian a écrit : Hello Benoit, on my wife's computer TextArea works well, so I think it's a problem of 3.5.3 The bug should be fixed in revision #6255. Regards, Thank you for sorting the problem out! Regards, Wolfgang