[Gambas-user] Issue 203 in gambas: Sub declaration allows a return value just like a function

2012-01-20 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 203 by zachsmit...@gmail.com: Sub declaration allows a return value just like a function http://code.google.com/p/gambas/issues/detail?id=203 1) A sub declaration allows

Re: [Gambas-user] Issue 185 in gambas: Editing a line changes font spacing

2012-01-20 Thread gambas
Updates: Labels: -Version-Any Version-TRUNK Comment #12 on issue 185 by benoit.m...@gmail.com: Editing a line changes font spacing http://code.google.com/p/gambas/issues/detail?id=185 (No comment was entered for this change.) ---

Re: [Gambas-user] Issue 189 in gambas: gambas3: postgresql connection password issue at runtime

2012-01-20 Thread gambas
Updates: Status: Fixed Comment #4 on issue 189 by benoit.m...@gmail.com: gambas3: postgresql connection password issue at runtime http://code.google.com/p/gambas/issues/detail?id=189 OK, I close the issue then. --

Re: [Gambas-user] Issue 190 in gambas: Crash with OpenGL projects

2012-01-20 Thread gambas
Updates: Status: WontFix Labels: -Version-TRUNK Version-3.0.0 Comment #7 on issue 190 by benoit.m...@gmail.com: Crash with OpenGL projects http://code.google.com/p/gambas/issues/detail?id=190 OK. -- Try

Re: [Gambas-user] Issue 194 in gambas: "IIf" is buggy

2012-01-20 Thread gambas
Updates: Labels: -Version-TRUNK Version-3.0.0 Comment #8 on issue 194 by benoit.m...@gmail.com: "IIf" is buggy http://code.google.com/p/gambas/issues/detail?id=194 (No comment was entered for this change.) -- Tr

Re: [Gambas-user] Issue 195 in gambas: The bit manipulation functions does not work correctly on Shorts when negative values are returned

2012-01-20 Thread gambas
Updates: Labels: -Version-TRUNK Version-3.0.0 Comment #3 on issue 195 by benoit.m...@gmail.com: The bit manipulation functions does not work correctly on Shorts when negative values are returned http://code.google.com/p/gambas/issues/detail?id=195 (No comment was entered for this chan

Re: [Gambas-user] Issue 196 in gambas: Inline arrays with different types

2012-01-20 Thread gambas
Updates: Labels: -Version-TRUNK Version-3.0.0 Comment #2 on issue 196 by benoit.m...@gmail.com: Inline arrays with different types http://code.google.com/p/gambas/issues/detail?id=196 (No comment was entered for this change.) ---

Re: [Gambas-user] Issue 199 in gambas: LostFocus & Leave events not activated for ValueBox

2012-01-20 Thread gambas
Updates: Labels: -Version-TRUNK Version-3.0.0 Comment #3 on issue 199 by benoit.m...@gmail.com: LostFocus & Leave events not activated for ValueBox http://code.google.com/p/gambas/issues/detail?id=199 (No comment was entered for this change.) --

Re: [Gambas-user] Issue 200 in gambas: [gb.dbus] A bug in the handling of errors when calling the dbus

2012-01-20 Thread gambas
Updates: Labels: -Version-TRUNK Version-3.0.0 Comment #3 on issue 200 by benoit.m...@gmail.com: [gb.dbus] A bug in the handling of errors when calling the dbus http://code.google.com/p/gambas/issues/detail?id=200 (No comment was entered for this change.) --

Re: [Gambas-user] Issue 200 in gambas: [gb.dbus] A bug in the handling of errors when calling the dbus

2012-01-20 Thread gambas
Updates: Status: Fixed Comment #2 on issue 200 by benoit.m...@gmail.com: [gb.dbus] A bug in the handling of errors when calling the dbus http://code.google.com/p/gambas/issues/detail?id=200 Thanks for the patch. The bugs should be fixed in revision #4413, the memory leak included. -

[Gambas-user] How use Image.Resize

