Re: [Gambas-user] help with ListView code?

2017-07-28 Thread mikeB
Greetings, I just want to give a BIG THANK YOU to all those that responded to help me solve this problem - special gratitude goes out to 'Tobias Boege' for his time and efforts to give me a better picture of whats going on with the "ColunmView" control. I've still got a few problems to solve

Re: [Gambas-user] help with ListView code?

2017-07-28 Thread Tobias Boege
On Thu, 27 Jul 2017, mikeB wrote: > Greetings all, > I've got a Listview (set as Column view) with 2 columns that I'm using > > for testing so I might understand how all this works so can add it to a > project. > > testCode.. > With listview1 >

Re: [Gambas-user] help with ListView code?

2017-07-28 Thread Fabien Bodard
Le 28 juil. 2017 07:12, "mikeB" a écrit : Greetings all, I've got a Listview (set as Column view) with 2 columns that I'm using for testing so I might understand how all this works so can add it to a project. testCode.. With listview1 .Clear

Re: [Gambas-user] help with ListView code?

2017-07-27 Thread mikeB
Greetings all, I've got a Listview (set as Column view) with 2 columns that I'm using for testing so I might understand how all this works so can add it to a project. testCode.. With listview1 .Clear .Resizable = True .Columns.Count =

Re: [Gambas-user] Help needed from regexp gurus

2017-06-19 Thread Fernando Cabral
This is mostly to thank Tobi and Jussi for their help in solving some issues that were making me unhappy. With three lines of code I have solved what used to take me twenty or so. What is better yet: execution time fell down from 2min 30 sec to 1,5 seconds. And the code is much more transparent, T

Re: [Gambas-user] Help needed from regexp gurus / String.Mid() and Mid$() implementation

2017-06-18 Thread Fernando Cabral
Tobi, I have been learning a lot with your comments and suggestions. Usually, I don't stress performance too much. In this case, I have tried to do things a little faster because I am using Gambas as a kind of add-on to LibreOffice. I use it to check readability, wordiness, sentences that are too

Re: [Gambas-user] Help needed from regexp gurus / String.Mid() and Mid$() implementation

2017-06-18 Thread Tobias Boege
On Sat, 17 Jun 2017, Fernando Cabral wrote: > Tobi > > One more thing about the way I wish it could work (I remember having done > this in C perhaps 30 years ago). The pseudo-code bellow is pretty > schematic, but I think it will clarify the issue. > > Let p and l be arrays of integers and s be t

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Jussi Lahtinen
Oh, sorry... this way of course: Dim sStr As String = "abc. def!!! ghi? jkl: (mno)" Dim sWords As String[] sWords = Split(sStr, " .!?:()", "", True) ''Expand as you will. For ii = 0 To sWords.Max Print sWords[ii] Next Jussi On Sun, Jun 18, 2017 at 6:29 AM, Jussi Lahtinen

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Jussi Lahtinen
I think I would do something like: Dim ii As Integer Dim sStr As String = "abc defg hijkl" Dim sWords As String[] sWords = Split(sStr, " ") For ii = 0 To 2 Print sWords[ii] Next Jussi On Sun, Jun 18, 2017 at 2:57 AM, Fernando Cabral < fernandojosecab...@gmail.com> wrote: > T

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
Tobi One more thing about the way I wish it could work (I remember having done this in C perhaps 30 years ago). The pseudo-code bellow is pretty schematic, but I think it will clarify the issue. Let p and l be arrays of integers and s be the string "abc defg hijkl" So, after traversing the strin

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
Thank you, Tobi, for taking the time to comment on my issues. I will ponder the following. 2017-06-17 18:06 GMT-03:00 Tobias Boege : > On Sat, 17 Jun 2017, Fernando Cabral wrote: > >> Still beating my head against the wall due to my lack of knowledge about > >> the PCRE methods and properties...

