Re: [Gambas-user] curve fitting library ?

2012-01-22 Thread Wally
I assume you do not have a code example, right ? On Sunday, January 22, 2012 17:02:17 Randall Morgan wrote: > Just a thought, > > You could write a callable wrapper around numpy then call that from Gambas. > Would give you all the power of the python numerical library from within > Gambas. >

Re: [Gambas-user] DB.Quote() doesn't quotes apostrophes

2012-01-22 Thread John Spikowski
On Mon, 2012-01-23 at 00:15 +0100, M. Cs. wrote: > I have a dinamically created query text. I don't know the number of > parameters passed to the DB.Exec, so I cannot use &1,&2,... form. I > need to use the DB.Quote() > My problem is: If I have a string > mystring="Blackmore's Night", > the DB.Quot

Re: [Gambas-user] DB.Quote() doesn't quotes apostrophes

2012-01-22 Thread richard terry
On Monday 23 January 2012 10:15:07 M. Cs. wrote: > I have a dinamically created query text. I don't know the number of > parameters passed to the DB.Exec, so I cannot use &1,&2,... form. I > need to use the DB.Quote() > My problem is: If I have a string > mystring="Blackmore's Night", > the DB.Quot

Re: [Gambas-user] curve fitting library ?

2012-01-22 Thread Randall Morgan
Just a thought, You could write a callable wrapper around numpy then call that from Gambas. Would give you all the power of the python numerical library from within Gambas. On Sun, Jan 22, 2012 at 2:18 AM, Randall Morgan wrote: > Not with Gambas and it's been a long while. But if you understa

[Gambas-user] How to create simple applet?

2012-01-22 Thread abbat
How to create simple applet with text? Thanks -- View this message in context: http://old.nabble.com/How-to-create-simple-applet--tp33185455p33185455.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] DB.Quote() doesn't quotes apostrophes

2012-01-22 Thread M. Cs.
I have a dinamically created query text. I don't know the number of parameters passed to the DB.Exec, so I cannot use &1,&2,... form. I need to use the DB.Quote() My problem is: If I have a string mystring="Blackmore's Night", the DB.Quote(mystring) won't quote the ', so the query will crash. In fa

Re: [Gambas-user] Issue 181 in gambas: Crash with certain menu caption.

2012-01-22 Thread gambas
Comment #6 on issue 181 by jussi.la...@gmail.com: Crash with certain menu caption. http://code.google.com/p/gambas/issues/detail?id=181 When I run gambas3 from terminal on my virtual machine (xubuntu 11.10 64bit), I will get this: $ gambas3 QGtkStyle was unable to detect the current GTK+ the

[Gambas-user] example of applet (own text in it) for GNOME Panel on Gambas 3

2012-01-22 Thread abbat
Need an example of applet (own text in it) for GNOME Panel on Gambas 3 Can someone be kind and show how to do it? Thanks -- View this message in context: http://old.nabble.com/example-of-applet-%28own-text-in-it%29-for-GNOME-Panel-on-Gambas-3-tp33184757p33184757.html Sent from the gambas-user

Re: [Gambas-user] How to auto-adjust GridView column widths?

2012-01-22 Thread Benoît Minisini
Le 22/01/2012 19:42, M. Cs. a écrit : > Public Sub gv_Data(x As Integer, y As Integer) ' Fills the GridView > with the querry results > Dim i As Integer > Dim szine As String > If ((x Mod 2) = 0) Then >szine =&E5E5E5& > Else >szine =&FF& > Endif > > Select Case y > Case 0 > gV.Data.Te

Re: [Gambas-user] How to auto-adjust GridView column widths?

2012-01-22 Thread M. Cs.
Public Sub gv_Data(x As Integer, y As Integer) ' Fills the GridView with the querry results Dim i As Integer Dim szine As String If ((x Mod 2) = 0) Then szine = &E5E5E5& Else szine = &FF& Endif Select Case y Case 0 gV.Data.Text = Keress.Name(x) gV.Data.BackGround = szine Case 1 gV.Data.

Re: [Gambas-user] Bizarre things with controls

2012-01-22 Thread Emil Lenngren
The howto is at http://gambasdoc.org/help/howto/svn?view 2012/1/22 John Rose > Benoit, > > I do not know how to install #4415. Can you refer me to a howto for it? > > -- > Try before you buy = See our experts in action!

Re: [Gambas-user] Bizarre things with controls

2012-01-22 Thread John Rose
Benoit, I do not know how to install #4415. Can you refer me to a howto for it? -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Vis

Re: [Gambas-user] How use Image.Resize

2012-01-22 Thread Алексей Беспалов
Thank you! There, I was not looking. 2012/1/22 Laurent Carlier > > I think Image.Resize(w, h) not working properly. > > > > Instead of resizing image, it cuts out part of image. > > > > Say what? > > > > > > Perhaps http://gambasdoc.org/help/comp/gb.qt/image/stretch > > ++ > > > > --