2012-01-20 Thread Алексей Беспалов
My Image size 4000 * 4000 pixel. If I done: hImage.Resize(200, 200) Draw.Begin(hArea) Draw.Image(hImage, 0, 0) Draw.End I can see only part of the Image. How use hImage.Resize() for resize or scaled Image. I want to get a small image for a quick Draw.Image() -- Alexey. --

Re: [Gambas-user] Issue 201 in gambas: If enable gb.image.io you need disable gb.gt4 and gb.gtk and gb.gui

2012-01-20 Thread gambas
Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 201 by benoit.m...@gmail.com: If enable gb.image.io you need disable gb.gt4 and gb.gtk and gb.gui http://code.google.com/p/gambas/issues/detail?id=201 This is not a bug. You don't need gb.image.io if you

Re: [Gambas-user] Issue 202 in gambas: How use hImage.Resize

2012-01-20 Thread gambas
Updates: Status: Invalid Comment #1 on issue 202 by benoit.m...@gmail.com: How use hImage.Resize http://code.google.com/p/gambas/issues/detail?id=202 This is a bug tracker, not a forum. Please post your help requests on the mailing-list. ---

[Gambas-user] Issue 202 in gambas: How use hImage.Resize

2012-01-20 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 202 by bespalov...@gmail.com: How use hImage.Resize http://code.google.com/p/gambas/issues/detail?id=202 My Image size 4000 * 4000 pixel. If I done: hImage.Resize(200, 200

[Gambas-user] Issue 201 in gambas: If enable gb.image.io you need disable gb.gt4 and gb.gtk and gb.gui

2012-01-20 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 201 by bespalov...@gmail.com: If enable gb.image.io you need disable gb.gt4 and gb.gtk and gb.gui http://code.google.com/p/gambas/issues/detail?id=201 If you enable gb.im

Re: [Gambas-user] Issue 200 in gambas: [gb.dbus] A bug in the handling of errors when calling the dbus

2012-01-20 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 200 by benoit.m...@gmail.com: [gb.dbus] A bug in the handling of errors when calling the dbus http://code.google.com/p/gambas/issues/detail?id=200 (No comment was entered for this change.) ---

Re: [Gambas-user] Convert string to integer with arbitrary base

