[Gambas-user] How to test if result is an array

2012-03-15 Thread Randall Morgan
Hi, I am writing a small test suit and need to tell is the result I got back from a function is an array of some type. Does anyone have a solution for this? Thanks -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cos

[Gambas-user] Form toponly in games

2012-03-15 Thread abbat
I tried : Me.toponly = True but it does not work. Skype notify forms works, so it must be some way to do it. Had anone such a problem? -- View this message in context: http://old.nabble.com/Form-toponly-in-games-tp33513857p33513857.html Sent from the gambas-user mailing list archive at Nabble.

Re: [Gambas-user] Keyboard input help requested

2012-03-15 Thread Benoît Minisini
Le 15/03/2012 14:21, Cogier a écrit : > > Rolf, > > Thanks for the reply. Yes it does work in Linux and I can get it to work in > a TextBox but as you say it needs to be in focus and I think the program > will look silly if at the time of a scan the particular TextBox is not in > focus. I know ther

Re: [Gambas-user] Picture/Image with correct aspect ratio (G2)

2012-03-15 Thread Matti
Hi Rolf, Square PictureBox is correct. Stretched has to be set to false. Then just set Alignment to Center (in code: 3). That's all. Matti Am 15.03.2012 10:14, schrieb Rolf-Werner Eilert: > Hi folks, this is in Gambas2: > > On a form, I have a PictureBox which shall show photos in landscape and

Re: [Gambas-user] Keyboard input help requested

2012-03-15 Thread Cogier
Rolf, Thanks for the reply. Yes it does work in Linux and I can get it to work in a TextBox but as you say it needs to be in focus and I think the program will look silly if at the time of a scan the particular TextBox is not in focus. I know there is a way to capture a single key press but I wan

Re: [Gambas-user] Bug / changed behaviour of Input

2012-03-15 Thread Jussi Lahtinen
I think PRINT should use CStr... but I wonder how many applications this would broke. Though, I think that is easy to fix if it happens... Jussi 2012/3/15 Benoît Minisini > Le 15/03/2012 00:30, Emil Lenngren a écrit : > > Yeah :) > > > > Sorry, now I remember why I did that : INPUT should do

Re: [Gambas-user] Bug / changed behaviour of Input

2012-03-15 Thread Benoît Minisini
Le 15/03/2012 00:30, Emil Lenngren a écrit : > Yeah :) > Sorry, now I remember why I did that : INPUT should do the contrary of PRINT. As PRINT uses Str() to print data, INPUT should use Val() to read it. But maybe it's better to be useful than logical? -- Benoît Minisini

Re: [Gambas-user] DataSource & DataBrowser problem

2012-03-15 Thread John Rose
I'm not posting any more to this mailing list about this issue. It's documented in issue 221 of Gambas Issues: https://code.google.com/p/gambas/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Opened%20Version%20Type%20Status%20Priority%20Summary%20GUI%20Desktop%20Arch%20Dist%20OpSys%20Reporter&

Re: [Gambas-user] Issue 221 in gambas: DataSource & DataBrowser problem

2012-03-15 Thread gambas
Comment #6 on issue 221 by john.aaron.r...@gmail.com: DataSource & DataBrowser problem http://code.google.com/p/gambas/issues/detail?id=221 Not completely fixed in revision #4552. 'Centre' & 'new-Cursor' problems fixed. However, Save (of new row) only works if click 'New' icon, key in detai

Re: [Gambas-user] Keyboard input help requested

2012-03-15 Thread Rolf-Werner Eilert
Am 15.03.2012 10:12, schrieb Cogier: > > I have a barcode reader that will sent the result of a scan to any text > editor, or word processor as it emulates a keyboard. > > What I can't seem to do is get Gambas to read the string produced, it must > be similar to reading a file but all my efforts s

[Gambas-user] Picture/Image with correct aspect ratio (G2)

2012-03-15 Thread Rolf-Werner Eilert
Hi folks, this is in Gambas2: On a form, I have a PictureBox which shall show photos in landscape and portrait. So I drew a square PictureBox. I expected that if the photo has not the same aspect ratio, it will be shown with bars of the background color, but when I say Stretched = True, the pi

[Gambas-user] Keyboard input help requested

2012-03-15 Thread Cogier
I have a barcode reader that will sent the result of a scan to any text editor, or word processor as it emulates a keyboard. What I can't seem to do is get Gambas to read the string produced, it must be similar to reading a file but all my efforts so far have failed. Any help would be appreciat