Re: [Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Tobias Boege
On Sat, 17 Jun 2017, Fernando Cabral wrote: > Still beating my head against the wall due to my lack of knowledge about > the PCRE methods and properties... Because of this, I have progressed not > only very slowly but also -- I fell -- in a very inelegant way. So perhaps > you guys who are more acq

[Gambas-user] Help needed from regexp gurus

2017-06-17 Thread Fernando Cabral
Still beating my head against the wall due to my lack of knowledge about the PCRE methods and properties... Because of this, I have progressed not only very slowly but also -- I fell -- in a very inelegant way. So perhaps you guys who are more acquainted with PCRE might be able to hint me on a bett

Re: [Gambas-user] Help menu in Properties

2017-05-02 Thread Fabien Bodard
2017-05-02 20:30 GMT+02:00 herberth guzman : >> Hi Benoit, > >> Question...? > >> The help menu that appears in properties appears in English >> I am encouraging the use of Gambas3 but many do not speak English > >> I ask > >> Can you use it in Spanish ...? >> I can help...? > > >> Regards > >> Her

Re: [Gambas-user] Help menu in Properties

2017-05-02 Thread herberth guzman
> Hi Benoit, > Question...? > The help menu that appears in properties appears in English > I am encouraging the use of Gambas3 but many do not speak English > I ask > Can you use it in Spanish ...? > I can help...? > Regards > Herberth Guzmán I want to clarify that it is not always, it de

[Gambas-user] Help menu in Properties

2017-05-02 Thread herberth guzman
Hi Benoit, Question...? The help menu that appears in properties appears in English I am encouraging the use of Gambas3 but many do not speak English I ask Can you use it in Spanish ...? I can help...? Regards Herberth Guzmán --

Re: [Gambas-user] Help wanted for aspell installation

2017-05-01 Thread Fernando Cabral
Thank you, Tobi. I'll see if I can fix it and move forward. 2017-05-01 9:17 GMT-03:00 Tobias Boege : > On Sun, 30 Apr 2017, Fernando Cabral wrote: > > Hello > > > > After downloading gb.aspell I tried to install the package running > ./reconf > > as indicated. Nevertheless, it has not worked. An

Re: [Gambas-user] Help wanted for aspell installation

2017-05-01 Thread Tobias Boege
On Sun, 30 Apr 2017, Fernando Cabral wrote: > Hello > > After downloading gb.aspell I tried to install the package running ./reconf > as indicated. Nevertheless, it has not worked. Any help much appreciates. > Error messages follow. > > hostname ~/Downloads/gambas3-3.9.2/gb.aspell $ ./reconf > a

[Gambas-user] Help wanted for aspell installation

2017-04-30 Thread Fernando Cabral
Hello After downloading gb.aspell I tried to install the package running ./reconf as indicated. Nevertheless, it has not worked. Any help much appreciates. Error messages follow. hostname ~/Downloads/gambas3-3.9.2/gb.aspell $ ./reconf autoreconf: Entering directory `.' autoreconf: configure.ac:

Re: [Gambas-user] Help needed with drag icon

2017-04-28 Thread bill-lancaster
OK, I had a feeling I was being stupid! I don't need to show an icon anyway, just draw a shape that tracks the mouse during the drag event. Thanks anyway. -- View this message in context: http://gambas.8142.n7.nabble.com/Help-needed-with-drag-icon-tp58829p58835.html Sent from the gambas-user ma

Re: [Gambas-user] Help needed with drag icon

2017-04-28 Thread bill-lancaster
Thanks Guys, Yes, I had looked at those examples already. They both have code like:- Drag.Icon = Last.Picture Last.Drag(Last.Picture.Image) or Last.Drag(Last.Tag) Drag.Icon = Picture["icon:/32/add"] Problem is that I don't have a last.image or a last.tag. I'm dragging a shape that has

Re: [Gambas-user] Help needed with drag icon

2017-04-28 Thread Charlie
Have a look at my previous efforts regarding this here http://gambas.8142.n7.nabble.com/Drag-Icon-td58574.html - Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Help-needed-with-drag-ico

Re: [Gambas-user] Help needed with drag icon

2017-04-27 Thread Gianluigi
Could You take a look at DragNDrop in Examples. Maybe it could help Regards Gianluigi 2017-04-27 16:23 GMT+02:00 bill-lancaster : > I have a DrawingArea with a series of images drawn within. > I can move an image within the DrawingArea but how to show a drag,icon > while > the image is being dra

[Gambas-user] Help needed with drag icon

2017-04-27 Thread bill-lancaster
I have a DrawingArea with a series of images drawn within. I can move an image within the DrawingArea but how to show a drag,icon while the image is being dragged? Public Sub dwgImage2_MouseDrag() Drag.Icon = Picture["icon:/64/linux"] End This code doesn't show any icon during the drag operet

[Gambas-user] Help Class XmlDocument

2017-04-02 Thread Hans Lehmann
Hello, I want to use the XmlDocument class for a project for our Gambas online book (www.gambas-buch.de) to write an XML file and implement this headnote from the documentation: 'This API can be used to read as well as write an XML document'. The following shall be the content of the file

Re: [Gambas-user] Help with Observer 'Stop Event'

2017-03-29 Thread Rolf-Werner Eilert
Am 27.03.2017 21:29, schrieb Riccardo: > I have an observer on a ValueBox control to prevent it changing to zero and > to prevent it becoming larger than the value in a different ValueBox. > > Public Sub valNumObserver_change() > >If valNum.value = 0 Then valNum.Value = 1 >If valNum.Value >

Re: [Gambas-user] Help with Observer 'Stop Event'

2017-03-28 Thread Riccardo
Thank you both for the clarification ... both GAMBAS, and this forum, are amazing! -- View this message in context: http://gambas.8142.n7.nabble.com/Help-with-Observer-Stop-Event-tp58715p58720.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] Help with Observer 'Stop Event'

2017-03-27 Thread Benoît Minisini
Le 27/03/2017 à 22:18, Tobias Boege a écrit : > On Mon, 27 Mar 2017, Riccardo wrote: >> I have an observer on a ValueBox control to prevent it changing to zero and >> to prevent it becoming larger than the value in a different ValueBox. >> >> Public Sub valNumObserver_change() >> >> If valNum.val

Re: [Gambas-user] Help with Observer 'Stop Event'

2017-03-27 Thread Tobias Boege
On Mon, 27 Mar 2017, Riccardo wrote: > I have an observer on a ValueBox control to prevent it changing to zero and > to prevent it becoming larger than the value in a different ValueBox. > > Public Sub valNumObserver_change() > > If valNum.value = 0 Then valNum.Value = 1 > If valNum.Value > v

[Gambas-user] Help with Observer 'Stop Event'

2017-03-27 Thread Riccardo
I have an observer on a ValueBox control to prevent it changing to zero and to prevent it becoming larger than the value in a different ValueBox. Public Sub valNumObserver_change() If valNum.value = 0 Then valNum.Value = 1 If valNum.Value > valDen.Value Then Stop Event End With first case,

[Gambas-user] Help about interfacing 'net-snmp' C library with Gambas3

2017-03-16 Thread linus
Hello, I try to create a component in Gambas3 based on the 'net-snmp' C library. I already have a component to manage requests by snmp written in Gambas3 but using directly the various commands given by net-snmp like: - snmpget - snmpwalk - snmpbulk Now I try to use directly the 'net-snmp' C li

[Gambas-user] help using TexImage1D in opengl component

2016-11-05 Thread Greg Raffaelle
I am trying to use opengl to create 2D color contour plot of some engineering data. I found the code below which colors a triangle with contours using opengl. I have been trying to convert it to work in Gambas. See below my current version converted to Gambas. I am asking for assistance for

Re: [Gambas-user] Help! How to assign a theme to an editor control

2016-07-14 Thread Benoît Minisini
Le 04/07/2016 08:34, adamn...@gmail.com a écrit : > I am totally lost with this one :-( > > Given I have a custom IDE highlighting theme saved as a file in my home dir. > Say "bb.gambas.theme". > > Now I want to apply that same highlighting scheme to an editor control in > some gui project. >

[Gambas-user] Help! How to assign a theme to an editor control

2016-07-03 Thread adamn...@gmail.com
I am totally lost with this one :-( Given I have a custom IDE highlighting theme saved as a file in my home dir. Say "bb.gambas.theme". Now I want to apply that same highlighting scheme to an editor control in some gui project. How do I go about this? As I said - totally lost. tia Bruce --

[Gambas-user] Help me please

2015-09-16 Thread zeus Jesus
you can use more than one webcam shrimp ?. I have drawn in the examples to use the web camars and when I use more than one pictures are not seen El 14/09/2015 11:32, "Benoît Minisini" escribió: > Le 14/09/2015 16:21, Benoît Minisini a écrit : > >> Le 07/09/2015 11:21, Fabien Bodard a écrit : >> >

Re: [Gambas-user] help me please

2015-09-16 Thread zeus Jesus
you can use more than one webcam shrimp ?. I have drawn in the examples to use the web camars and when I use more than one pictures are not seen El 15/09/2015 04:16, "Fabien Bodard" escribió: > Well i've been able to resist... this is a new version based on Benoit's > ones. > > I prefer the V3...

[Gambas-user] Help with DatGridView programing

2015-08-22 Thread Martin McGlensey
Hello, I have a form containing a datasource and a datagridview control. Its purpose is to display data and allow for edits and deletions on specific rows in the datagridview. I can fill the datagridview with data. No problem there. I select the row to be edited using the doubleclick event.

Re: [Gambas-user] help generation for local classes

2014-10-07 Thread Benoît Minisini
Le 07/10/2014 13:36, Benoît Minisini a écrit : > Le 07/10/2014 06:56, B Bruen a écrit : >> I am not sure where this crept in but... >> >> The IDE help browser now deems local classes to be non-creatable if >> they do not contain a _new() method. >> pic attached >> > > Mmm... Indeed. > It should be

Re: [Gambas-user] help generation for local classes

2014-10-07 Thread Benoît Minisini
Le 07/10/2014 06:56, B Bruen a écrit : > I am not sure where this crept in but... > > The IDE help browser now deems local classes to be non-creatable if they do > not contain a _new() method. > pic attached > Mmm... Indeed. -- Benoît Minisini --

Re: [Gambas-user] help generation for local classes

2014-10-07 Thread Willy Raets
On di, 2014-10-07 at 15:26 +1030, B Bruen wrote: > I am not sure where this crept in but... See this thread and you will now where it crept in: http://sourceforge.net/p/gambas/mailman/gambas-user/thread/1411158266.2876.13.camel%40Attilla/#msg32850004 > > The IDE help browser now deems local clas

[Gambas-user] help generation for local classes

2014-10-06 Thread B Bruen
I am not sure where this crept in but... The IDE help browser now deems local classes to be non-creatable if they do not contain a _new() method. pic attached -- B Bruen -- Meet PCI DSS 3.0 Compliance Requirements with

Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-16 Thread bill-lancaster
Thanks gianluigi Not speaking Italian I wasn't confident in following the instructions in the link - sorry. Thanks also Jesus-21, but still had errors. I found this link:- http://kalaharix.wordpress.com/2012/04/22/installing-gambas-3-on-ubuntu-12-04-lts-precise-pangolin/ It worked fine -- View

Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread gian
Hello Bill, I have recently installed Gambas3 (trunk version) in Ubuntu 14:04, and I reported here all the steps: http://www.gambas-it.org/smf/index.php?topic=3403.msg32830#msg32830 Maybe it could help gianluigi Il 15/06/2014 12:56, Jesus ha scritto: > El 15/06/14 11:48, bill-lancaster esc

Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread Jesus
El 15/06/14 11:48, bill-lancaster escribió: > Ah! This is a fresh install of Kubuntu 14.04 > I don't know anything about g++ but will look into it. > Thanks for the reply Bill, please, check this page in the first place, if you don't want to run into some problems. http://gambaswiki.org/wiki/in

Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread bill-lancaster
Ah! This is a fresh install of Kubuntu 14.04 I don't know anything about g++ but will look into it. Thanks for the reply -- View this message in context: http://gambas.8142.n7.nabble.com/Help-needed-with-installing-Gambas-3-5-35-tp46994p46996.html Sent from the gambas-user mailing list archi

Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread Tobias Boege
On Sun, 15 Jun 2014, bill-lancaster wrote: > This is what I have done so far:- > 1 Download latest gambas version > 2 In terminal CD to install directory > 3 run ./reconf-all > 4 run ./configure -C > so far everything seems OK > 5 run make - two error reported. Hers is the result:- > [...] > `/hom

[Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread bill-lancaster
This is what I have done so far:- 1 Download latest gambas version 2 In terminal CD to install directory 3 run ./reconf-all 4 run ./configure -C so far everything seems OK 5 run make - two error reported. Hers is the result:- make all-recursive make[1]: Entering directory `/home/bill/GambasFolder

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

[Gambas-user] Help Taskbar(form_panel)

2014-04-28 Thread herberth guzman
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 to set a form type panel having top with the windows o

[Gambas-user] help with gb.qt4.

2014-02-07 Thread Stephen
Gambas 3.5.2 is close to being successfully built but I have run into a snag with the gb.qt4 component. ./reconf-all works OK. ./configure results in the following || || THESE COMPONENTS ARE DISABLED: || - gb.jit || - gb.media || - gb.openal || no errors, but when then make fails with the foll

Re: [Gambas-user] Help Gambas2 on Mint15

2013-10-08 Thread Charlie Reinl
Am Samstag, den 10.08.2013, 17:04 -0400 schrieb Pino Zollo: > ino Zollo -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advance

Re: [Gambas-user] Help Gambas2 on Mint15

2013-08-10 Thread Benoît Minisini
Le 10/08/2013 23:04, Pino Zollo a écrit : > Hi Benoit, > > Is there any chance to have qt4 suported on Gambas2 2.24.0 ? > > I really need to run Gambas2 old aplications on Mint15 MATE. > > I have tryed to install qt3, but without luck. > > Merci > > > Pino > No chance. There is no development

[Gambas-user] Help Gambas2 on Mint15

2013-08-10 Thread Pino Zollo
Hi Benoit, Is there any chance to have qt4 suported on Gambas2 2.24.0 ? I really need to run Gambas2 old aplications on Mint15 MATE. I have tryed to install qt3, but without luck. Merci Pino -- Get 100% visibili

Re: [Gambas-user] Help Gambas2 on Mint15

2013-08-09 Thread Charlie Reinl
Am Donnerstag, den 08.08.2013, 11:46 -0400 schrieb Pino Zollo: > Hi, > > I need to run my old programs written in Gambas2 on a Mint15 PC with MATE. > > While Gambas 3 compiles very well, with Gambas2 I can not because of QT: > > ./configure says: > > Disabled > gb.qt >

[Gambas-user] Help Gambas2 on Mint15

2013-08-08 Thread Pino Zollo
Hi, I need to run my old programs written in Gambas2 on a Mint15 PC with MATE. While Gambas 3 compiles very well, with Gambas2 I can not because of QT: ./configure says: Disabled gb.qt gb.qt.kde gb.qte Which version of QT is needed ? If I comp

[Gambas-user] Help on gb.Report (3.4.1)

2013-07-01 Thread Safiur Rahman
hello I want to request for some help in using gb.report (3.4.1). How can i get wordwrap property in ReportLabel (like TextArea). Currently Reportlabel shows large text in single line only unless we ourself divide into several lines. Thanks Safiur Rahman

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-07-01 Thread Benoît Minisini
Le 01/07/2013 17:22, dr.diesel a écrit : > Well, even with: > > Public hDevice As File > Public sLine As String > > Public Sub Form_Open() > hDevice = Open "/dev/usbtmc0" For Read Output Watch > End 'Read Output' has no sense (Gambas should complain there, I will check why it does not), it shou

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-07-01 Thread dr.diesel
Well, even with: Public hDevice As File Public sLine As String Public Sub Form_Open() hDevice = Open "/dev/usbtmc0" For Read Output Watch End Public Sub File_Read() sLine = Read #hDevice, -256 Print sLine End It sill just times out when the form opens, without even sending any comma

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-07-01 Thread Tobias Boege
On Mon, 01 Jul 2013, dr.diesel wrote: > Thanks again, I believe this is what is causing my problems with > "/dev/usbtmc0" > > read(2) and fread(2) > Here's another aspect you need to be aware of. The kernel offers two sets of > system calls for file I/O, and their behavior is slightly different, >

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-07-01 Thread Benoît Minisini
Le 01/07/2013 16:38, dr.diesel a écrit : > Thanks again, I believe this is what is causing my problems with > "/dev/usbtmc0" > > read(2) and fread(2) > Here's another aspect you need to be aware of. The kernel offers two sets of > system calls for file I/O, and their behavior is slightly different,

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-07-01 Thread dr.diesel
Thanks again, I believe this is what is causing my problems with "/dev/usbtmc0" read(2) and fread(2) Here's another aspect you need to be aware of. The kernel offers two sets of system calls for file I/O, and their behavior is slightly different, especially when it comes to reading data. The read(

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-06-29 Thread Randall Morgan
Sorry to jump in here but I was wondering if this could be caused the mode the usb connection is opened in? The OS is not required to send the data to usb devices at the time your program talks to the usb port. The data is often cached for some time before being sent to the usb device. There is a u

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-06-29 Thread Tobias Boege
On Fri, 28 Jun 2013, dr.diesel wrote: > Thanks for the help. That is basically what I've done, expect all I get: > > "System error #110: Connection Timed out" > > I get the same when I cat and echo, but I get the proper response then get > the error: > > [root@dev andy]# echo *IDN?>/dev/usbtmc0

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-06-28 Thread dr.diesel
Thanks for the help. That is basically what I've done, expect all I get: "System error #110: Connection Timed out" I get the same when I cat and echo, but I get the proper response then get the error: [root@dev andy]# echo *IDN?>/dev/usbtmc0 [root@dev andy]# cat /dev/usbtmc0 Rigol Technologies

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-06-26 Thread Tobias Boege
On Tue, 25 Jun 2013, dr.diesel wrote: > Hello all, > > I'm trying to communicate to a Rigol spectrum analyzer, which is routed to > /dev/usbtmc0 once connected via USB. You can easily echo and cat serial > commands to usbtmc0 but I'd prefer to use a socket of some sort, any > suggestions on how t

[Gambas-user] Help binding to /dev/usbtmc0?

2013-06-25 Thread dr.diesel
Hello all, I'm trying to communicate to a Rigol spectrum analyzer, which is routed to /dev/usbtmc0 once connected via USB. You can easily echo and cat serial commands to usbtmc0 but I'd prefer to use a socket of some sort, any suggestions on how to do this via gambas? usbtmc0 has no port speed o

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-26 Thread Benoît Minisini
Le 20/01/2013 19:26, Ulrich Hartmann a écrit : > ok, no problem, I'll wait for version 3.4 > > Just one question, is there a way (in 3.4's Paint class) to access each > pixel and get its color value, so that I can export the characters bytes > as a text-file (.c/ .h) based on the changed image, whe

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Ulrich Hartmann
ok, no problem, I'll wait for version 3.4 Just one question, is there a way (in 3.4's Paint class) to access each pixel and get its color value, so that I can export the characters bytes as a text-file (.c/ .h) based on the changed image, when I'm done drawing my characters/ images? Uli Am 20

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Benoît Minisini
Le 20/01/2013 16:03, Ulrich Hartmann a écrit : > ok, I tried to use Paint.ZoomImage but I get an error "unknown symbol in > class Paint" > > The Documentation states gb.qt4 is the class needed and I already have > gb.qt4 imported/ activated... > > I'm using Gambas 3.3.4 on Ubuntu > > Uli > Oops so

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Ulrich Hartmann
ok, I tried to use Paint.ZoomImage but I get an error "unknown symbol in class Paint" The Documentation states gb.qt4 is the class needed and I already have gb.qt4 imported/ activated... I'm using Gambas 3.3.4 on Ubuntu Uli Am 20.01.2013 15:30, schrieb Ulrich Hartmann: > Hi Benoît, > > thanks

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Ulrich Hartmann
Hi Benoît, thanks for the tip. I would then I guess have to create a Image object in the desired size (32x50 for example) in memory, black and white and use Paint.ZoomImage to display and edit it? Uli Am 20.01.2013 14:22, schrieb Benoît Minisini: > Le 20/01/2013 14:17, Ulrich Hartmann a écr

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Tobias Boege
On Sun, 20 Jan 2013, Ulrich Hartmann wrote: > Hi Tobi, > > yes this looks pretty much like what I want to do, just that I need > only pixel on or off and a way to export it as a C code byte array. > > I have a first version which allows me to define character size and > edit the character, but wh

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Benoît Minisini
Le 20/01/2013 14:17, Ulrich Hartmann a écrit : > Hi Tobi, > > yes this looks pretty much like what I want to do, just that I need only > pixel on or off and a way to export it as a C code byte array. > > I have a first version which allows me to define character size and edit > the character, but w

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Ulrich Hartmann
Hi Tobi, yes this looks pretty much like what I want to do, just that I need only pixel on or off and a way to export it as a C code byte array. I have a first version which allows me to define character size and edit the character, but when I choose character sizes bigger than 20x20 pixels

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-20 Thread Ulrich Hartmann
Hi Caveat, thanks for the code, this makes it easier for me to understand how I could solve this in a good way! Uli Am 17.01.2013 11:25, schrieb Caveat: > As a kind of getting started hint (not sure how far you got already), > I have some code I wrote a while back to draw hex values as binary

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-19 Thread Benoît Minisini
Le 17/01/2013 10:18, Ulrich Hartmann a écrit : > Hi all, > > I'm trying to create a class which can draw a pixel-font character on screen > and would let me edit the pixels (this is for my graphic lcd connected to an > arduino project). So I started playing around with the Paint class in Gambas3.

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-17 Thread Tobias Boege
On Thu, 17 Jan 2013, Ulrich Hartmann wrote: > Hi all, > > I'm trying to create a class which can draw a pixel-font character on screen > and would let me edit the pixels (this is for my graphic lcd connected to an > arduino project). So I started playing around with the Paint class in Gambas3. >

Re: [Gambas-user] Help with DrawingArea and class design

2013-01-17 Thread Caveat
As a kind of getting started hint (not sure how far you got already), I have some code I wrote a while back to draw hex values as binary using little red boxes to represent the 1 bits...in the good old days, you'd often get custom sprites or characters defined with a bunch of DATA statements an

[Gambas-user] Help with DrawingArea and class design

2013-01-17 Thread Ulrich Hartmann
Hi all, I'm trying to create a class which can draw a pixel-font character on screen and would let me edit the pixels (this is for my graphic lcd connected to an arduino project). So I started playing around with the Paint class in Gambas3. So here are my questions: If I wanted to create my ow

Re: [Gambas-user] Help Browser font

2012-11-19 Thread Rolf-Werner Eilert
Am 19.11.2012 09:00, schrieb Benoît Minisini: > Le 19/11/2012 08:40, Rolf-Werner Eilert a écrit : >> >> Oh, great! :-) Did it find its way into 3.3.4, or do I have to use the >> svn trunk version? >> >> Regards >> >> Rolf >> > > You must use /trunk, as this is not a bug fix. > Ok, I used trunk,

Re: [Gambas-user] Help Browser font

2012-11-19 Thread Benoît Minisini
Le 19/11/2012 08:40, Rolf-Werner Eilert a écrit : > > Oh, great! :-) Did it find its way into 3.3.4, or do I have to use the > svn trunk version? > > Regards > > Rolf > You must use /trunk, as this is not a bug fix. -- Benoît Minisini

Re: [Gambas-user] Help Browser font

2012-11-18 Thread Rolf-Werner Eilert
Am 17.11.2012 00:57, schrieb Benoît Minisini: > Le 16/11/2012 12:03, Rolf-Werner Eilert a écrit : >> Aah yes, forgot this: >> >>> The only way I can think of to use a different font is (only if you compile >>> from >>> svn): >>> Open .../trunk/app/src/gambas3 >>> In the project, open Sources/Hel

Re: [Gambas-user] Help Browser font

2012-11-16 Thread Benoît Minisini
Le 16/11/2012 12:03, Rolf-Werner Eilert a écrit : > Aah yes, forgot this: > >> The only way I can think of to use a different font is (only if you compile >> from >> svn): >> Open .../trunk/app/src/gambas3 >> In the project, open Sources/Help/FHelpBrowser >> Change the font of tvwClasses and webHe

Re: [Gambas-user] Help Browser font

2012-11-16 Thread Rolf-Werner Eilert
Aah yes, forgot this: > The only way I can think of to use a different font is (only if you compile > from > svn): > Open .../trunk/app/src/gambas3 > In the project, open Sources/Help/FHelpBrowser > Change the font of tvwClasses and webHelp > Then compile I don't have the svn version, I use the

Re: [Gambas-user] Help Browser font

2012-11-16 Thread Rolf-Werner Eilert
I didn't mean the font that draws the menues and stuff, but only the font that shows the help pages. This appears like an Arial Narrow or other Sans Narrow font. As I cannot use font aliasing on my office machine, this font is somewhat difficult to read. When the help pages are all made up with

Re: [Gambas-user] Help Browser font

2012-11-15 Thread Matti
That's funny. On my machine the help browser has no extra font, it uses the standard Gambas font that is defined in the settings dialog, section 'interface'. So your Gambas should look ugly all over... :-) The only way I can think of to use a different font is (only if you compile from svn): O

[Gambas-user] Help Browser font

2012-11-15 Thread Rolf-Werner Eilert
Is it possible to change the font used in the help browser? On my system, the font used looks a bit ugly. Regards Rolf -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth i

Re: [Gambas-user] Help comments are now exported

2012-11-10 Thread Benoît Minisini
Le 10/11/2012 05:25, Sebastian Kulesz a écrit : > > Hi! I'm seeing numerous compilation errors when compiling the IDE and the > examples. They happen both locally and on the daily builds PPA. Must be the > changes made to the compiler, because those files where not touched in a > while. > > Here is

Re: [Gambas-user] Help comments are now exported

2012-11-09 Thread Sebastian Kulesz
On Fri, Nov 9, 2012 at 9:43 PM, Willy Raets wrote: > On Sat, 2012-11-10 at 01:26 +0100, Benoît Minisini wrote: > > Hi, > > > > Since revision #5311, help comments are now exported by the compiler > > into the information files of libraries and components (*.info files). > > > > Consequently, if yo

Re: [Gambas-user] Help comments are now exported

2012-11-09 Thread Willy Raets
On Sat, 2012-11-10 at 01:26 +0100, Benoît Minisini wrote: > Hi, > > Since revision #5311, help comments are now exported by the compiler > into the information files of libraries and components (*.info files). > > Consequently, if you define some help in your libraries, you will see > them in t

Re: [Gambas-user] Help comments are now exported

2012-11-09 Thread Jussi Lahtinen
Thanks, this is really useful! I'll test it as soon I get some time. Jussi On Sat, Nov 10, 2012 at 2:26 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > Hi, > > Since revision #5311, help comments are now exported by the compiler > into the information files of libraries and compon

[Gambas-user] Help comments are now exported

2012-11-09 Thread Benoît Minisini
Hi, Since revision #5311, help comments are now exported by the compiler into the information files of libraries and components (*.info files). Consequently, if you define some help in your libraries, you will see them in the IDE! Help comments must begin with two quotes and a space (`'' `), a

Re: [Gambas-user] Help lines with new syntax

2012-10-14 Thread Jussi Lahtinen
Hmm... OK. This doesn't work: ''This is help line. This however works: '' This is help line. Is that necessary for the new syntax? Jussi On Sun, Oct 14, 2012 at 1:40 AM, Jussi Lahtinen wrote: > I remember some while ago, that help line syntax changed and I even > managed to find the docum

Re: [Gambas-user] help gb.chart

2012-08-28 Thread rightengineer
Dear Fabien, Once again thank you. I tested the code and it worked fine. I was unaware about way the GAMBAS stores its project files. Since the demo file sent was with extension "tar.gz" I tried to uncompress it but could not succeed. I was about to write back to you, but I thought that I should d

Re: [Gambas-user] help gb.chart

2012-08-27 Thread Fabien Bodard
this a demo 2012/8/27 rightengineer : > Thanks for response Fabien... > > can you share any working example using gb.chart. I tried the attached > code but it does not work and there is no documentation which I can > refer and write code. > > What I want to is plot X-Y Line Graph, I tried using th

Re: [Gambas-user] help gb.chart

2012-08-26 Thread Fabien Bodard
2012/8/27 rightengineer : > Has any one documented help for gb.chart? hem :/ ... no but maybe i can help you ? > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and

[Gambas-user] help gb.chart

2012-08-26 Thread rightengineer
Has any one documented help for gb.chart? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions wi

[Gambas-user] help with datascrol control

2012-07-27 Thread tomasz brymora
Greetings! I decided to dev a project in Gambas and being a complete noob, got stuck on using the DataScroll control. I can connect to PostgreSql and save data. I'm trying to read it back in and populate DataScroll and that's where I'm lost. On the form I got DataSource1 and as it's children Data

[Gambas-user] Help Wanted

2012-03-25 Thread A. Person
Sunday, 25 March 2012 Not a bug report. From the Gambas bug tracker: Debian Wheezy - up to date - Quad core AMD Phenom II X4 965 (-MCP-) cache: 2048 KB - Gambas2.23 (latest in wheezy) - gb.qt I attached two images of a problem. Before.png is a command button with only text and after.png is a

Re: [Gambas-user] Help for Image and Picture Colors

2012-02-10 Thread tobi
On Fri, 10 Feb 2012, Benoît Minisini wrote: > Le 06/02/2012 21:19, tobias a écrit : > > hi, > > > > Benoît Minisini wrote: > >> Le 04/02/2012 01:19, tobias a écrit : > >>> On 04.02.2012 01:12, tobias wrote: > Hi, > > I really need help. There's a lot of work with colors in Images an

  1   2   3   >