2012-01-20 Thread Caveat
Hi Tobias I'm sorry if I haven't completely understood your request (perhaps you're asking Benoit for a function built in to Gambas?) but I have here some code I wrote to help me do arbitrary conversions of a number in any base to any other base (well up to base 36 anyway... then I ran out of digi

Re: [Gambas-user] MySQL last_insert_id value

2012-01-20 Thread tobias
On 20.01.2012 23:46, Keith Clark wrote: > On 12-01-20 05:14 PM, tobias wrote: >> hi, >> >>> How would I get the MySQL last_insert_id() value into an integer >>> variable inside gambas? >>> >>> I tried with >>> >>> CurrentID=db.exec("select last_insert_id() as last") >>> >>> but I get a type mismatc

Re: [Gambas-user] MySQL last_insert_id value

2012-01-20 Thread Keith Clark
On 12-01-20 05:14 PM, tobias wrote: > hi, > >> How would I get the MySQL last_insert_id() value into an integer >> variable inside gambas? >> >> I tried with >> >> CurrentID=db.exec("select last_insert_id() as last") >> >> but I get a type mismatch error. Expecting integer, got result. >> >> Thank

Re: [Gambas-user] Convert string to integer with arbitrary base

2012-01-20 Thread tobias
oops, make this comma in the for loop head a semicolon... > /* >* STR: I string containing symbols >* AL: I alphabet to put symbols in order >* RET: O result in integer format >* return value: O number of symbols put into the integer >*/ > char stoi_

Re: [Gambas-user] MySQL last_insert_id value

2012-01-20 Thread tobias
hi, > How would I get the MySQL last_insert_id() value into an integer > variable inside gambas? > > I tried with > > CurrentID=db.exec("select last_insert_id() as last") > > but I get a type mismatch error. Expecting integer, got result. > > Thanks, > > Keith > i suppose CurrentID is an integer

[Gambas-user] Convert string to integer with arbitrary base

2012-01-20 Thread tobias
hi, i haven't found any function to convert a string to an integer with this string containing signs of an arbitrary number base. won't it be useful? this is a piece of code i once wrote for this purpose in c: /* * STR: I string containing symbols * AL: I alphabet to put s

[Gambas-user] MySQL last_insert_id value

2012-01-20 Thread Keith Clark
How would I get the MySQL last_insert_id() value into an integer variable inside gambas? I tried with CurrentID=db.exec("select last_insert_id() as last") but I get a type mismatch error. Expecting integer, got result. Thanks, Keith -

Re: [Gambas-user] Issue 190 in gambas: Crash with OpenGL projects

2012-01-20 Thread gambas
Comment #6 on issue 190 by jussi.la...@gmail.com: Crash with OpenGL projects http://code.google.com/p/gambas/issues/detail?id=190 It means, it is wise to ignore this issue until driver problems are resolved (if you or anyone were actively investigating this issue). But if you are sure that th

Re: [Gambas-user] Fill list box with mysql query

2012-01-20 Thread M. Cs.
$Result=MyConnection.Exec("SELECT * FROM Mytable;") FOR EACH $Result MyListbox.Add($Result!fieldname) NEXT 2012/1/20, Keith Clark : > How would I go about filling a listbox with a result from a mysql > query? I know how to connect, write the query and get the result back > in say $Result. > > The

[Gambas-user] Issue 200 in gambas: [gb.dbus] A bug in the handling of errors when calling the dbus

2012-01-20 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 200 by svit...@gmail.com: [gb.dbus] A bug in the handling of errors when calling the dbus http://code.google.com/p/gambas/issues/detail?id=200 1) Describe the problem. Wh

[Gambas-user] Fill list box with mysql query

2012-01-20 Thread Keith Clark
How would I go about filling a listbox with a result from a mysql query? I know how to connect, write the query and get the result back in say $Result. The $Result would contain only one field with multiple rows. Thanks, Keith

Re: [Gambas-user] Issue 190 in gambas: Crash with OpenGL projects

2012-01-20 Thread gambas
Comment #5 on issue 190 by benoit.m...@gmail.com: Crash with OpenGL projects http://code.google.com/p/gambas/issues/detail?id=190 I think so. What does "put ... on hold" mean? -- Keep Your Developer Skills Current with

Re: [Gambas-user] Unable to compile gb.form.stock

2012-01-20 Thread Benoît Minisini
Le 20/01/2012 20:00, Matti a écrit : > I compiled svn version 4409, and at the end of su -c "make install", I got the > message > || > || Unable to compile gb.form.stock > || > > But all the icons are shown and are usable. > > Regards > Matti > Please recompile from scratch and send the full outpu

Re: [Gambas-user] 'Null object' when loading image from a .jpg file

2012-01-20 Thread John Rose
Matti, Thanks for that. You were c orrect. I never thought that picture and image are reserved keywords. I assumed that they would not be as they are not the same as Picture & Image. PS Please ignore my follow up message on this topic sent 5 minutes ago! --

Re: [Gambas-user] Issue 190 in gambas: Crash with OpenGL projects

2012-01-20 Thread gambas
Comment #4 on issue 190 by jussi.la...@gmail.com: Crash with OpenGL projects http://code.google.com/p/gambas/issues/detail?id=190 Put this issue on hold! Seems like there are problems with current nvidia driver. -- Kee

[Gambas-user] Bizarre things with controls

2012-01-20 Thread John Rose
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. ComboBoxTitle, again in ButtonSearch_Click), it se

[Gambas-user] Unable to compile gb.form.stock

2012-01-20 Thread Matti
I compiled svn version 4409, and at the end of su -c "make install", I got the message || || Unable to compile gb.form.stock || But all the icons are shown and are usable. Regards Matti -- Keep Your Developer Skills Cur

Re: [Gambas-user] 'Null object' when loading image from a .jpg file

2012-01-20 Thread Matti
You can't do Dim picture As Picture picture = Picture.Load(Dialog.Path) image = picture.Image as picture and image are reserved keywords. use "mypicture" and "myimage" instead, and it works. Am 20.01.2012 19:03, schrieb John Rose: > This project might be more help to this

Re: [Gambas-user] 'Null object' when loading image from a .jpg file

2012-01-20 Thread John Rose
This project might be more help to this issue as it's much smaller than my original one. When it crashes (in ButtonImportImage_Click()) on the Picture.Load command (I've also tried Image.Load with thsame result), a message box pops up wth 'Null object' displayed but not showing line number or anyth

Re: [Gambas-user] Issue 185 in gambas: Editing a line changes font spacing

2012-01-20 Thread gambas
Comment #10 on issue 185 by zachsmit...@gmail.com: Editing a line changes font spacing http://code.google.com/p/gambas/issues/detail?id=185 It seems to be a problem with Qt 4.8. https://bbs.archlinux.org/viewtopic.php?id=132368 -

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

2012-01-20 Thread abbat
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-tp33173919p33173919.html Sent from the gambas-user mailing list archive at Nabb

[Gambas-user] How to speed up the display of images at DrawingArea?

2012-01-20 Thread Алексей Беспалов
Hi! How to speed up the display of images at DrawingArea? If the image is large (10MB), it is displayed for a long time. How can I change the size or quality image? Thanks. -- Alexey. -- Keep Your Developer Skills

Re: [Gambas-user] Issue 199 in gambas: LostFocus & Leave events not activated for ValueBox

2012-01-20 Thread Caveat
Looks good to me :-D ComboBox: Oh no, I lost my focus! I'm sure it's around here somewhere... ValueBox: Oh no, I lost my focus! I'm sure it's around here somewhere... ComboBox: Oh no, I lost my focus! I'm sure it's around here somewhere... ValueBox: Oh no, I lost my focus! I'm sure it's around

Re: [Gambas-user] Help! I can't find the error

2012-01-20 Thread nando
I see 10 items to SET. I count more than 10 vars in the list of variables ?? -Fernando -- Original Message --- From: "M. Cs." To: mailing list for gambas users Sent: Thu, 19 Jan 2012 21:57:53 +0100 Subject: [Gambas-user] Help! I can't find the error > querry = "SELECT * FROM MP3

[Gambas-user] Database manager error

2012-01-20 Thread Andrea Bertini
During the table's editing if you try to delete all the fields from the last, program exit. Andrea Bertini -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Micros

Re: [Gambas-user] Issue 185 in gambas: Editing a line changes font spacing

2012-01-20 Thread gambas
Comment #9 on issue 185 by benoit.m...@gmail.com: Editing a line changes font spacing http://code.google.com/p/gambas/issues/detail?id=185 Mmm. Then I don't see. There may be be something weird on your machine, as nobody else reported that problem. :-/ --

Re: [Gambas-user] Issue 198 in gambas: ShowHidden property in OpenFile, SaveFile & SelectDir functions

2012-01-20 Thread gambas
Updates: Status: Accepted Labels: -Version -Type-Bug -Priority-Medium Version-TRUNK Type-Enhancement Priority-Low Comment #1 on issue 198 by benoit.m...@gmail.com: ShowHidden property in OpenFile, SaveFile & SelectDir functions http://code.google.com/p/gambas/issues/detail?id=

Re: [Gambas-user] Issue 199 in gambas: LostFocus & Leave events not activated for ValueBox

2012-01-20 Thread gambas
Updates: Status: Fixed Comment #2 on issue 199 by benoit.m...@gmail.com: LostFocus & Leave events not activated for ValueBox http://code.google.com/p/gambas/issues/detail?id=199 It should be fixed in revision #4411. -

Re: [Gambas-user] Issue 193 in gambas: SQLite Foreign Key code not allowed

2012-01-20 Thread gambas
Updates: Status: Accepted Comment #3 on issue 193 by benoit.m...@gmail.com: SQLite Foreign Key code not allowed http://code.google.com/p/gambas/issues/detail?id=193 Mmm. It will be difficult to implement foreign key support in the database component, which is agnostic, if some specifi