Re: [Gambas-user] How use Image.Resize

2012-01-22 Thread Laurent Carlier
> I think Image.Resize(w, h) not working properly. > > Instead of resizing image, it cuts out part of image. > > Say what? > > Perhaps http://gambasdoc.org/help/comp/gb.qt/image/stretch ++ -- Try before you buy = Se

Re: [Gambas-user] Database manager error

2012-01-22 Thread Benoît Minisini
Le 20/01/2012 10:01, Andrea Bertini a écrit : > During the table's editing if you try to delete all the fields from the > last, program exit. > > Andrea Bertini > It should be fixed in revision #4415. Regards, -- Benoît Minisini -

Re: [Gambas-user] How use Image.Resize

2012-01-22 Thread Benoît Minisini
Le 22/01/2012 15:58, Алексей Беспалов a écrit : > I think Image.Resize(w, h) not working properly. > > Instead of resizing image, it cuts out part of image. > > Say what? > Resize() changes the size of the image, but does not stretch its contents. You need the Stretch() method for that. You will

Re: [Gambas-user] How use Image.Resize

2012-01-22 Thread Jussi Lahtinen
Image.Resize() resizes it's boundaries not the picture. See Draw.Picture(). http://gambasdoc.org/help/comp/gb.qt4/draw/picture?v3 Jussi On Sun, Jan 22, 2012 at 16:58, Алексей Беспалов wrote: > I think Image.Resize(w, h) not working properly. > > Instead of resizing image, it cuts out part of

Re: [Gambas-user] How use Image.Resize

2012-01-22 Thread Алексей Беспалов
I think Image.Resize(w, h) not working properly. Instead of resizing image, it cuts out part of image. Say what? -- Alexey. -- Try before you buy = See our experts in action! The most comprehensive online learning

Re: [Gambas-user] Issue 181 in gambas: Crash with certain menu caption.

2012-01-22 Thread gambas
Comment #5 on issue 181 by jussi.la...@gmail.com: Crash with certain menu caption. http://code.google.com/p/gambas/issues/detail?id=181 Sassandra, but I tried several others and problem persisted. -- Try before you bu

Re: [Gambas-user] Issue 181 in gambas: Crash with certain menu caption.

2012-01-22 Thread gambas
Comment #4 on issue 181 by benoit.m...@gmail.com: Crash with certain menu caption. http://code.google.com/p/gambas/issues/detail?id=181 Which GTK+ widget theme do you use exactly? -- Try before you buy = See our exper

Re: [Gambas-user] An example of applet (own text in it) for LXPanel on Gambas 3

2012-01-22 Thread abbat
Is it imposible? abbat wrote: > > Hi! > > Is it possible to find a simple example of such a applet like date for > LXPanel? > > Thanks. > > > -- View this message in context: http://old.nabble.com/An-example-of-applet-%28own-text-in-it%29-for-LXPanel-on-Gambas-3-tp33173919p33183252.html

Re: [Gambas-user] Bizarre things with controls

2012-01-22 Thread Benoît Minisini
Le 20/01/2012 20:16, John Rose a écrit : > When ButtonSearch is clicked, even though the only previous event coding on > TextAreaDetails is to clear& refresh it, text appears in it: this is as > though ComboBoxTitle has been clicked. > > To display the Text in the TextBox part of a ComboBox (i.e.

Re: [Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-22 Thread Benoît Minisini
Le 22/01/2012 07:58, John Rose a écrit : > SelectDirectory function does not display the 'Directory Chooser' popup > with the initial path set to Home.User when Dialog.Path has previously been > set to Home.User. Please give some details. Which GUI component do you use? Which desktop? Do you use

Re: [Gambas-user] How to auto-adjust GridView column widths?

2012-01-22 Thread Benoît Minisini
Le 21/01/2012 17:48, M. Cs. a écrit : > Is there a way to force a GridView control with 4 columns to adjust > the column's width to the content's width? > > How would it work with a control which expands or stretches itself > during maximizing the FMain? > > Thanks! > Normally you have to set the

Re: [Gambas-user] curve fitting library ?

2012-01-22 Thread Randall Morgan
Not with Gambas and it's been a long while. But if you understand the algorithms used and the type of curve fitting you desire for your problem domain then implementing it in Gambas is not a problem. You may want to google curve fitting algorithms. You need to know if you want a linear, polynomial

[Gambas-user] curve fitting library ?

2012-01-22 Thread Wally
Does anyone have experience with curve fitting and/or peakfinding using gambas ?(e.g. example code) Is there a plain C library (Linux) known, suitable to this problem and gambas ? Something like "fityk" (which is written in C++) but written in plain C to use with "EXTERN" I might wrap the

Re: [Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-22 Thread bbruen
uppercase??? Quoting John Rose : > SelectDirectory function does not display the 'Directory Chooser' popup > with the initial path set to Home.User when Dialog.Path has previously been > set to Home.User. > -- > Try befor