Re: [Gambas-user] Panel problems!!

2011-05-05 Thread Rolf-Werner Eilert
Am 05.05.2011 22:50, schrieb Hamilton Geminiano Andrioli Junior: > Hellow... I'm just compiled GAMBAS 3. So i have a problem... The FRAME > control, when put in form do not show the border... > > Is this my problem??? > Help to correct... > Your Re: says "Panel", in your text you write "Frame". Th

Re: [Gambas-user] Lost Timer1

2011-05-05 Thread nando
I would 'love' a locked property at design time. Many times I have clicked and moved something by accident of course. -- Original Message --- From: richard terry To: nand...@nothingsimple.com, mailing list for gambas users Sent: Fri, 6 May 2011 15:13:00 +1000 Subject: Re: [G

[Gambas-user] Stability of Gambas3

2011-05-05 Thread richard terry
On Friday 06 May 2011 02:05:57 Hamilton Geminiano Andrioli Junior wrote: > Is Gambas 3 stable Remarkably stable. I run it all day every day in my practice for my medical software which is very complex (not yet complete I must add) and when it bugs out, its my bugs, not gambas3. Having said

Re: [Gambas-user] Lost Timer1

2011-05-05 Thread richard terry
On Friday 06 May 2011 02:06:05 nando wrote: > I've had similar happen. > Now, I create a visible=false panel > called invisible_stuff > and put things on it > I can negative x,y it off the form so I cannot > delete it accidentally > and I must deliberatly change x,y to alter items on it. That's a g

Re: [Gambas-user] Lost Timer1

2011-05-05 Thread Shane Powell
On 05/05/11 21:42, richard terry wrote: > Hi List > > I "lost" a Timer (visually) on a complex form and I wanted to get rid of it. I > could see it in the hierachy tree. > > I eventually noticed a couple of pixels right on the border of the form which > after many attempts I couldn't grab, so assum

[Gambas-user] dirchooser

2011-05-05 Thread Dag-Jarle Johansen
Hi developers, is there a way to filter the view of the files located in the selected folder using dirchooser? As sample, I would like to see only the files with the extention .form I did not find anything looking through the docu. Using Ubuntu 10.04 LTS/Gnome and Gambas 3, rev. 3703 Thanks and

[Gambas-user] Panel problems!!

2011-05-05 Thread Hamilton Geminiano Andrioli Junior
Hellow... I'm just compiled GAMBAS 3. So i have a problem... The FRAME control, when put in form do not show the border... Is this my problem??? Help to correct... -- WhatsUp Gold - Download Free Network Management Sof

Re: [Gambas-user] Run-time bug

2011-05-05 Thread nando
Thanks Benoit, I was still thinking 'static' Thinking 'dynamic' it makes sense I will make this adjustment in my brain. Very much appreciated. -Fernando -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Thu, 5 May 20

Re: [Gambas-user] Run-time bug

2011-05-05 Thread Benoît Minisini
> ' Gambas class file > > PRIVATE test AS String[30, 30] > > > PUBLIC SUB my_test() > > test = ["Voice", "Logon"] '<---If I REM this, there is no runtime error > on next line test[0, 1] = "Logon" '<---Runtime error: Bad Number of > Dimensions > > PRINT test.count > > END > > Gamba

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Benoît Minisini
> > Benoit, > > > > Can you explain why this works and the reasoning behind it? > > I would think there would be dimension issues on some lines > > > > > > DIM i AS Integer, Text AS String[4, 4, 4, 4] > > > > Text = ["Just", "test"]'<--how to load Text with multi-dimension > > text > >

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Jussi Lahtinen
Shouldn't the error message then come from this line; Text = ["Just", "test"] ? Jussi 2011/5/5 Benoît Minisini > > Benoit, > > > > Can you explain why this works and the reasoning behind it? > > I would think there would be dimension issues on some lines > > > > > > DIM i AS Integer, Text AS S

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Benoît Minisini
> Benoit, > > Can you explain why this works and the reasoning behind it? > I would think there would be dimension issues on some lines > > > DIM i AS Integer, Text AS String[4, 4, 4, 4] > > Text = ["Just", "test"]'<--how to load Text with multi-dimension > text > > FOR i = 0 TO Text.M

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Jussi Lahtinen
Here you changed it to one dimensional array: Text = ["Just", "test"] So that Text[0] = "Just" and Text[1] = "test". Jussi On Thu, May 5, 2011 at 18:59, nando wrote: > The question really is how > PRINT Text[i] > works when it is DIM'd as a 4D array > > > -- Original Message ---

Re: [Gambas-user] Signal #11 in Gambas 2

2011-05-05 Thread Jussi Lahtinen
I cannot reproduce with Gambas 2.23.0 nor with Gambas 3 rev 3831. @ Ubuntu 10.10 64bit What is your Gambas version and operating system? Jussi On Thu, May 5, 2011 at 08:43, nando wrote: > How to make the 4 line example signal #11 every time: > > 1. Place a breakpoint on the PRINT "hello" line

Re: [Gambas-user] Lost Timer1

2011-05-05 Thread nando
I've had similar happen. Now, I create a visible=false panel called invisible_stuff and put things on it I can negative x,y it off the form so I cannot delete it accidentally and I must deliberatly change x,y to alter items on it. -- Original Message --- From: richard terry To:

Re: [Gambas-user] Help on V4l on gambas.

2011-05-05 Thread Hamilton Geminiano Andrioli Junior
Is Gambas 3 stable Em Qui, 2011-05-05 às 12:36 +0200, Fabien Bodard escreveu: > 2011/5/4 Hamilton Geminiano Andrioli Junior : > > Hellow... > > I just upgrade my sytem to the new ubuntu 11.04. > > Then, the package gb.v4l simply desapeard... > > now i can't use WebCam on Gambas. > > > > when

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread nando
The question really is how PRINT Text[i] works when it is DIM'd as a 4D array -- Original Message --- From: Fabien Bodard To: nand...@nothingsimple.com, mailing list for gambas users Sent: Thu, 5 May 2011 12:37:33 +0200 Subject: Re: [Gambas-user] Can someone explain why this

Re: [Gambas-user] Better IIf?

2011-05-05 Thread Fabián Flores Vadell
2011/5/4 Jussi Lahtinen : > Hi! > I noticed this while debugging (from http://gambasdoc.org/help/lang/iif?v3); > "BE CAREFUL! > Contrary to IF, or the C/Perl ? operator, both TrueExpression and > FalseExpression are evaluated, whatever the value of Test is. > " > > This is pretty deceptive! > Can t

Re: [Gambas-user] Run-time bug

2011-05-05 Thread Sebi Kul
Hi! Try to use: test[0].Add("Logon") It should work then On 05/05/2011, at 00:30, nando wrote: > ' Gambas class file > > PRIVATE test AS String[30, 30] > > > PUBLIC SUB my_test() > > test = ["Voice", "Logon"] '<---If I REM this, there is no runtime error on > next line > test[0, 1] = "Logon"

Re: [Gambas-user] gb3: sorting an array-like structure

2011-05-05 Thread Fabien Bodard
2011/5/5 Kevin Fishburne : > On 05/05/2011 06:31 AM, Fabien Bodard wrote: >> We use that to sort icons in the iconview component >> >> take a look in the source >> >> trunk/comp/gb.form >> >> IconView.class >> it depend what you want to sort !!! say us please and more simply >> >> >> This use

[Gambas-user] Lost Timer1

2011-05-05 Thread richard terry
Hi List I "lost" a Timer (visually) on a complex form and I wanted to get rid of it. I could see it in the hierachy tree. I eventually noticed a couple of pixels right on the border of the form which after many attempts I couldn't grab, so assuming this was the timer, I just hit the delete key

Re: [Gambas-user] gb3: sorting an array-like structure

2011-05-05 Thread Kevin Fishburne
On 05/05/2011 06:31 AM, Fabien Bodard wrote: > We use that to sort icons in the iconview component > > take a look in the source > > trunk/comp/gb.form > > IconView.class > > > > This use the compare event and the comp function. to compare each > object text to sort the object in the array. > > htt

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Fabien Bodard
because text.max is not text.count ! http://gambasdoc.org/help/comp/gb/array/max?v3 2011/5/5 nando : > Benoit, > > Can you explain why this works and the reasoning behind it? > I would think there would be dimension issues on some lines > > > DIM i AS Integer, Text AS String[4, 4, 4, 4] > > Text

Re: [Gambas-user] Help on V4l on gambas.

2011-05-05 Thread Fabien Bodard
2011/5/4 Hamilton Geminiano Andrioli Junior : > Hellow... > I just upgrade my sytem to the new ubuntu 11.04. > Then, the package gb.v4l simply desapeard... > now i can't use  WebCam on Gambas. > > when i use Private WebCam as VideoDevice none hapens.. and there is an > error. what version of gamba

Re: [Gambas-user] gb3: sorting an array-like structure

2011-05-05 Thread Fabien Bodard
2011/5/5 nando : > It depends how you declare the 2D string array. > > If the first dimension is an Object[] > and you add a String[] in each element > to make the second dimension, > then you can sort the second dimension as a 1D string. > > > -- Original Message --- > From: Kevin