From gambas at ...1... Thu Apr 1 00:04:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 1 Apr 2004 00:04:04 +0200 Subject: [Gambas-user] Control Groups-bug? In-Reply-To: <20040328122416.53ab51d0@...37...> References: <20040328122416.53ab51d0@...37...> Message-ID: <200404010004.04638.gambas@...1...> On Sunday 28 March 2004 12:24, Sebastian Jauch wrote: > Hello, > > i found some strange behaviour when running through a control group, i > sometimes want multiple items to be check or only one (depending on the > state of cbMultiple.Value > > now without the line "IF ($cbAnswers[i]=LAST) THEN CONTINUE" > gambas enters the debugger, shows a lot of weired variables > things like "swer.click" ... > adding the line "IF ($cbAnswers[i]=LAST) THEN CONTINUE" makes everything > work fine $cbAnswers is a global variable which contains all the checkboxes > of group "cbAnswer", it seems that whenn i do $cbAnswers[i].Value=false > withe the LAST item the LAST variable gets horribly corrupted ?? > > items of $cbAnswers are initialized with: > > tempObject=NEW checkbox(ME) AS "cbAnswer" > $cbAnswers.Add(tempObject) > > is there some mistake in my code? > ------- > code that crashes when clicking on a checkbox of group cbAnswer > > PUBLIC SUB cbAnswer_Click() > DIM i AS Integer > DIM cbTemp AS Checkbox > > IF NOT cbMultiple.Value THEN > FOR i=0 TO $cbAnswers.Length-1 > cbTemp=$cbAnswers[i] > cbTemp.Value=FALSE > NEXT > cbTemp=LAST > cbTemp.Value=TRUE > END IF > END By trying your code, I get a "stack overflow" error, not a crash. Which version of gambas do you use ? Note that changing the value of a checkbox raises an event, and so change the value of LAST (this behaviour may change in the future). So cbAnswer_Click is called recursively until the stack is full. Regards, -- Benoit Minisini mailto:gambas at ...1... From jholm at ...381... Thu Apr 1 00:08:02 2004 From: jholm at ...381... (Jesper Holm) Date: Thu, 1 Apr 2004 00:08:02 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <200403312125.43928.gambas@...1...> References: <20040329121508.M10911@...381...> <200403312043.06422.jholm@...381...> <200403312125.43928.gambas@...1...> Message-ID: <200404010008.02723.jholm@...381...> Hi Benoit, I am a little uneasy reporting this, but it seems that the IF..THEN statement is testing the "displayed" value and not the calculated value. PUBLIC SUB Main() DIM a AS Float FOR a = 1.68 TO 1.70 STEP 0.001 IF (a * (1/a)) = 1 THEN PRINT a, (a * (1/a)),"OK" ELSE PRINT a, (a * (1/a)),"not OK" END IF NEXT END Does prints some "not OK" values. Do you know which parts of Gambas is affected by this bug? I have several of that kind of tests in my program. Also the SELECT..CASE and DO..LOOP structures are affected. (but I guess those are derived from the IF..THEN) Hope it can help narrowing down the problem. Meanwhile I'll just have to use a bunch of ROUND()'s here and there :-) Jesper On Wednesday 31 March 2004 21:25, Benoit Minisini wrote: > On Wednesday 31 March 2004 20:43, Jesper Holm wrote: > > Hello again, > > > > I have not have any response on my problem. Could anyone please confirm > > that Gambas DO indeed work on multplication/division? > > This is a bug in the function that displays the number. Wrong character are > displayed. But the numerical value calculated is correct. > > I will try to fix that as soon as possible. Sorry, I'm very busy... > > Regards, From ronstk at ...239... Thu Apr 1 00:09:18 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 00:09:18 +0200 Subject: [Gambas-user] Question about Object.delete In-Reply-To: <200403312225.24837.Karl.Reinl@...9...> References: <200403312225.24837.Karl.Reinl@...9...> Message-ID: <200404010009.18794.ronstk@...239...> On Wednesday 31 March 2004 22:25, Charlie Reinl wrote: > Salut, > > if I create an Object, I can ask 'if Object = NULL then', but what is to > do, to have the same state after 'Object.delete', because it is NOT NULL. > (see snapshot) > Like you can see on the snapshot the project does not make a lot. > If the Object = NULL then it creates a TreeView and if it is <> NULL it > deletes the Object. > But if you have a seconde click on Button2 then you'v get an Error! > > Amicalement > Charlie Hi Charlie I had it also in the past in the declaration you use Object, and that has no .delete ! use for the variable in global section Public hFldTableView as TableView and button1_click hFldTableView = NEW TableView(Frame2) AS "FldTableView" hFldTableView is a handle to it and the AS "FldTableView" is the name for it -------------------- ' Gambas class file PUBLIC hFldTableView AS TableView PUBLIC SUB Button1_Click() IF hFldTableView=NULL THEN hFldTableView= NEW TableView(ME) AS "FldTableView" ENDIF hFldTableView.Move(0,0,50,50) endif END PUBLIC SUB Button2_Click() IF hFldTableView<>NULL THEN hFldTableView.delete hFldTableView=NULL END IF END ------------------------- I'm afraid you .delete the FldTableView as name and you want the object I tested this and it works for me From ronstk at ...239... Thu Apr 1 00:20:30 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 00:20:30 +0200 Subject: [Gambas-user] this is not a BUG...... or ??? 1 In-Reply-To: <200403312240.03498.Karl.Reinl@...9...> References: <200403312240.03498.Karl.Reinl@...9...> Message-ID: <200404010020.31370.ronstk@...239...> On Wednesday 31 March 2004 22:40, Charlie Reinl wrote: > Salut, > > have a look to snapshot17. > This is a simple Fform with two Buttons. > You see this well done code in the window under that form. > Using Button2 you hide Button1. > That works very well ! > > But dit you know !!! > > While debugging you have the possibility: > to open the Toolbox, adding a (here) Button3 , or delete a Button1 > snapshot18 > > And the best if you use Butto2 now, there is NO Error. snapshot19 > > Amicalement > Charlie > > PS. Sorry but the Screenshot are too big, and ditn't passe Oh god! What a sick mind you have :) :) :) To place new controls on the form. Well at the same time you could also use the Cut with the mouse and Paste text around in the editor. Pressing keys to add code does not work. From ronstk at ...239... Thu Apr 1 00:30:58 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 00:30:58 +0200 Subject: [Gambas-user] Question about Object.delete In-Reply-To: <200404010009.18794.ronstk@...239...> References: <200403312225.24837.Karl.Reinl@...9...> <200404010009.18794.ronstk@...239...> Message-ID: <200404010030.58843.ronstk@...239...> Sorry one endif to much, added by not see the ENDIF. Ron From ZENODotus at ...323... Thu Apr 1 00:34:32 2004 From: ZENODotus at ...323... (ZENODotus) Date: Thu, 1 Apr 2004 00:34:32 +0200 Subject: [Gambas-user] keypress event Message-ID: <200404010034.32705.ZENODotus@...323...> A little problem with the capture of keys... Sinds the parameters in the event keypress are gone I have no Idea how I can capture a key to the event? Is there anybody who can help me... Thanks -- ZENODotus, YOU DREAM, I REALISE!! "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From na2492 at ...9... Thu Apr 1 00:37:37 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 1 Apr 2004 00:37:37 00200 Subject: [Gambas-user] this is not a BUG...... or ??? 1 Message-ID: <406b4831.23b7.0@...9...> >On Wednesday 31 March 2004 22:40, Charlie Reinl wrote: >> Salut, >> >> have a look to snapshot17. >> This is a simple Fform with two Buttons. >> You see this well done code in the window under that form. >> Using Button2 you hide Button1. >> That works very well ! >> >> But dit you know !!! >> >> While debugging you have the possibility: >> to open the Toolbox, adding a (here) Button3 , or delete a Button1 >> snapshot18 >> >> And the best if you use Butto2 now, there is NO Error. snapshot19 >> >> Amicalement >> Charlie >> >> PS. Sorry but the Screenshot are too big, and ditn't passe > >Oh god! What a sick mind you have :) :) :) >To place new controls on the form. > >Well at the same time you could also use the Cut > with the mouse and Paste text around in the editor. > >Pressing keys to add code does not work. Salut Ron, not a sick mind, many years in that kind of job but only a short time of imagine realised, what peoble can realy to so I try to do like them. And I hope that makes gambas better. You know, thats one of my favorit story. A programer has to write a field to have as input a date. He will test this agains the 30 or 31 of the month, at month 2 if there are 28 or 29 and if it is not the 400 years rule and all that stuff. And what does the USER ? He say 'MONDAY' ..................... and all crashes ... To you understand ?? Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronstk at ...239... Thu Apr 1 00:52:27 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 00:52:27 +0200 Subject: [Gambas-user] this is not a BUG...... or ??? 1 In-Reply-To: <406b4831.23b7.0@...9...> References: <406b4831.23b7.0@...9...> Message-ID: <200404010052.28023.ronstk@...239...> Yeahhhh. I know that too. Got once a complain I was slow with programming. Well the program was not the problem,a few minutes, the test for the stupid USER..... With his programs i saw in the db 'ford', 'koffie' and etc for the Date!!! Noooo!!!! Ron From ronstk at ...239... Thu Apr 1 00:56:40 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 00:56:40 +0200 Subject: [Gambas-user] keypress event In-Reply-To: <200404010034.32705.ZENODotus@...323...> References: <200404010034.32705.ZENODotus@...323...> Message-ID: <200404010056.40470.ronstk@...239...> On Thursday 01 April 2004 00:34, ZENODotus wrote: > A little problem with the capture of keys... > > Sinds the parameters in the event keypress are gone I have no Idea how I > can capture a key to the event? > > Is there anybody who can help me... > > Thanks You should use the Key object now, i.e. IF Key.Code=Key.F1 THEN ..... See also gb.qt.Key for it Ron From ZENODotus at ...323... Thu Apr 1 01:08:56 2004 From: ZENODotus at ...323... (ZENODotus) Date: Thu, 1 Apr 2004 01:08:56 +0200 Subject: [Gambas-user] keypress event In-Reply-To: <200404010034.32705.ZENODotus@...323...> References: <200404010034.32705.ZENODotus@...323...> Message-ID: <200404010108.56833.ZENODotus@...323...> Op donderdag 01 april 2004 00:34, schreef ZENODotus: > A little problem with the capture of keys... > > Sinds the parameters in the event keypress are gone I have no Idea how I > can capture a key to the event? > > Is there anybody who can help me... > > Thanks Never mind, found the problem -- ZENODotus, YOU DREAM, I REALISE!! "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From ZENODotus at ...323... Thu Apr 1 01:09:59 2004 From: ZENODotus at ...323... (ZENODotus) Date: Thu, 1 Apr 2004 01:09:59 +0200 Subject: [Gambas-user] keypress event In-Reply-To: <200404010056.40470.ronstk@...239...> References: <200404010034.32705.ZENODotus@...323...> <200404010056.40470.ronstk@...239...> Message-ID: <200404010109.59449.ZENODotus@...323...> Op donderdag 01 april 2004 00:56, schreef ron: > On Thursday 01 April 2004 00:34, ZENODotus wrote: > > A little problem with the capture of keys... > > > > Sinds the parameters in the event keypress are gone I have no Idea how I > > can capture a key to the event? > > > > Is there anybody who can help me... > > > > Thanks > > You should use the Key object now, i.e. > > IF Key.Code=Key.F1 THEN ..... > > See also gb.qt.Key for it > > Ron Thanks Ron... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- ZENODotus, YOU DREAM, I REALISE!! "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From sourceforge-raindog2 at ...94... Thu Apr 1 01:12:31 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 31 Mar 2004 18:12:31 -0500 Subject: [Gambas-user] Question about Object.delete In-Reply-To: <406b3d18.6aa.0@...9...> References: <406b3d18.6aa.0@...9...> Message-ID: <200403311812.31088.sourceforge-raindog2@...94...> On Wednesday 31 March 2004 18:50, na2492 at ...9... wrote: > >The Delete method destroy the control pointed by the Gambas > > object, but it does NOT destroy the Gambas object itself, and > > so the variable is not set to null. > And what is to do in that case ? > 'if Object = INVALID then' or what ? Maybe declare a boolean variable and then do something like mybool = TRUE TRY mybool = (myobject = NULL) ' if null, mybool is true, ' if not null, mybool is false, ' if invalid, mybool is true IF mybool THEN ' object either NULL or invalid, act accordingly ... ENDIF If you need to differentiate between the NULL and invalid cases, you can always check the error object after the TRY line. I think the interpreter probably needs an IsValid() builtin function, but in the meantime this should be an okay workaround. Rob From ronsholi at ...406... Thu Apr 1 12:45:58 2004 From: ronsholi at ...406... (Adi Ron) Date: Thu, 1 Apr 2004 12:45:58 +0200 Subject: [Gambas-user] (no subject) Message-ID: <200404011245.58190.ronsholi@...406...> Hey there, people. Do you have any idea how do I read command line arguments from the user? It seems tricky. -- 12:45:25 up 15:18, 5 users, load average: 1.11, 0.51, 0.30 (GNU/Linux Slackware 9.1) A New York City ordinance prohibits the shooting of rabbits from the rear of a Third Avenue street car -- if the car is in motion. Visit my blog, would you? http://strange-man.blogspot.com/ From georgy_81 at ...18... Thu Apr 1 17:40:18 2004 From: georgy_81 at ...18... (Christoph Schmid) Date: Thu, 01 Apr 2004 17:40:18 +0200 Subject: [Gambas-user] (no subject) In-Reply-To: <200404011245.58190.ronsholi@...406...> References: <200404011245.58190.ronsholi@...406...> Message-ID: <406C37E2.1030600@...18...> i find it a bit tricky too, but in help it says that application.args gives you a string-array which contains each of commandline-arguments... greets Chris Adi Ron schrieb: >Hey there, people. > >Do you have any idea how do I read command line arguments from the user? It >seems tricky. > > From gambas at ...1... Thu Apr 1 18:32:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 1 Apr 2004 18:32:07 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <200404010008.02723.jholm@...381...> References: <20040329121508.M10911@...381...> <200403312125.43928.gambas@...1...> <200404010008.02723.jholm@...381...> Message-ID: <200404011832.07643.gambas@...1...> On Thursday 01 April 2004 00:08, Jesper Holm wrote: > Hi Benoit, > > I am a little uneasy reporting this, but it seems that the IF..THEN > statement is testing the "displayed" value and not the calculated value. > > PUBLIC SUB Main() > DIM a AS Float > FOR a = 1.68 TO 1.70 STEP 0.001 > IF (a * (1/a)) = 1 THEN > PRINT a, (a * (1/a)),"OK" > ELSE > PRINT a, (a * (1/a)),"not OK" > END IF > NEXT > END > > Does prints some "not OK" values. You are facing problems with floating point numbers common to every program. Never compare two floating point numbers, because even if Gambas displays ('will' when the previous bug is fixed) 1, the number could be not exactly equal to 1. The difference is too small to be displayed. > > Do you know which parts of Gambas is affected by this bug? I have several > of that kind of tests in my program. Every floating point computed by your computer in every program is affected. The solution is testing the difference between the two numbers this way: IF Abs((a * (1 / a)) - 1) < 1E-10 THEN PRINT "Almost equal" ELSE PRINT "Really different" ENDIF > > Also the SELECT..CASE and DO..LOOP structures are affected. (but I guess > those are derived from the IF..THEN) > > Hope it can help narrowing down the problem. > > Meanwhile I'll just have to use a bunch of ROUND()'s here and there :-) Yes, or use Round(): IF Round((a * (1 / a)) - 1, -10) = 0 THEN ... Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Thu Apr 1 19:18:55 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 19:18:55 +0200 Subject: [Gambas-user] numerical error in Gambas?? In-Reply-To: <200404011832.07643.gambas@...1...> References: <20040329121508.M10911@...381...> <200404010008.02723.jholm@...381...> <200404011832.07643.gambas@...1...> Message-ID: <200404011918.55870.ronstk@...239...> On Thursday 01 April 2004 18:32, Benoit Minisini wrote: > On Thursday 01 April 2004 00:08, Jesper Holm wrote: > > Hi Benoit, > > snip > > You are facing problems with floating point numbers common to every > program. Never compare two floating point numbers, because even if Gambas > displays ('will' when the previous bug is fixed) 1, the number could be not > exactly equal to 1. The difference is too small to be displayed. > snip > Yes, or use Round(): IF Round((a * (1 / a)) - 1, -10) = 0 THEN ... > > Regards, This does remember me a method I used. On a Z80 CPU there is no Floating Point at all. I want to draw a circle on the screen, so what can i do? The Pitagoras way with z=sqr(x^2 + y^2) could not be used because I had no idea to get the SQR() in machine language. Then only the way with Sin lookup was the way to go. Simple multiply the floating point with 2^8 (x 256), here the integer x and y axis. i.e. 10.25 in binary way 1010.01b will be 101001000000b The Sin lookup table was the fractional part simple also multiplied by 2^8 (x 256) in for 90 degrees. I belive it was in 90 bytes, forgotten that and were calculated by a basic program. I know this resolution is not so big but with 32kbyte workspace? Then I did the multiply and divide on a integers and for the actual points and to use divide it by 2^8 (/256) to draw the circle. They were nice and quick drawn. The good old day's :=) For your case you could convert the FP by multiply them with 10^digits_behind you need and put them in a integer. In this way the comparasion problems as mentioned do not exist. To use the result you must always divide them of course by the same 10^digits_behind for human readable and realistic value to display. It is a trick but can be handy in these cases Ron From sebastian.jauch at ...20... Thu Apr 1 19:54:47 2004 From: sebastian.jauch at ...20... (Sebastian Jauch) Date: Thu, 1 Apr 2004 19:54:47 +0200 Subject: [Gambas-user] Control Groups-bug? In-Reply-To: <200404010004.04638.gambas@...1...> References: <20040328122416.53ab51d0@...37...> <200404010004.04638.gambas@...1...> Message-ID: <20040401195447.00f3e51d@...37...> hello, >By trying your code, I get a "stack overflow" error, not a crash. Which >version of gambas do you use ? 0.91 compiled from sources on a mandrake 10, so "stack overflow" helps me a lot... if so i will only change the value if it is different, like > IF NOT cbMultiple.Value THEN > FOR i=0 TO $cbAnswers.Length-1 > cbTemp=$cbAnswers[i] > cbTemp.Value=FALSE > NEXT > cbTemp=LAST > if not cbtemp.value then cbTemp.Value=TRUE > END IF i will take a look why it doesn't report that correct on my system thanx From ronstk at ...239... Thu Apr 1 19:55:29 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 19:55:29 +0200 Subject: [Gambas-user] ColumnView Question Node Delete method Message-ID: <200404011955.29432.ronstk@...239...> Hi Benoit When I select a node point in the ColumnView and want that node and children are Deleted do I have to Delete first all child nodes before do the node delete or is it automatic done? Had somewhere, not gambas, once a problem with this. Populair Java applet not freeing memory in IE, the default crashes. I do now this way ColumnView.MoveTo(key) ColumnView.Item.Delete or may I use instead ? ColumnView[key].Delete It looks is goes OK but I want to be shure. Ron From ronsholi at ...406... Thu Apr 1 20:03:45 2004 From: ronsholi at ...406... (Adi Ron) Date: Thu, 1 Apr 2004 20:03:45 +0200 Subject: [Gambas-user] XMMS and Gambas Message-ID: <200404012003.46219.ronsholi@...406...> Has anyone heard of a plugin that does XMMS integration? I could use one to go with the OSD example. Or maybe is there a way to make XMMS plugins through Gambas? -- 20:02:00 up 22:34, 6 users, load average: 0.25, 0.23, 0.32 (GNU/Linux Slackware 9.1) Bolub's Fourth Law of Computerdom: Project teams detest weekly progress reporting because it so vividly manifests their lack of progress. Visit my blog, would you? http://strange-man.blogspot.com/ From ronsholi at ...406... Thu Apr 1 20:05:50 2004 From: ronsholi at ...406... (Adi Ron) Date: Thu, 1 Apr 2004 20:05:50 +0200 Subject: [Gambas-user] Control Groups-bug? In-Reply-To: <20040401195447.00f3e51d@...37...> References: <20040328122416.53ab51d0@...37...> <200404010004.04638.gambas@...1...> <20040401195447.00f3e51d@...37...> Message-ID: <200404012005.50466.ronsholi@...406...> On Thursday 01 April 2004 19:54, Sebastian Jauch wrote: Mandrake 10 - what did you expect it to do? To compile it good under Mandrake? Nahhh.... Can't be... > hello, > > >By trying your code, I get a "stack overflow" error, not a crash. Which > >version of gambas do you use ? > > 0.91 compiled from sources on a mandrake 10, > so "stack overflow" helps me a lot... > > if so i will only change the value if it is different, > like > > > IF NOT cbMultiple.Value THEN > > FOR i=0 TO $cbAnswers.Length-1 > > cbTemp=$cbAnswers[i] > > cbTemp.Value=FALSE > > NEXT > > cbTemp=LAST > > if not cbtemp.value then cbTemp.Value=TRUE > > END IF > > i will take a look why it doesn't report that correct on my system > > thanx > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- 20:04:15 up 22:36, 6 users, load average: 0.22, 0.22, 0.30 (GNU/Linux Slackware 9.1) If only I could be respected without having to be respectable. Visit my blog, would you? http://strange-man.blogspot.com/ From ronstk at ...239... Thu Apr 1 20:10:21 2004 From: ronstk at ...239... (ron) Date: Thu, 1 Apr 2004 20:10:21 +0200 Subject: [Gambas-user] Control Groups-bug? In-Reply-To: <20040401195447.00f3e51d@...37...> References: <20040328122416.53ab51d0@...37...> <200404010004.04638.gambas@...1...> <20040401195447.00f3e51d@...37...> Message-ID: <200404012010.21548.ronstk@...239...> On Thursday 01 April 2004 19:54, Sebastian Jauch wrote: > hello, > > >By trying your code, I get a "stack overflow" error, not a crash. Which > >version of gambas do you use ? > > 0.91 compiled from sources on a mandrake 10, > so "stack overflow" helps me a lot... > > if so i will only change the value if it is different, > like > > > IF NOT cbMultiple.Value THEN bDoNix=TRUE > > FOR i=0 TO $cbAnswers.Length-1 > > cbTemp=$cbAnswers[i] > > cbTemp.Value=FALSE > > NEXT > > cbTemp=LAST > > if not cbtemp.value then cbTemp.Value=TRUE bDoNix=FALSE > > END IF > > i will take a look why it doesn't report that correct on my system > > thanx May be a better way Set in your code for the FOR a flag i.e. bDoNix=True and at the end bDoNix=False. Add or In the Sub where the groupname_Change() is, add next line IF bDoNix then RETURN or IF bDoNix then STOP.EVENT This prevent normal executing the service done if you are setting the value from code. Same occurs in several other widgets that the _Change or _Click is fired when you add Items to it. ComboBox.Add("Item1") You can use the widget.Tag to store the flag in that case. Ron From gambas at ...1... Fri Apr 2 00:06:38 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 2 Apr 2004 00:06:38 +0200 Subject: [Gambas-user] ColumnView Question Node Delete method In-Reply-To: <200404011955.29432.ronstk@...239...> References: <200404011955.29432.ronstk@...239...> Message-ID: <200404020006.38318.gambas@...1...> On Thursday 01 April 2004 19:55, ron wrote: > Hi Benoit > > When I select a node point in the ColumnView and want that > node and children are Deleted do I have to Delete first all > child nodes before do the node delete or is it automatic done? It is automatically done. > Had somewhere, not gambas, once a problem with this. > Populair Java applet not freeing memory in IE, the default crashes. > > I do now this way > ColumnView.MoveTo(key) > ColumnView.Item.Delete You can do this way. > or may I use instead ? > ColumnView[key].Delete You can do this way too - The two codes do exactly the same thing internally! > > It looks is goes OK but I want to be shure. sure ? > > Ron > > -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Apr 2 00:25:17 2004 From: ronstk at ...239... (ron) Date: Fri, 2 Apr 2004 00:25:17 +0200 Subject: [Gambas-user] ColumnView Question Node Delete method In-Reply-To: <200404020006.38318.gambas@...1...> References: <200404011955.29432.ronstk@...239...> <200404020006.38318.gambas@...1...> Message-ID: <200404020025.17356.ronstk@...239...> On Friday 02 April 2004 00:06, Benoit Minisini wrote: > On Thursday 01 April 2004 19:55, ron wrote: > > Hi Benoit > > > > When I select a node point in the ColumnView and want that > > node and children are Deleted do I have to Delete first all > > child nodes before do the node delete or is it automatic done? > > It is automatically done. > > > Had somewhere, not gambas, once a problem with this. > > Populair Java applet not freeing memory in IE, the default crashes. > > > > I do now this way > > ColumnView.MoveTo(key) > > ColumnView.Item.Delete > > You can do this way. > > > or may I use instead ? > > ColumnView[key].Delete > > You can do this way too - The two codes do exactly the same thing > internally! > > > It looks is goes OK but I want to be shure. > > sure ? > > > Ron Yeah, sure, Thanks From creafab at ...402... Fri Apr 2 02:58:52 2004 From: creafab at ...402... (Fabien3D) Date: Fri, 2 Apr 2004 02:58:52 +0200 Subject: [Gambas-user] Looking for a basic (!) tutorial about Gambas Message-ID: <200404020258.52314.creafab@...402...> Hi ! I've installed Gambas for a few days, but even though I've succeeded in programming very - very - simple programs, I'd like to know if there's any tutorial about the basics of the syntax. It may appear strange, but I've kept all my VB 6 habits, and I'm fed up with the error messages on compiling ! Thanks ! -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From ronstk at ...239... Fri Apr 2 02:08:24 2004 From: ronstk at ...239... (ron) Date: Fri, 2 Apr 2004 02:08:24 +0200 Subject: [Gambas-user] Looking for a basic (!) tutorial about Gambas In-Reply-To: <200404020258.52314.creafab@...402...> References: <200404020258.52314.creafab@...402...> Message-ID: <200404020208.24779.ronstk@...239...> On Friday 02 April 2004 02:58, Fabien3D wrote: > Hi ! > > I've installed Gambas for a few days, but even though I've succeeded in > programming very - very - simple programs, I'd like to know if there's any > tutorial about the basics of the syntax. It may appear strange, but I've > kept all my VB 6 habits, and I'm fed up with the error messages on > compiling ! > > Thanks ! There is not a up to date http://www.theeasygambasdoku.de/ But the best is use the examples provided. Play and try to modify them the way you want. Add small things and check them. Don't start big projects as a start. Build them up in small parts till they work. In this time you grow to expirenced user and can put them all together to a 1 big single application. Really VB-6 habits, I had them to and still have them, :( you must try to forget it and I know it is not always easy. success Ron From creafab at ...402... Fri Apr 2 23:19:34 2004 From: creafab at ...402... (Fabien3D) Date: Fri, 2 Apr 2004 23:19:34 +0200 Subject: [Gambas-user] Coding problem Message-ID: <200404022319.34394.creafab@...402...> I've got a problem, maybe very simple ! On VB, there were several ways to load a picture to know its dimensions : 1. Loading the picture in an Image control which AutoSize property set to True. Retrieving the dimensions of the picture was just about knowing the dimensions of the Image control. 2. Creating a device context (CreateObject, CreateCompatibleDC, SelectObject, DeleteObject), loading the picture in this device context ad retrieving the dimensions of the device context. In Gambas, as a newbie, things seem similar... but different. I suppose I have to create a class of a picture, load the image into it, and retrieve the dimensions. But I have some problems in loading the image in the class ! This is the code : ' Gambas class file PUBLIC SUB Main() hImage AS Picture hImage = NEW hImage hImage.Picture = Picture["/home/fabien/Economiseur_ecran/Panoramique Uluru_1.jpg"] hImage.Visible = TRUE END PUBLIC SUB Form_Open() pcbScreenSaver.Left = 0 pcbScreenSaver.Top = 0 pcbScreenSaver.Picture = hImage.Picture END I know the last line is wrong. But how can I get the result suggested by the code of this line ? -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From creafab at ...402... Fri Apr 2 23:09:41 2004 From: creafab at ...402... (Fabien3D) Date: Fri, 2 Apr 2004 23:09:41 +0200 Subject: [Gambas-user] Looking for a basic (!) tutorial about Gambas In-Reply-To: <200404020208.24779.ronstk@...239...> References: <200404020258.52314.creafab@...402...> <200404020208.24779.ronstk@...239...> Message-ID: <200404022309.41531.creafab@...402...> Thanks ! -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From gambas at ...1... Fri Apr 2 22:18:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 2 Apr 2004 22:18:48 +0200 Subject: [Gambas-user] Bug?: Tabbing passing listbox fire Click event. In-Reply-To: <200402151535.16187.ronstk@...239...> References: <200402151535.16187.ronstk@...239...> Message-ID: <200404022218.49152.gambas@...1...> On Sunday 15 February 2004 15:35, ron wrote: > Hallo Benoit. > > Testting the Tab key to go walk across the controls I found that the > mouse_click occurs only the first time after it get the focus with the Tab > key in a fresh created form. > After that one, back and forwards tabbing does not fire it any more but the > first time should also not happen. > > --- > Ron > > Hi, Ron I found this old message I didn't answered. Could you send me a project that show exactly what you are talking about, because I'm not sure I understand very well... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Apr 2 22:30:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 2 Apr 2004 22:30:17 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404022319.34394.creafab@...402...> References: <200404022319.34394.creafab@...402...> Message-ID: <200404022230.17329.gambas@...1...> On Friday 02 April 2004 23:19, Fabien3D wrote: > I've got a problem, maybe very simple ! > > On VB, there were several ways to load a picture to know its dimensions : > 1. Loading the picture in an Image control which AutoSize property set to > True. Retrieving the dimensions of the picture was just about knowing the > dimensions of the Image control. > > 2. Creating a device context (CreateObject, CreateCompatibleDC, > SelectObject, DeleteObject), loading the picture in this device context ad > retrieving the dimensions of the device context. > > In Gambas, as a newbie, things seem similar... but different. I suppose I > have to create a class of a picture, load the image into it, and retrieve > the dimensions. But I have some problems in loading the image in the class > ! This is the code : > > ' Gambas class file > PUBLIC SUB Main() > > hImage AS Picture You should write 'hImage AS Image', because you are going to load an image in memory. A Picture is an image stored on a X11 server. You use it only when you want to display the image. > > hImage = NEW hImage Means nothing. 'hImage = NEW Image' should be better > > hImage.Picture = Picture["/home/fabien/Economiseur_ecran/Panoramique > Uluru_1.jpg"] > hImage.Visible = TRUE Means nothing too. Picture is not a control, you can't make it visible. To load an image, just after having instanciated it ('hImage = NEW Image'), do: hImage.Load("/home...") To get the width and height, just use hImage.Width and hImage.Height > END > > PUBLIC SUB Form_Open() > > pcbScreenSaver.Left = 0 > pcbScreenSaver.Top = 0 > > pcbScreenSaver.Picture = hImage.Picture > END > > I know the last line is wrong. But how can I get the result suggested by > the code of this line ? But the last line is the only one that is right :-) Note that the real way to get the dimensions of a image stored in a file is: reading them directly in it! But, of course, it depends on the file format, and as QT does not allow such a thing, even if it would be easy for Trolltech, I should write it myself. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Fri Apr 2 23:10:48 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 2 Apr 2004 23:10:48 +0200 Subject: [Gambas-user] a changed Gambas database manager Message-ID: <200404022310.48109.Karl.Reinl@...9...> Salut, send you my new version of the gdbm. What dit I change: see included Changelog It should on 'SQL request' you help to create a Query to the choosen Table. offer your the possibility to change a saved Query-String. On the Form you have 3 Tabs - Build where you can add Fields whitch can be shown or not, have Where and OR contitions and an Alias - SQL where you have the possibility to 'fine tune' your Query, load and save the Query ( SELECT statements only) . - Execute shows you the results of your Query, if all is well done! Apart FRequest I made changes, in CConnection.class and FMain.class but only to pass the sKEY to FReques. In that way I can open the chosen Table if 'SQL request' is used on a Table ( see Changlog ). My Changes use are made on the original Gambas database manager from Benoit, and by that fact it returns to the GPL used by gambas. I mostly tested with MYSQL Database. If you have problems or ideas , let me know. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.84.tar.gz Type: application/x-tgz Size: 109787 bytes Desc: not available URL: From gambas at ...1... Sat Apr 3 01:46:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Apr 2004 01:46:20 +0200 Subject: [Gambas-user] Debug Watch Crash In-Reply-To: <200402261341.19259.dimitribellini@...69...> References: <200402261341.19259.dimitribellini@...69...> Message-ID: <200404030146.20350.gambas@...1...> On Thursday 26 February 2004 14:41, Dimitri Bellini wrote: > Dear Benoit > Thanks for great improvement Gambas Editor !!! > I have made this simple function to query mysql and return the data in > Array... > ------------------------------------------------------------ > PUBLIC SUB CliUsed() > > DIM sQuery AS String > DIM rData AS Result > DIM sData AS String > DIM id AS Integer > DIM aCliUsed[100,3] AS String > > sData=txtDate.text > > sQuery="select IDCust,AnaCust from log join Customer on > log.cardID=Customer.IDCust where callstart like '%"& sData &"%' group by > source" > rData = $hConn.Exec(sQuery) > IF rData.Available THEN > DO > aCliUsed[id,1]= rData["cardID"] > aCliUsed[id,2]=rData["AnaCust"] > INC id > LOOP UNTIL (rData.MoveNext()<> true) > ENDIF > > > CATCH > > Message.Error(Error.Text) > > END > > ------------------------------------------------------------------ > But when i try to debug using Step by Step mode and put in Debug Watch the > array in mode: > aCliUsed[id,1] -- the first work and i see the value > add the second > aCliUsed[id,2] -- And Gambas "The program has stopped unexpectedly by > raising signal #11" and say to report this bug.. > > Thanks in advance > Dimitri Bellini > I succeeded finally in fixing that bug! I'm happy :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Apr 3 02:08:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Apr 2004 02:08:05 +0200 Subject: [Gambas-user] PRB: Troubles with marking text In-Reply-To: <200403191214.06812.ronstk@...239...> References: <200403191214.06812.ronstk@...239...> Message-ID: <200404030208.05855.gambas@...1...> On Friday 19 March 2004 12:14, ron wrote: > When I try to mark text with the mouse the highlight part start most of the > times in column 2 of the text. > > I started at the row with ' END and when I go strait up in the above rows > the highlight is in column 2. > When I move the mouse to the left, outside the window, and go up it marks > column 1 instead of column 2. > Does not matter for marking with mouse upwards or downward move for > marking. With some mouse movement the end point is adjustable but the start > is, in my situation, always in column 2 > > The left border of the textarrea looks to me also a bit to close to the > window border. > > Ron > I have restored the left margin of the code editor. This way, selecting the start of a line will be easier. Regards, -- Benoit Minisini mailto:gambas at ...1... From creafab at ...402... Sat Apr 3 11:43:14 2004 From: creafab at ...402... (Fabien3D) Date: Sat, 3 Apr 2004 11:43:14 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404022230.17329.gambas@...1...> References: <200404022319.34394.creafab@...402...> <200404022230.17329.gambas@...1...> Message-ID: <200404031143.14798.creafab@...402...> Thanks for the reply, but some things are still too weird for me ! This is the modified code according to your advices : PUBLIC SUB Main() hImage AS Image i AS Integer j AS Integer hImage = NEW Image hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique Uluru_1.jpg") END PUBLIC SUB Form_Open() pcbScreenSaver.X = 0 pcbScreenSaver.Y = 0 pcbScreenSaver.Picture = hImage.Picture 'This line code doesn't work apparently because the compiler doesn't know what hImage is ! pcbScreenSaver.Visible = TRUE END What am I doing wrong ? -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From gambas at ...1... Sat Apr 3 10:43:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Apr 2004 10:43:36 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031143.14798.creafab@...402...> References: <200404022319.34394.creafab@...402...> <200404022230.17329.gambas@...1...> <200404031143.14798.creafab@...402...> Message-ID: <200404031043.36697.gambas@...1...> On Saturday 03 April 2004 11:43, Fabien3D wrote: > Thanks for the reply, but some things are still too weird for me ! > This is the modified code according to your advices : > > PUBLIC SUB Main() > > hImage AS Image > > i AS Integer > j AS Integer > > hImage = NEW Image > > hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique > Uluru_1.jpg") > > END > > PUBLIC SUB Form_Open() > > pcbScreenSaver.X = 0 > pcbScreenSaver.Y = 0 > > pcbScreenSaver.Picture = hImage.Picture > 'This line code doesn't work apparently because the compiler doesn't know > what hImage is ! > > pcbScreenSaver.Visible = TRUE > > > END > > What am I doing wrong ? You must learn the difference between a local variable and a global variable :-) Is it your first program ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Apr 3 10:52:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Apr 2004 10:52:43 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031043.36697.gambas@...1...> References: <200404022319.34394.creafab@...402...> <200404031143.14798.creafab@...402...> <200404031043.36697.gambas@...1...> Message-ID: <200404031052.43728.gambas@...1...> On Saturday 03 April 2004 10:43, Benoit Minisini wrote: > On Saturday 03 April 2004 11:43, Fabien3D wrote: > > Thanks for the reply, but some things are still too weird for me ! > > This is the modified code according to your advices : > > > > PUBLIC SUB Main() > > > > hImage AS Image > > > > i AS Integer > > j AS Integer > > > > hImage = NEW Image > > > > hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique > > Uluru_1.jpg") > > > > END > > > > PUBLIC SUB Form_Open() > > > > pcbScreenSaver.X = 0 > > pcbScreenSaver.Y = 0 > > > > pcbScreenSaver.Picture = hImage.Picture > > 'This line code doesn't work apparently because the compiler doesn't know > > what hImage is ! > > > > pcbScreenSaver.Visible = TRUE > > > > > > END > > > > What am I doing wrong ? > > You must learn the difference between a local variable and a global > variable :-) Is it your first program ? And I didn't write hImage = hImage.Load(...) but just hImage.Load(...). The Load() method returns nothing - The automatic completion should tell you. -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Sat Apr 3 11:06:57 2004 From: ronstk at ...239... (ron) Date: Sat, 3 Apr 2004 11:06:57 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031143.14798.creafab@...402...> References: <200404022319.34394.creafab@...402...> <200404022230.17329.gambas@...1...> <200404031143.14798.creafab@...402...> Message-ID: <200404031106.57600.ronstk@...239...> On Saturday 03 April 2004 11:43, Fabien3D wrote: > What am I doing wrong ? > > -- > Fabien3D > > CREAFab, la cr?ation num?rique autrement... > http://creafab.free.fr I did try your page. My browser is already one day waiting to get the remainder of your page. I do not get the tag to sign the body text part is ready and also not the tag to sign the HTML page is totally finished. The biggest problem is I can't read it. It's in French :+) That a new language for me so I must first study it. LOL, Ron From ronstk at ...239... Sat Apr 3 11:23:06 2004 From: ronstk at ...239... (ron) Date: Sat, 3 Apr 2004 11:23:06 +0200 Subject: [Gambas-user] It wil not work, anyone a idea what is wrong Message-ID: <200404031123.06527.ronstk@...239...> Hi I'm feeling realy stupid, no not a yoke. Public sub button1_KeyPress() 'add \n and key.code Report( "button1_KeyPress()" & " Key.Code=" & Key.Code) end PRIVATE SUB Report (ReportIn AS String) DIM key AS String DIM Report AS String DIM KeyText AS String DIM iPos AS Integer iPos=Instr(Report," ") 'find 1' space must be \n PRINT iPos '< allways 0 Report = ReportIn keyText = "" IF iPos>0 THEN Report =Left$(reportIn,iPos-1) keytext =Mid$(ReportIn,iPos+1) ENDIF ..... ' some other stuff ' keytext involved but is not changed .... IF listview1.Count>10 THEN listview1.MoveFirst key=listview1.Key listview1[key].Delete ENDIF ' note: the delete here triggers a developer message 'CTREEVIEWITEM_delete < 0x8120450 0x8151848 'CTREEVIEWITEM_delete > 0x813f630 'popups de console box INC idx key = Report & CStr(idx) label1.Text=Report '<-- here the Key.Code occurs but may not. listview1.Add(key,Report) end First I used \n instead of the space, what should be the right one to get in label1 two lines of text. And no Benoit it's not my first progam :) But what I'm doing wrong? From ronstk at ...239... Sat Apr 3 11:46:39 2004 From: ronstk at ...239... (ron) Date: Sat, 3 Apr 2004 11:46:39 +0200 Subject: [Gambas-user] It wil not work, anyone a idea what is wrong In-Reply-To: <200404031123.06527.ronstk@...239...> References: <200404031123.06527.ronstk@...239...> Message-ID: <200404031146.39358.ronstk@...239...> On Saturday 03 April 2004 11:23, ron wrote: > Hi > > I'm feeling realy stupid, no not a yoke. > > Public sub button1_KeyPress() 'add \n and key.code > Report( "button1_KeyPress()" & " Key.Code=" & Key.Code) > end > > PRIVATE SUB Report (ReportIn AS String) > DIM key AS String > DIM Report AS String > DIM KeyText AS String > DIM iPos AS Integer > > iPos=Instr(Report,"-") '<------------- had to change to ReportInN !!! > PRINT iPos > Report = ReportIn > keyText = "" > IF iPos>0 THEN > Report =Left$(reportIn,iPos-1) > keytext =Mid$(ReportIn,iPos+1) > ENDIF O I have say it already, I'm stupid From gambas at ...1... Sat Apr 3 14:19:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Apr 2004 14:19:36 +0200 Subject: [Gambas-user] gambas 0.92 Message-ID: <200404031419.36566.gambas@...1...> Hi everybody, Here is gambas 0.92, mainly a bug fixes release. I fixed many bug fixes in the autocompletion, in the source code editor, in the interpreter, and a lot of other places. Thanks to the people that send me bug reports. There is also a new search list feature in the IDE find dialog, made by Ronald Onstenk. And what is that animal on the top of the slide at CEBit 2004 ? :-) http://ktown.kde.org/~danimo/fairs/cebit2004/michael/.tmp/Klas.JPG.html Keep on sending me bug reports! Regards, -- Benoit Minisini mailto:gambas at ...1... From creafab at ...402... Sat Apr 3 16:59:54 2004 From: creafab at ...402... (Fabien3D) Date: Sat, 3 Apr 2004 16:59:54 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031043.36697.gambas@...1...> References: <200404022319.34394.creafab@...402...> <200404031143.14798.creafab@...402...> <200404031043.36697.gambas@...1...> Message-ID: <200404031659.54627.creafab@...402...> Le Samedi 3 Avril 2004 10:43, Benoit Minisini a ?crit : > >hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique > Uluru_1.jpg") > You must learn the difference between a local variable and a global > variable :-) Is it your first program ? Nope ! I've programmed several softwares, one of them is still sold, the others are used in my job or in my video work ! I had tried the instructions : Global hImage as Image : doesn't work I declared hImage in an Module : Global hImage as Image or hImage as Image or Dim hImage as Image Don't work ! -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From creafab at ...402... Sat Apr 3 17:01:45 2004 From: creafab at ...402... (Fabien3D) Date: Sat, 3 Apr 2004 17:01:45 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031106.57600.ronstk@...239...> References: <200404022319.34394.creafab@...402...> <200404031143.14798.creafab@...402...> <200404031106.57600.ronstk@...239...> Message-ID: <200404031701.45771.creafab@...402...> Le Samedi 3 Avril 2004 11:06, ron a ?crit : > On Saturday 03 April 2004 11:43, Fabien3D wrote: > > What am I doing wrong ? > > > > -- > > Fabien3D > > > > CREAFab, la cr?ation num?rique autrement... > > http://creafab.free.fr > > I did try your page. > > My browser is already one day waiting to get the remainder of your page. > I do not get the tag to sign the body text part is ready and > also not the tag to sign the HTML page is totally finished. OOOOPPPSSS ! Indeed ! I'll fix that ! > The biggest problem is I can't read it. It's in French :+) > That a new language for me so I must first study it. As for me, I have to study the Gambas syntax ! > LOL, Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From creafab at ...402... Sat Apr 3 17:03:48 2004 From: creafab at ...402... (Fabien3D) Date: Sat, 3 Apr 2004 17:03:48 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031052.43728.gambas@...1...> References: <200404022319.34394.creafab@...402...> <200404031043.36697.gambas@...1...> <200404031052.43728.gambas@...1...> Message-ID: <200404031703.48313.creafab@...402...> Le Samedi 3 Avril 2004 10:52, Benoit Minisini a ?crit : > On Saturday 03 April 2004 10:43, Benoit Minisini wrote: > > On Saturday 03 April 2004 11:43, Fabien3D wrote: > > > Thanks for the reply, but some things are still too weird for me ! > > > This is the modified code according to your advices : > > > > > > PUBLIC SUB Main() > > > > > > hImage AS Image > > > > > > i AS Integer > > > j AS Integer > > > > > > hImage = NEW Image > > > > > > hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique > > > Uluru_1.jpg") > > > > > > END > > > > > > PUBLIC SUB Form_Open() > > > > > > pcbScreenSaver.X = 0 > > > pcbScreenSaver.Y = 0 > > > > > > pcbScreenSaver.Picture = hImage.Picture > > > 'This line code doesn't work apparently because the compiler doesn't > > > know what hImage is ! > > > > > > pcbScreenSaver.Visible = TRUE > > > > > > > > > END > > > > > > What am I doing wrong ? > > > > You must learn the difference between a local variable and a global > > variable :-) Is it your first program ? > > And I didn't write hImage = hImage.Load(...) but just hImage.Load(...). The > Load() method returns nothing - The automatic completion should tell you. VB6 habit PictureBox.Picture = LoadPicture(filetoload) ! -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From creafab at ...402... Sat Apr 3 17:17:32 2004 From: creafab at ...402... (Fabien3D) Date: Sat, 3 Apr 2004 17:17:32 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031659.54627.creafab@...402...> References: <200404022319.34394.creafab@...402...> <200404031043.36697.gambas@...1...> <200404031659.54627.creafab@...402...> Message-ID: <200404031717.32520.creafab@...402...> Le Samedi 3 Avril 2004 16:59, Fabien3D a ?crit : > Le Samedi 3 Avril 2004 10:43, Benoit Minisini a ?crit : > >hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique > > Uluru_1.jpg") > > > > You must learn the difference between a local variable and a global > > variable :-) Is it your first program ? > > Nope ! I've programmed several softwares, one of them is still sold, the > others are used in my job or in my video work ! > > I had tried the instructions : > Global hImage as Image : doesn't work > I declared hImage in an Module : > Global hImage as Image > or > hImage as Image > or > Dim hImage as Image > > Don't work ! I also tried the PUBLIC instruction, in the Main() and in the separate module. Didn't work ! -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From gambas at ...1... Sat Apr 3 16:27:44 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Apr 2004 16:27:44 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031717.32520.creafab@...402...> References: <200404022319.34394.creafab@...402...> <200404031659.54627.creafab@...402...> <200404031717.32520.creafab@...402...> Message-ID: <200404031627.44435.gambas@...1...> On Saturday 03 April 2004 17:17, Fabien3D wrote: > Le Samedi 3 Avril 2004 16:59, Fabien3D a ?crit : > > Le Samedi 3 Avril 2004 10:43, Benoit Minisini a ?crit : > > >hImage = hImage.Load("/home/fabien/Economiseur_ecran/Panoramique > > > Uluru_1.jpg") > > > > > > You must learn the difference between a local variable and a global > > > variable :-) Is it your first program ? > > > > Nope ! I've programmed several softwares, one of them is still sold, the > > others are used in my job or in my video work ! > > > > I had tried the instructions : > > Global hImage as Image : doesn't work > > I declared hImage in an Module : > > Global hImage as Image > > or > > hImage as Image > > or > > Dim hImage as Image > > > > Don't work ! > > I also tried the PUBLIC instruction, in the Main() and in the separate > module. Didn't work ! You declare class/module global variables exactly like in VB: on top of the class/module, you write: PUBLIC MyVariable AS DataType for a public variable. PRIVATE MyVariable AS DataType for a private variable. You can use the STATIC keyword in a class, if you want your variable to be static. I suggest you read the language specifications on the Gambas Wiki, and the Differences From VB page too. You will find them useful! Regards, -- Benoit Minisini mailto:gambas at ...1... From mauriiiii3001 at ...325... Sat Apr 3 16:25:43 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sat, 03 Apr 2004 16:25:43 +0200 Subject: [Gambas-user] Gmine .95 :-) Message-ID: <406EC967.2090108@...325...> Hi All Gmine 0.95 is out: -it delete all the cells next to the zero cell - It is really faster cause I now use an array of object to call the imagesbox. You Find it here: http://gambas.magic-systems.net/gbcode/gbfamily_7.tar.gz From thierry at ...342... Sat Apr 3 17:16:30 2004 From: thierry at ...342... (Thierry Thomas) Date: Sat, 3 Apr 2004 17:16:30 +0200 Subject: [Gambas-user] Fmain.class:48: Unknown identifier: key Message-ID: <20040403151630.GH26133@...343...> Salut?! I am building gambas 0.92 on FreeBSD. It compiles fine, but when building the examples, I get the following error: Compiling Database/DataReportExample/... /usr/local/share/examples/gambas/Database/DataReportExample/Fmain.class:48: Unknown identifier: key Abort trap (core dumped) When I replace key.code by Key.Code, it's OK. Regards, -- Th. Thomas. From sourceforge-raindog2 at ...94... Sat Apr 3 19:18:08 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 3 Apr 2004 12:18:08 -0500 Subject: [Gambas-user] new font class behavior is broken Message-ID: <200404031216.28150.sourceforge-raindog2@...94...> According to the changelog for 0.92, "The Font class became a true class. Consequently, Control.Font.Bold = TRUE does not change the control font anymore. You must use an intermediate Font variable: DIM hFont as Font hFont = MyControl.Font hFont.Bold = TRUE MyControl.Font = hFont" You could already dim hFont as Font, so I don't understand why it wasn't a "true class" before, and why we need this new, cumbersome syntax now. There are lots of other instances when non-virtual classes can be used as virtual if they're returned as a property value, and I don't see Control or Picture as not being "true" classes for example. What is the underlying reason for this change? And wasn't this supposed to just be a bug fix release, anyway? Rob From creafab at ...402... Sat Apr 3 20:32:39 2004 From: creafab at ...402... (Fabien3D) Date: Sat, 3 Apr 2004 20:32:39 +0200 Subject: [Gambas-user] Coding problem In-Reply-To: <200404031627.44435.gambas@...1...> References: <200404022319.34394.creafab@...402...> <200404031717.32520.creafab@...402...> <200404031627.44435.gambas@...1...> Message-ID: <200404032032.39485.creafab@...402...> I eventually found out what I was doing wrong - above all : I'm still not in used with the Gambas' interface, and I declared the variables in the PUBLIC Sub Main() procedure... Thanks for the information you gave me, Benoit, and for having been patient ! I hope I'll be able to adapt my VB codes ! If someone's ever interested in the softs I had (not) finished in VB, why not putting them in GPL : - Quantas-like software to create HTML pages with assistants (for any tag and for the CSS, imagemaps) and auto-completion - software adding cinemascope black strips at the top and at the bottom of the pictures - don't know if 'm clear... -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From raindog at ...94... Sat Apr 3 23:26:27 2004 From: raindog at ...94... (Rob) Date: Sat, 3 Apr 2004 16:26:27 -0500 Subject: [Gambas-user] mandrake packages for 0.92 Message-ID: <200404031626.27171.raindog@...94...> Here you go.... I'm also working on some all in one packages for the people who have trouble wrapping their brain around "urpmi *.rpm". http://www.kudla.org/index.php?wl_mode=more&wl_eid=52 Rob From ronstk at ...239... Sat Apr 3 23:47:38 2004 From: ronstk at ...239... (ron) Date: Sat, 3 Apr 2004 23:47:38 +0200 Subject: [Gambas-user] gambas 0.92 In-Reply-To: <200404031419.36566.gambas@...1...> References: <200404031419.36566.gambas@...1...> Message-ID: <200404032347.39008.ronstk@...239...> On Saturday 03 April 2004 14:19, Benoit Minisini wrote: > Hi everybody, > > Here is gambas 0.92, mainly a bug fixes release. > > I fixed many bug fixes in the autocompletion, in the source code editor, in > the interpreter, and a lot of other places. > > Thanks to the people that send me bug reports. > > There is also a new search list feature in the IDE find dialog, made by > Ronald Onstenk. > > And what is that animal on the top of the slide at CEBit 2004 ? :-) > http://ktown.kde.org/~danimo/fairs/cebit2004/michael/.tmp/Klas.JPG.html > > Keep on sending me bug reports! > > Regards, Sorry Benoit but I do not see a animal. I just see only a word I like now very much. And it is on top. That the best place to be. Try to keep it there. Ron From Karl.Reinl at ...9... Sat Apr 3 22:47:09 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 3 Apr 2004 22:47:09 +0200 Subject: [Gambas-user] Ups ...0.92... I'v got a problem Message-ID: <200404032247.09642.Karl.Reinl@...9...> Salut, Using: ????????gambas-0.92 (downloaded from the gambas-shrine) ????????gentoo 1.4 ????????qt-3.3.0 ????????gcc 3.3.2 ????????KDE 3.2.1 ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 my be I missed a Changelog or something else. Or I don't remember well. but at 'make install' (as root) I'v get. ------snip ------------------------------- Making symbolic links in /usr/bin... Installing the development environment... Compiling Util... OK Compiling gambas... OK Compiling gambas-database-manager... OK Creating the library info files... make[2]: *** [install-exec-local] Segmentation fault make[2]: Leaving directory `/opt/gambas/gambas-0.92' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/opt/gambas/gambas-0.92' make: *** [install-recursive] Error 1 And the best is: when I do that on gambas-0.91 I'v get the same...But I work since 16.03.2004 with gambas-0.91 At least I dated up my gentoo 1.4 at 27.03.2004 But at this time I also recompiled gambas , my be I ditn't remake that Error. ???? Has anybody an idea ??? Amicalement Charlie PS : I attached my ./configure as configure_92.log -------------- next part -------------- A non-text attachment was scrubbed... Name: configure_92.log Type: text/x-log Size: 12904 bytes Desc: not available URL: From ronstk at ...239... Sun Apr 4 01:56:23 2004 From: ronstk at ...239... (ron) Date: Sun, 4 Apr 2004 01:56:23 +0200 Subject: [Gambas-user] Nice Shot Message-ID: <200404040156.23986.ronstk@...239...> Hi Benoit, Thanks for 0.92 I had only the Fmain48 but no core dump on it. Try to make Gambas IDE look like Visual Basic, but I resist :-) Look can't, QT Rules. Not VBcombobox but vbGAMBABOX. <[:o) Ron. From ronstk at ...239... Sun Apr 4 03:17:27 2004 From: ronstk at ...239... (ron) Date: Sun, 4 Apr 2004 03:17:27 +0200 Subject: [Gambas-user] Bug?: Tabbing passing listbox fire Click event. In-Reply-To: <200404022218.49152.gambas@...1...> References: <200402151535.16187.ronstk@...239...> <200404022218.49152.gambas@...1...> Message-ID: <200404040317.27088.ronstk@...239...> On Friday 02 April 2004 22:18, Benoit Minisini wrote: > On Sunday 15 February 2004 15:35, ron wrote: > > Hallo Benoit. > > > > Testting the Tab key to go walk across the controls I found that the > > mouse_click occurs only the first time after it get the focus with the > > Tab key in a fresh created form. > > After that one, back and forwards tabbing does not fire it any more but > > the first time should also not happen. > > > > --- > > Ron > > Hi, Ron > > I found this old message I didn't answered. > > Could you send me a project that show exactly what you are talking about, > because I'm not sure I understand very well... > > Regards, I wasn't forgotten, that's what ++count. As the ? already say, i can be wrong. The project I had it in does not have it anymore. How it is resolve is unknown and can not reproduce it now. I have a program made that shows when and what event are fired if the user does something with mouse and keyboard. I was a help to figure out some strange behaviors. Normal is mouse_down, mouse_up and the _click and/or _dblclick. I found however one the sequence is down,click and then up. Can be QT problem but if you learn on down the .item is on old item , on up the new item, and you activate on click strange things occurs the on click still the old item is internal active. The control is the tabstrib clicking on the tabs on top where it occurs. After cleanup it is good for the examples i think. Ron From sourceforge-raindog2 at ...94... Sun Apr 4 08:22:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 4 Apr 2004 01:22:16 -0500 Subject: [Gambas-user] special packages: "complete" and "runtimeonly" Message-ID: <200404040122.16455.sourceforge-raindog2@...94...> All those who have problems installing multiple RPM's at once, I salute you ;) http://www.kudla.org/index.php?wl_mode=more&wl_eid=53 Rob From listes.godard at ...11... Sun Apr 4 09:54:37 2004 From: listes.godard at ...11... (Laurent Godard) Date: Sun, 04 Apr 2004 09:54:37 +0200 Subject: [Gambas-user] Gmine .95 :-) In-Reply-To: <406EC967.2090108@...325...> References: <406EC967.2090108@...325...> Message-ID: <406FBF3D.3020806@...11...> Hi pozzo, > Gmine 0.95 is out: > > You Find it here: > > http://gambas.magic-systems.net/gbcode/gbfamily_7.tar.gz > are you sure of the link as i can't download it Let me know laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From genone at ...89... Sun Apr 4 11:28:40 2004 From: genone at ...89... (Marius Mauch) Date: Sun, 4 Apr 2004 11:28:40 +0200 Subject: [Gambas-user] Ups ...0.92... I'v got a problem In-Reply-To: <200404032247.09642.Karl.Reinl@...9...> References: <200404032247.09642.Karl.Reinl@...9...> Message-ID: <20040404112840.222e16f6@...388...> On 04/03/04 Charlie Reinl wrote: > my be I missed a Changelog or something else. > Or I don't remember well. > > but at 'make install' (as root) I'v get. > ------snip ------------------------------- > Making symbolic links in /usr/bin... > > Installing the development environment... > Compiling Util... > OK > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Leaving directory `/opt/gambas/gambas-0.92' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/opt/gambas/gambas-0.92' > make: *** [install-recursive] Error 1 > > And the best is: when I do that on gambas-0.91 I'v get the same...But > I work since 16.03.2004 with gambas-0.91 It's likely caused by the KDE component, that's why I remove it in the ebuild before that step. Didn't have time to debug this yet. Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jholm at ...381... Sun Apr 4 11:57:44 2004 From: jholm at ...381... (Jesper Holm) Date: Sun, 4 Apr 2004 11:57:44 +0200 Subject: [Gambas-user] Ups ...0.92... I'v got a problem In-Reply-To: <200404032247.09642.Karl.Reinl@...9...> References: <200404032247.09642.Karl.Reinl@...9...> Message-ID: <200404041157.44854.jholm@...381...> Hi Charlie, I use Gentoo as well, and I had the same problem with the seg-faults of the gbi component. I took the rather radical approach and changed my CFLAGS to "-march=pentium3 -O2 -pipe -fomit-frame-pointer", and recompiled these packages: Binutils, GCC, glibc, Qt, and Kde. All of the above to the latest stable versions. Before that I used a rather aggresive optimization with O3 and -falign-functions etc. Skipping all these optimizations has not had any impact on my system (Dell D800). Afterwards Gambs compiles perfectly both from source and ebuild, though the eb uild does not provide the help files. You can also just comment out the gbi part in the Makefile, and it will most likely compile. (but w/o info files of course) Jesper On Saturday 03 April 2004 22:47, Charlie Reinl wrote: > Salut, > > Using: > ????????gambas-0.92 (downloaded from the gambas-shrine) > ????????gentoo 1.4 > ????????qt-3.3.0 > ????????gcc 3.3.2 > ????????KDE 3.2.1 > ????????mysql 4.0.18 > ????????psql ? 7.3.5 > ????????sqlite 2.8.11 > > my be I missed a Changelog or something else. > Or I don't remember well. > > but at 'make install' (as root) I'v get. > ------snip ------------------------------- > Making symbolic links in /usr/bin... > > Installing the development environment... > Compiling Util... > OK > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Leaving directory `/opt/gambas/gambas-0.92' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/opt/gambas/gambas-0.92' > make: *** [install-recursive] Error 1 > > And the best is: when I do that on gambas-0.91 I'v get the same...But I > work since 16.03.2004 with gambas-0.91 > > At least I dated up my gentoo 1.4 at 27.03.2004 > But at this time I also recompiled gambas , my be I ditn't remake that > Error. ???? > > Has anybody an idea ??? > > Amicalement > Charlie > > PS : I attached my ./configure as configure_92.log From Karl.Reinl at ...9... Sun Apr 4 13:52:23 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 4 Apr 2004 13:52:23 +0200 Subject: [Gambas-user] This also is still possible Message-ID: <200404041352.23913.Karl.Reinl@...9...> Salut, I worte on 12/2003 (that was at gambas-0.72) Subject: a new Hint : delete you project-files, while open in the IDE Start a Project and Create a new form or open an existing project Then File/Open a Project Select (in left window) the project change to the right window and open on a file with a right mouse click the context menu NOW you can delete you project-files, while open in the IDE Now with the lock-file It would be nice to warn the user. Amicalement Charlie From Karl.Reinl at ...9... Sun Apr 4 13:27:06 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 4 Apr 2004 13:27:06 +0200 Subject: [Gambas-user] Still possible with gambas-0.92 Message-ID: <200404041327.06349.Karl.Reinl@...9...> Salut, Using: ????????gambas-0.92 ?(downloaded from the gambas-shrine) Option = disable kde ????????gentoo 1.4 ????????qt-3.3.0 ????????gcc 3.3.2 ????????KDE 3.2.1 ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 I still can use cut/copy and paste during debugging. And also make changes with Find/Replace Changes on the Form are NO MORE possible ! Amicalement Charlie From Karl.Reinl at ...9... Sun Apr 4 13:55:00 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 4 Apr 2004 13:55:00 +0200 Subject: [Gambas-user] Ups ...0.92... I'v got a problem (solved) Message-ID: <200404041355.00951.Karl.Reinl@...9...> Salut, Using: ????????gambas-0.92 ?(downloaded from the gambas-shrine) Option = disable kde ????????gentoo 1.4 ????????qt-3.3.0 ????????gcc 3.3.2 ????????KDE 3.2.1 ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 befor it failed at kde.html Tanks to all. Amicalement Charlie From Karl.Reinl at ...9... Sun Apr 4 16:13:29 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 4 Apr 2004 16:13:29 +0200 Subject: [Gambas-user] Something was wrong Message-ID: <200404041613.29635.Karl.Reinl@...9...> Salut, this is a Test 2 of my last 3 mail show Attachments, but there never where. And in place where I normaly write 'Amicalement Charlie' are only strange chars. Amicalement Charlie From gambas at ...1... Sun Apr 4 17:20:24 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 4 Apr 2004 17:20:24 +0200 Subject: [Gambas-user] Fmain.class:48: Unknown identifier: key In-Reply-To: <20040403151630.GH26133@...343...> References: <20040403151630.GH26133@...343...> Message-ID: <200404041720.25021.gambas@...1...> On Saturday 03 April 2004 17:16, Thierry Thomas wrote: > Salut?! > > I am building gambas 0.92 on FreeBSD. It compiles fine, but when > building the examples, I get the following error: > > Compiling Database/DataReportExample/... > /usr/local/share/examples/gambas/Database/DataReportExample/Fmain.class:48: > Unknown identifier: key Abort trap (core dumped) > > When I replace key.code by Key.Code, it's OK. > > Regards, Thanks. I forgot to fix that ! At the moment, when you compile a program from the IDE, the IDE gives to the compiler the list of classes used by the project. But when you compile from the command line, which is the case when you install gambas, the compile does not receive this list. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Apr 4 17:30:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 4 Apr 2004 17:30:42 +0200 Subject: [Gambas-user] new font class behavior is broken In-Reply-To: <200404031216.28150.sourceforge-raindog2@...94...> References: <200404031216.28150.sourceforge-raindog2@...94...> Message-ID: <200404041730.42867.gambas@...1...> On Saturday 03 April 2004 19:18, Rob wrote: > According to the changelog for 0.92, > > "The Font class became a true class. Consequently, > Control.Font.Bold = TRUE does not change the control font > anymore. You must use an intermediate Font variable: > DIM hFont as Font > hFont = MyControl.Font > hFont.Bold = TRUE > MyControl.Font = hFont" > > You could already dim hFont as Font, so I don't understand why it > wasn't a "true class" before, and why we need this new, > cumbersome syntax now. There are lots of other instances when > non-virtual classes can be used as virtual if they're returned > as a property value, and I don't see Control or Picture as not > being "true" classes for example. > > What is the underlying reason for this change? And wasn't this > supposed to just be a bug fix release, anyway? > > Rob > To allow Control.Font.Bold = TRUE changing the control font in Gambas AND Control.Font returning a Font object, I had to implement a special support in the class routines of the interpreter. And the Font class was the sole one in this case ! So I decided to remove this exception, because it allows me to have faster referencing/deferencing routines. I acknowledge that the syntax become a bit complicated. Maybe I will add methods to allow the following: MyControl.Font = MyControl.Font.SetBold(TRUE) Regards, -- Benoit Minisini mailto:gambas at ...1... From rrshanks at ...407... Sun Apr 4 17:42:27 2004 From: rrshanks at ...407... (rrshanks at ...407...) Date: Sun, 4 Apr 2004 11:42:27 -0400 Subject: [Gambas-user] mySQL drivers Message-ID: <200404041540.i34FecVR006532@...408...> Hi, I downloaded Gambas yesterday(April 3rd), built and installed on Mandrake 10.0 community release. I had previously installed mySQL 4.18 from the same Mandrake distribution and have been using it along with PHP without any problem. However Gambas is having problems using mySQL. It says "driver not found". Did I miss something during the build? This is what I did to build Gambas: ./configure make su -c "make install" I have no problems running Gambas and also some of the examples. I can't connect to mySQL on my computer. Gambas is very impressive. Great job! -Ravi From ronstk at ...239... Sun Apr 4 17:41:30 2004 From: ronstk at ...239... (ron) Date: Sun, 4 Apr 2004 17:41:30 +0200 Subject: [Gambas-user] Gmine .95 :-) In-Reply-To: <406FBF3D.3020806@...11...> References: <406EC967.2090108@...325...> <406FBF3D.3020806@...11...> Message-ID: <200404041741.31346.ronstk@...239...> On Sunday 04 April 2004 09:54, Laurent Godard wrote: > Hi pozzo, > > > Gmine 0.95 is out: > > > > You Find it here: > > > > http://gambas.magic-systems.net/gbcode/gbfamily_7.tar.gz > > are you sure of the link as i can't download it > > Let me know > > laurent Try this address instead. http://217.160.136.201/gambas/ For now it is by IP. I just opens the site and must add usefull pages. Leo/Fabien this is available as download or host for The family site. Ron From listes.godard at ...11... Sun Apr 4 17:55:56 2004 From: listes.godard at ...11... (Laurent Godard) Date: Sun, 04 Apr 2004 17:55:56 +0200 Subject: [Gambas-user] Gmine .95 :-) In-Reply-To: <200404041741.31346.ronstk@...239...> References: <406EC967.2090108@...325...> <406FBF3D.3020806@...11...> <200404041741.31346.ronstk@...239...> Message-ID: <4070300C.2020208@...11...> Hi ron, thanks a lot it works Pozzo, great job Gmine works nice !! i'll have a look at the code ;) Laurent -- ----------------------------------------- Laurent Godard - Conseil et D?veloppement 06 85 33 27 90 - dev.godard at ...11... ----------------------------------------- From gambas at ...1... Sun Apr 4 18:09:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 4 Apr 2004 18:09:29 +0200 Subject: [Gambas-user] mySQL drivers In-Reply-To: <200404041540.i34FecVR006532@...408...> References: <200404041540.i34FecVR006532@...408...> Message-ID: <200404041809.29663.gambas@...1...> On Sunday 04 April 2004 17:42, rrshanks at ...407... wrote: > Hi, > I downloaded Gambas yesterday(April 3rd), built and installed on > Mandrake 10.0 community release. I had previously installed mySQL 4.18 from > the same Mandrake distribution and have been using it along with PHP > without any problem. However Gambas is having problems using mySQL. It says > "driver not found". Did I miss something during the build? This is what I > did to build Gambas: > > ./configure > make > su -c "make install" > > I have no problems running Gambas and also some of the examples. I can't > connect to mySQL on my computer. > > Gambas is very impressive. Great job! > > -Ravi > > Did you install mysql development packages ? (I should make a shortcut on my keyboard for this question, I ask it so many times !) Install the packages named MySQL-client-XXX, I think it will install all needed packages. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sun Apr 4 22:32:16 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 4 Apr 2004 15:32:16 -0500 Subject: [Gambas-user] new font class behavior is broken In-Reply-To: <200404041730.42867.gambas@...1...> References: <200404031216.28150.sourceforge-raindog2@...94...> <200404041730.42867.gambas@...1...> Message-ID: <200404041632.16055.sourceforge-raindog2@...94...> On Sunday 04 April 2004 11:30, Benoit Minisini wrote: > To allow Control.Font.Bold = TRUE changing the control font in > Gambas AND Control.Font returning a Font object, I had to > implement a special support in the class routines of the > interpreter. And the Font class was the sole one in this case Why not just make a virtual class .ControlFont which is a subclass of Font, and which itself has a property called Font which returns the control's non-virtual Font object? Rob From gambas at ...1... Sun Apr 4 22:42:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 4 Apr 2004 22:42:26 +0200 Subject: [Gambas-user] new font class behavior is broken In-Reply-To: <200404041632.16055.sourceforge-raindog2@...94...> References: <200404031216.28150.sourceforge-raindog2@...94...> <200404041730.42867.gambas@...1...> <200404041632.16055.sourceforge-raindog2@...94...> Message-ID: <200404042242.26564.gambas@...1...> On Sunday 04 April 2004 22:32, Rob wrote: > On Sunday 04 April 2004 11:30, Benoit Minisini wrote: > > To allow Control.Font.Bold = TRUE changing the control font in > > Gambas AND Control.Font returning a Font object, I had to > > implement a special support in the class routines of the > > interpreter. And the Font class was the sole one in this case > > Why not just make a virtual class .ControlFont which is a > subclass of Font, and which itself has a property called Font > which returns the control's non-virtual Font object? > > Rob > It is not a matter of virtual class. The problem is that the old Font knew which control it was related to. But your suggestion gives me an idea: storing in Font objects returning by Control.Font a reference to the control it comes from. The positive point is that you will be able to do Control.Font.Bold = TRUE. The negative point is that if you forget to release a reference to this font object, then the control object will never be destroyed. Regards, -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...11... Mon Apr 5 23:18:27 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 5 Apr 2004 23:18:27 +0200 Subject: [Gambas-user] Gmine .95 :-) In-Reply-To: <4070300C.2020208@...11...> References: <406EC967.2090108@...325...> <200404041741.31346.ronstk@...239...> <4070300C.2020208@...11...> Message-ID: <200404052318.27925.abidoo.too@...11...> Le dimanche 4 Avril 2004 17:55, Laurent Godard a ?crit : > Hi ron, > > thanks a lot > it works > > Pozzo, great job > Gmine works nice !! > > i'll have a look at the code ;) > > Laurent grrr... i don't know why so many people can't get to my site.... :( Fabien From abidoo.too at ...11... Mon Apr 5 23:19:40 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 5 Apr 2004 23:19:40 +0200 Subject: [Gambas-user] gambas 0.92 In-Reply-To: <200404032347.39008.ronstk@...239...> References: <200404031419.36566.gambas@...1...> <200404032347.39008.ronstk@...239...> Message-ID: <200404052319.40316.abidoo.too@...11...> Le samedi 3 Avril 2004 23:47, ron a ?crit : > On Saturday 03 April 2004 14:19, Benoit Minisini wrote: > > Hi everybody, > > > > Here is gambas 0.92, mainly a bug fixes release. > > > > I fixed many bug fixes in the autocompletion, in the source code editor, > > in the interpreter, and a lot of other places. > > > > Thanks to the people that send me bug reports. > > > > There is also a new search list feature in the IDE find dialog, made by > > Ronald Onstenk. > > > > And what is that animal on the top of the slide at CEBit 2004 ? :-) > > http://ktown.kde.org/~danimo/fairs/cebit2004/michael/.tmp/Klas.JPG.html > > > > Keep on sending me bug reports! > > > > Regards, > > Sorry Benoit but I do not see a animal. > I just see only a word I like now very much. > And it is on top. That the best place to be. > Try to keep it there. > > Ron I'm really happy...happy...happy, to see our job here ! thank to all Thank to you benoit Fabien From ronstk at ...239... Mon Apr 5 02:43:32 2004 From: ronstk at ...239... (ron) Date: Mon, 5 Apr 2004 02:43:32 +0200 Subject: [Gambas-user] Gmine .95 :-) In-Reply-To: <200404052318.27925.abidoo.too@...11...> References: <406EC967.2090108@...325...> <4070300C.2020208@...11...> <200404052318.27925.abidoo.too@...11...> Message-ID: <200404050243.32896.ronstk@...239...> On Monday 05 April 2004 23:18, Fabien Bodard wrote: > Le dimanche 4 Avril 2004 17:55, Laurent Godard a ?crit : > > Hi ron, > > > > thanks a lot > > it works > > > > Pozzo, great job > > Gmine works nice !! > > > > i'll have a look at the code ;) > > > > Laurent > > grrr... i don't know why so many people can't get to my site.... :( > > Fabien > I did send you a email few days back about it. For check I have resend it. May be i/it can help a bit. Ron From masher at ...409... Mon Apr 5 04:47:50 2004 From: masher at ...409... (Masher) Date: Sun, 4 Apr 2004 22:47:50 -0400 Subject: [Gambas-user] Bug: Application.args Message-ID: <000001c41ab8$63005f90$4600a8c0@...409...> In my console based program, everytime gb sees application.args it outputs: Free(): invalid pointer 0x806e40c And then when the program exits: WARNING: -1 allocation(s) non freed. I'm not sure if it's a bug or not, but this didn't occur with 9.1. The first message occurs depending on the number of times gb processes the application.args command. Thanks, Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankberg at ...390... Mon Apr 5 08:50:07 2004 From: frankberg at ...390... (Frank Berg) Date: Mon, 5 Apr 2004 08:50:07 +0200 Subject: [Gambas-user] struct Message-ID: <00f201c41ada$3c0ffd10$0200a8c0@...391...> hi list.. i need something linke a VB struct or VB type snip _____________________________ struct adr name as string * 10 street as string * 25 telefon as string * 20 end struct dim myAdr[] as adr snap _____________________________ how can i do this.. tnx.. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronan at ...384... Mon Apr 5 10:01:36 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 5 Apr 2004 09:01:36 +0100 Subject: [Gambas-user] struct In-Reply-To: <00f201c41ada$3c0ffd10$0200a8c0@...391...> References: <00f201c41ada$3c0ffd10$0200a8c0@...391...> Message-ID: <20040405090136.1066e3db@...385...> Hi Frank ... On Mon, 5 Apr 2004 08:50:07 +0200 > snip _____________________________ > > struct adr > name as string * 10 > street as string * 25 > telefon as string * 20 > end struct > > dim myAdr[] as adr > > snap _____________________________ > > how can i do this.. > I think you can probably do it with an Object data type:- (code may be wrong because I don't know gambas well enough !!!) In a new class file called myStruct PUBLIC name AS String PUBLIC street as String PUBLIC telephone as String In a module / form / whatever PUBLIC z AS myStruct PUBLIC SUB Form_open() z = new myStruct z.name = "Fred" z.street = "The Street" z.telephone = "123456789" END Does that help at all ? Anyone know a better way ? A quick PS to Benoit - keep up the good work ! Don't know how you're finding the time to release new versions AND bugfix ... make sure you sleep and eat, won't you !!!!! Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com TheLittleDot is a partnership of Ronan Chilvers and Giles Webberley This message has been digitally signed to verify sender identity ( GNUPG 1.2.4 : http://www.gnupg.org ) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From abidoo.too at ...11... Tue Apr 6 12:46:25 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Tue, 6 Apr 2004 12:46:25 +0200 Subject: [Gambas-user] struct In-Reply-To: <00f201c41ada$3c0ffd10$0200a8c0@...391...> References: <00f201c41ada$3c0ffd10$0200a8c0@...391...> Message-ID: <200404061246.26053.abidoo.too@...11...> Le lundi 5 Avril 2004 08:50, Frank Berg a ?crit : > hi list.. > > i need something linke a VB struct or VB type > > snip _____________________________ > > struct adr > name as string * 10 > street as string * 25 > telefon as string * 20 > end struct > > dim myAdr[] as adr > > snap _____________________________ > > how can i do this.. > > tnx.. frank with a class Create a class who have this feature. after do a dim mymem(10) as myclass ' for a static array or dim mymem as object[] mymem.add(new myclass) Fabien From gambas at ...1... Mon Apr 5 13:30:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 5 Apr 2004 13:30:02 +0200 Subject: [Gambas-user] Bug: Application.args In-Reply-To: <000001c41ab8$63005f90$4600a8c0@...409...> References: <000001c41ab8$63005f90$4600a8c0@...409...> Message-ID: <200404051330.02543.gambas@...1...> On Monday 05 April 2004 04:47, Masher wrote: > In my console based program, everytime gb sees application.args it > outputs: > > Free(): invalid pointer 0x806e40c > > And then when the program exits: > > WARNING: -1 allocation(s) non freed. > > > I'm not sure if it's a bug or not, but this didn't occur with 9.1. The > first message occurs depending on the number of times gb processes the > application.args command. > > Thanks, > Alan This is a bug! I will fix it in the next version. I join a patch for those who need it. -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_c_application.c Type: text/x-csrc Size: 4755 bytes Desc: not available URL: From creafab at ...402... Mon Apr 5 20:51:45 2004 From: creafab at ...402... (Fabien3D) Date: Mon, 5 Apr 2004 20:51:45 +0200 Subject: [Gambas-user] special packages: "complete" and "runtimeonly" In-Reply-To: <200404040122.16455.sourceforge-raindog2@...94...> References: <200404040122.16455.sourceforge-raindog2@...94...> Message-ID: <200404052051.45227.creafab@...402...> Hi ! I've just uninstalled Gambas 0.91 to replace it with Gambas 0.92. Though the main program works, the doc rpm doesn't install properly : there are some error messages about two symbolic links (ln) to the /share and /help - as far as I can remember. I tried to installe the "complete" and the "doc" packages. As it also failed on the "doc" rpm, I tried to install the separate rpms : the same result ! I also tried to copy the static.zip contents to the /help : the documentation is available, but any search is impossible ! What am I doing wrong ? -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From ronan at ...384... Mon Apr 5 20:35:31 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 5 Apr 2004 19:35:31 +0100 Subject: [Gambas-user] Object Inheritance Message-ID: <20040405193531.6b5fc1ee@...385...> Hi folks Quick question on inheritance. How does it work in gambas? For example:- 2 classes MyParentClass MyChildClass and I want MyChildClass to inherit the properties and methods of myParentClass. How do I do this ? Cheers Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com TheLittleDot is a partnership of Ronan Chilvers and Giles Webberley This message has been digitally signed to verify sender identity ( GNUPG 1.2.4 : http://www.gnupg.org ) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ronan at ...384... Mon Apr 5 22:18:46 2004 From: ronan at ...384... (Ronan Chilvers) Date: Mon, 5 Apr 2004 21:18:46 +0100 Subject: [Gambas-user] Writing classes to handle incoming socket connections with ServerSocket Message-ID: <20040405211846.5fce0d35@...385...> Hi folks I'm really interested in using Gambas to do some socket programming. I want to write a 'dispatcher' class holding the ServerSocket, which hands off the incoming connections to a 'clienthandler' class to handle that particular connection. The problem is I can't work out how to pass the sockets around between the classes. This is the kind of thing I'm doing:- Dispatcher.class PRIVATE dSocket as ServerSocket PUBLIC SUB _new(port) dSocket = new ServerSocket as "dSocket" END PRIVATE SUB dSocket_Connection(dHost as String) DIM obj as ClientHandler obj = new ClientHandler(dSocket.Accept()) END ClientHandler.class PRIVATE cSocket as Socket PUBLIC SUB _new(sock as Socket) cSocket = sock END PRIVATE SUB cSocket_Read() 'Read data from socket and do stuff with it '***** This never executes ***** END That's the basic idea. However when I connect to the listening port, the connection immediately drops and the _Read event never fires. The ClientHandler object is created fine and the child socket is passed through fine, as I can read parameters such as RemoteHost from the cSocket property of the new ClientHandler object. Any clues would be very much appreciated ! :-) Cheers Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com TheLittleDot is a partnership of Ronan Chilvers and Giles Webberley This message has been digitally signed to verify sender identity ( GNUPG 1.2.4 : http://www.gnupg.org ) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From frankberg at ...390... Mon Apr 5 23:31:43 2004 From: frankberg at ...390... (Frank Berg) Date: Mon, 5 Apr 2004 23:31:43 +0200 Subject: [Gambas-user] printing References: <002801c406ba$e03463b0$0200a8c0@...391...> <200403101153.53958.sourceforge-raindog2@...94...> Message-ID: <001a01c41b55$64bfd480$0200a8c0@...391...> Hi rob i hope you have the printing idee in mind :-) frank ----- Original Message ----- From: "Rob" To: Sent: Wednesday, March 10, 2004 6:53 PM Subject: Re: [Gambas-user] printing > On Wednesday 10 March 2004 11:15, Frank Berg wrote: > > maybe an good idee to insert an print option in the gambas > > IDE??? > > Unless someone else writes this first, I'll try to do this in the > next few days and submit a patch. I'd been meaning to add that > to the help browser as well. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From daniel.campos at ...338... Mon Apr 5 23:33:42 2004 From: daniel.campos at ...338... (Daniel) Date: Mon, 05 Apr 2004 23:33:42 +0200 Subject: [Gambas-user] Writing classes to handle incoming socket connections with ServerSocket In-Reply-To: <20040405211846.5fce0d35@...385...> References: <20040405211846.5fce0d35@...385...> Message-ID: <1081200822.2457.1.camel@...40...> El lun, 05-04-2004 a las 22:18, Ronan Chilvers escribi?: > Hi folks > > I'm really interested in using Gambas to do some socket programming. I want to write a 'dispatcher' class holding the ServerSocket, which hands off the incoming connections to a 'clienthandler' class to handle that particular connection. > > The problem is I can't work out how to pass the sockets around between the classes. This is the kind of thing I'm doing:- > > Dispatcher.class > > PRIVATE dSocket as ServerSocket > > PUBLIC SUB _new(port) > dSocket = new ServerSocket as "dSocket" > END > > PRIVATE SUB dSocket_Connection(dHost as String) > DIM obj as ClientHandler > obj = new ClientHandler(dSocket.Accept()) > END > > ClientHandler.class > PRIVATE cSocket as Socket > > PUBLIC SUB _new(sock as Socket) > cSocket = sock > END > I don't know if it is true in 0.92, but in previous versions, you can not use a provate method to handle an event, so you should use 'PUBLIC SUB cSocket_Read()' instead... > PRIVATE SUB cSocket_Read() > 'Read data from socket and do stuff with it > '***** This never executes ***** > END > > That's the basic idea. However when I connect to the listening port, the connection immediately drops and the _Read event never fires. The ClientHandler object is created fine and the child socket is passed through fine, as I can read parameters such as RemoteHost from the cSocket property of the new ClientHandler object. > > Any clues would be very much appreciated ! :-) > > Cheers > > Ronan From Karl.Reinl at ...9... Mon Apr 5 22:46:19 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 5 Apr 2004 22:46:19 +0200 Subject: [Gambas-user] TableView needs Resize Event, perhapes others Components also Message-ID: <200404052246.19276.Karl.Reinl@...9...> Salut, If you work with my version of Gdbm (is attached) you have a TableView at 'SQL request' Build Tab. There it opens a Combobox if you click at 'Field' or 'Sort' , a Textbox if you click at 'Alias (AS)', 'Where' or 'OR' filled Filed. If you change the Columns Width while a Combobox or a Textbox is open , Combobox and Textbox have no chance to chage, I tried it with GotFocus but that doesn't 'realy' work, because the component don't lose the focus while you make the columns Width change. So the Resize.Event would be usefull. Amicalement Charlie PS: Benoit, If you place on Frequest.form a component like here TableView1 (snapshot21.jpg) you'v get snapshot22.jpg an Error at a Line 1098 who does not exist, Frequest.class has only 1081 Lines . -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.84.tar.gz Type: application/x-tgz Size: 109923 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot21.jpg Type: image/jpeg Size: 65506 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot22.jpg Type: image/jpeg Size: 10533 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Mon Apr 5 23:53:47 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 Apr 2004 16:53:47 -0500 Subject: [Gambas-user] printing In-Reply-To: <001a01c41b55$64bfd480$0200a8c0@...391...> References: <002801c406ba$e03463b0$0200a8c0@...391...> <200403101153.53958.sourceforge-raindog2@...94...> <001a01c41b55$64bfd480$0200a8c0@...391...> Message-ID: <200404051753.47199.sourceforge-raindog2@...94...> On Monday 05 April 2004 17:31, Frank Berg wrote: > i hope you have the printing idee in mind :-) I actually started trying to hack it into the help browser, but since the rich text control doesn't have a "send to printer object" method, I'll need to write my own "html to printer" routine and that may take a little while. It should be easier to add printing functionality to the IDE's editor, I just haven't run into a case where I or one of my clients needed it yet. Rob From daniel.campos at ...338... Mon Apr 5 23:59:43 2004 From: daniel.campos at ...338... (Daniel) Date: Mon, 05 Apr 2004 23:59:43 +0200 Subject: [Gambas-user] Writing classes to handle incoming socket connections with ServerSocket In-Reply-To: <20040405211846.5fce0d35@...385...> References: <20040405211846.5fce0d35@...385...> Message-ID: <1081202383.2457.5.camel@...40...> > mmmh... forget what I said in the previous message, I think the problem is that the new object (cSocket) is not attached to any event handler, I ve been looking at the documentation, as I though there was a Gambas function to do it, something like "Attach", but now I can not find it...Beno?t? Regards, Daniel Campos > PRIVATE SUB cSocket_Read() > 'Read data from socket and do stuff with it > '***** This never executes ***** > END > > That's the basic idea. However when I connect to the listening port, the connection immediately drops and the _Read event never fires. The ClientHandler object is created fine and the child socket is passed through fine, as I can read parameters such as RemoteHost from the cSocket property of the new ClientHandler object. > > Any clues would be very much appreciated ! :-) > > Cheers > > Ronan From gambas at ...1... Tue Apr 6 00:08:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Apr 2004 00:08:25 +0200 Subject: [Gambas-user] Writing classes to handle incoming socket connections with ServerSocket In-Reply-To: <1081202383.2457.5.camel@...40...> References: <20040405211846.5fce0d35@...385...> <1081202383.2457.5.camel@...40...> Message-ID: <200404060008.25539.gambas@...1...> On Monday 05 April 2004 23:59, Daniel wrote: > mmmh... forget what I said in the previous message, I think the problem > is that the new object (cSocket) is not attached to any event handler, > I ve been looking at the documentation, as I though there was a Gambas > function to do it, something like "Attach", but now I can not find > it...Beno?t? > > Regards, > > Daniel Campos > I think Accept() return a Socket that is attached to the object where it was created. So the event handler must be located in the class of this object. If the event handler must be located in another class, then the Socket must be reattached to an object of this class, with the method Object.Attach(). Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Apr 6 00:10:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Apr 2004 00:10:52 +0200 Subject: [Gambas-user] TableView needs Resize Event, perhapes others Components also In-Reply-To: <200404052246.19276.Karl.Reinl@...9...> References: <200404052246.19276.Karl.Reinl@...9...> Message-ID: <200404060010.52173.gambas@...1...> On Monday 05 April 2004 22:46, Charlie Reinl wrote: > ... > > PS: Benoit, > If you place on Frequest.form a component like here TableView1 > (snapshot21.jpg) you'v get snapshot22.jpg an Error at a Line 1098 who > does not exist, Frequest.class has only 1081 Lines . You must have defined reqSplitter in you form class. As the code that creates the controls is inserted after the form code by the compiler, the line number is greater than the number of form code line! I admit this leads to a strange error message! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Apr 6 00:15:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Apr 2004 00:15:28 +0200 Subject: [Gambas-user] Object Inheritance In-Reply-To: <20040405193531.6b5fc1ee@...385...> References: <20040405193531.6b5fc1ee@...385...> Message-ID: <200404060015.28978.gambas@...1...> On Monday 05 April 2004 20:35, Ronan Chilvers wrote: > Hi folks > > Quick question on inheritance. How does it work in gambas? For example:- > > 2 classes > MyParentClass > MyChildClass > > and I want MyChildClass to inherit the properties and methods of > myParentClass. How do I do this ? > > Cheers > > Ronan Adds "INHERITS MyParentClass" to the beginning of MyChildClass. Regards, -- Benoit Minisini mailto:gambas at ...1... From rizky at ...225... Tue Apr 6 05:44:17 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 06 Apr 2004 10:44:17 +0700 Subject: [Gambas-user] Gambas about box Message-ID: <6.0.0.22.2.20040406104150.01d043e8@...329...> have you guys ever see the gambas 0.92 about box ? on the scroll names seems i have something like: 1. the gambas picture isn't transparent.. why ?? or is it the picture realy not transparent ?? 2. at the end, it sould be sroll up to finish, but it didn't. the last name just disappear before it comes to up... Regards, tahara! From ronstk at ...239... Tue Apr 6 06:16:46 2004 From: ronstk at ...239... (ron) Date: Tue, 6 Apr 2004 06:16:46 +0200 Subject: [Gambas-user] WISH: Open project Form Message-ID: <200404060616.46289.ronstk@...239...> In the menu bar open recent project 2 x gambas 1 in /opt/gambas/share/gambas 2 in /opt/gambas91/share/gambas This difference is not on the startup form.! You can have the same project name but different path. A beauty failure but not a program failure as result Could be handy to know who is what. Tooltip or as in the menu bar is done. Ron From frankberg at ...390... Tue Apr 6 06:31:29 2004 From: frankberg at ...390... (Frank Berg) Date: Tue, 6 Apr 2004 06:31:29 +0200 Subject: [Gambas-user] bug in function split? Message-ID: <00a401c41b90$087f0840$0200a8c0@...391...> hi an call like s=split("1 2 3 4"," ") has as result : s[0]=1 s[1]=2 .... an call like s=split("1 2 3 4") hast as result s[0]=1 s[1]= s[2]= s[3]=2..... i mean it is not correct.. an call like s=split("1 2 3 4") must be in result s[0]=1 s[1]=2 s[2]=3 s[3]=4.... frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankberg at ...390... Tue Apr 6 06:36:37 2004 From: frankberg at ...390... (Frank Berg) Date: Tue, 6 Apr 2004 06:36:37 +0200 Subject: [Gambas-user] ubound lbound Message-ID: <00ad01c41b90$c0999df0$0200a8c0@...391...> hi, how can i ask ubound and lbound values in an array snip --------------------- dim s as string[] s=split("1 2 3 4"," ") print lbound(s) print ubound(s) output ------------------------ lbound=0 ubound=3 snap ------------------------- frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Tue Apr 6 07:19:40 2004 From: ronstk at ...239... (ron) Date: Tue, 6 Apr 2004 07:19:40 +0200 Subject: [Gambas-user] bug in function split? In-Reply-To: <00a401c41b90$087f0840$0200a8c0@...391...> References: <00a401c41b90$087f0840$0200a8c0@...391...> Message-ID: <200404060719.40410.ronstk@...239...> On Tuesday 06 April 2004 06:31, Frank Berg wrote: > hi > > an call like s=split("1 2 3 4"," ") has as result : s[0]=1 > > s[1]=2 .... > > an call like s=split("1 2 3 4") hast as result s[0]=1 > > s[1]= s[2]= s[3]=2..... > > i mean it is not correct.. > > an call like s=split("1 2 3 4") must be in result s[0]=1 > > s[1]=2 s[2]=3 s[3]=4.... > > frank Sorry but you are partial wrong. By default, the comma character is the separator, and there are no escape characters. (From the Help) The default split is 1 character. If you change it for easy reading the space to a '+' then for s=split("1++2+++3++4","+") you should get s[0]=1 s[1]= s[2]=2 s[3]= s[4]= s[5]=3 Between the first + and the second + IS nothing and is in this way correct. I understand your mistake but you have to see the separator in exact way The bug you mention can be right but is not the one you say. And the result is as you say with the arrays is. If the comma is the default and in all your examples is no comma. Then you should have a array of only 1 argument, the whole string. for the last two I verify this and it show that the to last examples are as I say a array of 1 element containing the whole string. The forth is with a space as separator and result is correct. PUBLIC SUB Main2() DIM s AS String[] s=Split("1 2 3 4 5"," ") show(s) s=Split("1 2 3 4 5") show(s) s=Split("1 2 3 4 5") show(s) s=Split("1 2 3 4 5"," ") show(s) END SUB show(s AS String[]) DIM i AS Integer FOR i=0 TO s.count-1 PRINT i,s[i] NEXT PRINT "---------------" END result in 0 1 1 2 2 3 3 4 4 5 --------------- 0 1 2 3 4 5 --------------- 0 1 2 3 4 5 --------------- 0 1 1 2 2 3 4 5 3 6 7 4 8 9 10 5 --------------- From ronstk at ...239... Tue Apr 6 07:33:26 2004 From: ronstk at ...239... (ron) Date: Tue, 6 Apr 2004 07:33:26 +0200 Subject: [Gambas-user] ubound lbound In-Reply-To: <00ad01c41b90$c0999df0$0200a8c0@...391...> References: <00ad01c41b90$c0999df0$0200a8c0@...391...> Message-ID: <200404060733.26687.ronstk@...239...> On Tuesday 06 April 2004 06:36, Frank Berg wrote: > hi, > > how can i ask ubound and lbound values in an array > > snip --------------------- > > dim s as string[] > > s=split("1 2 3 4"," ") > > print lbound(s) > print ubound(s) > > output ------------------------ > > lbound=0 > ubound=3 > > snap ------------------------- > > > frank Good question For gambas the arrays start always at 0 that is easy, the ubound is simple the same as s.Count-1 What you had in VB are symbolic index numbers, just as indexes with words You could delete/remove the first element and the index of the remaining stay the same, but are not true in numerical sequence. The closed to this VB model is using a collection. Here the index can be a name or number (as string). Removing a entry in the collection does not change the index name and are called as Key in gambas. However lbound and ubound are still the same as for normal arrays, lboud=0 ubound=collection.count-1 From ronan at ...384... Tue Apr 6 10:05:08 2004 From: ronan at ...384... (Ronan Chilvers) Date: Tue, 6 Apr 2004 09:05:08 +0100 Subject: [Gambas-user] Writing classes to handle incoming socket connections with ServerSocket In-Reply-To: <1081202383.2457.5.camel@...40...> References: <20040405211846.5fce0d35@...385...> <1081202383.2457.5.camel@...40...> Message-ID: <20040406090508.661d38a6@...385...> On Mon, 05 Apr 2004 23:59:43 +0200 Daniel wrote: > > mmmh... forget what I said in the previous message, I think the problem > is that the new object (cSocket) is not attached to any event handler, > I ve been looking at the documentation, as I though there was a Gambas > function to do it, something like "Attach", but now I can not find > it...Beno?t? > Thanks for that Daniel...I'll try it and see what happens. Many thanks Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com TheLittleDot is a partnership of Ronan Chilvers and Giles Webberley This message has been digitally signed to verify sender identity ( GNUPG 1.2.4 : http://www.gnupg.org ) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ronan at ...384... Tue Apr 6 10:07:36 2004 From: ronan at ...384... (Ronan Chilvers) Date: Tue, 6 Apr 2004 09:07:36 +0100 Subject: [Gambas-user] Object Inheritance In-Reply-To: <200404060015.28978.gambas@...1...> References: <20040405193531.6b5fc1ee@...385...> <200404060015.28978.gambas@...1...> Message-ID: <20040406090736.5ecbcc2d@...385...> On Tue, 6 Apr 2004 00:15:28 +0200 Benoit Minisini wrote: > > Adds "INHERITS MyParentClass" to the beginning of MyChildClass. > Thanks Benoit, and thanks for the reply on the socket stuff. Really enjoying gambas ... I've even got a hardcore VB coder friend of mine almost persuaded to give up his bad habits and do it the gambas way!!! Keep up the excellent work ... Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com TheLittleDot is a partnership of Ronan Chilvers and Giles Webberley This message has been digitally signed to verify sender identity ( GNUPG 1.2.4 : http://www.gnupg.org ) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From na2492 at ...9... Tue Apr 6 12:07:22 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 6 Apr 2004 12:07:22 00200 Subject: [Gambas-user] TableView needs Resize Event, perhapes others Components also Message-ID: <4072815a.7102.0@...9...> >On Monday 05 April 2004 22:46, Charlie Reinl wrote: >> ... >> >> PS: Benoit, >> If you place on Frequest.form a component like here TableView1 >> (snapshot21.jpg) you'v get snapshot22.jpg an Error at a Line 1098 who >> does not exist, Frequest.class has only 1081 Lines . > >You must have defined reqSplitter in you form class. As the code that creates >the controls is inserted after the form code by the compiler, the line number >is greater than the number of form code line! > >I admit this leads to a strange error message! > >-- >Benoit Minisini >mailto:gambas at ...1... That code works and a reqSplitter is defined, only the fact to create TableView1 on the Form let raise the Error when you press F5 Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gibsonsphoto at ...247... Tue Apr 6 14:20:34 2004 From: gibsonsphoto at ...247... (neil lewis) Date: Tue, 06 Apr 2004 13:20:34 +0100 Subject: [Gambas-user] Gambas reports "Frame1 already declared" at non-existent line number Message-ID: <4072A092.4000309@...247...> Hi All, I've been working on my project, LILi, using Gambas 0.90 for a few weeks and seem to be making progress. I just installed 0.92 and made a few changes to my code and now there's an odd error whenever I try to run the program. Gambas stops the run while syntax checking with the error "Frame1 already delared at line 501 in LILi1.Class". Problem is, my program only has 468 lines, so I can't see how to resolve this. I tried renaming Frame1 to FrameBase, but the error message simply changes to the new name. The line number still shown as 501. I guess either this is a bug or the class file has been corrupted in some way. If the latter, is there an easy way to repair it? Neil Lewis. From na2492 at ...9... Tue Apr 6 16:37:25 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 6 Apr 2004 16:37:25 00200 Subject: [Gambas-user] Gambas reports "Frame1 already declared" at non-existent line number Message-ID: <4072c0a5.6fc3.0@...9...> >Hi All, > >I've been working on my project, LILi, using Gambas 0.90 for a few weeks >and seem to be making progress. >I just installed 0.92 and made a few changes to my code and now there's >an odd error whenever I try to run the program. > >Gambas stops the run while syntax checking with the error "Frame1 >already delared at line 501 in LILi1.Class". >Problem is, my program only has 468 lines, so I can't see how to resolve >this. >I tried renaming Frame1 to FrameBase, but the error message simply >changes to the new name. The line number still shown as 501. > >I guess either this is a bug or the class file has been corrupted in >some way. If the latter, is there an easy way to repair it? > >Neil Lewis. > If your Form has a menu, check there for forbidden Chars !? The shown line nbr. comes from the LILi1.Form but I don't know , If you can go to line 501 - 468 (you can edit LILi1.Form with a Texteditor) to find the error. See mails from Benoit today. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ishaame at ...411... Tue Apr 6 18:49:14 2004 From: ishaame at ...411... (Ibrahim Shaame) Date: Tue, 06 Apr 2004 18:49:14 +0200 Subject: [Gambas-user] Postgresql driver not found Message-ID: <4072DF8A.3060402@...411...> Dear all, I have just installed gambas (0.92) and I am completely new to it. My main purpose (for the moment) is being able to write an interface to access postgresql database. During compilation of Gambas, I gave it a full path to postgresql include and lib files. I really don't know yet as ot how to access the database. When I run "gambase-database-manager, a window opens with "localhost (postgresql" icon shows up in the window. But when I click on it I get "cannot connect to database, cannot find driver for database: postgresql". As I mentioned above, I am completely new to this and don't have any clue as to how to configure it to get postgresql recognized. Could anyone give me some indication as to how to configure it. Or what am I missing? Thanks in advance Ibrahim Shaame From frankberg at ...390... Tue Apr 6 19:55:45 2004 From: frankberg at ...390... (Frank Berg) Date: Tue, 6 Apr 2004 19:55:45 +0200 Subject: [Gambas-user] bug in function split? References: <00a401c41b90$087f0840$0200a8c0@...391...> <200404060719.40410.ronstk@...239...> Message-ID: <00e001c41c00$636a5ff0$0200a8c0@...391...> hi ron, tnx for the answere but... > > If the comma is the default and in all your examples is no comma. > Then you should have a array of only 1 argument, the whole string. > for the last two sorry ... my mistake.. ofcourse are the split command ," ") importen in my question.. and in all 3 split demos i will say : s=split("demo formattet string",chr(32)) :-) that what i will say is that the split command is to split an formattet string back to the words.. frank++++berg++++++flensburg benoit+++minisini+++++world so, in bouth strings are 3 formatted words and the split command in VB will return the 3 words back.. and no split character or empty arrays gambas come back with an split_character_count-1 of empty array elements. maybe it is in mathematik correct as it is, but it is not the correct way to split an formattet string?? or is it??? frank From frankberg at ...390... Tue Apr 6 20:04:11 2004 From: frankberg at ...390... (Frank Berg) Date: Tue, 6 Apr 2004 20:04:11 +0200 Subject: [Gambas-user] command EXEC Message-ID: <00ef01c41c01$91550630$0200a8c0@...391...> hi, i try to code an GUI for the capisuite ISDN Capi answer maschine in suse 9.0, and now i try to play the voice file exec ("play","path/to/voicefile.al") wait if i write the play command in the console, sox is playing the recorded voice file, but if i execute this in gambas, there is an error text: sox cannot play the file: filename or path not found there are 2 users on my maschine... root and my.. both with same error the path ist over all dir structure set to permission free for user: root and group: users what is wrong?? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Tue Apr 6 20:15:49 2004 From: ronstk at ...239... (ron) Date: Tue, 6 Apr 2004 20:15:49 +0200 Subject: [Gambas-user] bug in function split? In-Reply-To: <00e001c41c00$636a5ff0$0200a8c0@...391...> References: <00a401c41b90$087f0840$0200a8c0@...391...> <200404060719.40410.ronstk@...239...> <00e001c41c00$636a5ff0$0200a8c0@...391...> Message-ID: <200404062015.49589.ronstk@...239...> On Tuesday 06 April 2004 19:55, Frank Berg wrote: > hi ron, tnx for the answere but... > > > If the comma is the default and in all your examples is no comma. > > Then you should have a array of only 1 argument, the whole string. > > for the last two > > sorry ... my mistake.. ofcourse are the split command ," ") importen in my > question.. > and in all 3 split demos i will say : s=split("demo formattet > string",chr(32)) :-) > > that what i will say is that the split command is to split an formattet > string back to the words.. > > frank++++berg++++++flensburg > benoit+++minisini+++++world > > so, in bouth strings are 3 formatted words and the split command in VB will > return the 3 words back.. and no split character or empty arrays > > gambas come back with an split_character_count-1 of empty array elements. > > maybe it is in mathematik correct as it is, but it is not the correct way > to split an formattet string?? or is it??? > > frank > Strict I think it is correct as is. The separator in your example is a space so for occurring a space a new entry in the array is made. You can after the split walk trough the array and delete the empty ones. May be a WISH: to have a option flag in the split to do that automatic is not so bad idea. In my imagination to use a split for words looks nice. Ron From ronstk at ...239... Tue Apr 6 20:23:34 2004 From: ronstk at ...239... (ron) Date: Tue, 6 Apr 2004 20:23:34 +0200 Subject: [Gambas-user] Gambas reports "Frame1 already declared" at non-existent line number In-Reply-To: <4072A092.4000309@...247...> References: <4072A092.4000309@...247...> Message-ID: <200404062023.34541.ronstk@...239...> On Tuesday 06 April 2004 14:20, neil lewis wrote: > Hi All, > > I've been working on my project, LILi, using Gambas 0.90 for a few weeks > and seem to be making progress. > I just installed 0.92 and made a few changes to my code and now there's > an odd error whenever I try to run the program. > > Gambas stops the run while syntax checking with the error "Frame1 > already delared at line 501 in LILi1.Class". > Problem is, my program only has 468 lines, so I can't see how to resolve > this. > I tried renaming Frame1 to FrameBase, but the error message simply > changes to the new name. The line number still shown as 501. > > I guess either this is a bug or the class file has been corrupted in > some way. If the latter, is there an easy way to repair it? > > Neil Lewis. > This strange behavior I had also with another project. I add a label and it had name Label15. On the form was a label5 already. On try to start I got 'Label5 already existing' Line number was out range. I do not know how I did but I got it right after many try and errors. Reports of same experience by others it looks to me there is really a bug. The USE module is not used so mismatch of the line numbers can't in my case not the problem. Ron From gambas at ...1... Tue Apr 6 20:43:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Apr 2004 20:43:34 +0200 Subject: [Gambas-user] Gambas reports "Frame1 already declared" at non-existent line number In-Reply-To: <200404062023.34541.ronstk@...239...> References: <4072A092.4000309@...247...> <200404062023.34541.ronstk@...239...> Message-ID: <200404062043.34663.gambas@...1...> On Tuesday 06 April 2004 20:23, ron wrote: > On Tuesday 06 April 2004 14:20, neil lewis wrote: > > Hi All, > > > > I've been working on my project, LILi, using Gambas 0.90 for a few weeks > > and seem to be making progress. > > I just installed 0.92 and made a few changes to my code and now there's > > an odd error whenever I try to run the program. > > > > Gambas stops the run while syntax checking with the error "Frame1 > > already delared at line 501 in LILi1.Class". > > Problem is, my program only has 468 lines, so I can't see how to resolve > > this. > > I tried renaming Frame1 to FrameBase, but the error message simply > > changes to the new name. The line number still shown as 501. > > > > I guess either this is a bug or the class file has been corrupted in > > some way. If the latter, is there an easy way to repair it? > > > > Neil Lewis. > > This strange behavior I had also with another project. > I add a label and it had name Label15. > On the form was a label5 already. > On try to start I got 'Label5 already existing' > Line number was out range. > I do not know how I did but I got it right after many try and errors. > > Reports of same experience by others it looks to me there is really a bug. > The USE module is not used so mismatch of the line numbers > can't in my case not the problem. > > Ron > Can someone send me a project that has the bug so that I could easily fix it ? Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Apr 6 20:45:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Apr 2004 20:45:21 +0200 Subject: [Gambas-user] command EXEC In-Reply-To: <00ef01c41c01$91550630$0200a8c0@...391...> References: <00ef01c41c01$91550630$0200a8c0@...391...> Message-ID: <200404062045.21986.gambas@...1...> On Tuesday 06 April 2004 20:04, Frank Berg wrote: > hi, > > i try to code an GUI for the capisuite ISDN Capi answer maschine in suse > 9.0, and now i try to play the voice file > > exec ("play","path/to/voicefile.al") wait > > if i write the play command in the console, sox is playing the recorded > voice file, but if i execute this in gambas, there is an error text: sox > cannot play the file: filename or path not found > > there are 2 users on my maschine... root and my.. both with same error > > the path ist over all dir structure set to permission free for user: root > and group: users > > what is wrong?? > > frank Be careful: are you sure that your path is not transformed by the shell ? EXEC does not transform anything! In other words: EXEC is different from a shell command. To have an equivalent, replace EXEC [ ... ] by SHELL "..." Regards, -- Benoit Minisini mailto:gambas at ...1... From zerkowski at ...395... Tue Apr 6 20:55:03 2004 From: zerkowski at ...395... (zerkowski sur bouquiniste.biz) Date: Tue, 06 Apr 2004 20:55:03 +0200 Subject: [Gambas-user] Postgresql driver not found In-Reply-To: <4072DF8A.3060402@...411...> References: <4072DF8A.3060402@...411...> Message-ID: <4072FD07.1090200@...395...> hello, I don't know for postgresql, but this is my experience for mysql - libs fro mysql must be present before compilation - i create my database, and one table with phpmyadmin (and so i am sure mysql is running with this tool) - when i use gambas database manager, i make a new connexion (in menu) and set field database type host, login, password) and then it was ok, i was ble to see my database and my tables I hope this will be useful. A+ Ibrahim Shaame wrote: > Dear all, > I have just installed gambas (0.92) and I am completely new to it. > My main purpose (for the moment) is being able to write an interface > to access postgresql database. During compilation of Gambas, I gave it > a full path to postgresql include and lib files. I really don't know > yet as ot how to access the database. When I run > "gambase-database-manager, a window opens with "localhost (postgresql" > icon shows up in the window. But when I click on it I get "cannot > connect to database, cannot find driver for database: postgresql". > As I mentioned above, I am completely new to this and don't have > any clue as to how to configure it to get postgresql recognized. Could > anyone give me some indication as to how to configure it. Or what am I > missing? > > Thanks in advance > > Ibrahim Shaame > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From abidoo.too at ...11... Wed Apr 7 21:50:09 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 7 Apr 2004 21:50:09 +0200 Subject: [Gambas-user] Object Inheritance In-Reply-To: <200404060015.28978.gambas@...1...> References: <20040405193531.6b5fc1ee@...385...> <200404060015.28978.gambas@...1...> Message-ID: <200404072150.09398.abidoo.too@...11...> Le mardi 6 Avril 2004 00:15, Benoit Minisini a ?crit : > On Monday 05 April 2004 20:35, Ronan Chilvers wrote: > > Hi folks > > > > Quick question on inheritance. How does it work in gambas? For > > example:- > > > > 2 classes > > MyParentClass > > MyChildClass > > > > and I want MyChildClass to inherit the properties and methods of > > myParentClass. How do I do this ? > > > > Cheers > > > > Ronan > > Adds "INHERITS MyParentClass" to the beginning of MyChildClass. > > Regards, It seem to be not documented ... isn't it ? When have you had this feature benoit, i don't find it in the change log.... Fabien Mabe when i was sleeping From gambas at ...1... Tue Apr 6 22:07:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Apr 2004 22:07:54 +0200 Subject: [Gambas-user] Object Inheritance In-Reply-To: <200404072150.09398.abidoo.too@...11...> References: <20040405193531.6b5fc1ee@...385...> <200404060015.28978.gambas@...1...> <200404072150.09398.abidoo.too@...11...> Message-ID: <200404062207.54652.gambas@...1...> On Wednesday 07 April 2004 21:50, Fabien Bodard wrote: > Le mardi 6 Avril 2004 00:15, Benoit Minisini a ?crit : > > On Monday 05 April 2004 20:35, Ronan Chilvers wrote: > > > Hi folks > > > > > > Quick question on inheritance. How does it work in gambas? For > > > example:- > > > > > > 2 classes > > > MyParentClass > > > MyChildClass > > > > > > and I want MyChildClass to inherit the properties and methods of > > > myParentClass. How do I do this ? > > > > > > Cheers > > > > > > Ronan > > > > Adds "INHERITS MyParentClass" to the beginning of MyChildClass. > > > > Regards, > > It seem to be not documented ... isn't it ? > > When have you had this feature benoit, i don't find it in the change > log.... > > Fabien > > Mabe when i was sleeping > Hum... Yes, it was not documented. And the feature is there since... gambas 0.20 :-) It is mainly used to make forms. Every form class defined in a project inherits the Form class. Note that an interpreted class can inherits a native class. It works well for Form. But I didn't really tested what happened if you inherits something like Collection. It should work. But this is why I didn't claim it. Well, now, everybody knows :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Apr 6 22:09:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Apr 2004 22:09:35 +0200 Subject: [Gambas-user] Gambas about box In-Reply-To: <6.0.0.22.2.20040406104150.01d043e8@...329...> References: <6.0.0.22.2.20040406104150.01d043e8@...329...> Message-ID: <200404062209.35096.gambas@...1...> On Tuesday 06 April 2004 05:44, Rizky Tahara Shita wrote: > have you guys ever see the gambas 0.92 about box ? > on the scroll names seems i have something like: > > 1. the gambas picture isn't transparent.. why ?? or is it the picture realy > not transparent ?? Actually it is. I don't know where this white background comes from. Maybe a bug in the underlying QT widget ? > 2. at the end, it sould be sroll up to finish, but it didn't. the last name > just disappear before it comes to up... This is a bug from me :-) Do you use big fonts ? > > > Regards, > > > tahara! > > Regards, -- Benoit Minisini mailto:gambas at ...1... From ronsholi at ...406... Tue Apr 6 22:26:51 2004 From: ronsholi at ...406... (Adi Ron) Date: Tue, 6 Apr 2004 22:26:51 +0200 Subject: [Gambas-user] command EXEC In-Reply-To: <00ef01c41c01$91550630$0200a8c0@...391...> References: <00ef01c41c01$91550630$0200a8c0@...391...> Message-ID: <200404062226.51334.ronsholi@...406...> On Tuesday 06 April 2004 20:04, Frank Berg wrote: > hi, > > i try to code an GUI for the capisuite ISDN Capi answer maschine in suse > 9.0, and now i try to play the voice file > > exec ("play","path/to/voicefile.al") wait > > if i write the play command in the console, sox is playing the recorded > voice file, but if i execute this in gambas, there is an error text: sox > cannot play the file: filename or path not found > > there are 2 users on my maschine... root and my.. both with same error > > the path ist over all dir structure set to permission free for user: root > and group: users > > what is wrong?? > > frank I see. Are you sure you have the exact filename there? If you do, and still, it refuses to play anything you might want to use SDL instead to play the sounds (I think it is implanted in Gambas). On the other hand it could be that you are trying to access things that are shell depended and that might pose a problem. Will using 'exec' fix the problem? Unlikly, but still worth the try. -- "Why don't kernels have emotions yet?" --Adi Ron when asked about the future of Linux __ _ _ _____ _ _ ( ) _ _ _ \ \ [ || ] / , __/| | / /| | | \| | |()| | || | \ \ | |/ / | | | |\ \ | /_ /_\____/__\ / |_|\ \_|_|_|_| \__/__ ______________/ \________________\ http://strange-man.blogspot.com From karl.reinl at ...9... Tue Apr 6 23:29:38 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 06 Apr 2004 23:29:38 +0200 Subject: [Gambas-user] Gambas reports "Frame1 already declared" at non-existent line number References: <4072A092.4000309@...247...> <200404062023.34541.ronstk@...239...> <200404062043.34663.gambas@...1...> Message-ID: <40732142.5040608@...9...> Benoit Minisini schrieb: >On Tuesday 06 April 2004 20:23, ron wrote: > > >>On Tuesday 06 April 2004 14:20, neil lewis wrote: >> >> >>>Hi All, >>> >>>I've been working on my project, LILi, using Gambas 0.90 for a few weeks >>>and seem to be making progress. >>>I just installed 0.92 and made a few changes to my code and now there's >>>an odd error whenever I try to run the program. >>> >>>Gambas stops the run while syntax checking with the error "Frame1 >>>already delared at line 501 in LILi1.Class". >>>Problem is, my program only has 468 lines, so I can't see how to resolve >>>this. >>>I tried renaming Frame1 to FrameBase, but the error message simply >>>changes to the new name. The line number still shown as 501. >>> >>>I guess either this is a bug or the class file has been corrupted in >>>some way. If the latter, is there an easy way to repair it? >>> >>>Neil Lewis. >>> >>> >>This strange behavior I had also with another project. >>I add a label and it had name Label15. >>On the form was a label5 already. >>On try to start I got 'Label5 already existing' >>Line number was out range. >>I do not know how I did but I got it right after many try and errors. >> >>Reports of same experience by others it looks to me there is really a bug. >>The USE module is not used so mismatch of the line numbers >>can't in my case not the problem. >> >>Ron >> >> >> > >Can someone send me a project that has the bug so that I could easily fix it ? > >Thanks in advance, > > > Take what I send Yesterday, my changed gdbm (Subject: TableView needs Resize Event, perhapes others Components also) and place the TreeView like I showed. ( I too the TreeView to see the Events) Amicalement Charlie From ronstk at ...239... Tue Apr 6 22:51:02 2004 From: ronstk at ...239... (ron) Date: Tue, 6 Apr 2004 22:51:02 +0200 Subject: [Gambas-user] Gambas reports "Frame1 already declared" at non-existent line number In-Reply-To: <200404062043.34663.gambas@...1...> References: <4072A092.4000309@...247...> <200404062023.34541.ronstk@...239...> <200404062043.34663.gambas@...1...> Message-ID: <200404062251.02564.ronstk@...239...> On Tuesday 06 April 2004 20:43, Benoit Minisini wrote: > > Ron > > Can someone send me a project that has the bug so that I could easily fix > it ? > > Thanks in advance, As mentioned I could fix it but I do not know how I did it exact. All I can say is the class of the form had 10 times 30 lines of commented code at that moment. I put a label on the form and a checkbox below the commented code was the checkbox_click sub with the code to use and at the moment for run I got the error. Before the adding of the label and checkbox it had run without error. The error message was about Label5 (five) was a duplicate but the added one was Label15 (fifthteen) I'm not sure but renamed the Label5 and it was fixed, no Label5 to find now. Sorry I tried but can't reproduce it now in that project. From ronsholi at ...406... Tue Apr 6 22:42:35 2004 From: ronsholi at ...406... (Adi Ron) Date: Tue, 6 Apr 2004 22:42:35 +0200 Subject: [Gambas-user] Object Inheritance In-Reply-To: <200404062207.54652.gambas@...1...> References: <20040405193531.6b5fc1ee@...385...> <200404072150.09398.abidoo.too@...11...> <200404062207.54652.gambas@...1...> Message-ID: <200404062242.35955.ronsholi@...406...> On Tuesday 06 April 2004 22:07, Benoit Minisini wrote: > On Wednesday 07 April 2004 21:50, Fabien Bodard wrote: > > Le mardi 6 Avril 2004 00:15, Benoit Minisini a ?crit : > > > On Monday 05 April 2004 20:35, Ronan Chilvers wrote: > > > > Hi folks > > > > > > > > Quick question on inheritance. How does it work in gambas? For > > > > example:- > > > > > > > > 2 classes > > > > MyParentClass > > > > MyChildClass > > > > > > > > and I want MyChildClass to inherit the properties and methods of > > > > myParentClass. How do I do this ? > > > > > > > > Cheers > > > > > > > > Ronan > > > > > > Adds "INHERITS MyParentClass" to the beginning of MyChildClass. > > > > > > Regards, > > > > It seem to be not documented ... isn't it ? > > > > When have you had this feature benoit, i don't find it in the change > > log.... > > > > Fabien > > > > Mabe when i was sleeping > > Hum... Yes, it was not documented. And the feature is there since... gambas > 0.20 :-) > > It is mainly used to make forms. Every form class defined in a project > inherits the Form class. > > Note that an interpreted class can inherits a native class. It works well > for Form. But I didn't really tested what happened if you inherits > something like Collection. It should work. But this is why I didn't claim > it. > > Well, now, everybody knows :-) It isn't really a useful function. OK, no maybe two here will say "No! But I use it all the time!", that's OK, but I inheriting classes is rarely useful, and is what I count as bad coding behaviour when coding with more people that need to read the code afterwards. Admit it that the line "I am FooBar the second, son of FooBar" gives less information than "I am Foobar the second, son of a great musician FooBar" to human viewers. If you wanna piss off your other colleges and friend-coders -- never comment your code, use annoying IF .. ELSE IF .. ELSE IF .. ELSE IF instead of SELECT, inherit classes and do the same thing all over instead of looping it. But only if you really hate them! -- "Why don't kernels have emotions yet?" --Adi Ron when asked about the future of Linux __ _ _ _____ _ _ ( ) _ _ _ \ \ [ || ] / , __/| | / /| | | \| | |()| | || | \ \ | |/ / | | | |\ \ | /_ /_\____/__\ / |_|\ \_|_|_|_| \__/__ ______________/ \________________\ http://strange-man.blogspot.com From sourceforge-raindog2 at ...94... Tue Apr 6 22:56:28 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 6 Apr 2004 16:56:28 -0400 Subject: [Gambas-user] bug in function split? In-Reply-To: <00e001c41c00$636a5ff0$0200a8c0@...391...> References: <00a401c41b90$087f0840$0200a8c0@...391...> <200404060719.40410.ronstk@...239...> <00e001c41c00$636a5ff0$0200a8c0@...391...> Message-ID: <200404061653.12692.sourceforge-raindog2@...94...> On Tuesday 06 April 2004 13:55, Frank Berg wrote: > that what i will say is that the split command is to split an > formattet string back to the words.. > frank++++berg++++++flensburg > benoit+++minisini+++++world I would counter that "split" is meant to split a string on a separator character, whether there are words or not. Consider the following VERY common situation, a CSV type file: Minisini,Benoit,Mr.,575 Rue de Gambas,Paris,,FR,012345 Kudla,Rob,,108 Gambas Blvd,New York,NY,US,10110 Berg,Frank,,,,,,, In the first row, the sixth field comes in as an empty string, as it should, and in the second row the third string comes in empty but the sixth string has a value. In the last row, we have no data at all except the name but we should still get 8 fields, even though the last 6 are blanks. I think making split use some kind of regular expression (as in, dare I say it, Perl) would be helpful, but I'm pretty okay with the way it works right now. I mean, you can always Replace(string, "++", "+") before doing the split. Rob From info at ...392... Tue Apr 6 23:28:02 2004 From: info at ...392... (Lin---s.be) Date: 06 Apr 2004 23:28:02 +0200 Subject: [Gambas-user] telephone? Message-ID: <1081286882.20674.4.camel@...393...> Is there an easy way to communicate with the modem? This is what i would like to do : - answer the phone when ringing - play sound files - recieving the users options - ... The usual IVR stuff... Anyone had experience with any of this ? Looking forward to your answer ! Andy From ronsholi at ...406... Tue Apr 6 23:40:45 2004 From: ronsholi at ...406... (Adi Ron) Date: Tue, 6 Apr 2004 23:40:45 +0200 Subject: [Gambas-user] telephone? In-Reply-To: <1081286882.20674.4.camel@...393...> References: <1081286882.20674.4.camel@...393...> Message-ID: <200404062340.46203.ronsholi@...406...> On Tuesday 06 April 2004 23:28, Lin---s.be wrote: > Is there an easy way to communicate with the modem? > > This is what i would like to do : > > - answer the phone when ringing > - play sound files > - recieving the users options > - ... > > The usual IVR stuff... > > Anyone had experience with any of this ? > > > Looking forward to your answer ! > > Andy > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user You may want to try and execute 'cat /modem/device/here' through Gambas and try to interprate the values you get. Though, it's not going to be easy. It'll be hard for you to understand what cat is trying to say, but I'm sure you can grab books about it. Gambas is not such an advanced compiler yet. And I doubt modem support will ever be implanted in it as dialog modems are getting more rare over the years. C sure has some kind of support for modems, the question is how hard it is, because I guess it won't quite handle operations but will simply dumb hex code as well. -- "Why don't kernels have emotions yet?" --Adi Ron when asked about the future of Linux __ _ _ _____ _ _ ( ) _ _ _ \ \ [ || ] / , __/| | / /| | | \| | |()| | || | \ \ | |/ / | | | |\ \ | /_ /_\____/__\ / |_|\ \_|_|_|_| \__/__ ______________/ \________________\ http://strange-man.blogspot.com From sourceforge-raindog2 at ...94... Tue Apr 6 23:42:37 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 6 Apr 2004 17:42:37 -0400 Subject: [Gambas-user] telephone? In-Reply-To: <1081286882.20674.4.camel@...393...> References: <1081286882.20674.4.camel@...393...> Message-ID: <200404061742.37871.sourceforge-raindog2@...94...> On Tuesday 06 April 2004 17:28, Lin---s.be wrote: > Is there an easy way to communicate with the modem? Sure, just open the serial port and act on the response codes (RING, NO ANSWER, etc...) and send Hayes commands to dial and set options (ATDT18005551212, ATL3, ATH0 etc...) > This is what i would like to do : > - answer the phone when ringing > - play sound files > - recieving the users options > - ... > The usual IVR stuff... > Anyone had experience with any of this ? Ah, now this is a different story. What you really want to do is start looking at Asterisk, and write AGI (like CGI, only for IVR apps rather than web apps) programs in Gambas. Asterisk handles answering the phone and understanding touch tones and all that, and you just send it commands (using its process handle) and receive its output (to tell you what the user enters.) In addition to the usual IVR and PBX boards, Asterisk supports a number of voice modems. I do most of my AGI programming in perl because there's a module and because I don't have to manually recompile every time I change something, but the processing done by the module is very minimal and I've done a couple simple proof of concept applets in gambas. Rob From rizky at ...225... Wed Apr 7 07:33:26 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 07 Apr 2004 12:33:26 +0700 Subject: [Gambas-user] Code completion Message-ID: <6.0.0.22.2.20040407122746.01d4dac0@...329...> hi benoit, i've upgrade gambas to 0.92.. the completion works great! but i cannot press ctrl+space just like in VB so when i'm not typing anyting and press that short cut it still will show the list of the completion... this will helpfull if i forgot the objects name, so i can select the object by seleting it from the list with that short cut... thank for this gambas.. i know from the first time i try gambas it will rock linux!! :) Regards, tahara! From rizky at ...225... Wed Apr 7 07:42:50 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 07 Apr 2004 12:42:50 +0700 Subject: [Gambas-user] Gambas about box In-Reply-To: <200404062209.35096.gambas@...1...> References: <6.0.0.22.2.20040406104150.01d043e8@...329...> <200404062209.35096.gambas@...1...> Message-ID: <6.0.0.22.2.20040407124113.01d51568@...329...> At 03:09 07/04/2004, you wrote: > > 2. at the end, it sould be sroll up to finish, but it didn't. the last name > > just disappear before it comes to up... > >This is a bug from me :-) Do you use big fonts ? nop.. i use standards fonts... seems that you forgot changing the code when there are several names added and causes the objects more height, right ? Regards, tahara! From ronstk at ...239... Wed Apr 7 09:02:19 2004 From: ronstk at ...239... (ron) Date: Wed, 7 Apr 2004 09:02:19 +0200 Subject: [Gambas-user] Code completion In-Reply-To: <6.0.0.22.2.20040407122746.01d4dac0@...329...> References: <6.0.0.22.2.20040407122746.01d4dac0@...329...> Message-ID: <200404070902.20601.ronstk@...239...> On Wednesday 07 April 2004 07:33, Rizky Tahara Shita wrote: > hi benoit, > > i've upgrade gambas to 0.92.. the completion works great! > but i cannot press ctrl+space just like in VB so when i'm not typing VB ?????????? > anyting and press that short cut it still will show the list of the > completion... > this will helpfull if i forgot the objects name, so i can select the object > by seleting it from the list with that short cut... > > thank for this gambas.. i know from the first time i try gambas it will > rock linux!! :) > > > Regards, > > > tahara! > Ooooh Yeah. Would be really nice. But take a look in the Hall of Fame. :D Ron From frankberg at ...390... Wed Apr 7 17:06:02 2004 From: frankberg at ...390... (Frank Berg) Date: Wed, 7 Apr 2004 17:06:02 +0200 Subject: [Gambas-user] bug in function split? References: <00a401c41b90$087f0840$0200a8c0@...391...> <200404060719.40410.ronstk@...239...> <00e001c41c00$636a5ff0$0200a8c0@...391...> <200404061653.12692.sourceforge-raindog2@...94...> Message-ID: <001401c41cb1$d86fc810$0200a8c0@...391...> hi ron.. > I would counter that "split" is meant to split a string on a > separator character, whether there are words or not. Consider > the following VERY common situation, a CSV type file: > > Minisini,Benoit,Mr.,575 Rue de Gambas,Paris,,FR,012345 > Kudla,Rob,,108 Gambas Blvd,New York,NY,US,10110 > Berg,Frank,,,,,,, > this is an big argument so i take the last mail >May be a WISH: to have a option flag in the split to do that automatic is not >so bad idea. In my imagination to use a split for words looks nice. >Ron and i hope i em not the one some WISH the option flag to the split funktion.. gambas is an good work.. frank From frankberg at ...390... Wed Apr 7 17:09:07 2004 From: frankberg at ...390... (Frank Berg) Date: Wed, 7 Apr 2004 17:09:07 +0200 Subject: [Gambas-user] command EXEC - resolved References: <00ef01c41c01$91550630$0200a8c0@...391...> <200404062045.21986.gambas@...1...> Message-ID: <001d01c41cb2$47f40f70$0200a8c0@...391...> Hi.. > In other words: EXEC is different from a shell command. To have an equivalent, > replace EXEC [ ... ] by SHELL "..." > > Regards, tnx benoit.. the shell command are able to start the player correct.. SHELL "play " & myVoicePath WAIT frank From gambas at ...1... Wed Apr 7 22:06:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 7 Apr 2004 22:06:42 +0200 Subject: [Gambas-user] command EXEC - resolved In-Reply-To: <001d01c41cb2$47f40f70$0200a8c0@...391...> References: <00ef01c41c01$91550630$0200a8c0@...391...> <200404062045.21986.gambas@...1...> <001d01c41cb2$47f40f70$0200a8c0@...391...> Message-ID: <200404072206.42289.gambas@...1...> On Wednesday 07 April 2004 17:09, Frank Berg wrote: > Hi.. > > > In other words: EXEC is different from a shell command. To have an > > equivalent, > > > replace EXEC [ ... ] by SHELL "..." > > > > Regards, > > tnx benoit.. the shell command are able to start the player correct.. > > SHELL "play " & myVoicePath WAIT > > frank > But be careful: myVoicePath must not include special characters - Or you must escape them. As if you typed the command directly in a shell. Regards, -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...11... Thu Apr 8 22:30:25 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 8 Apr 2004 22:30:25 +0200 Subject: [Gambas-user] Object Inheritance In-Reply-To: <200404062207.54652.gambas@...1...> References: <20040405193531.6b5fc1ee@...385...> <200404072150.09398.abidoo.too@...11...> <200404062207.54652.gambas@...1...> Message-ID: <200404082230.25804.abidoo.too@...11...> > > > > Mabe when i was sleeping > > Hum... Yes, it was not documented. And the feature is there since... gambas > 0.20 :-) > > It is mainly used to make forms. Every form class defined in a project > inherits the Form class. > > Note that an interpreted class can inherits a native class. It works well > for Form. But I didn't really tested what happened if you inherits > something like Collection. It should work. But this is why I didn't claim > it. > > Well, now, everybody knows :-) My god... i use gambas since the 0.24 version and i don't know that... Now gambas seem to be more powered... yes it's really great. Fabien Is there some other masked feature like this one ? From ronstk at ...239... Wed Apr 7 22:40:11 2004 From: ronstk at ...239... (ron) Date: Wed, 7 Apr 2004 22:40:11 +0200 Subject: [Gambas-user] Object Inheritance In-Reply-To: <200404082230.25804.abidoo.too@...11...> References: <20040405193531.6b5fc1ee@...385...> <200404062207.54652.gambas@...1...> <200404082230.25804.abidoo.too@...11...> Message-ID: <200404072240.11693.ronstk@...239...> On Thursday 08 April 2004 22:30, Fabien Bodard wrote: > > > Mabe when i was sleeping > > > > Hum... Yes, it was not documented. And the feature is there since... > > gambas 0.20 :-) > > > > It is mainly used to make forms. Every form class defined in a project > > inherits the Form class. > > > > Note that an interpreted class can inherits a native class. It works well > > for Form. But I didn't really tested what happened if you inherits > > something like Collection. It should work. But this is why I didn't claim > > it. > > > > Well, now, everybody knows :-) > > My god... i use gambas since the 0.24 version and i don't know that... > > Now gambas seem to be more powered... yes it's really great. > > Fabien > > Is there some other masked feature like this one ? > I think the answer is Yes. But wait till Benoit tell about them. They can be unstable or not complete ATM. Developer stuff, you know? Ron From rizky at ...225... Thu Apr 8 04:46:15 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 08 Apr 2004 09:46:15 +0700 Subject: [Gambas-user] Code completion In-Reply-To: <200404070902.20601.ronstk@...239...> References: <6.0.0.22.2.20040407122746.01d4dac0@...329...> <200404070902.20601.ronstk@...239...> Message-ID: <6.0.0.22.2.20040408094245.01d35aa8@...329...> At 14:02 07/04/2004, you wrote: >On Wednesday 07 April 2004 07:33, Rizky Tahara Shita wrote: > > hi benoit, > > > > i've upgrade gambas to 0.92.. the completion works great! > > but i cannot press ctrl+space just like in VB so when i'm not typing > >VB ?????????? > > > anyting and press that short cut it still will show the list of the > > completion... > > this will helpfull if i forgot the objects name, so i can select the object > > by seleting it from the list with that short cut... > > > > thank for this gambas.. i know from the first time i try gambas it will > > rock linux!! :) > > > > > > Regards, > > > > > > tahara! > > >Ooooh Yeah. Would be really nice. > >But take a look in the Hall of Fame. :D well, at least i already post my suggestion, anyway quanta has ctrl+space to show the completion list.. btw, it's not a mater if you resist to make the IDE like VB, as long as the IDE work handy it will be fine for me.. because when typing code, every programmer want that all are in the keyboard. just like the other IDE (not just vb here...) that always have a feature to have a handy programming... that's all... >Ron > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user Regards, tahara! From ronstk at ...239... Thu Apr 8 08:18:32 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 08:18:32 +0200 Subject: [Gambas-user] Code completion In-Reply-To: <6.0.0.22.2.20040408094245.01d35aa8@...329...> References: <6.0.0.22.2.20040407122746.01d4dac0@...329...> <200404070902.20601.ronstk@...239...> <6.0.0.22.2.20040408094245.01d35aa8@...329...> Message-ID: <200404080818.33110.ronstk@...239...> On Thursday 08 April 2004 04:46, Rizky Tahara Shita wrote: > > > tahara! > > > >Ooooh Yeah. Would be really nice. > > > >But take a look in the Hall of Fame. :D > > well, at least i already post my suggestion, anyway quanta has ctrl+space > to show the completion list.. > btw, it's not a mater if you resist to make the IDE like VB, as long as the > IDE work handy it will be fine for me.. > because when typing code, every programmer want that all are in the > keyboard. just like the other IDE (not just vb here...) that always have a > feature to have a handy programming... that's all... > > >Ron ... > tahara Did you like the two combo boxes in the editor with the procedure entry points? I have it and this works also handy For your keyboard hint I will take a look to get a keyshortcut to it. Ron From _root at ...324... Thu Apr 8 09:28:48 2004 From: _root at ...324... (-=FoX=-) Date: Thu, 08 Apr 2004 09:28:48 +0200 Subject: [Gambas-user] Using serial component for plc comunications Message-ID: <4074FF30.20101@...324...> Hi :) I have a problem with communications between pc and plc using the serial component. I have no response from plc when i try to send a loopback diagnostic test message... The problem is the non printable character at the begin of the string as you can see in the attachment. (the second test is between two pc with gambas ;) ) There is a way to send only string? P.s. thank to all for making and supporting gambas ! :) -------------- next part -------------- A non-text attachment was scrubbed... Name: modbus.png Type: image/png Size: 27513 bytes Desc: not available URL: From ronsholi at ...406... Thu Apr 8 09:27:21 2004 From: ronsholi at ...406... (Adi Ron) Date: Thu, 8 Apr 2004 10:27:21 +0300 Subject: [Gambas-user] Colorizing 'PRINT' output? Message-ID: <200404081027.21991.ronsholi@...406...> Hello, In order to make my application's verbose option to be actualy HUMAN READABLE (Yes, yes, by humans! ;) ) I was wondering, is there an option to set console output to have colors? Maybe through ANSI Colors? -- "Why don't kernels have emotions yet?" --Adi Ron when asked about the future of Linux http://strange-man.blogspot.com From ronstk at ...239... Thu Apr 8 11:04:56 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 11:04:56 +0200 Subject: [Gambas-user] REQ: Reload of FORM in design mode. Message-ID: <200404081104.56137.ronstk@...239...> Thanks for adding the reload button at my request for code. Found however during peeking in a form the same problem. I have a form in modified state but I do not know what and it should not be modified at all. It looks to me the property sheet start the modified state after using the RMB select object and clicking in the white space below the properties. I can add it myself here but may be it can here in the RMB menu too for future releases. TIA Ron From ronstk at ...239... Thu Apr 8 11:08:13 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 11:08:13 +0200 Subject: [Gambas-user] PRB: Picture property setting Message-ID: <200404081108.13687.ronstk@...239...> Hi Benoit, I have a form with a ToolButton and I wanted to change the picture. In the property sheet click on the [...] button and my system start to sleep. No way to select something. Started a fresh new project, add 1 form and on the form the 2x toolbutton. then I would set a picture for it and now I got an selection form Of course for a new project there was no picture so i used the button directory up. This did not work. Edit in the 'Look In' does not work. no way to go out the project directory to get a picture for import. I belive it was in the past. Start in project 'Add new icon'. Now I can browse but it starts always at '/' It does not remember the place last visit to get the next picture. After this done I can give the toolbutton a picture. Next picture. I used the RMB on several places and see Bookmark so I did and select the picture and get the error message 'Cannot copy template' Incident? can be so I go back to the previous project. And no it happens again. freezeing. Try again, but now delete the old picture setting. Now it works OK. Retry to get another picture for it without delete and freezing system again. It looks there are problems if there is already a picture set and you want to change it. As workaround first delete the old picture name. However in the past it was the base path to get a new picture, this way you must walk the directories. Greets, Ron From ronstk at ...239... Thu Apr 8 11:34:56 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 11:34:56 +0200 Subject: [Gambas-user] Re: REQ: Reload of FORM in design mode. In-Reply-To: <200404081104.56137.ronstk@...239...> References: <200404081104.56137.ronstk@...239...> Message-ID: <200404081134.56789.ronstk@...239...> On Thursday 08 April 2004 11:04, you wrote: > Thanks for adding the reload button at my request for code. > > Found however during peeking in a form the same problem. > I have a form in modified state but I do not know what and it should > not be modified at all. > It looks to me the property sheet start the modified state after using > the RMB select object and clicking in the white space below the properties. > see below > I can add it myself here but may be it can here in the RMB menu too > for future releases. > > > TIA Ron I found exact when the modified state occurs. Moving the form to another position does it. Strict it is true while the screen position changes and this position is used at runtime to show it. However there is no change in the design of the form and give a false misleading trigger in my view. May be the property sheet must have the runtime values but they are not the values during design time for the X and Y position of it. An exclude for this two will stop the false triggers. A tooltip on form_resize and form_move with the designtime position in it? Ron From dimitribellini at ...69... Thu Apr 8 07:00:55 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 8 Apr 2004 05:00:55 +0000 Subject: [Gambas-user] Timer Tag property Message-ID: <200404080500.56106.dimitribellini@...69...> Dear Benoit i have try to use the creation of control Timer at runtime like this: ---- private tmr[4] as Timer --- tmr[i]=NEW Timer(ME) AS "tmrCab" tmr[i].enabled=FALSE tmr[i].tag=i --- But in the first seems that the editor think the "Timer" is Time = Timer ( ) e not the control and another the property Tag not seems to exist in this control. Can you give me some work around to have the Tag property working like button or textbox control? Thanks in advance Dimitri From ronstk at ...239... Thu Apr 8 14:07:13 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 14:07:13 +0200 Subject: [Gambas-user] How to use the WITH / END WITH safe Message-ID: <200404081407.13329.ronstk@...239...> May be a silly question Example?: WITH hButton .Text = Cstr("Cancel" & 1/0 ) END WITH is equivalent to hButton.Text = Cstr( "Cancel" & 1/0 ) It is the bug VB has in my point of view. The WITH creates a reference to the hButton and allocate memory for it The END WITH stops the dot reference (.Text) and removes the reference and free the memory used for it. In the case of VB a error leaves the procedure and did not free the memory. Here for the example forced by divide by zero In VB you should use a construction like next to trap this miss behavior. ON Error Goto WithAbort WITH hButton .Text = Cstr("Cancel" & 1/0 ) WithAbort:: ' free memory with next END END WITH I like to use the WITH a lot for example to set up controls in code. WITH Columnview1 .color .columns .Height . the other position and dimensions END WITH It is now easy to change the object name instead without the WITH or even use the same code for a stack of ColumnViews Second pro is you do not need to type the name over and over. My question is: does gambas free used WITH references on exit of the procedure or must I use the same trick as VB needs? Ron From ronstk at ...239... Thu Apr 8 14:14:04 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 14:14:04 +0200 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404080500.56106.dimitribellini@...69...> References: <200404080500.56106.dimitribellini@...69...> Message-ID: <200404081414.04872.ronstk@...239...> On Thursday 08 April 2004 07:00, Dimitri Bellini wrote: > Dear Benoit > i have try to use the creation of control Timer at runtime like this: > ---- > private tmr[4] as Timer > --- > tmr[i]=NEW Timer(ME) AS "tmrCab" > tmr[i].enabled=FALSE > tmr[i].tag=i > --- > > But in the first seems that the editor think the "Timer" is Time = Timer ( > ) e not the control and another the property Tag not seems to exist in this > control. Can you give me some work around to have the Tag property working > like button or textbox control? > Thanks in advance > Dimitri > It is correct the Timer object has no Tag. However it is also invisible As Tag substitute the X and Y position can be used. Lucky guy, you have two pseudo .Tag properties now. :D Ron From dimitribellini at ...69... Thu Apr 8 08:02:45 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 8 Apr 2004 06:02:45 +0000 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404081414.04872.ronstk@...239...> References: <200404080500.56106.dimitribellini@...69...> <200404081414.04872.ronstk@...239...> Message-ID: <200404080602.45010.dimitribellini@...69...> Dear Ron thanks for your tips!! :-) But why is correct to not have .tag in timer? I used Index in timer control on VB6. I think is more simple to create a form with a 6 timer and every timer have a different setting and start time. With the example i put below, when i start one of this works great but when i start another the Event tmrCab_Timer() (the group name of Timer component) add another call to this event... and so on .. Thanks for help.. Dimitri On Thursday 08 April 2004 12:14, ron wrote: > On Thursday 08 April 2004 07:00, Dimitri Bellini wrote: > > Dear Benoit > > i have try to use the creation of control Timer at runtime like this: > > ---- > > private tmr[4] as Timer > > --- > > tmr[i]=NEW Timer(ME) AS "tmrCab" > > tmr[i].enabled=FALSE > > tmr[i].tag=i > > --- > > > > But in the first seems that the editor think the "Timer" is Time = Timer > > ( ) e not the control and another the property Tag not seems to exist in > > this control. Can you give me some work around to have the Tag property > > working like button or textbox control? > > Thanks in advance > > Dimitri > > It is correct the Timer object has no Tag. > However it is also invisible > As Tag substitute the X and Y position can be used. > Lucky guy, you have two pseudo .Tag properties now. :D > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From dimitribellini at ...69... Thu Apr 8 08:09:00 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 8 Apr 2004 06:09:00 +0000 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404081414.04872.ronstk@...239...> References: <200404080500.56106.dimitribellini@...69...> <200404081414.04872.ronstk@...239...> Message-ID: <200404080609.00457.dimitribellini@...69...> Dear Ron ops.. i forgot to say that seems dont work also the: - tmr[i].X=100 gambas return an error - Unknow symbol 'x' in class Timer Some idea :-)? thanks Dimitri On Thursday 08 April 2004 12:14, ron wrote: > On Thursday 08 April 2004 07:00, Dimitri Bellini wrote: > > Dear Benoit > > i have try to use the creation of control Timer at runtime like this: > > ---- > > private tmr[4] as Timer > > --- > > tmr[i]=NEW Timer(ME) AS "tmrCab" > > tmr[i].enabled=FALSE > > tmr[i].tag=i > > --- > > > > But in the first seems that the editor think the "Timer" is Time = Timer > > ( ) e not the control and another the property Tag not seems to exist in > > this control. Can you give me some work around to have the Tag property > > working like button or textbox control? > > Thanks in advance > > Dimitri > > It is correct the Timer object has no Tag. > However it is also invisible > As Tag substitute the X and Y position can be used. > Lucky guy, you have two pseudo .Tag properties now. :D > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Thu Apr 8 15:23:32 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 15:23:32 +0200 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404080609.00457.dimitribellini@...69...> References: <200404080500.56106.dimitribellini@...69...> <200404081414.04872.ronstk@...239...> <200404080609.00457.dimitribellini@...69...> Message-ID: <200404081523.32503.ronstk@...239...> On Thursday 08 April 2004 08:09, Dimitri Bellini wrote: > Dear Ron > ops.. i forgot to say that seems dont work also the: > - tmr[i].X=100 > gambas return an error > - Unknow symbol 'x' in class Timer > > Some idea :-)? > thanks > Dimitri May be it is because you created it runtime and it is not really on the form. Other controls I do this way have the X and Y or better I use .Left an .Top for it and works. Timer never used this way. X and Y are shown on the property sheet but are not mentioned in the Help. Sorry for the fault. Then you are unlucky If you need a variable count of Timer objects I do not know a solution If you need the 4 as fixed count put them on the form till someone know a other way for you. Beside off that, the i you want to put in the Tag is the same as the index in the array. Then you have the index already bind to the control and can you use tmr[i] to use the .enable and time setting. But I'm afraid this wil also not work, tmr[0] should be a handle to the control and the control does not have one. Benoit???????? Ron From sourceforge-raindog2 at ...94... Thu Apr 8 15:49:10 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 8 Apr 2004 09:49:10 -0400 Subject: [Gambas-user] Colorizing 'PRINT' output? In-Reply-To: <200404081027.21991.ronsholi@...406...> References: <200404081027.21991.ronsholi@...406...> Message-ID: <200404080949.10604.sourceforge-raindog2@...94...> On Thursday 08 April 2004 03:27, Adi Ron wrote: > In order to make my application's verbose option to be actualy > HUMAN READABLE (Yes, yes, by humans! ;) ) I was wondering, is > there an option to set console output to have colors? Maybe > through ANSI Colors? Sure, but so far no one has written a library to send the control codes (chr$(27) & "[m" followed by a number and a semicolon at its most basic, if I remember right.... Google Is Your Friend) so feel free ;) It's also worth mentioning for completeness' sake that not all terminals are ANSI-compatible, though all Linux console/xterm type programs are that I know of. Maybe it'd be worthwhile to make a whole "curses" component which would have much of the functionality of the Qt component, but for now I'd just suggest writing a library of ANSI color functions. Rob From dimitribellini at ...69... Thu Apr 8 10:02:50 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 8 Apr 2004 08:02:50 +0000 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404081523.32503.ronstk@...239...> References: <200404080500.56106.dimitribellini@...69...> <200404080609.00457.dimitribellini@...69...> <200404081523.32503.ronstk@...239...> Message-ID: <200404080802.50793.dimitribellini@...69...> Dear Rob i try to find work around but nothing to do.... :-( I hope in some tips from Benoit.... Thanks Dimitri PS: About read stdin/stdout have some good news :-) On Thursday 08 April 2004 13:23, ron wrote: > On Thursday 08 April 2004 08:09, Dimitri Bellini wrote: > > Dear Ron > > ops.. i forgot to say that seems dont work also the: > > - tmr[i].X=100 > > gambas return an error > > - Unknow symbol 'x' in class Timer > > > > Some idea :-)? > > thanks > > Dimitri > > May be it is because you created it runtime and it is not really on the > form. Other controls I do this way have the X and Y or better I use .Left > an .Top for it and works. Timer never used this way. > > X and Y are shown on the property sheet but are not mentioned in the Help. > Sorry for the fault. Then you are unlucky > > If you need a variable count of Timer objects I do not know a solution > If you need the 4 as fixed count put them on the form till someone know a > other way for you. > > Beside off that, the i you want to put in the Tag is the same as the index > in the array. Then you have the index already bind to the control and can > you use tmr[i] to use the .enable and time setting. > > But I'm afraid this wil also not work, tmr[0] should be a handle to the > control and the control does not have one. Benoit???????? > > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Thu Apr 8 19:24:50 2004 From: ronstk at ...239... (ron) Date: Thu, 8 Apr 2004 19:24:50 +0200 Subject: [Gambas-user] PRB: The EnsureVisible need a quote?? Message-ID: <200404081924.50054.ronstk@...239...> In my project View is ColumnView IF NOT view.Exist(mkey) THEN View.Add(mkey, mTxt) View[mkey].EnsureVisible'? <----------- Error without the quote ????? ENDIF IF NOT view.exist(skey) THEN View.Add(skey,sTxt , pPict, mkey) View[skey].EnsureVisible <----- no problem ENDIF IF NOT view.exist(eKey) THEN View.Add(ekey ,eTxt , pPict, skey) view[ekey].EnsureVisible' <----------- Error without the quote ????? ENDIF .EnsureVisible gives error .EnsureVisible ' gives error with space .EnsureVisible' is ok for the first and third one the second does not care about it The View.Add() is done by both and items exist. Goes wrong during the compile Any one a idea what can be wrong? Ron From mantovani.paolo at ...412... Thu Apr 8 19:41:49 2004 From: mantovani.paolo at ...412... (Paolo Mantovani) Date: Thu, 8 Apr 2004 19:41:49 +0200 Subject: [Gambas-user] hello world! Message-ID: <200404081941.49978.mantovani.paolo@...412...> Hi all, I'm Paolo Mantovani from Italy and I'm new here... I've just installed from sources the latest version (0.92) under my Slackware9.1 box. I would thanks Benoit and other developers/contributors for their hard work. Gambas is the best Basic I've ever seen under GNU/Linux and the IDE is simply amazing! Nice job!! regards Paolo Mantovani From gambas at ...1... Thu Apr 8 23:16:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 8 Apr 2004 23:16:32 +0200 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404080500.56106.dimitribellini@...69...> References: <200404080500.56106.dimitribellini@...69...> Message-ID: <200404082316.32873.gambas@...1...> On Thursday 08 April 2004 07:00, Dimitri Bellini wrote: > Dear Benoit > i have try to use the creation of control Timer at runtime like this: > ---- > private tmr[4] as Timer > --- > tmr[i]=NEW Timer(ME) AS "tmrCab" > tmr[i].enabled=FALSE > tmr[i].tag=i > --- > > But in the first seems that the editor think the "Timer" is Time = Timer ( > ) e not the control and another the property Tag not seems to exist in this > control. Can you give me some work around to have the Tag property working > like button or textbox control? > Thanks in advance > Dimitri > Timer has no Tag property. Timer is NOT a control. Why do you want to associate an index with the timer ? If you want to distinguish which timer is called in the Timer event, then use LAST. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Apr 8 23:20:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 8 Apr 2004 23:20:35 +0200 Subject: [Gambas-user] How to use the WITH / END WITH safe In-Reply-To: <200404081407.13329.ronstk@...239...> References: <200404081407.13329.ronstk@...239...> Message-ID: <200404082320.35164.gambas@...1...> On Thursday 08 April 2004 14:07, ron wrote: > May be a silly question > > Example?: > WITH hButton > .Text = Cstr("Cancel" & 1/0 ) > END WITH > > is equivalent to > hButton.Text = Cstr( "Cancel" & 1/0 ) > > It is the bug VB has in my point of view. > The WITH creates a reference to the hButton and allocate memory for it > The END WITH stops the dot reference (.Text) and removes the reference > and free the memory used for it. > > In the case of VB a error leaves the procedure and did > not free the memory. Here for the example forced by divide by zero > > In VB you should use a construction like next to trap this miss behavior. > > ON Error Goto WithAbort > WITH hButton > .Text = Cstr("Cancel" & 1/0 ) > > WithAbort:: > ' free memory with next END > END WITH > > I like to use the WITH a lot for example to set up controls in code. > WITH Columnview1 > .color > .columns > .Height > . the other position and dimensions > END WITH > It is now easy to change the object name instead without the WITH > or even use the same code for a stack of ColumnViews > Second pro is you do not need to type the name over and over. > > My question is: does gambas free used WITH references on exit of the > procedure or must I use the same trick as VB needs? > > Ron > Don't worry Ron, Gambas is not VB :-) Everything is freed correctly. If something is not freed correctly, then you will have a message in the console at program exit that tells you: WARNING: X allocation(s) non freed. Then that means there is a memory leak somewhere. This is a bug, and you can call me :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From frankberg at ...390... Fri Apr 9 08:35:56 2004 From: frankberg at ...390... (Frank Berg) Date: Fri, 9 Apr 2004 08:35:56 +0200 Subject: [Gambas-user] get login name of user Message-ID: <001901c41dfc$ea890970$0200a8c0@...391...> Hi, now i try to get the login name of the user how can i do that frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankberg at ...390... Fri Apr 9 08:40:16 2004 From: frankberg at ...390... (Frank Berg) Date: Fri, 9 Apr 2004 08:40:16 +0200 Subject: [Gambas-user] font size in TolTip Message-ID: <002201c41dfd$8569eea0$0200a8c0@...391...> Hi, how get i increase the fontsize in the TolTip section for exsample of an button.toltip frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronsholi at ...406... Fri Apr 9 11:59:32 2004 From: ronsholi at ...406... (Adi Ron) Date: Fri, 9 Apr 2004 12:59:32 +0300 Subject: [Gambas-user] Colorizing 'PRINT' output? Message-ID: <200404091259.32270.ronsholi@...406...> Hello, In order to make my application's verbose option to be actualy HUMAN READABLE (Yes, yes, by humans! ;) ) I was wondering, is there an option to set console output to have colors? Maybe through ANSI Colors? This time I am looking for an answer. -- "Why don't kernels have emotions yet?" --Adi Ron when asked about the future of Linux http://strange-man.blogspot.com From karl.reinl at ...9... Fri Apr 9 13:45:17 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 09 Apr 2004 13:45:17 +0200 Subject: [Gambas-user] get login name of user References: <001901c41dfc$ea890970$0200a8c0@...391...> Message-ID: <40768CCD.20304@...9...> Frank Berg schrieb: > Hi, > > now i try to get the login name of the user > how can i do that > > frank > Salut, have a look at Help gb.Application _(class)_ Amicalement Charlie From dimitribellini at ...69... Fri Apr 9 08:06:09 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 9 Apr 2004 06:06:09 +0000 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404082316.32873.gambas@...1...> References: <200404080500.56106.dimitribellini@...69...> <200404082316.32873.gambas@...1...> Message-ID: <200404090606.09223.dimitribellini@...69...> Dear Benoit i know the timer is not a "control" but i need to know what timer have generate the event because i will try to create a internet cafee app so for every PC a need to start a timer but i want made it with more simple way like create n box when i have n pc box. I decide to create the n box in runtime in this mode i dont create a new form every time i need to add another pc box. I have try to use Last in the event but i last return an object like "Timer 0x332324" how can i understand what Timer have start the event? My Timer is define as wrote below. My english is very bad i hope, i apology if you cant understand what i write.. :-) Thanks in advance Dimitri On Thursday 08 April 2004 21:16, Benoit Minisini wrote: > On Thursday 08 April 2004 07:00, Dimitri Bellini wrote: > > Dear Benoit > > i have try to use the creation of control Timer at runtime like this: > > ---- > > private tmr[4] as Timer > > --- > > tmr[i]=NEW Timer(ME) AS "tmrCab" > > tmr[i].enabled=FALSE > > tmr[i].tag=i > > --- > > > > But in the first seems that the editor think the "Timer" is Time = Timer > > ( ) e not the control and another the property Tag not seems to exist in > > this control. Can you give me some work around to have the Tag property > > working like button or textbox control? > > Thanks in advance > > Dimitri > > Timer has no Tag property. Timer is NOT a control. > Why do you want to associate an index with the timer ? If you want to > distinguish which timer is called in the Timer event, then use LAST. > > Regards, From gambas at ...1... Fri Apr 9 15:05:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 9 Apr 2004 15:05:20 +0200 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404090606.09223.dimitribellini@...69...> References: <200404080500.56106.dimitribellini@...69...> <200404082316.32873.gambas@...1...> <200404090606.09223.dimitribellini@...69...> Message-ID: <200404091505.20871.gambas@...1...> On Friday 09 April 2004 08:06, Dimitri Bellini wrote: > Dear Benoit > i know the timer is not a "control" but i need to know what timer have > generate the event because i will try to create a internet cafee app so for > every PC a need to start a timer but i want made it with more simple way > like create n box when i have n pc box. I decide to create the n box in > runtime in this mode i dont create a new form every time i need to add > another pc box. I have try to use Last in the event but i last return an > object like "Timer 0x332324" how can i understand what Timer have start > the event? > My Timer is define as wrote below. > My english is very bad i hope, i apology if you cant understand what i > write.. > > :-) > > Thanks in advance > Dimitri > You can try to create a class that inherits Timer, and add in this class all the data you need to associate with the Timer. This way, you can test inheritance ;-) Tell me if it works! Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Fri Apr 9 14:58:01 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 9 Apr 2004 08:58:01 -0400 Subject: [Gambas-user] Colorizing 'PRINT' output? In-Reply-To: <200404091259.32270.ronsholi@...406...> References: <200404091259.32270.ronsholi@...406...> Message-ID: <200404090858.01376.sourceforge-raindog2@...94...> On Friday 09 April 2004 05:59, Adi Ron wrote: > In order to make my application's verbose option to be actualy > HUMAN READABLE (Yes, yes, by humans! ;) ) I was wondering, is > there an option to set console output to have colors? Maybe > through ANSI Colors? > This time I am looking for an answer. I already told you, there is no option because it hasn't been written yet. If you need that functionality, ANSI escape sequences to change colors are very well documented. You can just include them in your print statements or better yet write a library with a bunch of static functions like ANSIRed(), ANSIGreen(), ANSINormal() etc... Rob From sourceforge-raindog2 at ...94... Fri Apr 9 14:54:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 9 Apr 2004 08:54:29 -0400 Subject: [Gambas-user] get login name of user In-Reply-To: <001901c41dfc$ea890970$0200a8c0@...391...> References: <001901c41dfc$ea890970$0200a8c0@...391...> Message-ID: <200404090854.29057.sourceforge-raindog2@...94...> On Friday 09 April 2004 02:35, Frank Berg wrote: > now i try to get the login name of the user > how can i do that I think that would be Application.Env("USER"). Rob From ronstk at ...239... Fri Apr 9 15:28:47 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 15:28:47 +0200 Subject: [Gambas-user] Resize columnview column widths Message-ID: <200404091528.47373.ronstk@...239...> Is there any one who know how I can block the auto resize of the columnview. I want fixed width for the columns. At every reload of the items in it this is set to the widest content of the cell. This way I lost the view of the right most columns. It is even more stupid to reset them by code after all items are add. What if i later add 1 item? Clicking on a closed node opens it and again the sizes are f...up. Again resize back by hand. Valuable CPU and my time lost. I need a program resetting the column width to my wished sizes. A timer job to see if there is a view using it and set he width as I want! Logn filenames? I wish the never inveted it. Saving a letter to you grandma as "Letter to grandma on 24-august-2023 about the stupid long filenames I hate so much.doc" Should be so nice a descriptive name regarding M$ Have you seen it in konqueror? where are the columns on the right side gone? resize and resize and resize and ............... the whole day They do it only to wider. if no need so wide they do not smaller. I hate stupid QT widgets with this behavior. Konqueror as filemanager has it to. Still in my view the TreeView and ListView of VB are far better than QT. only pro for QT is ColumnView using both in one View. It is the most hated part of KDE/QT, i even hate it more as the bugs in the KDE programs. Arggg! [:-( Ron From ronstk at ...239... Fri Apr 9 15:46:28 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 15:46:28 +0200 Subject: [Gambas-user] Colorizing 'PRINT' output? In-Reply-To: <200404090858.01376.sourceforge-raindog2@...94...> References: <200404091259.32270.ronsholi@...406...> <200404090858.01376.sourceforge-raindog2@...94...> Message-ID: <200404091546.28332.ronstk@...239...> On Friday 09 April 2004 14:58, Rob wrote: > On Friday 09 April 2004 05:59, Adi Ron wrote: > > In order to make my application's verbose option to be actualy > > HUMAN READABLE (Yes, yes, by humans! ;) ) I was wondering, is > > there an option to set console output to have colors? Maybe > > through ANSI Colors? > > This time I am looking for an answer. > > I already told you, there is no option because it hasn't been > written yet. > > If you need that functionality, ANSI escape sequences to change > colors are very well documented. You can just include them in > your print statements or better yet write a library with a bunch > of static functions like ANSIRed(), ANSIGreen(), ANSINormal() > etc... > > Rob > > I do have written a module to work with ANSI, VT100 etc. Choise of terminal type can be done under software. Display driver included for CGA/EGA/VGA/Hercules and MDA monitors. Accept IBM and ASCII keyboard and serial input 7 bit baudot and 7 or 8 bit ASCII with speed of 45.45baud till 176000kbit. It is also usable as Tectronix 4000 graphical display. Till screen size of 160columns and 60 row of text. One problem, its written in assembly, second problem it is for Z80 :=) Third problem is gambas does not accept eurocard pcb as control. Ron From dimitribellini at ...69... Fri Apr 9 09:31:05 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 9 Apr 2004 07:31:05 +0000 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404091505.20871.gambas@...1...> References: <200404080500.56106.dimitribellini@...69...> <200404090606.09223.dimitribellini@...69...> <200404091505.20871.gambas@...1...> Message-ID: <200404090731.05227.dimitribellini@...69...> Dear Benoit OK.. You can understand my last post.. :-) I have try to create a class for my new Timer but i cant find or cant able to find an example of How Create a Class and add my property in it... I have try with this code: --------- PUBLIC SUB _new(Tempo AS Object) INHERITS Timer DIM findex AS Integer INC findex hP = Tempo hF.tag =findex END ------------ But dont work because i dont think is a class... :-( Can you give me some example? thanks im boring sometimes.. Thanks for everything Dimitri On Friday 09 April 2004 13:05, Benoit Minisini wrote: > On Friday 09 April 2004 08:06, Dimitri Bellini wrote: > > Dear Benoit > > i know the timer is not a "control" but i need to know what timer have > > generate the event because i will try to create a internet cafee app so > > for every PC a need to start a timer but i want made it with more simple > > way like create n box when i have n pc box. I decide to create the n box > > in runtime in this mode i dont create a new form every time i need to add > > another pc box. I have try to use Last in the event but i last return an > > object like "Timer 0x332324" how can i understand what Timer have start > > the event? > > My Timer is define as wrote below. > > My english is very bad i hope, i apology if you cant understand what i > > write.. > > > > :-) > > > > Thanks in advance > > Dimitri > > You can try to create a class that inherits Timer, and add in this class > all the data you need to associate with the Timer. > > This way, you can test inheritance ;-) Tell me if it works! > > Regards, From frankberg at ...390... Fri Apr 9 17:14:19 2004 From: frankberg at ...390... (Frank Berg) Date: Fri, 9 Apr 2004 17:14:19 +0200 Subject: [Gambas-user] get login name of user : solved References: <001901c41dfc$ea890970$0200a8c0@...391...> Message-ID: <001901c41e45$555bc1f0$0200a8c0@...391...> hi.. i found it "now" in the help gb.application.user snip ---------------- print application.user snap --------------- tnx rob and charlie ----- Original Message ----- From: Frank Berg To: Gambas-user at lists.sourceforge.net Sent: Friday, April 09, 2004 8:35 AM Subject: [Norton AntiSpam] [Gambas-user] get login name of user Hi, now i try to get the login name of the user how can i do that frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From df76 at ...17... Fri Apr 9 19:34:40 2004 From: df76 at ...17... (Fabian Schmieder) Date: Fri, 09 Apr 2004 17:34:40 +0000 Subject: [Gambas-user] PRB: MySQL and BLOBS Message-ID: <1081532080.12231.6.camel@...40...> Hi folks, I've got a problem with Blobs and MySQL on Gambas: I would like to store a HTML page of about 5kb in a MEDIUMTEXT field (a BLOB). When I try to insert the data using the Exec command like this db.Exec( "insert into dokument ( text ) values ('" & Parser.Body & "')") and the result of Parser.Body is bigger than 213 bytes Gambas is popping up an error window showing me the MySQL Error "Query failed: You have an error in your SQL Syntax ..." I've escaped the contents of Parser.Body as descibed in http://www.mysql.com/doc/en/String_syntax.html ! I don't think that this is a MySQL or just a syntax error, because when I copy the result of PRINT "insert into dokument ( text ) values ( '" & Parser.Body & "' )" and paste it into my SQL gui and send the query manually, everything is working perfectly. Even with 5kb of text... Is anybody out there who can help? Thanks a lot, Fabian From sourceforge-raindog2 at ...94... Fri Apr 9 17:49:32 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 9 Apr 2004 11:49:32 -0400 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404090731.05227.dimitribellini@...69...> References: <200404080500.56106.dimitribellini@...69...> <200404091505.20871.gambas@...1...> <200404090731.05227.dimitribellini@...69...> Message-ID: <200404091149.32840.sourceforge-raindog2@...94...> On Friday 09 April 2004 03:31, Dimitri Bellini wrote: > I have try to create a class for my new Timer but i cant find > or cant able to find an example of How Create a Class and add > my property in it... I have try with this code: You right click on the Gambas project tree and go "New -> Class". Unfortunately, I tried to make a class that inherited Timer by adding INHERITS Timer as the first line of the class, but it tells me "INHERITS needs an identifier". I haven't had time to look at the source code to figure out exactly what the syntax is.... Rob From jscops at ...11... Fri Apr 9 19:52:49 2004 From: jscops at ...11... (Jack) Date: Fri, 9 Apr 2004 17:52:49 +0000 Subject: [Gambas-user] date syntax Message-ID: <200404091752.49284.jscops@...11...> Hello Gambers, My question is very simple for masters as you. II have a string variable initialised by dte = (Left(dte,4) & "," & Mid(dte,5,2) & "," &Right(dte,2)) the result is "2004,04,09" Now i want use the Date function for somes controls my syntax is dte = Date(dte) But i have a message "Invalid Date" . Yet, if i write PRINT DATE(2004,04,09) in a console, i have no error and the answer is 2004,04,09 What is wrong please ? Thank you for yours answers. ?~ Jack ~? From ronstk at ...239... Fri Apr 9 18:02:39 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 18:02:39 +0200 Subject: [Gambas-user] PRB: MySQL and BLOBS In-Reply-To: <1081532080.12231.6.camel@...40...> References: <1081532080.12231.6.camel@...40...> Message-ID: <200404091802.39287.ronstk@...239...> On Friday 09 April 2004 19:34, Fabian Schmieder wrote: > Hi folks, > > I've got a problem with Blobs and MySQL on Gambas: > > I would like to store a HTML page of about 5kb in a MEDIUMTEXT field (a > BLOB). When I try to insert the data using the Exec command like this > > db.Exec( "insert into dokument ( text ) values ('" & Parser.Body & "')") > > and the result of Parser.Body is bigger than 213 bytes Gambas is popping > up an error window showing me the MySQL Error "Query failed: You have an > error in your SQL Syntax ..." > > I've escaped the contents of Parser.Body as descibed in > http://www.mysql.com/doc/en/String_syntax.html ! > > I don't think that this is a MySQL or just a syntax error, because when > I copy the result of PRINT "insert into dokument ( text ) values ( '" & > Parser.Body & "' )" and paste it into my SQL gui and send the query > manually, everything is working perfectly. Even with 5kb of text... > > Is anybody out there who can help? > > Thanks a lot, > Fabian > Can you try to use the database, table and field stuff instead of the db.Exec ? That is an other way which can handle the insert Take a look in the database manager code if you need some help how to use it. I know it will be more than the one line you have now but may be you get the hint where it goes wrong. The only thing I see atm is Parser.Body, it can be that it must be a variant to be able to put in BLOB here. Success Ron. From ronstk at ...239... Fri Apr 9 18:11:57 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 18:11:57 +0200 Subject: [Gambas-user] date syntax In-Reply-To: <200404091752.49284.jscops@...11...> References: <200404091752.49284.jscops@...11...> Message-ID: <200404091811.57715.ronstk@...239...> On Friday 09 April 2004 19:52, Jack wrote: > dte = Date(dte) > > But i have a message "Invalid Date" . > Yet, if i write PRINT DATE(2004,04,09) in a console, i have no error and > the answer is 2004,04,09 The dte you have build is a string The Date however expect 3 integers Try next without the dte = (Left(dte,4) & "," & Mid(dte,5,2) & "," &Right(dte,2)) line print DATE(Cint( Left$(dte,4) ),Cint( Mid$(dte,5,2) ),Cint( Right$(dte,2) ) ) Ron From ronsholi at ...406... Fri Apr 9 18:14:08 2004 From: ronsholi at ...406... (Adi Ron) Date: Fri, 9 Apr 2004 19:14:08 +0300 Subject: [Gambas-user] Useless Message-ID: <200404091912.40326.ronsholi@...406...> The human kind makes me sick. I don't need to listen to some bunch of elders answering trivial questions. Yeah right, do something about it. Especially you, italiano. -- http://strange-man.blogspot.com From sourceforge-raindog2 at ...94... Fri Apr 9 18:16:50 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 9 Apr 2004 12:16:50 -0400 Subject: [Gambas-user] date syntax In-Reply-To: <200404091752.49284.jscops@...11...> References: <200404091752.49284.jscops@...11...> Message-ID: <200404091216.50432.sourceforge-raindog2@...94...> On Friday 09 April 2004 13:52, Jack wrote: > the result is "2004,04,09" > Now i want use the Date function for somes controls > But i have a message "Invalid Date" . > Yet, if i write PRINT DATE(2004,04,09) in a console, i have no > error and the answer is 2004,04,09 Well, Date(2004,04,09) and Date("2004,04,09") are two very different things. In the first case you're passing it three numbers, in the second case one string. I think you meant to use CDate() instead, though I don't know if it'll understand "2004,04,09" either. Rob From ronstk at ...239... Fri Apr 9 18:22:54 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 18:22:54 +0200 Subject: [Gambas-user] Resize columnview column widths In-Reply-To: <200404091528.47373.ronstk@...239...> References: <200404091528.47373.ronstk@...239...> Message-ID: <200404091822.54862.ronstk@...239...> Wel I put next sub in almost every event of the columnview. Now it stays fixed, Stupid. In the Find form I did use columnview to and never touch the Adjust or AutoResize and they stay fixed width as set by the 1 time initialization sub. --------- PUBLIC SUB FixColumnView() DIM i AS Integer WITH columnview1 ' .Columns.AutoResize=FALSE <--------- ' .Columns.Adjust=FALSE <------------ FOR i=0 TO .columns.count-1 .Columns[i].AutoResize=FALSE .Columns[i].width=80 ' .Columns[i].Adjust=FALSE 'gives error <--------- NEXT END WITH END -------- I feel stupid :( Can I get from someone the exact syntax for the next lines. ------------------------ ColumnView1.AutoResize=FALSE ColumnView1.Columns..AutoResize=FALSE ColumnView1.Columns[x]..AutoResize=FALSE AutoResize from help under .ColumnViewColumn: PROPERTY AutoResize AS Boolean Indicates if the columns should automatically resize when its contents change. Is this per column or all columns together, after all here is told columns? This should be a onetime setting but it looks to me I have to do after every columnview.clear and that is for items and has nothing to do with columns. -------------------------------- ColumnView1.Adjust= ColumnView1.Columns.Adjust= ColumnView1.Columns[x].Adjust= Adjust from help under .ColumnViewColumns: ?SUB Adjust ( )? Adjust the size of the last column so that it fits to the ColumnView width. Here I know now the =FALSE is wrong. But it should be a property, true or false, a method should be done after every resize of the control in this case? Beside of that ColumnView.Columns[ColumnView.columns.count-1].adjust ? It has to do the last and is working on the last so why not ColumnView.Adjust=True ColumnView.Columns.Adjust seems not to work in my case. Must it be done after a resize of the control? It has not that event. is adjust here only for the column with index [x] ? the help does not show that (the [x]) in a clear way and that drives me crazy. ----------------------------------------- ColumnView1.Columns[x].text="mytext" this one i understand can only with [x], or ???? I can not figure out how it should be. I'm tired after 2 hours study now, I do not like this. Why does it work in one program without setting anything and do i have to put it now in _Change _Select _Click and Form_Resize ???? Sad Ron. :=( From _root at ...324... Fri Apr 9 19:01:39 2004 From: _root at ...324... (-=FoX=-) Date: Fri, 09 Apr 2004 19:01:39 +0200 Subject: [Gambas-user] Forum? Message-ID: <4076D6F3.6030500@...324...> Hello! I want to ask why the idea of a forum as mailing-list sobstitute is disappeared. I remember some screenshot... (or i am dreamming?) I think that a forum may be a good solution, it would allow dedicated sections for several types of components. what do you think? ;) -=FoX=- From ronstk at ...239... Fri Apr 9 19:19:02 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 19:19:02 +0200 Subject: [Gambas-user] Forum? In-Reply-To: <4076D6F3.6030500@...324...> References: <4076D6F3.6030500@...324...> Message-ID: <200404091919.03107.ronstk@...239...> On Friday 09 April 2004 19:01, -=FoX=- wrote: > Hello! > I want to ask why the idea of a forum as mailing-list sobstitute is > disappeared. > I remember some screenshot... (or i am dreamming?) > I think that a forum may be a good solution, it would allow dedicated > sections for several types of components. > what do you think? > ;) > > -=FoX=- > Keep dreaming, Second, do not forget the maillist is handled by Benoit May be he don't like to follow a Forum parallel with it and a forum is nothing without the main support of him. The moderation for it should be done be someone else, he can use/need his time for gambas and private too. At least there should be a script receiving the maillist and put it in the forum and maybe return also. If you can make it it will help to start the forum real live. Ron From gambas at ...1... Fri Apr 9 19:48:12 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 9 Apr 2004 19:48:12 +0200 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404091149.32840.sourceforge-raindog2@...94...> References: <200404080500.56106.dimitribellini@...69...> <200404090731.05227.dimitribellini@...69...> <200404091149.32840.sourceforge-raindog2@...94...> Message-ID: <200404091948.12147.gambas@...1...> On Friday 09 April 2004 17:49, Rob wrote: > On Friday 09 April 2004 03:31, Dimitri Bellini wrote: > > I have try to create a class for my new Timer but i cant find > > or cant able to find an example of How Create a Class and add > > my property in it... I have try with this code: > > You right click on the Gambas project tree and go "New -> Class". > Unfortunately, I tried to make a class that inherited Timer by > adding > > INHERITS Timer > > as the first line of the class, but it tells me "INHERITS needs > an identifier". I haven't had time to look at the source code > to figure out exactly what the syntax is.... > > Rob > > Argh ! This is a "bug" in the compiler. It interprets Timer as a subroutine name instead of an identifier. Which is stupid in this context... So, I'm compelled to reveal the second undocumented Gambas feature :-) Put Timer between braces: {Timer} This will force the compiler to interpret Timer as an identifier. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Apr 9 19:55:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 9 Apr 2004 19:55:03 +0200 Subject: [Gambas-user] Forum? In-Reply-To: <200404091919.03107.ronstk@...239...> References: <4076D6F3.6030500@...324...> <200404091919.03107.ronstk@...239...> Message-ID: <200404091955.03959.gambas@...1...> On Friday 09 April 2004 19:19, ron wrote: > On Friday 09 April 2004 19:01, -=FoX=- wrote: > > Hello! > > I want to ask why the idea of a forum as mailing-list sobstitute is > > disappeared. > > I remember some screenshot... (or i am dreamming?) > > I think that a forum may be a good solution, it would allow dedicated > > sections for several types of components. > > what do you think? > > ;) > > > > -=FoX=- > > Keep dreaming, > > Second, do not forget the maillist is handled by Benoit > May be he don't like to follow a Forum parallel with it > and a forum is nothing without the main support of him. > The moderation for it should be done be someone else, > he can use/need his time for gambas and private too. > > At least there should be a script receiving the maillist and put it in the > forum and maybe return also. > > If you can make it it will help to start the forum real live. > > Ron > You must understand that : - The mailing-list is FREELY hosting by the sourceforge server. As the website. Nothing is hosted by my own machine. - I receive the mailing-list automatically AND quickly in my mailbox. I'm not obliged to luanch a browser and go to a slow forum. I have to read all the mails ! So I prefer a mailing-list. Otherwise, nothing is moderated on the mailing-list, except that messages too big (> 256K) are discarded. I could make several specialized mailing-list, but it will become unclear for the beginner where to ask a question. But if someone want to make a forum on Gambas, it is free. But I can't assure that I will participate! Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Apr 9 20:06:24 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 20:06:24 +0200 Subject: [Gambas-user] Timer Tag property In-Reply-To: <200404091948.12147.gambas@...1...> References: <200404080500.56106.dimitribellini@...69...> <200404091149.32840.sourceforge-raindog2@...94...> <200404091948.12147.gambas@...1...> Message-ID: <200404092006.24400.ronstk@...239...> On Friday 09 April 2004 19:48, Benoit Minisini wrote: > On Friday 09 April 2004 17:49, Rob wrote: > > On Friday 09 April 2004 03:31, Dimitri Bellini wrote: > > > I have try to create a class for my new Timer but i cant find > > > or cant able to find an example of How Create a Class and add > > > my property in it... I have try with this code: > > > > You right click on the Gambas project tree and go "New -> Class". > > Unfortunately, I tried to make a class that inherited Timer by > > adding > > > > INHERITS Timer > > > > as the first line of the class, but it tells me "INHERITS needs > > an identifier". I haven't had time to look at the source code > > to figure out exactly what the syntax is.... > > > > Rob > > Argh ! This is a "bug" in the compiler. It interprets Timer as a subroutine > name instead of an identifier. Which is stupid in this context... > > So, I'm compelled to reveal the second undocumented Gambas feature :-) > Ha Ha Ha Sneaky Benoit LOL <{:o) From sourceforge-raindog2 at ...94... Fri Apr 9 20:28:56 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 9 Apr 2004 14:28:56 -0400 Subject: [Gambas-user] Useless In-Reply-To: <200404091912.40326.ronsholi@...406...> References: <200404091912.40326.ronsholi@...406...> Message-ID: <200404091426.24354.sourceforge-raindog2@...94...> On Friday 09 April 2004 12:14, Adi Ron wrote: > The human kind makes me sick. > I don't need to listen to some bunch of elders answering > trivial questions. > Yeah right, do something about it. > Especially you, italiano. Hey, if no one else has needed it and you do, it's up to you to write it or pay someone else to write it. That's how free software (and in fact, all software) works, and I'd say I'm sorry to have to tell you that, but in fact I'd be lying since that's how I've made every penny I have. Pony up, dude, or get coding. I have thought about making a curses component for gambas, but haven't had a need for such a thing yet; I'd be more likely to write an imagemagick or PDF-generator component before I did that. Rob From ronstk at ...239... Fri Apr 9 20:41:07 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 20:41:07 +0200 Subject: [Gambas-user] Forum? In-Reply-To: <200404091955.03959.gambas@...1...> References: <4076D6F3.6030500@...324...> <200404091919.03107.ronstk@...239...> <200404091955.03959.gambas@...1...> Message-ID: <200404092041.07604.ronstk@...239...> On Friday 09 April 2004 19:55, Benoit Minisini wrote: > On Friday 09 April 2004 19:19, ron wrote: > > On Friday 09 April 2004 19:01, -=FoX=- wrote: > > > Hello! > > > I want to ask why the idea of a forum as mailing-list sobstitute is > > > disappeared. > > > I remember some screenshot... (or i am dreamming?) > > > I think that a forum may be a good solution, it would allow dedicated > > > sections for several types of components. > > > what do you think? > > > ;) > > > > > > -=FoX=- > > > > Keep dreaming, > > > > Second, do not forget the maillist is handled by Benoit > > May be he don't like to follow a Forum parallel with it > > and a forum is nothing without the main support of him. > > The moderation for it should be done be someone else, > > he can use/need his time for gambas and private too. > > > > At least there should be a script receiving the maillist and put it in > > the forum and maybe return also. > > > > If you can make it it will help to start the forum real live. > > > > Ron > > You must understand that : > > - The mailing-list is FREELY hosting by the sourceforge server. As the > website. Nothing is hosted by my own machine. > > - I receive the mailing-list automatically AND quickly in my mailbox. I'm > not obliged to luanch a browser and go to a slow forum. I have to read all > the mails ! So I prefer a mailing-list. > > Otherwise, nothing is moderated on the mailing-list, except that messages > too big (> 256K) are discarded. > > I could make several specialized mailing-list, but it will become unclear > for the beginner where to ask a question. > > But if someone want to make a forum on Gambas, it is free. But I can't > assure that I will participate! > > Regards, I do understand that. As I already said previous "he can use/need his time for gambas and private too". The only solution to this is that script I had in mind. Private I like a forum more but indeed some are very slow in loading. We see what the future will bring us. Ron From _root at ...324... Fri Apr 9 21:11:04 2004 From: _root at ...324... (-=FoX=-) Date: Fri, 09 Apr 2004 21:11:04 +0200 Subject: [Gambas-user] Forum? In-Reply-To: <200404092041.07604.ronstk@...239...> References: <4076D6F3.6030500@...324...> <200404091919.03107.ronstk@...239...> <200404091955.03959.gambas@...1...> <200404092041.07604.ronstk@...239...> Message-ID: <4076F548.2010100@...324...> ron wrote: -cut- >>>Keep dreaming, >>> >>> >>> LOL :D Benoit wrote: >>- I receive the mailing-list automatically AND quickly in my mailbox. I'm >>not obliged to luanch a browser and go to a slow forum. I have to read all >>the mails ! So I prefer a mailing-list >> >> I understand :) No problem, i wanted to ask only ;) -=Fox=- From gambas at ...1... Fri Apr 9 21:24:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 9 Apr 2004 21:24:47 +0200 Subject: [Gambas-user] Horrible bug in 0.92... Message-ID: <200404092124.47791.gambas@...1...> READ THIS! IMPORTANT! A fix in the TabStrip control code has revealed an horrible bug in Gambas. The 0.92 IDE corrupts tabstrips in forms when you save them! If you have a tabstrip with three tabs, for example, then each tab will have the same children controls as the first one! This is the reason why some people wrote that the compiler said an unexpected '"Frame1" already defined' or something similar. I join an interpreter patch to this mail. Patching Gambas 0.92 is highly recommended ! I will upload a gambas 0.92a as soon as possible. Sorry for this very dangerous bug. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Apr 9 21:25:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 9 Apr 2004 21:25:35 +0200 Subject: [Gambas-user] Horrible bug in 0.92 (patch) Message-ID: <200404092125.35375.gambas@...1...> And here is the patch... -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_exec_enum.c Type: text/x-csrc Size: 1846 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Fri Apr 9 21:41:52 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 9 Apr 2004 15:41:52 -0400 Subject: [Gambas-user] Horrible bug in 0.92... In-Reply-To: <200404092124.47791.gambas@...1...> References: <200404092124.47791.gambas@...1...> Message-ID: <200404091541.52570.sourceforge-raindog2@...94...> On Friday 09 April 2004 15:24, Benoit Minisini wrote: > A fix in the TabStrip control code has revealed an horrible > bug in Gambas. Wow, good thing I haven't had time to work on my multiple CD burner ripping program which used tabstrips all over the place ;) Rob From ronstk at ...239... Fri Apr 9 21:44:23 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 21:44:23 +0200 Subject: [Gambas-user] Horrible bug in 0.92... In-Reply-To: <200404092124.47791.gambas@...1...> References: <200404092124.47791.gambas@...1...> Message-ID: <200404092144.24079.ronstk@...239...> On Friday 09 April 2004 21:24, Benoit Minisini wrote: > READ THIS! IMPORTANT! > > A fix in the TabStrip control code has revealed an horrible bug in Gambas. > > The 0.92 IDE corrupts tabstrips in forms when you save them! If you have a > tabstrip with three tabs, for example, then each tab will have the same > children controls as the first one! This is the reason why some people > wrote that the compiler said an unexpected '"Frame1" already defined' or > something similar. > > I join an interpreter patch to this mail. Patching Gambas 0.92 is highly > recommended ! I will upload a gambas 0.92a as soon as possible. > > Sorry for this very dangerous bug. > > Regards, For verify, Is it correct to put the patch in the exec directory and in that directory a make and make install or must the whole pakket done And yes the Problem I had was on a form with tabstrib and label was moved from tabstrib to the form. Ron From gambas at ...1... Fri Apr 9 22:06:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 9 Apr 2004 22:06:25 +0200 Subject: [Gambas-user] PRB: The EnsureVisible need a quote?? In-Reply-To: <200404081924.50054.ronstk@...239...> References: <200404081924.50054.ronstk@...239...> Message-ID: <200404092206.25433.gambas@...1...> On Thursday 08 April 2004 19:24, ron wrote: > In my project View is ColumnView > > IF NOT view.Exist(mkey) THEN > View.Add(mkey, mTxt) > View[mkey].EnsureVisible'? <----------- Error without the quote ????? > ENDIF > > IF NOT view.exist(skey) THEN > View.Add(skey,sTxt , pPict, mkey) > View[skey].EnsureVisible <----- no problem > ENDIF > > IF NOT view.exist(eKey) THEN > View.Add(ekey ,eTxt , pPict, skey) > view[ekey].EnsureVisible' <----------- Error without the quote ????? > ENDIF > > > .EnsureVisible gives error > .EnsureVisible ' gives error with space > .EnsureVisible' is ok for the first and third one > > the second does not care about it > The View.Add() is done by both and items exist. > Goes wrong during the compile > > Any one a idea what can be wrong? > > Ron > No. Could you send me the project that raises the error ? -- Benoit Minisini mailto:gambas at ...1... From neil at ...233... Fri Apr 9 22:18:43 2004 From: neil at ...233... (neil lewis) Date: Fri, 09 Apr 2004 21:18:43 +0100 Subject: [Gambas-user] Horrible bug in 0.92... In-Reply-To: <200404092124.47791.gambas@...1...> References: <200404092124.47791.gambas@...1...> Message-ID: <40770523.70607@...233...> Benoit Minisini wrote: >READ THIS! IMPORTANT! > >A fix in the TabStrip control code has revealed an horrible bug in Gambas. > >The 0.92 IDE corrupts tabstrips in forms when you save them! If you have a >tabstrip with three tabs, for example, then each tab will have the same >children controls as the first one! This is the reason why some people wrote >that the compiler said an unexpected '"Frame1" already defined' or something >similar. > >I join an interpreter patch to this mail. Patching Gambas 0.92 is highly >recommended ! I will upload a gambas 0.92a as soon as possible. > >Sorry for this very dangerous bug. > >Regards, > > > Thanks Benoit. Glad to know it was a bug and not something I'd done wrong ;-) At least the corruption encouraged me to start on a new version of my LILi program, avoiding tabstrips. This time, I know a bit more about what I'm trying to do! Thanks for a fantastic tool. Neil Lewis. From jscops at ...11... Sat Apr 10 01:21:36 2004 From: jscops at ...11... (Jack) Date: Fri, 9 Apr 2004 23:21:36 +0000 Subject: [Gambas-user] Date format Message-ID: <200404092319.56793.jscops@...11...> Thanks you very mutch Ron (And other s Gambers) for your answers. I progress a lot in Gambas ( and in English too). Now i have this odd thing. When i ask the below function with a date = "09/04/04" i have no problem. But when i ask the same function with a date = "31/04/04" i have a gambas error like "Type mismatch: wanted date, got String instead" Please, why The Catch function isn't operate ? What is wrong ? My function PUBLIC FUNCTION Cdate_calc(Dte AS String) AS String Datej.text = "" FINALLY RETURN CDate(Dte) CATCH message.Error("Verifiez votre saisie SVP !") END From ronstk at ...239... Fri Apr 9 23:31:17 2004 From: ronstk at ...239... (ron) Date: Fri, 9 Apr 2004 23:31:17 +0200 Subject: [Gambas-user] Date format In-Reply-To: <200404092319.56793.jscops@...11...> References: <200404092319.56793.jscops@...11...> Message-ID: <200404092331.18428.ronstk@...239...> On Saturday 10 April 2004 01:21, Jack wrote: > Thanks you very mutch Ron (And other s Gambers) for your answers. I > progress a lot in Gambas ( and in English too). > Now i have this odd thing. > When i ask the below function with a date = "09/04/04" i have no problem. > But when i ask the same function with a date = "31/04/04" i have a gambas > error like > "Type mismatch: wanted date, got String instead" > Please, why The Catch function isn't operate ? What is wrong ? > > > My function > > PUBLIC FUNCTION Cdate_calc(Dte AS String) AS String > Datej.text = "" > FINALLY > RETURN CDate(Dte) > CATCH > message.Error("Verifiez votre saisie SVP !") > > END > You are doing the function in the finally and these are not for catch place then return above the finally or better you do not need it here. Second it is in the service during the return already, may that is also not to catch anymore Try this way: PUBLIC FUNCTION Cdate_calc(Dte AS String) AS String dim ndate as date ndate=cdate(Dte) Datej.text = "" RETURN ndate CATCH message.Error("Verifiez votre saisie SVP !") END From ronan at ...384... Fri Apr 9 23:37:38 2004 From: ronan at ...384... (Ronan Chilvers) Date: Fri, 9 Apr 2004 22:37:38 +0100 Subject: [Gambas-user] Useless In-Reply-To: <200404091912.40326.ronsholi@...406...> References: <200404091912.40326.ronsholi@...406...> Message-ID: <20040409223738.4f426168@...385...> Hi Adi On Fri, 9 Apr 2004 19:14:08 +0300 Adi Ron wrote: > The human kind makes me sick. > I don't need to listen to some bunch of elders answering trivial questions. > > Yeah right, do something about it. > > Especially you, italiano. Thanks for that! Constructive comments always welcome I'm sure!?! If you can build a better gambas than Benoit is doing, then please go right ahead. That's what the free software community is all about. Oh, and its also about crediting good work, like gambas. Don't insult people on a public list either. If you don't like it, just unsubscribe. Grow up a little, sonny! Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com TheLittleDot is a partnership of Ronan Chilvers and Giles Webberley This message has been digitally signed to verify sender identity ( GNUPG 1.2.4 : http://www.gnupg.org ) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Karl.Reinl at ...9... Fri Apr 9 23:07:55 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 9 Apr 2004 23:07:55 +0200 Subject: [Gambas-user] Re: TableView needs Resize Event, perhapes others Components also In-Reply-To: <200404052246.19276.Karl.Reinl@...9...> References: <200404052246.19276.Karl.Reinl@...9...> Message-ID: <200404092307.55865.Karl.Reinl@...9...> On Monday 05 April 2004 22:46, Charlie Reinl wrote: > PS: Benoit, > If you place on Frequest.form a component like here TableView1 > (snapshot21.jpg) you'v get ?snapshot22.jpg ?an Error at a Line 1098 who > does not exist, Frequest.class has only 1081 Lines . Salut, your changes on gbx_exec_enum.c solved that. Thanks But I had to use a backup of that FRequest.form, with the original FRequest.form I run into problems. Amicalement Charlie From jscops at ...11... Sat Apr 10 10:30:40 2004 From: jscops at ...11... (Jack) Date: Sat, 10 Apr 2004 08:30:40 +0000 Subject: [Gambas-user] Date format In-Reply-To: <200404092331.18428.ronstk@...239...> References: <200404092319.56793.jscops@...11...> <200404092331.18428.ronstk@...239...> Message-ID: <200404100830.40356.jscops@...11...> Le Vendredi 9 Avril 2004 21:31, ron a ?crit : > PUBLIC FUNCTION Cdate_calc(Dte AS String) AS String > dim ndate as date > ndate=cdate(Dte) > Datej.text = "" > RETURN ndate > > CATCH > message.Error("Verifiez votre saisie SVP !") > > END > Thank you Ron, I better understand now how work a function. ?~ Jack ~? From ronstk at ...239... Sat Apr 10 10:01:31 2004 From: ronstk at ...239... (ron) Date: Sat, 10 Apr 2004 10:01:31 +0200 Subject: [Gambas-user] PRB: The EnsureVisible need a quote?? In-Reply-To: <200404092206.25433.gambas@...1...> References: <200404081924.50054.ronstk@...239...> <200404092206.25433.gambas@...1...> Message-ID: <200404101001.31714.ronstk@...239...> On Friday 09 April 2004 22:06, Benoit Minisini wrote: > On Thursday 08 April 2004 19:24, ron wrote: > > In my project View is ColumnView > > > > IF NOT view.Exist(mkey) THEN > > View.Add(mkey, mTxt) > > View[mkey].EnsureVisible'? <----------- Error without the quote > > ENDIF > > > > IF NOT view.exist(skey) THEN > > View.Add(skey,sTxt , pPict, mkey) > > View[skey].EnsureVisible <----- no problem > > ENDIF > > > > IF NOT view.exist(eKey) THEN > > View.Add(ekey ,eTxt , pPict, skey) > > view[ekey].EnsureVisible' <----------- Error without the quote > > ENDIF > > > > > > .EnsureVisible gives error > > .EnsureVisible ' gives error with space > > .EnsureVisible' is ok for the first and third one > > > > the second does not care about it > > The View.Add() is done by both and items exist. > > Goes wrong during the compile > > > > Any one a idea what can be wrong? > > > > Ron > > No. Could you send me the project that raises the error ? Not yet, the project is in the remainder part a mess. It is a add-in for gambas and is a project browser and is not a stand alone. In this add-in the whole project is in a tree like the help browser and give the syntax hint for using the functions,events and properties in other class files. May be it the problem disappear, I hope, it is the strange thing the middle goes OK and the two other fail that worries me. No logic in it Ron From Karl.Reinl at ...9... Sat Apr 10 16:34:25 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 10 Apr 2004 16:34:25 +0200 Subject: [Gambas-user] NOT A BUG but Something not very nice Message-ID: <200404101634.25847.Karl.Reinl@...9...> Salut, if you set a Breakpoint, and later you Comment this line the Breakpoint still stays on this line. The Break is made at the next 'rteal' line (thats OK). But you can only switch the Breakpoint from that line if you Uncomment the line. Amicalement Charlie From Karl.Reinl at ...9... Sat Apr 10 16:59:10 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 10 Apr 2004 16:59:10 +0200 Subject: [Gambas-user] .lock File not left Message-ID: <200404101659.10585.Karl.Reinl@...9...> Salut , thats not commen but you can do it. Start in gambas the IDE - project (../app/gambas ) Press F5 open a Project Then leave all by using the Stop-Button from the Debug-Window. The .lock stays still in the Directory. Amicalement Charlie From Karl.Reinl at ...9... Sat Apr 10 20:08:20 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 10 Apr 2004 20:08:20 +0200 Subject: [Gambas-user] Thanks to all you gambas Developers Message-ID: <200404102008.20917.Karl.Reinl@...9...> Salut, first of all, I will thank you for you project and all the work you'v done to make it run as well, as it does today. Sometimes if I send my emails to you, because I found something buggy, not right or strange. I also know that it was realy often an exeption ( like working the same project on two IDE's, copy and past during debugging etc.) But I think for usability of an RAD-Tool on Linux, you do NOT have the excuse, VB has, that you run on Windows. So I try to do things, I never dit before in my normal life as programmer, where my main occupation is the project, I work on, has as less as possible of bugs. But I not often had a look to usability or strange kind of using that programm. That allways cames up by a user. Well writen code, is good, but satified users is gold! From Karl.Reinl at ...9... Sat Apr 10 21:11:50 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 10 Apr 2004 21:11:50 +0200 Subject: [Gambas-user] How to load a Component with Component.Load Message-ID: <200404102111.50445.Karl.Reinl@...9...> Salut, I don't want to use the /ProjectProberties/Componens dialog, how can I load gb.qt and gb.qt.ext ? Not found in Help, or what I found don't work. Amicalement Charlie From ronstk at ...239... Sun Apr 11 08:31:57 2004 From: ronstk at ...239... (ron) Date: Sun, 11 Apr 2004 08:31:57 +0200 Subject: [Gambas-user] Re: [gu] Thanks to all you gambas Developers. In-Reply-To: <200404102008.20917.Karl.Reinl@...9...> References: <200404102008.20917.Karl.Reinl@...9...> Message-ID: <200404110831.57231.ronstk@...239...> On Sunday 11 April 2004 05:29, Charlie Reinl wrote: > Salut, snip > The conclustion was something like that: > 'Linux developers has only other Linux developers as clients. And the > information interchange via internet was from developer to developer. > They speak one language, they think in the same way.' > > But nomal users do not so, he has not contact via internet to the > developer, and he don't think like a developer, and if he explaine his > problem he says things a developer don't understand (last happend for me > last frieday). It is a pity this happens, developers has been also normal users, they should know about this but do have no respect to normal users in general if they release to the general public (normal users). > > And I think also gambas user are not developeres even if they develop, and > looking further, if gambas is going to become the 'VB from Linux', gambas > users will become more and more 'normal users'. For sure. I use it as normal user and wish not the complex developer environment and accept it will be not so advanced and speedy in the result but is working. > > So pardon me for reported 'bugs'. But be shure if I find I will carry them > to you. as user: Happy there is a hunter to find them as pre-developer: We need it to help us making it better. > > My next thing is to have a look to the gambas help, where I know that there > is a lot of work. I will do it by writing projects without the IDE or by > not using the possibilitys proposed. For this you can use the wiki pages (only) for help. Will be a hard job too. (Rob: I try to add but get RCS not working on local storage atm.) > > You will see ! > > Amicalement > Charlie > Charlie: For this I stand 100% behind you opinion. My only restriction is, this is not for gambas specific but the (*nix/M$) programmers world in general. For GPL "If you do not like it you are free to change it" is nice but for the average user almost impossible. That is what developers forget, the average user does not understand the developers garbage in the source code. Why lines are commented out. Is it they are wrong and resulting in failures or is it something for future enhancement. Or a remark how to use a function they program so badley that the do not understand it anymore and need a peek of it at that place? It is simple users versus developers. They need to understand each other but can't. The developers should start to change. They have been users in the past. The normal users can't because they are at most pre-developer and have no developer experience at all, or gambas here. Untill this changes it will be two different worlds, fighting each other and is not related any platform or programming language. Only god know how many times I write stuff like this and put it in trash. Pressing Send before I do it now again. Ron From ronstk at ...239... Sun Apr 11 10:40:12 2004 From: ronstk at ...239... (ron) Date: Sun, 11 Apr 2004 10:40:12 +0200 Subject: [Gambas-user] Of Topic: Kmail filter problem Message-ID: <200404111040.12043.ronstk@...239...> I wish to set in Kmail a filter to shorten [gambas-user] My gambas question to [gu] My gambas question in the subject line. Filter 'Replace' [gambas-user] 'to' [gu] Select all mails and CTRL-J to execute the filter Now my whole mail list is garbage. In the filter builder I told it right and what happens.? [[gu][gu][gu][gu][gu][gu][gu][gu][gu][gu][gu]] My [gu][gu][gu][gu][gu][gu] q[gu][gu][gu]tion F... KDE developers. A normal user do not expect it is a regular expression, I didn't. The replace in Kate or Kedit or Kword don't do this. Even the rename in konqueror of a filename don't work this way. How do i tell it the right way. I try to RTFM but there is none in KDE about this (or Kmail specific, it is using it). Poor normal user and me. No undo. Charlie is really RIGHT about this. Typical developer mind. They think even in a bar this way when they order a 'beer' as \#'/start/1*b/2*e/1*r/end\$' ? Is it so difficult to check for regexp in replace field and if not then do plain replace? It should start with the special syntax if it is a regexp? (lucky me, I forgot to select all mails) Ron From ronstk at ...239... Sun Apr 11 10:53:18 2004 From: ronstk at ...239... (ron) Date: Sun, 11 Apr 2004 10:53:18 +0200 Subject: [Gambas-user] Of Topic: Kmail filter problem 2 Message-ID: <200404111053.18769.ronstk@...239...> PS I found Kregexpeditor, what a name, KRegExp-Editor should be mutch better. Any way it has a link to some help. But in the help interface I can't find where it is. The program is also not there. Program is only in the SuSE menu(?) Not in KDE own menu. F..SuSE Did you say developers Charlie? Here a good example of there dirty mind. Ok Example 2.1. Searching for normal text. (what i want) select in the help the text to paste it here. RightMousButton. No Copy... Then the Menu bar. Only 'Select All' and no 'Copy' Selecting again and try to drag. Select is undone with left button, right does nothing. O I have middle one, also nothing. no dragand or drop. This is from KDE help Example 2.1. Searching for normal text. If you just want to search for a given text, then regular expression is definitely not a good choice. The reason for this is that regular expressions assign special meaning to some characters. This includes the following characters: .*|$. Thus if you want to search for the text kde. (i.e. the characters kde followed by a period), then you would need to specify this as kde\.[1] Writing \. rather than just . is called escaping. I typed over by hand Arggg. Did you say developers Charlie? Here a again example of there dirty mind. Why do they used it then in Filter if 'is not a good choise' *&#%$^ (sensored) this stupid things make me crazy and hate kde and like win Maybe not so powerfull but is does here what you expect. Did you say developers Charlie? Here a again example of there dirty mind. The other given examples ? Did you say developers ................. I must stop. How do I select '[gambas-user] ' to replaced by '[gu] ' in the subject line ? The methods are simply overblown for simple mind of simple users. Me. Did you ................. Ron From ronstk at ...239... Sun Apr 11 11:31:42 2004 From: ronstk at ...239... (ron) Date: Sun, 11 Apr 2004 11:31:42 +0200 Subject: [Gambas-user] PRB: GambasEditor artifacts? Message-ID: <200404111131.42330.ronstk@...239...> I do GambasEditor1.text="No Info" I see still old text in it. Only the first line is changed Is the .Text for the current line only or all text? I use the GambasEditor to show the text I put in a label by copy this to GambasEditor for the HightLight of code. If it must be the whole text then artifacts of old text are not removed. Is this a bug? When I use GambasEditor1.Clear first it is OK. I see this repaint problem in the IDE editor comming back more in .92 then before. Ron From gambas at ...1... Sun Apr 11 19:27:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 11 Apr 2004 19:27:05 +0200 Subject: [Gambas-user] How to load a Component with Component.Load In-Reply-To: <200404102111.50445.Karl.Reinl@...9...> References: <200404102111.50445.Karl.Reinl@...9...> Message-ID: <200404111927.05480.gambas@...1...> On Saturday 10 April 2004 21:11, Charlie Reinl wrote: > Salut, > > I don't want to use the /ProjectProberties/Componens dialog, how can I load > gb.qt and gb.qt.ext ? > > Not found in Help, or what I found don't work. > > Amicalement > Charlie > Did you try Component.Load("gb.qt") ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Apr 11 19:32:40 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 11 Apr 2004 19:32:40 +0200 Subject: [Gambas-user] PRB: GambasEditor artifacts? In-Reply-To: <200404111131.42330.ronstk@...239...> References: <200404111131.42330.ronstk@...239...> Message-ID: <200404111932.40305.gambas@...1...> On Sunday 11 April 2004 11:31, ron wrote: > I do GambasEditor1.text="No Info" > I see still old text in it. Only the first line is changed > Is the .Text for the current line only or all text? > I use the GambasEditor to show the text I put in a label > by copy this to GambasEditor for the HightLight of code. > If it must be the whole text then artifacts of old text are not removed. > Is this a bug? > > When I use GambasEditor1.Clear first it is OK. > I see this repaint problem in the IDE editor comming back > more in .92 then before. > > Ron > Don't panic. This is just a redraw bug. You must know that I rewrote a big part of the gambas editor code since 0.90, by using a Qt 3 base widget instead of an old Qt 2 one completely different. So the bugs! Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Sun Apr 11 22:52:48 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 11 Apr 2004 22:52:48 +0200 Subject: [Gambas-user] INHERITS ????? Message-ID: <200404112252.48741.Karl.Reinl@...9...> Salut, saw in the mailinglist INHERITS . Want make 'INHERITS TableView' If I do so in a new Class called XTableView --- XTableView.class ---------------- beginning ' Gambas class file INHERITS TableView PUBLIC Name AS String PUBLIC SUB _new(sName AS String) Name = sName END --- XTableView.class ---------------- ending And call in FMain.class PRIVATE TableView2 AS Object ... PUBLIC SUB Form_Open() TableView2 = NEW XTableView(FMain) AS "TableView2" ... ... END I get a MsgBox 'Not enough arguments' What shall I do ? Amicalement Charlie From Karl.Reinl at ...9... Sun Apr 11 22:43:16 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 11 Apr 2004 22:43:16 +0200 Subject: [Gambas-user] How to load a Component with Component.Load Message-ID: <200404112243.16942.Karl.Reinl@...9...> Salut, Did you try Component.Load("gb.qt") ? Like you can see on snpshot23.jpg , I tried to do so. But AS WHAT ? I tried : AS myOne, AS Components, AS Component ,AS NEW Components ,AS NEW myOne ,AS NEW Component allways the MsgBox said 'Missing AAS at line 3 in FMain.class' So how is the syntax for ' Component.Load("gb.qt") ' ? Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot23.jpg Type: image/jpeg Size: 34176 bytes Desc: not available URL: From gambas at ...1... Sun Apr 11 23:06:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 11 Apr 2004 23:06:29 +0200 Subject: [Gambas-user] How to load a Component with Component.Load In-Reply-To: <200404112243.16942.Karl.Reinl@...9...> References: <200404112243.16942.Karl.Reinl@...9...> Message-ID: <200404112306.29009.gambas@...1...> On Sunday 11 April 2004 22:43, Charlie Reinl wrote: > Salut, > > Did you try Component.Load("gb.qt") ? > > Like you can see on snpshot23.jpg , I tried to do so. > But AS WHAT ? > I tried : AS myOne, AS Components, AS Component ,AS NEW Components ,AS > NEW myOne ,AS NEW Component allways the MsgBox said 'Missing AAS at line > 3 in FMain.class' > > So how is the syntax for ' Component.Load("gb.qt") ' ? > > Amicalement > Charlie Component.Load() is a method of the Component class. It is not a declaration! You must insert it in your code, and the component will be loaded at the time the method is called. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Apr 11 23:13:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 11 Apr 2004 23:13:48 +0200 Subject: [Gambas-user] INHERITS ????? In-Reply-To: <200404112252.48741.Karl.Reinl@...9...> References: <200404112252.48741.Karl.Reinl@...9...> Message-ID: <200404112313.48346.gambas@...1...> On Sunday 11 April 2004 22:52, Charlie Reinl wrote: > Salut, > > saw in the mailinglist INHERITS . > > Want make 'INHERITS TableView' > > If I do so in a new Class called XTableView > --- XTableView.class ---------------- beginning > ' Gambas class file > INHERITS TableView > > PUBLIC Name AS String > PUBLIC SUB _new(sName AS String) > Name = sName > END > --- XTableView.class ---------------- ending > > And call in FMain.class > > PRIVATE TableView2 AS Object > ... > PUBLIC SUB Form_Open() > TableView2 = NEW XTableView(FMain) AS "TableView2" > ... > ... > END > > I get a MsgBox 'Not enough arguments' > > > What shall I do ? > > Amicalement > Charlie > Ha ha! I must continue to explain how works the undocumented inheritance :-) Contrary to all the object language I know, each class in the inheritance hierarchy consumes the parameters passed to the constructor. In your example, you have the following inheritance tree: XTableView ---> TableView ---> Control Control._new does not exist TableView._new takes one parameter: the parent control. XTableView._new takes one parameter: a name. So NEW XTableView must take TWO parameters. The first will be sent to XTableView._new(), the second to TableView._new(). But the TableView._new() will be called first. This way, you are sure that TableView control exists when you are in XTableView._new(). So you must do TableView2 = NEW XTableView("MyName", FMain) AS "TableView2" I think I don't make a mistake in the parameters order. Tell me if I'm right :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Apr 11 23:17:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 11 Apr 2004 23:17:22 +0200 Subject: [Gambas-user] NOT A BUG but Something not very nice In-Reply-To: <200404101634.25847.Karl.Reinl@...9...> References: <200404101634.25847.Karl.Reinl@...9...> Message-ID: <200404112317.22111.gambas@...1...> On Saturday 10 April 2004 16:34, Charlie Reinl wrote: > Salut, > > if you set a Breakpoint, and later you Comment this line the Breakpoint > still stays on this line. > > The Break is made at the next 'rteal' line (thats OK). > > But you can only switch the Breakpoint from that line if you Uncomment the > line. > > Amicalement > Charlie > OK. Now you can always remove a breakpoint, and moreover, you can't set a breakpoint on class declarations anymore. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Sun Apr 11 23:32:47 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 11 Apr 2004 23:32:47 +0200 Subject: [Gambas-user] gambas Startup Class or Form Message-ID: <200404112332.47003.Karl.Reinl@...9...> Salut, just happend: to provied you an example, I created a new project = project1 I copied FMain.class and FMain.form into that project folder and restated gambas. I see my in my 'project1' FMain.class and FMain.form. If I press F5 a MsgBox tells me 'You must define a startup class or form' ???? WHERE Amicalement Charlie From Karl.Reinl at ...9... Sun Apr 11 23:44:12 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 11 Apr 2004 23:44:12 +0200 Subject: [Gambas-user] How to load a Component with Component.Load (example) Message-ID: <200404112344.12323.Karl.Reinl@...9...> Salut, the attached project1-0.0.tar.gz works well if you declare at /ProjectProberties/Componens dialog gb.qt and gb.qt.ext. But Where is to place this two lines, if I don't want declare then in /ProjectProberties/Componens dialog ? Component.Load( "gb.qt") Component.Load( "gb.qt.ext") I tried it in FMain.class Run() and Form_Open() and got differend Errors. Amicalement charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: project1-0.0.tar.gz Type: application/x-tgz Size: 892 bytes Desc: not available URL: From gambas at ...1... Mon Apr 12 00:09:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 12 Apr 2004 00:09:53 +0200 Subject: [Gambas-user] gambas Startup Class or Form In-Reply-To: <200404112332.47003.Karl.Reinl@...9...> References: <200404112332.47003.Karl.Reinl@...9...> Message-ID: <200404120009.53632.gambas@...1...> On Sunday 11 April 2004 23:32, Charlie Reinl wrote: > Salut, > > just happend: > > to provied you an example, I created a new project = project1 > I copied FMain.class and FMain.form into that project folder and restated > gambas. > I see my in my 'project1' FMain.class and FMain.form. > If I press F5 a MsgBox tells me 'You must define a startup class or form' > > ???? WHERE > > Amicalement > Charlie > Click with the right mouse button on FMain.class in the treeview and select the "startup class" entry (in english). -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Apr 12 00:10:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 12 Apr 2004 00:10:11 +0200 Subject: [Gambas-user] How to load a Component with Component.Load (example) In-Reply-To: <200404112344.12323.Karl.Reinl@...9...> References: <200404112344.12323.Karl.Reinl@...9...> Message-ID: <200404120010.11632.gambas@...1...> On Sunday 11 April 2004 23:44, Charlie Reinl wrote: > Salut, > > the attached project1-0.0.tar.gz works well if you declare > at /ProjectProberties/Componens dialog gb.qt and gb.qt.ext. > > But Where is to place this two lines, if I don't want declare then > in /ProjectProberties/Componens dialog ? > Component.Load( "gb.qt") > Component.Load( "gb.qt.ext") > > I tried it in FMain.class Run() and Form_Open() and got differend Errors. > > Amicalement > charlie Which errors ? -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Mon Apr 12 00:07:33 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 12 Apr 2004 00:07:33 00200 Subject: [Gambas-user] NOT A BUG but Something not very nice Message-ID: <4079c1a5.1f99.0@...9...> >On Saturday 10 April 2004 16:34, Charlie Reinl wrote: >> Salut, >> >> if you set a Breakpoint, and later you Comment this line the Breakpoint >> still stays on this line. >> >> The Break is made at the next 'rteal' line (thats OK). >> >> But you can only switch the Breakpoint from that line if you Uncomment the >> line. >> >> Amicalement >> Charlie >> > >OK. Now you can always remove a breakpoint, and moreover, you can't set a >breakpoint on class declarations anymore. > >Regards, > >-- >Benoit Minisini Salut Benoit I wil test it in the next version. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...9... Mon Apr 12 00:13:14 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 12 Apr 2004 00:13:14 00200 Subject: [Gambas-user] gambas Startup Class or Form Message-ID: <4079c2fa.2200.0@...9...> >On Sunday 11 April 2004 23:32, Charlie Reinl wrote: >> Salut, >> >> just happend: >> >> to provied you an example, I created a new project = project1 >> I copied FMain.class and FMain.form into that project folder and restated >> gambas. >> I see my in my 'project1' FMain.class and FMain.form. >> If I press F5 a MsgBox tells me 'You must define a startup class or form' >> >> ???? WHERE >> >> Amicalement >> Charlie >> > >Click with the right mouse button on FMain.class in the treeview and select >the "startup class" entry (in english). > >-- >Benoit Minisini >mailto:gambas at ...1... Salut Benoit, YES so it is, I searched in /ProjectProberties ... Sorry Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From nferraz at ...184... Mon Apr 12 00:31:41 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 11 Apr 2004 19:31:41 -0300 Subject: [Gambas-user] How to use the WITH / END WITH safe In-Reply-To: <200404082320.35164.gambas@...1...> References: <200404081407.13329.ronstk@...239...> <200404082320.35164.gambas@...1...> Message-ID: <4079C74D.6020808@...184...> Benoit Minisini wrote: > Don't worry Ron, Gambas is not VB :-) Everything is freed correctly. > If something is not freed correctly, then you will have a message in the > console at program exit that tells you: > > WARNING: X allocation(s) non freed. > > Then that means there is a memory leak somewhere. This is a bug, and you can > call me :-) Perhaps Gambas could use a form to automatically submit these reports? (Otherwise, it could pass without notice...) -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From Karl.Reinl at ...9... Mon Apr 12 00:25:02 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 12 Apr 2004 00:25:02 +0200 Subject: [Gambas-user] How to load a Component with Component.Load (example) Message-ID: <200404120025.02240.Karl.Reinl@...9...> On Sunday 11 April 2004 23:44, Charlie Reinl wrote: > Salut, > > the attached project1-0.0.tar.gz works well if you declare > at /ProjectProberties/Componens dialog gb.qt and gb.qt.ext. > > But Where is to place this two lines, if I don't want declare then > in /ProjectProberties/Componens dialog ? > Component.Load( "gb.qt") > Component.Load( "gb.qt.ext") > > I tried it in FMain.class Run() and Form_Open() and got differend Errors. > > Amicalement > charlie Which errors ? -- Benoit Minisini Salut Benoit, I wasn't exect, there where two errors, see the attachments. And there where no matter of where the statments where placed. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot24.jpg Type: image/jpeg Size: 74608 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot25.jpg Type: image/jpeg Size: 75033 bytes Desc: not available URL: From nferraz at ...184... Mon Apr 12 01:05:17 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 11 Apr 2004 20:05:17 -0300 Subject: [Gambas-user] Useless In-Reply-To: <200404091912.40326.ronsholi@...406...> References: <200404091912.40326.ronsholi@...406...> Message-ID: <4079CF2D.1010005@...184...> Adi Ron wrote: > The human kind makes me sick. > I don't need to listen to some bunch of elders answering trivial questions. > > Yeah right, do something about it. > > Especially you, italiano. Before asking a question in the mailing list, try to find the answer by yourself - RTFM. If you don't understand that, a good place to start is Eric Raymond's "How To Ask Questions The Smart Way": http://www.catb.org/~esr/faqs/smart-questions.html -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From rizky at ...225... Mon Apr 12 05:38:27 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 12 Apr 2004 10:38:27 +0700 Subject: [Gambas-user] Code completion In-Reply-To: <200404080818.33110.ronstk@...239...> References: <6.0.0.22.2.20040407122746.01d4dac0@...329...> <200404070902.20601.ronstk@...239...> <6.0.0.22.2.20040408094245.01d35aa8@...329...> <200404080818.33110.ronstk@...239...> Message-ID: <6.0.0.22.2.20040412103745.01d22d28@...329...> At 13:18 08/04/2004, you wrote: >On Thursday 08 April 2004 04:46, Rizky Tahara Shita wrote: > > > > tahara! > > > > > >Ooooh Yeah. Would be really nice. > > > > > >But take a look in the Hall of Fame. :D > > > > well, at least i already post my suggestion, anyway quanta has ctrl+space > > to show the completion list.. > > btw, it's not a mater if you resist to make the IDE like VB, as long as the > > IDE work handy it will be fine for me.. > > because when typing code, every programmer want that all are in the > > keyboard. just like the other IDE (not just vb here...) that always have a > > feature to have a handy programming... that's all... > > > > >Ron >... > > tahara > >Did you like the two combo boxes in the editor with the procedure >entry points? I have it and this works also handy yes ofcourse, but i don't know if benoit already take your code or not... :( >For your keyboard hint I will take a look to get a keyshortcut to it. > >Ron > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user Regards, tahara! From rizky at ...225... Mon Apr 12 05:42:12 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 12 Apr 2004 10:42:12 +0700 Subject: [Gambas-user] font size in TolTip In-Reply-To: <002201c41dfd$8569eea0$0200a8c0@...391...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> Message-ID: <6.0.0.22.2.20040412104119.01ccfed0@...329...> At 13:40 09/04/2004, you wrote: >Hi, > >how get i increase the fontsize in the TolTip section for exsample of an >button.toltip may be benoit hasn't make the options for this.. just like the icons in the toolbox that i ever posted.. > >frank > Regards, tahara! From rizky at ...225... Mon Apr 12 05:45:51 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 12 Apr 2004 10:45:51 +0700 Subject: [Gambas-user] autocomplete Message-ID: <6.0.0.22.2.20040412104425.01d46300@...329...> hi, i have several questions about gambas; 1. i have a combobox and a text property that have value "tahara". i want when the form loads or got focused, the "har" characters (part of that combobox.text value) automaticly selected. how do i do that in gambas ? i don't have a .selstart or sellength to doit.. :( 2. why label objects cannot have the underline for the shortcut key (by using the '&' before the word that will be used for the shortcut) ? for example, i have label1 and textbox1; then i have label2 and textbox2; and i have label3 and textbox3 on a form. if the label objects can have the underline, when the program runs, it will be easier to move the cursor to the selected textboxes with the shortcut. but, if i have a frame that have the shortcut with the '&' and a textbox in it, and when i run the program and press the frame shortcut, the cursor will move the the textbox... i always do this in VB, so without any coding, i can focus on a textboxes with the label's shortcut key that i already defined. may be vb lost focus the labels and move the focus to the next tabindex. i don't know now if gambas already has a tabindex or not.. and for my problem, what's the solution? should i have code something for that ? 3. in gambas 0.92, i cannot use CTRL + W to show the form when i'm coding... :( Regards, tahara! From ronstk at ...239... Mon Apr 12 06:59:33 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 06:59:33 +0200 Subject: [Gambas-user] font size in TolTip In-Reply-To: <6.0.0.22.2.20040412104119.01ccfed0@...329...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> <6.0.0.22.2.20040412104119.01ccfed0@...329...> Message-ID: <200404120659.33880.ronstk@...239...> On Monday 12 April 2004 05:42, Rizky Tahara Shita wrote: > At 13:40 09/04/2004, you wrote: > >Hi, > > > >how get i increase the fontsize in the TolTip section for exsample of an > >button.toltip > > may be benoit hasn't make the options for this.. > just like the icons in the toolbox that i ever posted.. > > >frank > > Regards, > > > tahara! Tahara, when I read your comment it seems to me you think the icons are not implemented. As far I remember it was about the size of them and you made a bunch of them for common sizes as contribution. Go to Tools->Preferences tab->Others. (v0.90 and up) Here I can set the size for the Icons and I thank you for the idea. May be Benoit did not use the icon sets but makes them sizable Now I can choose the 24x24 size I like more. Only he should switch of the standard open of the toolbox and property sheet on start of gambas. 95% of the time is writing code and not form design. From rizky at ...225... Mon Apr 12 07:28:43 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 12 Apr 2004 12:28:43 +0700 Subject: [Gambas-user] font size in TolTip In-Reply-To: <200404120659.33880.ronstk@...239...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> <6.0.0.22.2.20040412104119.01ccfed0@...329...> <200404120659.33880.ronstk@...239...> Message-ID: <6.0.0.22.2.20040412122321.01d53b50@...329...> At 11:59 12/04/2004, you wrote: >On Monday 12 April 2004 05:42, Rizky Tahara Shita wrote: > > At 13:40 09/04/2004, you wrote: > > >Hi, > > > > > >how get i increase the fontsize in the TolTip section for exsample of an > > >button.toltip > > > > may be benoit hasn't make the options for this.. > > just like the icons in the toolbox that i ever posted.. > > > > >frank > > > > Regards, > > > > > > tahara! > >Tahara, when I read your comment it seems to me you think >the icons are not implemented. no... i just ment that i ever posted something similiar.. and i already know that the icons size already have an options for it at the next version of gambas after my post.. >As far I remember it was about the size of them and you made a bunch >of them for common sizes as contribution. >Go to Tools->Preferences tab->Others. (v0.90 and up) >Here I can set the size for the Icons and I thank you for the idea. >May be Benoit did not use the icon sets but makes them sizable >Now I can choose the 24x24 size I like more. > >Only he should switch of the standard open of the >toolbox and property sheet on start of gambas. >95% of the time is writing code and not form design. hey hey... i think that you have missunderstanding here, the questions is : > > >how get i increase the fontsize in the TolTip section for exsample of an > > >button.toltip so, may be benoit got to add more options for the fontsize tooltips just like the icons options.. cause in my box the tooltips are also too small to see.. (using 1024x768 screen size) Regards, tahara! From ronstk at ...239... Mon Apr 12 08:10:05 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 08:10:05 +0200 Subject: [Gambas-user] font size in TolTip In-Reply-To: <6.0.0.22.2.20040412122321.01d53b50@...329...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> <200404120659.33880.ronstk@...239...> <6.0.0.22.2.20040412122321.01d53b50@...329...> Message-ID: <200404120810.05329.ronstk@...239...> On Monday 12 April 2004 07:28, Rizky Tahara Shita wrote: > At 11:59 12/04/2004, you wrote: > >On Monday 12 April 2004 05:42, Rizky Tahara Shita wrote: > > > At 13:40 09/04/2004, you wrote: > > > >Hi, > > > > > > > >how get i increase the fontsize in the TolTip section for exsample of > > > > an button.toltip > > > > > > may be benoit hasn't make the options for this.. > > > just like the icons in the toolbox that i ever posted.. > > > > > > >frank > > > > > > Regards, > > > > > > > > > tahara! > > > > > >Only he should switch of the standard open of the > >toolbox and property sheet on start of gambas. > >95% of the time is writing code and not form design. > > hey hey... i think that you have missunderstanding here, the questions is : > > > >how get i increase the fontsize in the TolTip section for exsample of > > > > an button.toltip > Yes I know, sorry but I asked for the TB & PS and have no luck yet. > so, may be benoit got to add more options for the fontsize tooltips just > like the icons options.. > cause in my box the tooltips are also too small to see.. (using 1024x768 > screen size) > Can you imagine, I'm using 1280x1024, need really spectacles in gambas Tooltips in/from KDE are ok. > > > Regards, > > > tahara! Ron From ronstk at ...239... Mon Apr 12 08:34:28 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 08:34:28 +0200 Subject: [Gambas-user] autocomplete In-Reply-To: <6.0.0.22.2.20040412104425.01d46300@...329...> References: <6.0.0.22.2.20040412104425.01d46300@...329...> Message-ID: <200404120834.28101.ronstk@...239...> On Monday 12 April 2004 05:45, Rizky Tahara Shita wrote: > hi, > i have several questions about gambas; > 1. i have a combobox and a text property that have value "tahara". > i want when the form loads or got focused, the "har" characters (part of > that combobox.text value) automaticly selected. > how do i do that in gambas ? i don't have a .selstart or sellength to > doit.. :( > > 2. why label objects cannot have the underline for the shortcut key (by > using the '&' before the word that will be used for the shortcut) ? > for example, i have label1 and textbox1; then i have label2 and textbox2; > and i have label3 and textbox3 on a form. if the label objects can have the > underline, when the program runs, > it will be easier to move the cursor to the selected textboxes with the > shortcut. > but, if i have a frame that have the shortcut with the '&' and a textbox in > it, and when i run the program and press the frame shortcut, the cursor > will move the the textbox... > > i always do this in VB, so without any coding, i can focus on a textboxes > with the label's shortcut key that i already defined. > may be vb lost focus the labels and move the focus to the next tabindex. i > don't know now if gambas already has a tabindex or not.. > and for my problem, what's the solution? should i have code something for > that ? > > 3. in gambas 0.92, i cannot use CTRL + W to show the form when i'm > coding... :( > > > Regards, > > > tahara! 2b) In VB the label is a child of the textbox control. Ask for textbox1.controls(0).text and you get the caption of the label. In gambas the labels are really separate of the textbox. You hav to add them yourself. The only exception are the Checkbox and RadioButton but be carefull in VB the whole area of the CheckBox/RadioButton raise the click event. Set the border to plain, you see this area. i.e. a checkbox with 1 letter as caption but a width for 40 characters. Clicking in the blank space raise the event in VB. The QT/Gambas version raises it only on the Box/Option part and the caption text. Not the blank space after this single character. Small margin of one character exist after this 1 character. Maybe a textbox as TextBox1Label without border and a public sub TextBox1Label_Enter() event code with TextBox1.SetFocus end Ron From ronstk at ...239... Mon Apr 12 08:45:43 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 08:45:43 +0200 Subject: [Gambas-user] Code completion In-Reply-To: <6.0.0.22.2.20040412103745.01d22d28@...329...> References: <6.0.0.22.2.20040407122746.01d4dac0@...329...> <200404080818.33110.ronstk@...239...> <6.0.0.22.2.20040412103745.01d22d28@...329...> Message-ID: <200404120845.44207.ronstk@...239...> On Monday 12 April 2004 05:38, Rizky Tahara Shita wrote: snip > >Did you like the two combo boxes in the editor with the procedure > >entry points? I have it and this works also handy > > yes ofcourse, but i don't know if benoit already take your code or not... > :( > > >For your keyboard hint I will take a look to get a keyshortcut to it. > > > >Ron He did not asked for it, I will send it and wait what he decides. :-) About the keyboard hint. I can set the focus but to browse in the list I have to intercept the current keyboard detection for specail key's Adding some extra links to service routins to walk the comboboxes. Alt-ArrowLeft and Alt-ArrowRight for the focus. Alt-ArrowUp and Alt-ArrowDown to walk in the list Enter to go to the selected point. If they are free of course. I'll see. Ron From amelgar at ...207... Mon Apr 12 10:54:28 2004 From: amelgar at ...207... (Alberto Melgar) Date: Mon, 12 Apr 2004 10:54:28 +0200 Subject: [Gambas-user] hello world, wikipedia and gambas :) Message-ID: <407A5944.5050501@...207...> Maybe someone slould put gambas there ? :)) http://en.wikipedia.org/wiki/Hello_world_program#BASIC From frankberg at ...390... Mon Apr 12 12:42:55 2004 From: frankberg at ...390... (Frank Berg) Date: Mon, 12 Apr 2004 12:42:55 +0200 Subject: [Gambas-user] font size in TolTip References: <002201c41dfd$8569eea0$0200a8c0@...391...> <200404120659.33880.ronstk@...239...> <6.0.0.22.2.20040412122321.01d53b50@...329...> <200404120810.05329.ronstk@...239...> Message-ID: <001301c4207a$ea9af7e0$0200a8c0@...391...> > > Can you imagine, I'm using 1280x1024, need really spectacles in gambas > Tooltips in/from KDE are ok. > hi i use 1280x1024 too, but in my suse 9.0 the tooltip are in 9 pixel heigth.. so, therfor i ask how can i ask/set the font size for the tooltip.text frank From ronstk at ...239... Mon Apr 12 13:54:22 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 13:54:22 +0200 Subject: [Gambas-user] font size in TolTip In-Reply-To: <001301c4207a$ea9af7e0$0200a8c0@...391...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> <200404120810.05329.ronstk@...239...> <001301c4207a$ea9af7e0$0200a8c0@...391...> Message-ID: <200404121354.22140.ronstk@...239...> On Monday 12 April 2004 12:42, Frank Berg wrote: > > Can you imagine, I'm using 1280x1024, need really spectacles in gambas > > Tooltips in/from KDE are ok. > > hi > > i use 1280x1024 too, but in my suse 9.0 the tooltip are in 9 pixel heigth.. > so, therfor i ask how can i ask/set the font size for the tooltip.text > > frank > Current working with My monitor is a 18" LCD Philips Brilliance 180P (1280x1024) My Font Arial 8 pixel. I assume it here a cosmetic failure in gambas or the ToolButton from QT. The last one should be. By me the tooltips are also small and look as fixed font. The component buttons with 'Form' and 'QT' are to big compared to the title of the Toolbox and also look as fixed font. I had in the past also problems with the fonts and SuSE. KDE does not handle it well and QT is also changing the font's In KDE Appearance the all my fonts are 'Arial' and fixed='Fixed' Open the box to select another and both does not exist. and only 2 adobe fonts. 'Arial' is the font given in filemanager. Open there the font change box. 'Arial' exist 'Fixed' not. Many other of adobe appears also and 'arial'. Yes 2 different. Konqueror webbrowser fonts are again with different names. Start qtconfig and there are the fonts also different for count and names. As far I found till now is gambas using the QT widgets with the default settings set by qtconfig. Only no place to set which font for fixed. KDE is using his own font settings and if unknown using the QT defaults. As far I can see now. Gambas (benoit) has commented almost all font setting in his code or set the font property to a empty string so the default QT should work. I made once a mistake in the beginning to set them because I also could not get them the right way I wanted. When I close look to the tooltips at my box it shows as fixed. Change of the Fixed in KDE Appearance does nothing. qtconfig cant change it but get it from X I think. The 'Installed fonts' in KDE is also not clear and show different names for the same font as Appearance and QT does. I forget to say X is also involved which fonts you have. So this makes it all the biggest mess you can find in Linux for fonts. That is me to complex to figure out after all the troubles i had. And for sure to try it out to help you, sorry I do not want mess up. One Last note. My monitor is a 18" LCD Philips Brilliance 180P (1280x1024) I have this resolution 1280x1024 but my monitor stretch smaller sizes to full screen as 1280x1024. Then for playing I changed the display size on my monitor panel to native size and it was with big black borders. Then I search and I found Yast & Sax was setting the monitor size to the wrong size of 1024x768 at a hidden place and all the fonts where ugly. That was my problem. May be Benoit can do something with the fonts and place it in the config file. I think you have to set it else where and I can not tell you where it should be. qtconfig is maybe the best place to start playing. But restart you desktop after every change. Some works after apply an restart , some works after apply and some at instant when you change something. Simple its Linux Fonts Hell. Ron From gambas at ...1... Mon Apr 12 14:11:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 12 Apr 2004 14:11:32 +0200 Subject: [Gambas-user] font size in TolTip In-Reply-To: <002201c41dfd$8569eea0$0200a8c0@...391...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> Message-ID: <200404121411.33329.gambas@...1...> On Friday 09 April 2004 08:40, Frank Berg wrote: > Hi, > > how get i increase the fontsize in the TolTip section for exsample of an > button.toltip > > frank I'm currently modify the way Gambas handles font size. Now it will do that the way Gnome do, i.e., by using its own resolution, by the Font.Resolution property. The default font resolution will be 96 DPI. If you want to change it, you must do it at the very beginning of your program, before creating any widget. If the screen resolution is different from the font resolution, then Gambas will adapt. This way, a 10 point font will always display the same, whatever the screen resolution is. If you prefer, a 10 point font size will be in reality a multiple of a pixel size. The multiple depending on the value of Font.Resolution! Otherwise, I will eventually define a Application.ToolTip.Font property :-) -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Mon Apr 12 15:01:03 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 15:01:03 +0200 Subject: [Gambas-user] font size in TolTip In-Reply-To: <200404121411.33329.gambas@...1...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> <200404121411.33329.gambas@...1...> Message-ID: <200404121501.03366.ronstk@...239...> On Monday 12 April 2004 14:11, Benoit Minisini wrote: > On Friday 09 April 2004 08:40, Frank Berg wrote: > > Hi, > > > > how get i increase the fontsize in the TolTip section for exsample of an > > button.toltip > > > > frank > > I'm currently modify the way Gambas handles font size. Now it will do that > the way Gnome do, i.e., by using its own resolution, by the Font.Resolution > property. Sounds great. I hope it will help If you where a girl you get a big kiss of me :=) Ron From g.brandl at ...18... Mon Apr 12 15:24:06 2004 From: g.brandl at ...18... (Georg Brandl) Date: Mon, 12 Apr 2004 15:24:06 +0200 Subject: [Gambas-user] hello world, wikipedia and gambas :) In-Reply-To: <407A5944.5050501@...207...> References: <407A5944.5050501@...207...> Message-ID: <407A9876.6090101@...18...> Alberto Melgar schrieb: > Maybe someone slould put gambas there ? :)) > > http://en.wikipedia.org/wiki/Hello_world_program#BASIC [x] done Georg From abidoo.too at ...11... Mon Apr 12 18:38:25 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 12 Apr 2004 18:38:25 +0200 Subject: [Gambas-user] Code completion In-Reply-To: <6.0.0.22.2.20040412103745.01d22d28@...329...> References: <6.0.0.22.2.20040407122746.01d4dac0@...329...> <200404080818.33110.ronstk@...239...> <6.0.0.22.2.20040412103745.01d22d28@...329...> Message-ID: <200404121838.26214.abidoo.too@...11...> Le lundi 12 Avril 2004 05:38, Rizky Tahara Shita a ?crit : > At 13:18 08/04/2004, you wrote: > >On Thursday 08 April 2004 04:46, Rizky Tahara Shita wrote: > > > > > tahara! > > > > > > > >Ooooh Yeah. Would be really nice. > > > > > > > >But take a look in the Hall of Fame. :D > > > > > > well, at least i already post my suggestion, anyway quanta has > > > ctrl+space to show the completion list.. > > > btw, it's not a mater if you resist to make the IDE like VB, as long as > > > the IDE work handy it will be fine for me.. > > > because when typing code, every programmer want that all are in the > > > keyboard. just like the other IDE (not just vb here...) that always > > > have a feature to have a handy programming... that's all... > > > > > > >Ron > > > >... > > > > > tahara > > > >Did you like the two combo boxes in the editor with the procedure > >entry points? I have it and this works also handy hem... yerk ! You really like this ? I've mabe a better idea I'll explain this : When i work on editor, don't really wan't to use my mouse ! So mabe a system who work with middle button while be better. For exemple : Mouse middle give juste the goto menu And a Ctrl Menu key give the same thing And mabe a alt Menu key to have the current object possible events In the vb style case I must to take my mouse, and after select an object in the first combo, and next select an event. pffff Fabien > > yes ofcourse, but i don't know if benoit already take your code or not... > :( > > >For your keyboard hint I will take a look to get a keyshortcut to it. > > > >Ron > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > >GenToo technologies. Learn everything from fundamentals to system > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > Regards, > > > tahara! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Mon Apr 12 19:24:43 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 12 Apr 2004 19:24:43 +0200 Subject: [Gambas-user] hello world, wikipedia and gambas :) In-Reply-To: <407A9876.6090101@...18...> References: <407A5944.5050501@...207...> <407A9876.6090101@...18...> Message-ID: <200404121924.43847.abidoo.too@...11...> Le lundi 12 Avril 2004 15:24, Georg Brandl a ?crit : > Alberto Melgar schrieb: > > Maybe someone slould put gambas there ? :)) > > > > http://en.wikipedia.org/wiki/Hello_world_program#BASIC > > [x] done [x] done 2nd time ;) > Georg > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Mon Apr 12 19:28:34 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 12 Apr 2004 19:28:34 +0200 Subject: [Gambas-user] font size in TolTip In-Reply-To: <6.0.0.22.2.20040412122321.01d53b50@...329...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> <200404120659.33880.ronstk@...239...> <6.0.0.22.2.20040412122321.01d53b50@...329...> Message-ID: <200404121928.34507.abidoo.too@...11...> Le lundi 12 Avril 2004 07:28, Rizky Tahara Shita a ?crit : > At 11:59 12/04/2004, you wrote: > >On Monday 12 April 2004 05:42, Rizky Tahara Shita wrote: > > > At 13:40 09/04/2004, you wrote: > > > >Hi, > > > > > > > >how get i increase the fontsize in the TolTip section for exsample of > > > > an button.toltip > > > > > > may be benoit hasn't make the options for this.. > > > just like the icons in the toolbox that i ever posted.. > > > > > > >frank > > > > > > Regards, > > > > > > > > > tahara! > > > >Tahara, when I read your comment it seems to me you think > >the icons are not implemented. > > no... i just ment that i ever posted something similiar.. > and i already know that the icons size already have an options for it at > the next version of gambas after my post.. > > >As far I remember it was about the size of them and you made a bunch > >of them for common sizes as contribution. > >Go to Tools->Preferences tab->Others. (v0.90 and up) > >Here I can set the size for the Icons and I thank you for the idea. > >May be Benoit did not use the icon sets but makes them sizable > >Now I can choose the 24x24 size I like more. > > > >Only he should switch of the standard open of the > >toolbox and property sheet on start of gambas. > >95% of the time is writing code and not form design. > > hey hey... i think that you have missunderstanding here, the questions is : > > > >how get i increase the fontsize in the TolTip section for exsample of > > > > an button.toltip > > so, may be benoit got to add more options for the fontsize tooltips just > like the icons options.. > cause in my box the tooltips are also too small to see.. (using 1024x768 > screen size) woh!!! me too but you can chage your font size in kde ... no ? > > > Regards, > > > tahara! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Mon Apr 12 19:43:36 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 19:43:36 +0200 Subject: [Gambas-user] Code completion In-Reply-To: <200404121838.26214.abidoo.too@...11...> References: <6.0.0.22.2.20040407122746.01d4dac0@...329...> <6.0.0.22.2.20040412103745.01d22d28@...329...> <200404121838.26214.abidoo.too@...11...> Message-ID: <200404121943.36357.ronstk@...239...> On Monday 12 April 2004 18:38, Fabien Bodard wrote: > Le lundi 12 Avril 2004 05:38, Rizky Tahara Shita a ?crit : > > At 13:18 08/04/2004, you wrote: > > >On Thursday 08 April 2004 04:46, Rizky Tahara Shita wrote: > > > > > > tahara! > > > > > > > > > >Ooooh Yeah. Would be really nice. > > > > > > > > > >But take a look in the Hall of Fame. :D > > > > > > > > well, at least i already post my suggestion, anyway quanta has > > > > ctrl+space to show the completion list.. > > > > btw, it's not a mater if you resist to make the IDE like VB, as long > > > > as the IDE work handy it will be fine for me.. > > > > because when typing code, every programmer want that all are in the > > > > keyboard. just like the other IDE (not just vb here...) that always > > > > have a feature to have a handy programming... that's all... > > > > > > > > >Ron > > > > > >... > > > > > > > tahara > > > > > >Did you like the two combo boxes in the editor with the procedure > > >entry points? I have it and this works also handy > > hem... yerk ! i do see no one. > > You really like this ? Yes I like this. > I've mabe a better idea > > I'll explain this : > When i work on editor, don't really wan't to use my mouse ! make sense for some people and you are not the only one. > > So mabe a system who work with middle button while be better. > > For exemple : > Mouse middle give juste the goto menu I have only 2 buttons :+) > > And a Ctrl Menu key give the same thing > And mabe a alt Menu key to have the current object possible events This is not a bad idea > > In the vb style case I must to take my mouse, and after select an object in > the first combo, and next select an event. pffff Training of your mouse but the up and down arrow keys work here and the return or enter to Go :+) > > > Fabien If I use the rightmouse button now i got a list of 60 main entries in two columns I have 1280x1024 and small font in it. If I use the 10pixel font it is 3 columns Poor people with 1024x768 You can only to next column if the bar not is on a item with subitems To arrive quickly the mouse is better on the columns. For the combobox way select left i.e. a Tableview1, on the right side only the events for this are selectable. And very easy. A wheel mouse only above the combobox, no click but wheel select the events and the editor text goes to he start points. The keyboard cant not do it so quick There was a request for to keys to step from start to start of the procs. I did not understand it, I had it already, But do not be afraid. the whole option is under software build. a condition in gambas options for the people that want it or not is simple to implement. They are visible or not and when not the code does nothing. Ron From ronstk at ...239... Mon Apr 12 19:47:20 2004 From: ronstk at ...239... (ron) Date: Mon, 12 Apr 2004 19:47:20 +0200 Subject: [Gambas-user] font size in TolTip In-Reply-To: <200404121928.34507.abidoo.too@...11...> References: <002201c41dfd$8569eea0$0200a8c0@...391...> <6.0.0.22.2.20040412122321.01d53b50@...329...> <200404121928.34507.abidoo.too@...11...> Message-ID: <200404121947.20196.ronstk@...239...> On Monday 12 April 2004 19:28, Fabien Bodard wrote: > woh!!! ?me too but you can chage your font size in kde ... no ? That was the problem. 1 of them You must use qtconfig for best results. The kde works only if you add the kde component. That was what i found working. Ron From g.brandl at ...18... Tue Apr 13 00:30:42 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 13 Apr 2004 00:30:42 +0200 Subject: [Gambas-user] Deployment information? Message-ID: <407B1892.6010105@...18...> Hello, I looked around a bit and noticed that nowhere on the Gambas website (if I didn't overlook it -- could be too) is there any information about how to deploy gambas programs. What I as a developer would want to know: - what files do I need to give away together with my programs - does the end user need to install/compile anything etc. Viele Gr??e aus Deutschland Georg From Karl.Reinl at ...9... Tue Apr 13 00:31:01 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 13 Apr 2004 00:31:01 +0200 Subject: [Gambas-user] wrote a XTableView class to work with TableView Message-ID: <200404130031.01394.Karl.Reinl@...9...> Salut, may be you find this usefull. The XTableView.class provieds you the possibility to use the TableView component to presend your datas in a Grid which has Column and Row Headers. XTableView.class INHERITS TableView.class from gb.qt.ext You will have AddRow, InsRow, DelRow, AddColumn, InsColumn and DelColumn do change your Grid. Text and GetData to fill the Grid. See the attached CVTest1.project how it works. This is dedicated to my old friend Jean-Paul Mazzoni, "died with one's boots on" last frieday, in a stupid bar fight, in north Corsica, by gun. I think he will be proude of that. Good by and see you Jean-Paul! Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: CVTest1-0.0.tar.gz Type: application/x-tgz Size: 2331 bytes Desc: not available URL: From budi at ...415... Tue Apr 13 03:57:05 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 13 Apr 2004 08:57:05 +0700 Subject: [Gambas-user] For Rizky Tahara Message-ID: Well..i see that you're from Indonesia...can we talk via email ? Thanks, Budi Arief Gusandi From sourceforge-raindog2 at ...94... Tue Apr 13 04:59:40 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 12 Apr 2004 22:59:40 -0400 Subject: [Gambas-user] Deployment information? In-Reply-To: <407B1892.6010105@...18...> References: <407B1892.6010105@...18...> Message-ID: <200404122259.40159.sourceforge-raindog2@...94...> On Monday 12 April 2004 18:30, Georg Brandl wrote: > I looked around a bit and noticed that nowhere on the Gambas > website (if I didn't overlook it -- could be too) is there any > information about how to deploy gambas programs. Well, if nothing else, there's a "make source tarball" command in Gambas already and I submitted a patch against the last version to add automatic RPM building, hopefully it will show up in a new version soon ;) > What I as a developer would want to know: > - what files do I need to give away together with my programs > - does the end user need to install/compile anything If you build an RPM, the end user needs to have a gambas RPM installed (or just my new gambas-runtime RPM if they're running Mandrake.) Otherwise, the user needs to have Gambas installed and what's in the tarball produced by Gambas is enough to run the app (in fact, the executable itself should be enough as long as Gambas is installed on the target machine.) I agree, someone should make a wiki page about deploying Gambas apps.... I will not have time for a day or two myself. Rob From rizky at ...225... Tue Apr 13 05:31:16 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 13 Apr 2004 10:31:16 +0700 Subject: [Gambas-user] For Rizky Tahara In-Reply-To: References: Message-ID: <6.0.0.22.2.20040413102948.01d5c578@...329...> At 08:57 13/04/2004, you wrote: >Well..i see that you're from Indonesia...can we talk via email ? why not? i have another indonesian friend that interest in gambas too.. sok atuh di japri.. tp kl masalahnya terlalu bribet posting ke milis ini aja yak.. hehehe.... Regards, tahara! From budi at ...415... Tue Apr 13 06:28:58 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 13 Apr 2004 11:28:58 +0700 Subject: [Gambas-user] For Rizky Tahara In-Reply-To: <6.0.0.22.2.20040413102948.01d5c578@...329...> References: <6.0.0.22.2.20040413102948.01d5c578@...329...> Message-ID: Dear Rizky, Apaan tuh dijapri... ? Untuk kasus selection sudah dapet solusinya ? I've send the solution to benoit to be confirmed first. You can email him if you want ;) LOL For the "&" char in label, that's really not supported and will not ? let see later... I'm from Bandung...seems you're from there as well. Regards, Budi Arief G. On Tue, 13 Apr 2004 10:31:16 +0700, Rizky Tahara Shita wrote: > At 08:57 13/04/2004, you wrote: >> Well..i see that you're from Indonesia...can we talk via email ? > > why not? i have another indonesian friend that interest in gambas too.. > sok atuh di japri.. tp kl masalahnya terlalu bribet posting ke milis ini > aja yak.. hehehe.... > > > > Regards, > > > tahara! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Budi Arief Gusandi Analyst/Programmer PT. Suar Reka Informatika Bandung - West Java +6222 2003763 budi at ...415... From frankberg at ...390... Tue Apr 13 06:33:49 2004 From: frankberg at ...390... (Frank Berg) Date: Tue, 13 Apr 2004 06:33:49 +0200 Subject: [Gambas-user] File lock Message-ID: <001a01c42110$856700d0$0200a8c0@...391...> Hi, if 3 Programms works with 1 Datafile, how can i ask/set lock to the file, so that 2 programm are waiting, until the first program are ready. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From budi at ...415... Tue Apr 13 06:49:19 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 13 Apr 2004 11:49:19 +0700 Subject: [Gambas-user] File lock In-Reply-To: <001a01c42110$856700d0$0200a8c0@...391...> References: <001a01c42110$856700d0$0200a8c0@...391...> Message-ID: 1. Just put a variabel key in the DataFile such as "Used = 0/1" to show that the data file is being used or not. So if the first program run, set the variable to 1, so other program that will use the file will check the value to allow the program to use the file or waiting. When termintaing the program, dont forget free it by setting the value to 0 or you'll get locked forever. 2. Use the methode like gambas IDE GUI with .Lock File Regards, Budi Arief Gusandi - On Tue, 13 Apr 2004 06:33:49 +0200, Frank Berg wrote: > Hi, > > if 3 Programms works with 1 Datafile, how can i ask/set lock to the > file, so that 2 programm are waiting, until the first program are ready. > > frank - From rizky at ...225... Tue Apr 13 07:15:20 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 13 Apr 2004 12:15:20 +0700 Subject: [Gambas-user] For Rizky Tahara In-Reply-To: References: <6.0.0.22.2.20040413102948.01d5c578@...329...> Message-ID: <6.0.0.22.2.20040413120521.01d66a00@...329...> At 11:28 13/04/2004, you wrote: >Dear Rizky, > >Apaan tuh dijapri... ? jaringan pribadi ?? >Untuk kasus selection sudah dapet solusinya ? blom... ya maklum juga, saya juga repot di kerjaan saya :P jadi gambas kl lagi ada waktu saya coba2, update transalate nya, dan kalo punya contoh bagus tinggal posting ke benoit ... >I've send the solution to benoit to be confirmed first. You can email him >if you want ;) LOL why don't you posted here ? may be i can try it too... >For the "&" char in label, that's really not supported and will not ? let >see later... > >I'm from Bandung...seems you're from there as well. nop, i'm from banten.. not fluent in their language... but i can understand when they speak... =) Regards, tahara! From terry at ...417... Tue Apr 13 08:48:48 2004 From: terry at ...417... (Terry Blunt) Date: Tue, 13 Apr 2004 07:48:48 +0100 Subject: [Gambas-user] hello world, wikipedia and gambas :) In-Reply-To: <407A9876.6090101@...18...> References: <407A5944.5050501@...207...> <407A9876.6090101@...18...> Message-ID: Georg Brandl wrote: > Alberto Melgar schrieb: > > Maybe someone slould put gambas there ? :)) > > > > http://en.wikipedia.org/wiki/Hello_world_program#BASIC > > [x] done > > Georg The graphic example looks really good compared with the others :-) -- Terry Blunt Life not found - Call Samaritans to continue. From dimitribellini at ...69... Tue Apr 13 09:14:37 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 13 Apr 2004 07:14:37 +0000 Subject: [Gambas-user] INHERITS Message-ID: <200404130714.37198.dimitribellini@...69...> Dear All thanks for your reply and i hope have passed a good easter holiday. I have try to understand the "INHERITS" function so i create a new Class file Called XTimer and i add this line: ---- ' Gambas class file INHERITS {Timer} PRIVATE tag AS Integer PUBLIC Name AS String PUBLIC SUB _new(sName AS String) Name = sName END ------ and i call it from my main form like it: ----- tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" tmr.tag=i ----- But when i run the Program i have a mex that say " XTimer.tag is not property" Thanks in advance Dimitri From nferraz at ...184... Tue Apr 13 17:35:46 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 13 Apr 2004 12:35:46 -0300 Subject: [Gambas-user] hello world, wikipedia and gambas :) In-Reply-To: References: <407A5944.5050501@...207...> <407A9876.6090101@...18...> Message-ID: <407C08D2.9030809@...184...> >>>Maybe someone slould put gambas there ? :)) >>> >>>http://en.wikipedia.org/wiki/Hello_world_program#BASIC >> >>[x] done > > The graphic example looks really good compared with the others :-) One must love collaborative projects! :) -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From ronstk at ...239... Tue Apr 13 17:56:15 2004 From: ronstk at ...239... (ron) Date: Tue, 13 Apr 2004 17:56:15 +0200 Subject: [Gambas-user] INHERITS In-Reply-To: <200404130714.37198.dimitribellini@...69...> References: <200404130714.37198.dimitribellini@...69...> Message-ID: <200404131756.16044.ronstk@...239...> On Tuesday 13 April 2004 09:14, Dimitri Bellini wrote: > Dear All > thanks for your reply and i hope have passed a good easter holiday. > I have try to understand the "INHERITS" function so i create a new Class > file Called XTimer and i add this line: > ---- > ' Gambas class file > INHERITS {Timer} > > PRIVATE tag AS Integer > > PUBLIC Name AS String > > PUBLIC SUB _new(sName AS String) > Name = sName > END > ------ > > and i call it from my main form like it: > > ----- > tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" > tmr.tag=i > ----- > > But when i run the Program i have a mex that say " XTimer.tag is not > property" Thanks in advance > Dimitri He that is quick learning. Good part sofar. Change -------- > PRIVATE tag AS Integer to property tag as integer 'need read and write private m_tag as integer > > PUBLIC Name AS String to property read name as string 'need read only private m_name as string > PUBLIC SUB _new(sName AS String) > Name = sName > END to > PUBLIC SUB _new(sName AS String) > m_Name = sName > END ---------- Add next to the end of your code public sub Tag_Write(iTag as integer) m_tag=iTag end public function Tag_Read() as integer return m_Tag end public function Name_Read() as string return m_Name end This must help you See in the help browser for Property if you need more help. Ron From danielcampos at ...282... Tue Apr 13 18:36:34 2004 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 13 Apr 2004 18:36:34 +0200 Subject: [Gambas-user] Font rotation? Message-ID: <1081874133.3437.1.camel@...40...> Hi all: Is there any way to rotate a text, for example 45 or 90 degrees? I'd need it to draw some charts, and it would be also userful in games, and scientific-graphical programs... Regards, -- Daniel Campos From ronstk at ...239... Tue Apr 13 19:04:50 2004 From: ronstk at ...239... (ron) Date: Tue, 13 Apr 2004 19:04:50 +0200 Subject: [Gambas-user] Font rotation? In-Reply-To: <1081874133.3437.1.camel@...40...> References: <1081874133.3437.1.camel@...40...> Message-ID: <200404131904.51212.ronstk@...239...> On Tuesday 13 April 2004 18:36, Daniel Campos wrote: > Hi all: > > Is there any way to rotate a text, for example 45 or 90 degrees? > I'd need it to draw some charts, and it would be also userful > in games, and scientific-graphical programs... > > Regards, I gues dim pict as picture dim img as image label1.text="mytext" pict = label1.grab image.picture = pict 'or image.picture = label1.grab image.rotate(90) ' help is broken here 'somewhere else in th help 'Function Rotate(angle AS float) as picture 'use a picture box vertical picturebox1.picture=image.picture Ron From dimitribellini at ...69... Tue Apr 13 13:20:53 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 13 Apr 2004 11:20:53 +0000 Subject: [Gambas-user] INHERITS In-Reply-To: <200404131756.16044.ronstk@...239...> References: <200404130714.37198.dimitribellini@...69...> <200404131756.16044.ronstk@...239...> Message-ID: <200404131120.54077.dimitribellini@...69...> Thanks Ron for your help... but i'm a donkey :-) i have write this class XTimer.class ---- Gambas class file INHERITS {Timer} PRIVATE iTag AS Integer PRIVATE m_tag AS Integer PRIVATE m_Name AS String PUBLIC Name AS String PUBLIC SUB _new(sName AS String) Name = sName END PUBLIC SUB Tag_Write(iTag AS Integer) m_tag=iTag END PUBLIC FUNCTION Tag_Read() AS Integer RETURN m_Tag END PUBLIC FUNCTION Name_Read() AS String RETURN m_Name END ------ and i call it as i write in last mail from Start Class: ------ tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" tmr.tag=i ------ But i cant understand how it work and gambas return the same error... :-( Im boring you with my stupid question i know... but can you give me some explaination. Thanks in advance Dimitri On Tuesday 13 April 2004 15:56, ron wrote: > On Tuesday 13 April 2004 09:14, Dimitri Bellini wrote: > > Dear All > > thanks for your reply and i hope have passed a good easter holiday. > > I have try to understand the "INHERITS" function so i create a new Class > > file Called XTimer and i add this line: > > ---- > > ' Gambas class file > > INHERITS {Timer} > > > > PRIVATE tag AS Integer > > > > PUBLIC Name AS String > > > > PUBLIC SUB _new(sName AS String) > > Name = sName > > END > > ------ > > > > and i call it from my main form like it: > > > > ----- > > tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" > > tmr.tag=i > > ----- > > > > But when i run the Program i have a mex that say " XTimer.tag is not > > property" Thanks in advance > > Dimitri > > He that is quick learning. Good part sofar. > > Change > -------- > > > PRIVATE tag AS Integer > > to > property tag as integer 'need read and write > private m_tag as integer > > > PUBLIC Name AS String > > to > property read name as string 'need read only > private m_name as string > > > PUBLIC SUB _new(sName AS String) > > Name = sName > > END > > to > > > PUBLIC SUB _new(sName AS String) > > m_Name = sName > > END > > ---------- > Add next to the end of your code > > public sub Tag_Write(iTag as integer) > m_tag=iTag > end > > public function Tag_Read() as integer > return m_Tag > end > > public function Name_Read() as string > return m_Name > end > > This must help you > See in the help browser for Property if you need more help. > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Tue Apr 13 20:41:16 2004 From: ronstk at ...239... (ron) Date: Tue, 13 Apr 2004 20:41:16 +0200 Subject: [Gambas-user] INHERITS In-Reply-To: <200404131120.54077.dimitribellini@...69...> References: <200404130714.37198.dimitribellini@...69...> <200404131756.16044.ronstk@...239...> <200404131120.54077.dimitribellini@...69...> Message-ID: <200404132041.16818.ronstk@...239...> On Tuesday 13 April 2004 13:20, Dimitri Bellini wrote: > Thanks Ron for your help... but i'm a donkey :-) > i have write this class XTimer.class > ---- > Gambas class file > INHERITS {Timer} > > PRIVATE iTag AS Integer <-------- i never have say this > PRIVATE m_tag AS Integer > PRIVATE m_Name AS String > > PUBLIC Name AS String <-------- i say change to see the code again below > > PUBLIC SUB _new(sName AS String) > Name = sName > END > > PUBLIC SUB Tag_Write(iTag AS Integer) > m_tag=iTag > END > > PUBLIC FUNCTION Tag_Read() AS Integer > RETURN m_Tag > END > > PUBLIC FUNCTION Name_Read() AS String > RETURN m_Name > END > ------ > and i call it as i write in last mail from Start Class: > ------ > tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" > tmr.tag=i > ------ > But i cant understand how it work and gambas return the same error... :-( > Im boring you with my stupid question i know... but can you give me some > explaination. > Thanks in advance > Dimitri > > On Tuesday 13 April 2004 15:56, ron wrote: > > On Tuesday 13 April 2004 09:14, Dimitri Bellini wrote: > > > Dear All > > > thanks for your reply and i hope have passed a good easter holiday. > > > I have try to understand the "INHERITS" function so i create a new > > > Class file Called XTimer and i add this line: > > > ---- > > > ' Gambas class file > > > INHERITS {Timer} > > > > > > PRIVATE tag AS Integer > > > > > > PUBLIC Name AS String > > > > > > PUBLIC SUB _new(sName AS String) > > > Name = sName > > > END > > > ------ > > > > > > and i call it from my main form like it: > > > > > > ----- > > > tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" > > > tmr.tag=i > > > ----- > > > > > > But when i run the Program i have a mex that say " XTimer.tag is not > > > property" Thanks in advance > > > Dimitri > > > > He that is quick learning. Good part sofar. > > > > Change cambi il codice seguente dal > > -------- > > > > > PRIVATE tag AS Integer > > > > to a > > property tag as integer 'need read and write ------------------------ Colto esso buono: property tag as integer Avete scritto: private iTag as integer > > private m_tag as integer > > > > > PUBLIC Name AS String > > > > to > > property read name as string 'need read only > > private m_name as string > > > > > PUBLIC SUB _new(sName AS String) > > > Name = sName > > > END > > > > to > > > > > PUBLIC SUB _new(sName AS String) > > > m_Name = sName > > > END > > > > ---------- > > Add next to the end of your code > > > > public sub Tag_Write(iTag as integer) > > m_tag=iTag > > end > > > > public function Tag_Read() as integer > > return m_Tag > > end > > > > public function Name_Read() as string > > return m_Name > > end > > > > This must help you > > See in the help browser for Property if you need more help. > > > > Ron > > Try again and you will learn :=) La prova ancora e voi impareranno: =) The Flying Dutch Man, Ron From gambas at ...1... Tue Apr 13 21:03:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 13 Apr 2004 21:03:14 +0200 Subject: [Gambas-user] Font rotation? In-Reply-To: <200404131904.51212.ronstk@...239...> References: <1081874133.3437.1.camel@...40...> <200404131904.51212.ronstk@...239...> Message-ID: <200404132103.14685.gambas@...1...> On Tuesday 13 April 2004 19:04, ron wrote: > On Tuesday 13 April 2004 18:36, Daniel Campos wrote: > > Hi all: > > > > Is there any way to rotate a text, for example 45 or 90 degrees? > > I'd need it to draw some charts, and it would be also userful > > in games, and scientific-graphical programs... > > > > Regards, > > I gues > > dim pict as picture > dim img as image > > label1.text="mytext" > > pict = label1.grab > image.picture = pict > 'or > image.picture = label1.grab > > image.rotate(90) ' help is broken here > 'somewhere else in th help > 'Function Rotate(angle AS float) as picture > > 'use a picture box vertical > picturebox1.picture=image.picture > > Ron > My god, what a hack ! :-) And it does not work as the Rotate method returns a new Image, and does not modify the one it is applied to. You should better draw the text directly in the picture: DIM hPict AS New Picture(256, 64) hPict.Fill(Color.White) Draw.Begin(hPict) Draw.Text("MyText", 0, 0, 256, 64) Draw.End hPict = hPict.Rotate(90) ... Regards, -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...11... Tue Apr 13 21:12:54 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Tue, 13 Apr 2004 21:12:54 +0200 Subject: [Gambas-user] INHERITS In-Reply-To: <200404131756.16044.ronstk@...239...> References: <200404130714.37198.dimitribellini@...69...> <200404131756.16044.ronstk@...239...> Message-ID: <200404132112.54927.abidoo.too@...11...> Le mardi 13 Avril 2004 17:56, ron a ?crit : > On Tuesday 13 April 2004 09:14, Dimitri Bellini wrote: > > Dear All > > thanks for your reply and i hope have passed a good easter holiday. > > I have try to understand the "INHERITS" function so i create a new Class > > file Called XTimer and i add this line: > > ---- > > ' Gambas class file > > INHERITS {Timer} > > > > PRIVATE tag AS Integer > > > > PUBLIC Name AS String > > > > PUBLIC SUB _new(sName AS String) > > Name = sName > > END > > ------ > > > > and i call it from my main form like it: > > > > ----- > > tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" > > tmr.tag=i > > ----- > > > > But when i run the Program i have a mex that say " XTimer.tag is not > > property" Thanks in advance > > Dimitri > > He that is quick learning. Good part sofar. > > Change > -------- > > > PRIVATE tag AS Integer > > to > property tag as integer 'need read and write > private m_tag as integer > > > PUBLIC Name AS String > > to > property read name as string 'need read only > private m_name as string > > > PUBLIC SUB _new(sName AS String) > > Name = sName > > END > > to > > > PUBLIC SUB _new(sName AS String) > > m_Name = sName > > END > > ---------- > Add next to the end of your code > > public sub Tag_Write(iTag as integer) > m_tag=iTag > end > > public function Tag_Read() as integer > return m_Tag > end > > public function Name_Read() as string > return m_Name > end > > This must help you > See in the help browser for Property if you need more help. > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ' Gambas class file > > INHERITS {Timer} > > PUBLIC tag AS Integer '----> You must to set this variable public ! Thats all ;-) > > > > PUBLIC Name AS String > > > > PUBLIC SUB _new(sName AS String) > > Name = sName > > END From ronstk at ...239... Tue Apr 13 21:27:00 2004 From: ronstk at ...239... (ron) Date: Tue, 13 Apr 2004 21:27:00 +0200 Subject: [Gambas-user] Font rotation? In-Reply-To: <200404132103.14685.gambas@...1...> References: <1081874133.3437.1.camel@...40...> <200404131904.51212.ronstk@...239...> <200404132103.14685.gambas@...1...> Message-ID: <200404132127.00688.ronstk@...239...> On Tuesday 13 April 2004 21:03, Benoit Minisini wrote: > On Tuesday 13 April 2004 19:04, ron wrote: > > On Tuesday 13 April 2004 18:36, Daniel Campos wrote: > > > Hi all: > > > > > > Is there any way to rotate a text, for example 45 or 90 degrees? > > > I'd need it to draw some charts, and it would be also userful > > > in games, and scientific-graphical programs... > > > > > > Regards, > > > > I gues > > > > dim pict as picture > > dim img as image > > > > label1.text="mytext" > > > > pict = label1.grab > > image.picture = pict > > 'or > > image.picture = label1.grab > > > > image.rotate(90) ' help is broken here > > 'somewhere else in th help > > 'Function Rotate(angle AS float) as picture > > > > 'use a picture box vertical > > picturebox1.picture=image.picture > > > > Ron > > My god, what a hack ! :-) And it does not work as the Rotate method returns > a new Image, and does not modify the one it is applied to. picturebox1.picture=image.rotate(90) maybe ??? The help is broken here for image.rotate() so I could not see it returns a picture or this method was a static one ;=) I found it a very clever one but > > You should better draw the text directly in the picture: > > DIM hPict AS New Picture(256, 64) > > hPict.Fill(Color.White) > Draw.Begin(hPict) > Draw.Text("MyText", 0, 0, 256, 64) > Draw.End > hPict = hPict.Rotate(90) > ... > > Regards, is much nicer. Ron From daniel.campos at ...338... Tue Apr 13 22:42:44 2004 From: daniel.campos at ...338... (Daniel) Date: Tue, 13 Apr 2004 22:42:44 +0200 Subject: [Gambas-user] Font rotation? In-Reply-To: <200404131904.51212.ronstk@...239...> References: <1081874133.3437.1.camel@...40...> <200404131904.51212.ronstk@...239...> Message-ID: <1081881171.3626.0.camel@...40...> Thanks a lot! El mar, 13-04-2004 a las 19:04, ron escribi?: > On Tuesday 13 April 2004 18:36, Daniel Campos wrote: > > Hi all: > > > > Is there any way to rotate a text, for example 45 or 90 degrees? > > I'd need it to draw some charts, and it would be also userful > > in games, and scientific-graphical programs... > > > > Regards, > > I gues > > dim pict as picture > dim img as image > > label1.text="mytext" > > pict = label1.grab > image.picture = pict > 'or > image.picture = label1.grab > > image.rotate(90) ' help is broken here > 'somewhere else in th help > 'Function Rotate(angle AS float) as picture > > 'use a picture box vertical > picturebox1.picture=image.picture > > Ron > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Wed Apr 14 09:15:58 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 14 Apr 2004 09:15:58 CEST Subject: [Gambas-user] Font rotation? Message-ID: >DIM hPict AS New Picture(256, 64) > >hPict.Fill(Color.White) >Draw.Begin(hPict) >Draw.Text("MyText", 0, 0, 256, 64) >Draw.End >hPict = hPict.Rotate(90) >... > Mmmh... yes, this is cleaner :-) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From ronstk at ...239... Wed Apr 14 16:13:24 2004 From: ronstk at ...239... (ron) Date: Wed, 14 Apr 2004 16:13:24 +0200 Subject: [Gambas-user] Font rotation? In-Reply-To: References: Message-ID: <200404141613.24089.ronstk@...239...> On Wednesday 14 April 2004 14:15, danielcampos at ...282... wrote: > >DIM hPict AS New Picture(256, 64) > > > >hPict.Fill(Color.White) > >Draw.Begin(hPict) > >Draw.Text("MyText", 0, 0, 256, 64) > >Draw.End > >hPict = hPict.Rotate(90) > >... > > Mmmh... yes, this is cleaner :-) > I belive to Where on the form can you see it.? DIM hPict AS New Picture(256, 64) ' on what as parent ? the line gives a syntax error here in help are the argument even not given as possible. Again a undocumented feature. :) hPict = hPict.Rotate(90) unknown symbol Rotate in class Picture with these two lines it is not importand the middle part works. Picture This class represents?: A Pixmap, i.e. an bitmap located on the X server memory. An Image, i.e. a bitmap located on the X client memory. A Metafile, i.e. a vectorized drawing. When I'm right you must have a PictureBox on your form and the last line must be PictureBox1.Picture = hPict.Rotate(90) and this should the also not work. :( So it is very clean indeed. Sorry but the example does not work here. My gues in working situation is not so bad at all ================================= > > I gues > > > > dim pict as picture > > dim img as image > > > > label1.text="mytext" > > > > pict = label1.grab > > image.picture = pict > > 'or > > image.picture = label1.grab > > > > image.rotate(90) ' help is broken here this was the only major miss I could not see > > 'somewhere else in th help > > 'Function Rotate(angle AS float) as picture > > > > 'use a picture box vertical > > picturebox1.picture=image.picture but i'm sure you should get it working And here as it works for me taken from the trial ================================= PUBLIC SUB Button1_Click() DIM hPicture AS NEW Picture DIM hImage AS NEW image hPicture =label1.Grab() '<-- this returns picture hImage = hPicture.Image ' copy picture to image hImage = hImage.Rotate(90.0) '<-- this returns picture ' picturebox1.picture= hImage.Picture ' result was 90 degree END ================================= My trail program follws below. Help is very misleading in this project :-( PUBLIC SUB Button1_Click() DIM hPicture AS NEW Picture '() 'regarding the help example but with () i get error DIM hImage AS NEW image label1.text="mytext" 'Control.Grab ' FUNCTION Grab() AS Picture IF 11=22 THEN hPicture =label1.Grab() '<-- this returns picture 'somewhere else in th help 'Function Rotate(angle AS float) as picture 'Image ' This control IS a label that shows a picture. ' hImage = NEW Image ( Parent AS Container ) ' and support Rotate hImage = hPicture.Image ' copy picture to image ' it works but i do not how 'image.picture ' Picture ' Returns OR sets the picture displayed IN the control. ' PROPERTY Picture AS Picture 'hImage.Picture = hImage.Rotate(90.0) '<-- this returns picture ' due i get picture I must use hImage.Picture ' and hImage.Picture is READ only as error hImage = hImage.Rotate(90.0) '<-- this returns picture ' ' works but should give error? ELSE ' second trial 'hImage is now image type? ' hImage = label1.grab()'<-- this returns picture ' wanted image but got picture instead. ' so try ' hImage.picture = label1.grab()'<-- this returns picture ' and hImage.Picture is READ only as error ' only hPicture =label1.Grab() '<-- this returns picture ' seems to work 'can only rotate on image hImage=hPicture.Image 'does it 'image.rotate(90) ' help is broken here ' somewhere else in the help ' Function Rotate(angle AS float) as picture 'hPicture.Picture =hImage.Rotate(90.0) '<-- this returns picture 'how here it IS here a image ? 'wanted pictuere got image instead ?? ' hPicture =hImage.Rotate(90.0) ' wanted picture, got image instead ? it is a picture! ' hPicture.Image =hImage.Rotate(90.0) ' hPicture.Image is READ only ?? ' help is broken her so I can't see hImage = hImage.Rotate(90.0) '<-- this returns picture ' and here it does it very well ' a picture in a image ' hImage is now picture type? ENDIF 'use a picturebox vertical picturebox1.picture= hImage.Picture ' result was form1 90 degree 'picturebox1.picture = hPicture ' result was form1 no rotate 'picturebox1.picture= hImage.rotate(45.0) ' result in error picturebox1.picture= hPicture.rotate(45.0) ' result error unknow rotate in pictureclass picturebox1.picture= hPicture.Image.Rotate(45.0) 'wanted picture got image. END From sourceforge-raindog2 at ...94... Wed Apr 14 16:47:41 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 14 Apr 2004 10:47:41 -0400 Subject: [Gambas-user] mandrake packages of gambas 0.92a Message-ID: <200404141047.41709.sourceforge-raindog2@...94...> I built packages of 0.92a and, considering the possible damage to your code from 0.92, removed those older packages. http://www.kudla.org/index.php?wl_mode=more&wl_eid=54 The gambas-complete and gambas-runtimeonly packages are in there too. Rob From gambas at ...1... Wed Apr 14 21:11:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 14 Apr 2004 21:11:18 +0200 Subject: [Gambas-user] Font rotation? In-Reply-To: <200404141613.24089.ronstk@...239...> References: <200404141613.24089.ronstk@...239...> Message-ID: <200404142111.18181.gambas@...1...> On Wednesday 14 April 2004 16:13, ron wrote: > On Wednesday 14 April 2004 14:15, danielcampos at ...282... wrote: > > >DIM hPict AS New Picture(256, 64) > > > > > >hPict.Fill(Color.White) > > >Draw.Begin(hPict) > > >Draw.Text("MyText", 0, 0, 256, 64) > > >Draw.End > > >hPict = hPict.Rotate(90) > > >... > > > > Mmmh... yes, this is cleaner :-) > > I belive to > Where on the form can you see it.? > > DIM hPict AS New Picture(256, 64) ' on what as parent ? > the line gives a syntax error here > in help are the argument even not given as possible. > Again a undocumented feature. :) > I mean: DIM hPict AS Picture hPict = NEW Picture(256, 64) You must use a recent gambas version. Picture has no parent. It is not a control. The documentation is NOT up to date. I'm currently working on this problem, but I'm very busy. Read the Changelog file to get information. > hPict = hPict.Rotate(90) > unknown symbol Rotate in class Picture > > with these two lines it is not importand the middle part works. > > Picture > This class represents?: > A Pixmap, i.e. an bitmap located on the X server memory. > An Image, i.e. a bitmap located on the X client memory. > A Metafile, i.e. a vectorized drawing. It is not true since gambas 0.83. See the Changelog :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Wed Apr 14 22:37:50 2004 From: ronstk at ...239... (ron) Date: Wed, 14 Apr 2004 22:37:50 +0200 Subject: [Gambas-user] Font rotation? In-Reply-To: <200404142111.18181.gambas@...1...> References: <200404141613.24089.ronstk@...239...> <200404142111.18181.gambas@...1...> Message-ID: <200404142237.50150.ronstk@...239...> On Wednesday 14 April 2004 21:11, Benoit Minisini wrote: > On Wednesday 14 April 2004 16:13, ron wrote: > > On Wednesday 14 April 2004 14:15, danielcampos at ...282... wrote: > > > >DIM hPict AS New Picture(256, 64) > > > > > > > >hPict.Fill(Color.White) > > > >Draw.Begin(hPict) > > > >Draw.Text("MyText", 0, 0, 256, 64) > > > >Draw.End > > > >hPict = hPict.Rotate(90) > > > >... > > > > > > Mmmh... yes, this is cleaner :-) > > > > I belive to > > Where on the form can you see it.? > > > > DIM hPict AS New Picture(256, 64) ' on what as parent ? > > the line gives a syntax error here > > in help are the argument even not given as possible. > > Again a undocumented feature. :) > > I mean: > > DIM hPict AS Picture > hPict = NEW Picture(256, 64) ok works :) > You must use a recent gambas version. 0.92 with the patch for TabStrip Full new compile and install done. hPict = hPict.Rotate(90) got error Rotate not in picture class sorry but I can only put and rotate in/with a image object DIM hImage AS NEW image hImage = hPict.Image hImage = hImage.Rotate(90.0) or is 0.92a more then TabStrip? > > Picture has no parent. It is not a control. Ok so it is a memory space how do I see it then ? picturebox1.picture= hImage.Picture now I see something The example you would give should be then DIM hPict AS Picture DIM hImage AS NEW image hPict = NEW Picture(256, 64) hPict.Fill(Color.White) Draw.Begin(hPict) Draw.Text("MyText", 0, 0, 256, 64) Draw.End hImage = hPict.Image hImage = hImage.Rotate(90.0) PictureBox1.Picture= hImage.Picture And yes the draw is more powerfull but the question was a label vertical and that is what I made. > > The documentation is NOT up to date. I'm currently working on this problem, > but I'm very busy. Read the Changelog file to get information. I try to help but direct edit of the pages is difficult, they are a bit cryptic for me and I can't get RCS working so the web edit does also not function. The configuration here sux by me personaly as source :( Online has delay problems with big edit jobs, you told Rob. For the changelog: I know Benoit, but new starters trust may be the help to much and forget the changelog. Maybe the change log also in the help as page can help. ---------- Sorry but this one works for me PUBLIC SUB Button2_Click() DIM hPicture AS Picture DIM hImage AS image label1.text="mytext" hPicture = label1.Grab() hImage = hPicture.Image hImage = hImage.Rotate(90.0) picturebox1.picture= hImage.Picture END I just found one strange thing The first click on button 2 show 'Label1' vertical the second click shows 'mytext' vertikal ??? Interesting project is this. Ron From office at ...419... Thu Apr 15 15:32:24 2004 From: office at ...419... (office) Date: Thu, 15 Apr 2004 15:32:24 +0200 Subject: [Gambas-user] Installation problemsGambas 0.92 with Suse 8.1 KDE 3.03 Message-ID: Hi, I am not able to run the make command during installation. It ends after a minute with the following messages. All libs and files are installed (I think so, I am not a Linux-Programmer, just want to be one) The problem file exist under /usr/local/src/kdevelop-3.0.2/editors/qeditor echo $PATH is: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6 /bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/local/k de/bin:/usr/lib/java/jre/bin:/opt/gnome/bin Output of make is: ... ... Making all in qt make[4]: Entering directory `/usr/local/src/gambas-0.92/src/lib/qt' Making all in editor make[5]: Entering directory `/usr/local/src/gambas-0.92/src/lib/qt/editor' /usr/lib/qt-3.0.5/lib//../bin/moc qeditor.h -o moc_qeditor.cpp /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/li b/qt-3.0.5/include/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -O s -c moc_qeditor.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib /qt- 3.0.5/include/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -Os -Wp,-M D,.deps/moc_qeditor.pp -c moc_qeditor.cpp -fPIC -DPIC -o moc_qeditor.lo /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/li b/qt-3.0.5/include/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -O s -c qeditor.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib /qt-3.0.5/include/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -Os -W p,-MD,.deps/qeditor.pp -c qeditor.cpp -fPIC -DPIC -o qeditor.lo qeditor.cpp: In member function `void QEditor::delAux()': qeditor.cpp:3038: warning: unused variable `QRect oldContents' /usr/lib/qt-3.0.5/include/qstring.h: In member function `void QEditor::pasteSubType(const QCString&)': /usr/lib/qt-3.0.5/include/qstring.h:607: `QString& QString::replace(const QString&, const QString&)' is private qeditor.cpp:3882: within this context make[5]: *** [qeditor.lo] Error 1 make[5]: Leaving directory `/usr/local/src/gambas-0.92/src/lib/qt/editor' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/local/src/gambas-0.92/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/gambas-0.92/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/gambas-0.92/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/gambas-0.92' make: *** [all-recursive-am] Error 2 Does anyone see the problem ?? Thanks Hans From dimitribellini at ...69... Thu Apr 15 16:14:05 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 15 Apr 2004 16:14:05 +0200 Subject: [Gambas-user] INHERITS In-Reply-To: <200404132112.54927.abidoo.too@...11...> References: <200404130714.37198.dimitribellini@...69...> <200404131756.16044.ronstk@...239...> <200404132112.54927.abidoo.too@...11...> Message-ID: <200404151614.06186.dimitribellini@...69...> Thanks for Help I solved my Problem !! Thanks in advance Dimitri On Tuesday 13 April 2004 09:12 pm, Fabien Bodard wrote: > Le mardi 13 Avril 2004 17:56, ron a ?crit : > > On Tuesday 13 April 2004 09:14, Dimitri Bellini wrote: > > > Dear All > > > thanks for your reply and i hope have passed a good easter holiday. > > > I have try to understand the "INHERITS" function so i create a new > > > Class file Called XTimer and i add this line: > > > ---- > > > ' Gambas class file > > > INHERITS {Timer} > > > > > > PRIVATE tag AS Integer > > > > > > PUBLIC Name AS String > > > > > > PUBLIC SUB _new(sName AS String) > > > Name = sName > > > END > > > ------ > > > > > > and i call it from my main form like it: > > > > > > ----- > > > tmr=NEW XTimer("XTimer", FMain) AS "tmrCab" > > > tmr.tag=i > > > ----- > > > > > > But when i run the Program i have a mex that say " XTimer.tag is not > > > property" Thanks in advance > > > Dimitri > > > > He that is quick learning. Good part sofar. > > > > Change > > -------- > > > > > PRIVATE tag AS Integer > > > > to > > property tag as integer 'need read and write > > private m_tag as integer > > > > > PUBLIC Name AS String > > > > to > > property read name as string 'need read only > > private m_name as string > > > > > PUBLIC SUB _new(sName AS String) > > > Name = sName > > > END > > > > to > > > > > PUBLIC SUB _new(sName AS String) > > > m_Name = sName > > > END > > > > ---------- > > Add next to the end of your code > > > > public sub Tag_Write(iTag as integer) > > m_tag=iTag > > end > > > > public function Tag_Read() as integer > > return m_Tag > > end > > > > public function Name_Read() as string > > return m_Name > > end > > > > This must help you > > See in the help browser for Property if you need more help. > > > > Ron > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ' Gambas class file > > > INHERITS {Timer} > > PUBLIC tag AS Integer '----> You must to set this variable public ! > Thats all ;-) > > > > PUBLIC Name AS String > > > > > > PUBLIC SUB _new(sName AS String) > > > Name = sName > > > END > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From dimitribellini at ...69... Thu Apr 15 16:25:35 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 15 Apr 2004 16:25:35 +0200 Subject: [Gambas-user] Network Component Problem Message-ID: <200404151625.35496.dimitribellini@...69...> Dear All i want to use the network component so i see the example ServerSocket and i put it in a new Project but when i RUN it Gambas return an Error like this: "Null Object" in this line Server.Type=Net.Internet The Code: ----- '-------------- Network Server PRIVATE Server AS ServerSocket PRIVATE Client AS Object[] PRIVATE Waiting AS Boolean ..... PUBLIC SUB Button1_Click() IF combobox2.Index=0 THEN 'TCP Server.Type=Net.Internet ' The port to listen to Server.Port=Val(TextBox1.Text) ' we start listening Server.Listen(ComboBox1.Index) ELSE ' UNIX Server.Type=Net.Unix ' You could also use Net.Local Server.Path=TxtPath.Text Server.Listen(ComboBox1.Index) END IF ------------------------------- I used Gambas 0.92a on Mandrake 10, I found a small issue using MDK10 and gambas when error is found the Error Box dont is open in background under the Form. PS: If i run The Example Code ServerSocket no problem found. Thanks in advance Dimitri From ronstk at ...239... Thu Apr 15 17:03:34 2004 From: ronstk at ...239... (ron) Date: Thu, 15 Apr 2004 17:03:34 +0200 Subject: [Gambas-user] Installation problemsGambas 0.92 with Suse 8.1 KDE 3.03 In-Reply-To: References: Message-ID: <200404151703.34906.ronstk@...239...> On Thursday 15 April 2004 15:32, office wrote: > Hi, I am not able to run the make command during installation. It ends > after a minute with the following messages. All libs and files are > installed (I think so, I am not a Linux-Programmer, just want to be one) > > The problem file exist under /usr/local/src/kdevelop-3.0.2/editors/qeditor > > echo $PATH is: > /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R >6 > /bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/local/ >k de/bin:/usr/lib/java/jre/bin:/opt/gnome/bin > > Output of make is: > ... > ... > Making all in qt > make[4]: Entering directory `/usr/local/src/gambas-0.92/src/lib/qt' > Making all in editor > make[5]: Entering directory `/usr/local/src/gambas-0.92/src/lib/qt/editor' > /usr/lib/qt-3.0.5/lib//../bin/moc qeditor.h -o moc_qeditor.cpp > /bin/sh ../../../../libtool --mode=compile > g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share > -I/usr/li b/qt-3.0.5/include/ -D_REENTRANT -g -O2 -pipe -Wall > -fno-exceptions -g -O s -c moc_qeditor.cpp Hi, Your on the starting way. The curage to start is already a good point. For your problem I will try to help you. Had myself also many as beginner. The gambas version you try has a bug in it. You should go first to http://gambas.sourceforge.net/ or http://gambas.sourceforge.net./download.html and get the update. The verion you need is 0.92a Then you must know if you have the libraries and that the version is correct. On the website you can find a list in the "Importand notes" but here a copy of it. ============================================ To compile Gambas, you must install the following packages on your system : o) The X11 development packages. The Qt 3 development packages. The KDE 3 development packages if you want to compile the KDE component. The PostgreSQL, MySQL or SQlite development packages if you want to compile database drivers. The libcurl development packages (version 7.10.7 or greater) if you want to compile de network-curl component. The SDL development packages if you want to compile the SDL component. 0) Qt 3.1 is now required. Gambas do not compile anymore with older versions of Qt 3.0. o) Gambas does not compile with gcc 3.0.x. It seems that it is a bug of gcc. Use gcc 3.2 instead. (Note that there is a not yet resolved include file clash with gcc 2.9x). This can be a problem for you current SuSE version 8.1. If this is the case I can't help you how to change the version. I had no luck on my system to upgrade it without recompile the most of my system with it. o) You must have the right to write to /tmp, otherwise Gambas will not work. This will be set by SuSE install but a verify is always a good point. =========================================== The problem you have at the moment is due a old QT version I see /usr/lib/qt-3.0.5 in you output of the make file. May be first a upgrade of KDE can help you the best to start with at ftp://ftp.kde.org/pub/kde/stable/3.2.1/SuSE/ix86/8.1 is the newest KDE3.2.1 and the required QT as v3.3.1 at the same place. All together it is 175Mbyte It is a big job but I'm afraid you will end here anyway. I have just done myself and will try to make notes what I do during the upgrade. On the KDE site you can find instructions how to do the upgade. but as a short guide it goes as follows. You should first upgrade QT, than the KDE kdelibs3, kdebase3, arts then you may start the rest, applications etc. The reason is that if you upgrade QT to this version or QT 3.1 it is unsure your current KDE 3.01 is still functional. Then you must upgrade KDE and to what version? At the end you will upgrade the current one 3.2.1 which is a bug fix of 3.2.0 (there are however some of 3.2.0 in the new 3.2.1 release) When this all works you can go for the developer package you need and then start to compile gambas again. Sorry but it shows as a complete new system and I think that is. The only other way left is Update SuSE to 8.2 (need 10 upgrades after it) or 9.0 (need a few after it) to be at the latest and can compile gambas. or go for mandrake or gentoo while the are at install already on this level you need. See it as you have w95 but need at least w98 but it runs at best the only one you can get at the moment XP. Ron From ronstk at ...239... Thu Apr 15 17:14:10 2004 From: ronstk at ...239... (ron) Date: Thu, 15 Apr 2004 17:14:10 +0200 Subject: [Gambas-user] Network Component Problem In-Reply-To: <200404151625.35496.dimitribellini@...69...> References: <200404151625.35496.dimitribellini@...69...> Message-ID: <200404151714.10357.ronstk@...239...> On Thursday 15 April 2004 16:25, Dimitri Bellini wrote: > Dear All > i want to use the network component so i see the example ServerSocket and > i put it in a new Project but when i RUN it Gambas return an Error like > this: "Null Object" in this line > Server.Type=Net.Internet > The Code: > ----- > '-------------- Network Server > PRIVATE Server AS ServerSocket > PRIVATE Client AS Object[] > PRIVATE Waiting AS Boolean > ..... > PUBLIC SUB Button1_Click() > > IF combobox2.Index=0 THEN > 'TCP > Server.Type=Net.Internet > ' The port to listen to > Server.Port=Val(TextBox1.Text) > ' we start listening > Server.Listen(ComboBox1.Index) > ELSE > ' UNIX > Server.Type=Net.Unix ' You could also use Net.Local > Server.Path=TxtPath.Text > Server.Listen(ComboBox1.Index) > END IF > ------------------------------- you can try till Daniel gives a better solution if exist. PRIVATE Server AS Socket instead of PRIVATE Server AS ServerSocket From postmaster at ...419... Thu Apr 15 17:23:59 2004 From: postmaster at ...419... (Postmaster) Date: Thu, 15 Apr 2004 17:23:59 +0200 Subject: AW: [Gambas-user] Installation problemsGambas 0.92 with Suse 8.1 KDE 3.03 In-Reply-To: <200404151703.34906.ronstk@...239...> Message-ID: Dear Ron, thank you for your immediate answer. I forgot to mention that I have already tried Gambas 0.92a, so the problem must be in KDE. So I'll try to update this, first. I don't like to change the whole system, because I was working now a year to keep it in that stage for a runing VDR with a lot of extras. I give you a note, when I am ready with upgrading. Thanks Hans -----Urspr?ngliche Nachricht----- Von: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]Im Auftrag von ron Gesendet: Donnerstag, 15. April 2004 17:04 An: gambas-user at lists.sourceforge.net Betreff: Re: [Gambas-user] Installation problemsGambas 0.92 with Suse 8.1 KDE 3.03 On Thursday 15 April 2004 15:32, office wrote: > Hi, I am not able to run the make command during installation. It ends > after a minute with the following messages. All libs and files are > installed (I think so, I am not a Linux-Programmer, just want to be one) > > The problem file exist under /usr/local/src/kdevelop-3.0.2/editors/qeditor > > echo $PATH is: > /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R >6 > /bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:/usr/local/ >k de/bin:/usr/lib/java/jre/bin:/opt/gnome/bin > > Output of make is: > ... > ... > Making all in qt > make[4]: Entering directory `/usr/local/src/gambas-0.92/src/lib/qt' > Making all in editor > make[5]: Entering directory `/usr/local/src/gambas-0.92/src/lib/qt/editor' > /usr/lib/qt-3.0.5/lib//../bin/moc qeditor.h -o moc_qeditor.cpp > /bin/sh ../../../../libtool --mode=compile > g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share > -I/usr/li b/qt-3.0.5/include/ -D_REENTRANT -g -O2 -pipe -Wall > -fno-exceptions -g -O s -c moc_qeditor.cpp Hi, Your on the starting way. The curage to start is already a good point. For your problem I will try to help you. Had myself also many as beginner. The gambas version you try has a bug in it. You should go first to http://gambas.sourceforge.net/ or http://gambas.sourceforge.net./download.html and get the update. The verion you need is 0.92a Then you must know if you have the libraries and that the version is correct. On the website you can find a list in the "Importand notes" but here a copy of it. ============================================ To compile Gambas, you must install the following packages on your system : o) The X11 development packages. The Qt 3 development packages. The KDE 3 development packages if you want to compile the KDE component. The PostgreSQL, MySQL or SQlite development packages if you want to compile database drivers. The libcurl development packages (version 7.10.7 or greater) if you want to compile de network-curl component. The SDL development packages if you want to compile the SDL component. 0) Qt 3.1 is now required. Gambas do not compile anymore with older versions of Qt 3.0. o) Gambas does not compile with gcc 3.0.x. It seems that it is a bug of gcc. Use gcc 3.2 instead. (Note that there is a not yet resolved include file clash with gcc 2.9x). This can be a problem for you current SuSE version 8.1. If this is the case I can't help you how to change the version. I had no luck on my system to upgrade it without recompile the most of my system with it. o) You must have the right to write to /tmp, otherwise Gambas will not work. This will be set by SuSE install but a verify is always a good point. =========================================== The problem you have at the moment is due a old QT version I see /usr/lib/qt-3.0.5 in you output of the make file. May be first a upgrade of KDE can help you the best to start with at ftp://ftp.kde.org/pub/kde/stable/3.2.1/SuSE/ix86/8.1 is the newest KDE3.2.1 and the required QT as v3.3.1 at the same place. All together it is 175Mbyte It is a big job but I'm afraid you will end here anyway. I have just done myself and will try to make notes what I do during the upgrade. On the KDE site you can find instructions how to do the upgade. but as a short guide it goes as follows. You should first upgrade QT, than the KDE kdelibs3, kdebase3, arts then you may start the rest, applications etc. The reason is that if you upgrade QT to this version or QT 3.1 it is unsure your current KDE 3.01 is still functional. Then you must upgrade KDE and to what version? At the end you will upgrade the current one 3.2.1 which is a bug fix of 3.2.0 (there are however some of 3.2.0 in the new 3.2.1 release) When this all works you can go for the developer package you need and then start to compile gambas again. Sorry but it shows as a complete new system and I think that is. The only other way left is Update SuSE to 8.2 (need 10 upgrades after it) or 9.0 (need a few after it) to be at the latest and can compile gambas. or go for mandrake or gentoo while the are at install already on this level you need. See it as you have w95 but need at least w98 but it runs at best the only one you can get at the moment XP. Ron ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Thu Apr 15 17:25:08 2004 From: ronstk at ...239... (ron) Date: Thu, 15 Apr 2004 17:25:08 +0200 Subject: [Gambas-user] Network Component Problem In-Reply-To: <200404151625.35496.dimitribellini@...69...> References: <200404151625.35496.dimitribellini@...69...> Message-ID: <200404151725.08900.ronstk@...239...> On Thursday 15 April 2004 16:25, Dimitri Bellini wrote: > You can forget my suggestion Dimitri. I found the example you did use 'ServerSocket' At my box it runs without problem. Sorry for the wrong suggestion. Ron From ronstk at ...239... Thu Apr 15 17:27:35 2004 From: ronstk at ...239... (ron) Date: Thu, 15 Apr 2004 17:27:35 +0200 Subject: [Gambas-user] INHERITS In-Reply-To: <200404151614.06186.dimitribellini@...69...> References: <200404130714.37198.dimitribellini@...69...> <200404132112.54927.abidoo.too@...11...> <200404151614.06186.dimitribellini@...69...> Message-ID: <200404151727.35719.ronstk@...239...> On Thursday 15 April 2004 16:14, Dimitri Bellini wrote: > Thanks for Help > I solved my Problem !! > Thanks in advance > Dimitri > Sounds good, can you tell what you did? I'm a bit curious, you know. Can always help some other people to with same problem. Ron From dimitribellini at ...69... Thu Apr 15 17:34:00 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 15 Apr 2004 17:34:00 +0200 Subject: [Gambas-user] Network Component Problem In-Reply-To: <200404151714.10357.ronstk@...239...> References: <200404151625.35496.dimitribellini@...69...> <200404151714.10357.ronstk@...239...> Message-ID: <200404151734.00821.dimitribellini@...69...> Dear Ron thanks for your help :-) I have try to change but i still have the same error :-) I hope in Daniel.. Dimitri On Thursday 15 April 2004 05:14 pm, ron wrote: > On Thursday 15 April 2004 16:25, Dimitri Bellini wrote: > > Dear All > > i want to use the network component so i see the example ServerSocket > > and i put it in a new Project but when i RUN it Gambas return an Error > > like this: "Null Object" in this line > > Server.Type=Net.Internet > > The Code: > > ----- > > '-------------- Network Server > > PRIVATE Server AS ServerSocket > > PRIVATE Client AS Object[] > > PRIVATE Waiting AS Boolean > > ..... > > PUBLIC SUB Button1_Click() > > > > IF combobox2.Index=0 THEN > > 'TCP > > Server.Type=Net.Internet > > ' The port to listen to > > Server.Port=Val(TextBox1.Text) > > ' we start listening > > Server.Listen(ComboBox1.Index) > > ELSE > > ' UNIX > > Server.Type=Net.Unix ' You could also use Net.Local > > Server.Path=TxtPath.Text > > Server.Listen(ComboBox1.Index) > > END IF > > ------------------------------- > > you can try till Daniel gives a better solution if exist. > > PRIVATE Server AS Socket > instead of > PRIVATE Server AS ServerSocket > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Thu Apr 15 18:33:20 2004 From: ronstk at ...239... (ron) Date: Thu, 15 Apr 2004 18:33:20 +0200 Subject: [Gambas-user] PRB: Completion in NetWork examples. Message-ID: <200404151833.20725.ronstk@...239...> Hi Daniel, Benoit, During lookup in the network examples I found the auto completion does not work. Only for the controls on the form. in the 'ServerSocket' in the first Sub i add add the begin server. and no completion start. Is there something wrong? I check 4 or 5 of them and none works. then I start new project PUBLIC srv AS SerialPort STATIC PUBLIC SUB Main() srv.CTS srv.DataBits END all is working Import the F.class from ClientSocket Test for auto completion, Not working copy the global part to my class file, test and working For some reason the class files daniel made does not work any more with autocompletion, here on my box Then I try copy sub by sub. test every time and work delete the build class new class check daniels file, not working copy the whole class to the new class in the old still not working in the new class working -------------- next part -------------- A non-text attachment was scrubbed... Name: mynet-0.0.tar.gz Type: application/x-tgz Size: 2166 bytes Desc: not available URL: From daniel.campos at ...338... Thu Apr 15 19:01:31 2004 From: daniel.campos at ...338... (Daniel) Date: Thu, 15 Apr 2004 19:01:31 +0200 Subject: [Gambas-user] Network Component Problem In-Reply-To: <200404151625.35496.dimitribellini@...69...> References: <200404151625.35496.dimitribellini@...69...> Message-ID: <1082048491.3240.2.camel@...40...> El jue, 15-04-2004 a las 16:25, Dimitri Bellini escribi?: > Dear All > i want to use the network component so i see the example ServerSocket and i > put it in a new Project but when i RUN it Gambas return an Error like this: > "Null Object" in this line > Server.Type=Net.Internet > The Code: > ----- > '-------------- Network Server > PRIVATE Server AS ServerSocket > PRIVATE Client AS Object[] > PRIVATE Waiting AS Boolean > .... > PUBLIC SUB Button1_Click() > > IF combobox2.Index=0 THEN > 'TCP > Server.Type=Net.Internet > ' The port to listen to > Server.Port=Val(TextBox1.Text) > ' we start listening > Server.Listen(ComboBox1.Index) > ELSE > ' UNIX > Server.Type=Net.Unix ' You could also use Net.Local > Server.Path=TxtPath.Text > Server.Listen(ComboBox1.Index) > END IF > ------------------------------- > > I used Gambas 0.92a on Mandrake 10, I found a small issue using MDK10 and > gambas when error is found the Error Box dont is open in background under the > Form. > > PS: If i run The Example Code ServerSocket no problem found. 'NULL object' means that the object was not created when you tried to read '.Type' property. Look at the server socket example: I create the object here: PUBLIC SUB Form_Open() ... Server=NEW ServerSocket AS "Server" <-- Here I create the object ... Check also I you have added 'net' component in the project properties Regards, Daniel Campos > > Thanks in advance > Dimitri > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From dimitribellini at ...69... Thu Apr 15 19:50:32 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 15 Apr 2004 19:50:32 +0200 Subject: [Gambas-user] Network Component Problem In-Reply-To: <1082048491.3240.2.camel@...40...> References: <200404151625.35496.dimitribellini@...69...> <1082048491.3240.2.camel@...40...> Message-ID: <200404151950.32921.dimitribellini@...69...> Dear Daniel I dont have create in "form Load" the line below... :-( Now works great!! Thanks for your help Dimitri On Thursday 15 April 2004 07:01 pm, Daniel wrote: > ? Server=NEW ServerSocket AS "Server" ?<-- Here I create the object From immanuel at ...18... Thu Apr 15 21:26:09 2004 From: immanuel at ...18... (Immanuel Witschi) Date: Thu, 15 Apr 2004 21:26:09 +0200 Subject: [Gambas-user] startup problem Message-ID: <407EE1D1.5090701@...18...> Hello I got no errors at configuring and no errors at compiling (on debian-i386-unstable-gnome) but when I start gambas like: # gambas it says: ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.so': /opt/gambas/lib/lib.gb.qt.so: cannot open shared object file: file or directory not found why is it not there??? Immanuel From gambas at ...1... Thu Apr 15 23:06:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 15 Apr 2004 23:06:18 +0200 Subject: [Gambas-user] PRB: Completion in NetWork examples. In-Reply-To: <200404151833.20725.ronstk@...239...> References: <200404151833.20725.ronstk@...239...> Message-ID: <200404152306.18901.gambas@...1...> On Thursday 15 April 2004 18:33, ron wrote: > Hi Daniel, Benoit, > > During lookup in the network examples I found the auto completion does not > work. Only for the controls on the form. > > in the 'ServerSocket' in the first Sub i add add the begin > server. and no completion start. > > Is there something wrong? > ... Yes :-) The autocompletion does not work when the class name length is one character ! Internally, the autocompletion use one character length names to represent native datatypes: Integer, String, Boolean, ... ! I will find a workaround... But class names of one character is not a very good idea. Daniel ? :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From ronstk at ...239... Fri Apr 16 00:37:40 2004 From: ronstk at ...239... (ron) Date: Fri, 16 Apr 2004 00:37:40 +0200 Subject: [Gambas-user] PRB: Completion in NetWork examples. In-Reply-To: <200404152306.18901.gambas@...1...> References: <200404151833.20725.ronstk@...239...> <200404152306.18901.gambas@...1...> Message-ID: <200404160037.41674.ronstk@...239...> On Thursday 15 April 2004 23:06, Benoit Minisini wrote: > On Thursday 15 April 2004 18:33, ron wrote: > > Hi Daniel, Benoit, > > > > During lookup in the network examples I found the auto completion does > > not work. Only for the controls on the form. > > > > in the 'ServerSocket' in the first Sub i add add the begin > > server. and no completion start. > > > > Is there something wrong? > > ... > > Yes :-) The autocompletion does not work when the class name length is one > character ! Internally, the autocompletion use one character length names > to represent native datatypes: Integer, String, Boolean, ... ! > > I will find a workaround... > > But class names of one character is not a very good idea. Daniel ? :-) > > Regards, Thanks, it is by this not a fail in my program too. I didn't got the symbols for his class and was scared I made a mistake. Don't go to far for a work arround, simple no 1 letter accept for class and form etc. is the best way and easy, less is other after all useless. For the name I mean not the content that is good. Ron From ronan at ...384... Fri Apr 16 09:53:26 2004 From: ronan at ...384... (Ronan Chilvers) Date: Fri, 16 Apr 2004 08:53:26 +0100 Subject: [Gambas-user] Network Component Problem Message-ID: <3f350fc7013a693425f38dccb5bb9385@...421...> Hi Dmitri --------- Original Message -------- > "Null Object" in this line > Server.Type=Net.Internet > The Code: > ----- > '-------------- Network Server > PRIVATE Server AS ServerSocket > PRIVATE Client AS Object[] > PRIVATE Waiting AS Boolean > ...... > PUBLIC SUB Button1_Click() > I think you need something like Server = NEW ServerSocket as "Server" in here, at the start of the Button1_Click sub... > IF combobox2.Index=0 THEN > 'TCP > Server.Type=Net.Internet .... ________________________________________________ Message sent using UebiMiau 2.7.8 From nigel at ...38... Fri Apr 16 15:32:44 2004 From: nigel at ...38... (Nigel Gerrard) Date: Fri, 16 Apr 2004 14:32:44 +0100 Subject: [Gambas-user] Bug: FSupSelector Message-ID: <000e01c423b7$4cf6b340$81db4f51@...360...> Benoit, Forgive me if this is already reported and being worked on but in 0.92a, you are unable to open a project within a folder of the same name; this is evident if you try and open the database example. I have hacked together a fix, but obviously needs QA for any knock on affects. My fix is: Replace Line 329 of FSupSelector.class with: IF File.Name(sCurrentPath) = sFile THEN IF NOT sPath THEN sFile = "" ENDIF regards Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: From roberto.premoli at ...422... Fri Apr 16 15:56:10 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Fri, 16 Apr 2004 08:56:10 -0500 Subject: [Gambas-user] Here a new member of the list. Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C10@...423...> Hi there, Roberto here, from Italy. I was the gambas project, so i immediately link the mailing list. Next week I will install on PC (I am a Debian user). Some questions: How many people in this mailing list? How many Italian people in this mailing list? I saw gambas reached 0.92a version: does it mean it is to be consieder gambas still nost stable till 1.00? Roberto www.scomodo.com/~roberto This communication is intended solely for the use of the addressee and may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately and delete it from his or her computer. From sourceforge-raindog2 at ...94... Fri Apr 16 16:41:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 16 Apr 2004 10:41:06 -0400 Subject: [Gambas-user] Here a new member of the list. In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C10@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C10@...423...> Message-ID: <200404161041.06825.sourceforge-raindog2@...94...> On Friday 16 April 2004 09:56, Premoli, Roberto [ITPPG/1010] wrote: > I saw gambas reached 0.92a version: does it mean it is to be > consieder gambas still nost stable till 1.00? It has stabilized a lot, and I think it should be considered beta at this point. But there's always the chance the language or included components will change again between now and 1.0, so if that concerns you I'd still wait. Rob From gambas at ...1... Fri Apr 16 19:42:19 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 16 Apr 2004 19:42:19 +0200 Subject: [Gambas-user] Here a new member of the list. In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C10@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C10@...423...> Message-ID: <200404161942.19503.gambas@...1...> On Friday 16 April 2004 15:56, Premoli, Roberto [ITPPG/1010] wrote: > Hi there, > Roberto here, from Italy. > > I was the gambas project, so i immediately link the mailing list. > Next week I will install on PC (I am a Debian user). > > Some questions: > > How many people in this mailing list? 217 at the moment. > > How many Italian people in this mailing list? No idea! > > I saw gambas reached 0.92a version: does it mean it is to be consieder > gambas still nost stable till 1.00? Yes. Still many bugs to fix in the IDE interface, and documentation to update. Regards, -- Benoit Minisini mailto:gambas at ...1... From creafab at ...402... Fri Apr 16 20:36:22 2004 From: creafab at ...402... (Fabien3D) Date: Fri, 16 Apr 2004 20:36:22 +0200 Subject: [Gambas-user] mandrake packages of gambas 0.92a In-Reply-To: <200404141047.41709.sourceforge-raindog2@...94...> References: <200404141047.41709.sourceforge-raindog2@...94...> Message-ID: <200404162036.22562.creafab@...402...> Le Mercredi 14 Avril 2004 16:47, Rob a ?crit : > I built packages of 0.92a and, considering the possible damage to > your code from 0.92, removed those older packages. > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=54 > > The gambas-complete and gambas-runtimeonly packages are in there > too. > > Rob Thanks ! I couldn't have the documentation to work with the previous packages ! -- Fabien3D CREAFab, la cr?ation num?rique autrement... http://creafab.free.fr From daniel.campos at ...338... Fri Apr 16 20:14:14 2004 From: daniel.campos at ...338... (Daniel) Date: Fri, 16 Apr 2004 20:14:14 +0200 Subject: [Gambas-user] PRB: Completion in NetWork examples. In-Reply-To: <200404152306.18901.gambas@...1...> References: <200404151833.20725.ronstk@...239...> <200404152306.18901.gambas@...1...> Message-ID: <1082139174.5521.1.camel@...40...> > > I will find a workaround... > > But class names of one character is not a very good idea. Daniel ? :-) Eehhr... Yes, in fact I hate them... I don't know what I was thinking that day... I'll fix it in few time Regards, Daniel Campos From Karl.Reinl at ...9... Sat Apr 17 00:28:45 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 17 Apr 2004 00:28:45 +0200 Subject: [Gambas-user] XTableView class Message-ID: <200404170028.45613.Karl.Reinl@...9...> Salut, back again. I worked on the XTableView class Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: CVTest1-0.0.2.tar.gz Type: application/x-tgz Size: 19587 bytes Desc: not available URL: From MAILER-DAEMON at ...425... Sat Apr 17 15:00:14 2004 From: MAILER-DAEMON at ...425... (Mail Delivery Subsystem) Date: Sat, 17 Apr 2004 07:00:14 -0600 Subject: [Gambas-user] Returned mail: see transcript for details Message-ID: <200404171300.i3HD0EZj081216@...425...> The original message was received at Sat, 17 Apr 2004 07:00:13 -0600 from d03av01.boulder.ibm.com [9.17.193.81] ----- The following addresses had permanent fatal errors ----- (reason: 550 5.1.1 ... User unknown) ----- Transcript of session follows ----- ... while talking to d03mjd01.boulder.ibm.com.: >>> DATA <<< 550 5.1.1 ... User unknown 550 5.1.1 ... User unknown <<< 503 5.0.0 Need RCPT (recipient) -------------- next part -------------- An embedded message was scrubbed... From: gambas-user at lists.sourceforge.net Subject: Re: Re: Message Date: Sat, 17 Apr 2004 18:29:53 +0530 Size: 1701 URL: From Karl.Reinl at ...9... Sat Apr 17 21:38:00 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 17 Apr 2004 21:38:00 +0200 Subject: [Gambas-user] SHELL / EXEC and Process Message-ID: <200404172138.00313.Karl.Reinl@...9...> Salut Benoit, I can you confime that SHELL / EXEC and Process now work as good as they dit at gambas-0.52. I work on gambas-0.92a, but I read only today that it was changed in gambas-0.91 Today first time since gambas-0.52 I ran my project TomySql successfull. There where and will be a lot of things to do, but now I can reaccess via SHELL / EXEC and Process to MySQL. Thanks Amicalement Charlie From ronstk at ...239... Sun Apr 18 18:12:17 2004 From: ronstk at ...239... (ron) Date: Sun, 18 Apr 2004 18:12:17 +0200 Subject: [Gambas-user] Virus attack at my box Message-ID: <200404181812.17532.ronstk@...239...> Hi all, I get the last week many email containing a virus. Attached are two snapshots of two groups. ---------- first group (viruslog16.jpg) The favorite sender has send from 213.41.146.174 This is a France network owner. 'nerim.net' the other ip addresses are more different but same network owner. For both the majority it is coming from France or is related to France. Also for domain the opensource/linux is favorite in direct or indirect way found by googling for the person and domain names. Senders IP are fake addresses in IP blocks for France. ---------- second group (viruslog1B.jpg) the second senders ip is in a german provider in berlin and for these they are comming from the same subnetwork of it. common in most of them is a germant IP netblock owner For one of them the sender is a fake but has someone this addressin his adressbook, using windows, Symantec anti Virus and maybe Opera on laptop? Peter1/Nestor.NESTOR @ nestor-online.de ---------- This results for me these two virusses are send by 2 users living in France and Germany and has interesse in linux and is maybe is a gambas user. My email address is public at the homepage of gambas and the time it started is after the 0.92 release. Also emails between me and some gambas users can be a hint. In the past 5 years I was passed by those virus mails but now they start to come aftrer I have lucky dropped the M$ loserdows box. :+) Look for a reasonable user name and/or domain existence in your addressbook (windows, laptop?), a bit combining of them can give a match. The DateTime can also help for users not 24/7 online. If you see a time and know you have at least 1 hour before that time no connection to the internet than that email is not from you. Maybe the others also not from you that way. There was after 14-apr a third one send to me. Using google to find the persons and domain there was a match in a subject Using this method shows me a candidate for the third virus sender and after contact him he was indeed infected. Installed a program that day and used a crack to use it. resulting in a bombardment of 1 each hour. usernames and domain matched random and some where unique for him. maybe the two pictures contains also for others here a match. They are delivered direct at ISP mail que using MX records or the sender is in the tiscali.nl domain. -------------- next part -------------- A non-text attachment was scrubbed... Name: viruslog1B.jpeg Type: image/jpeg Size: 32735 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: viruslog16.jpeg Type: image/jpeg Size: 44894 bytes Desc: not available URL: From roberto.premoli at ...422... Mon Apr 19 11:02:36 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Mon, 19 Apr 2004 04:02:36 -0500 Subject: [Gambas-user] Question about GAMBAS use and GPL Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C16@...423...> Here a question for Debian Users, as i am: In "download" section, referring Debian, it is wrote: Add the following line to /etc/apt/sources.list: deb http://www.linex.org/sources/linex/debian/ woody linex and use apt-get. But in "Distribution and OS" section it is wrote: System Version Status Note Debian Woody OK You need to set the system to unstable so that you have the more recent libraries. It is correct? I mean, Have I to add deb http://www.linex.org/sources/linex/debian/ woody linex and ALSO switch from stable to unstable, and then run 'apt-get install gambas' ? Take note that I never installed gambas before, so be patient with me :-) Thanks, Roberto www.scomodo.com/~roberto This communication is intended solely for the use of the addressee and may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately and delete it from his or her computer. From john.bartlett at ...427... Mon Apr 19 11:07:35 2004 From: john.bartlett at ...427... (John Bartlett) Date: Mon, 19 Apr 2004 10:07:35 +0100 Subject: [Gambas-user] Mouse position on a drawing area Message-ID: <1082365239.2818.10.camel@...428...> Hi, I am stuck! I am trying to retrieve information as to the position of the mouse over a drawing area. I have tried the MouseDown (X as Integer, Y as Integer, B as Button) event but each time I try to instantiate a new form, the error message reports "Bad Event handler in Fgraph.DrawingArea1_MouseDown(): Too many arguments.". The same applies if I try MouseMove. I am using Gambas 0.91 on Suse Linux 9.0 with KDE 3.1 and QT 3.21-56. Am I doing anything wrong? Thanks John Bartlett From olinux at ...289... Mon Apr 19 11:56:19 2004 From: olinux at ...289... (olinux) Date: Mon, 19 Apr 2004 11:56:19 +0200 Subject: [Gambas-user] Return from nowhere.... Message-ID: <1082368579.13732.5.camel@...37...> due to some ADSL problems #$?~!!! i was not here for a long time here I comme back somme questions about last evolutions of gambas. 1) more gambas version number grow, more warning at compilation time, is it normal? 2) executables codes can't be run on another computer where gambas is installed, why ???? last question is realy important, this is a big problem because this implye than a programmer must distribut source code for gambas prog run and it is not raisonnable for enduser utilisation. regards Olivier Coquet (Olinux) -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Mon Apr 19 13:34:45 2004 From: ronstk at ...239... (ron) Date: Mon, 19 Apr 2004 13:34:45 +0200 Subject: [Gambas-user] Mouse position on a drawing area In-Reply-To: <1082365239.2818.10.camel@...428...> References: <1082365239.2818.10.camel@...428...> Message-ID: <200404191334.46085.ronstk@...239...> On Monday 19 April 2004 11:07, John Bartlett wrote: > Hi, > > I am stuck! > > I am trying to retrieve information as to the position of the mouse over > a drawing area. I have tried the MouseDown (X as Integer, Y as Integer, > B as Button) event but each time I try to instantiate a new form, the > error message reports "Bad Event handler in > Fgraph.DrawingArea1_MouseDown(): Too many arguments.". The same applies > if I try MouseMove. > > I am using Gambas 0.91 on Suse Linux 9.0 with KDE 3.1 and QT 3.21-56. > > Am I doing anything wrong? > > Thanks > > John Bartlett As of version .90 and higher the arguments in the events are almost moved to there origin objects. In you request it is the mouse Use gb.qt.Mouse to see what is available and use gb.qt.Key for the keyboard Do not forget to set DrawingArea1.Tracking=TRUE else it will not work This code snipped works here. ' should be done in property sheet or the initialize routine.of the form PUBLIC SUB DrawingArea1_KeyPress() DrawingArea1.Tracking = TRUE END ' this shows the mouse position in the area PUBLIC SUB DrawingArea1_MouseMove() TextBox1.Text = Mouse.X TextBox2.Text = Mouse.Y END From gambas at ...1... Mon Apr 19 16:39:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 19 Apr 2004 16:39:15 +0200 Subject: [Gambas-user] Return from nowhere.... In-Reply-To: <1082368579.13732.5.camel@...37...> References: <1082368579.13732.5.camel@...37...> Message-ID: <200404191639.15700.gambas@...1...> On Monday 19 April 2004 11:56, olinux wrote: > due to some ADSL problems #$?~!!! > i was not here for a long time > here I comme back > > somme questions about last evolutions of gambas. > > 1) more gambas version number grow, more warning at compilation time, is > it normal? Yes. It depends on the gcc version. > > 2) executables codes can't be run on another computer where gambas is > installed, why ???? > Maybe not the same version of gambas. > last question is realy important, this is a big problem because this > implye than a programmer must distribut source code for gambas prog run > and it is not raisonnable for enduser utilisation. What is needed is the three following things: 1. A stable version of Gambas (soon, soon...) 2. Binary packages of Gambas for distributions 3. A RPM package maker in the IDE. #1 is slowly coming. #3 is in progress, at least for Mandrake, thanks to the help of Rob. #2 depends on #1 and contributors. Regards, -- Benoit Minisini mailto:gambas at ...1... From olinux at ...289... Mon Apr 19 16:43:40 2004 From: olinux at ...289... (olinux) Date: Mon, 19 Apr 2004 16:43:40 +0200 Subject: [Gambas-user] Return from nowhere.... In-Reply-To: <200404191639.15700.gambas@...1...> References: <1082368579.13732.5.camel@...37...> <200404191639.15700.gambas@...1...> Message-ID: <1082385820.5970.1.camel@...37...> i've found some answer to problem of exe not running. exe run if i put in the same folder: exe file .project file .gambas folder is there a reason for that? regards Olivier Coquet Le lun 19/04/2004 ? 16:39, Benoit Minisini a ?crit : > On Monday 19 April 2004 11:56, olinux wrote: > > due to some ADSL problems #$?~!!! > > i was not here for a long time > > here I comme back > > > > somme questions about last evolutions of gambas. > > > > 1) more gambas version number grow, more warning at compilation time, is > > it normal? > > Yes. It depends on the gcc version. > > > > > 2) executables codes can't be run on another computer where gambas is > > installed, why ???? > > > > Maybe not the same version of gambas. > > > last question is realy important, this is a big problem because this > > implye than a programmer must distribut source code for gambas prog run > > and it is not raisonnable for enduser utilisation. > > What is needed is the three following things: > 1. A stable version of Gambas (soon, soon...) > 2. Binary packages of Gambas for distributions > 3. A RPM package maker in the IDE. > > #1 is slowly coming. #3 is in progress, at least for Mandrake, thanks to the > help of Rob. #2 depends on #1 and contributors. > > Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: From gibsonsphoto at ...247... Mon Apr 19 16:51:40 2004 From: gibsonsphoto at ...247... (neil lewis) Date: Mon, 19 Apr 2004 15:51:40 +0100 Subject: [Gambas-user] Confused by out of control loop Message-ID: <4083E77C.4040104@...247...> Hi all, I'm still working on my interlacing application, LILi, in Gambas, and I've got a strange effect which I cannot fathom. Briefly, LILi, takes between 2 and 12 images, cuts them into strips according to parameters collected by the GUI, then makes a composite from them. I have completed my GUI and the code for the basic funcionality and I'm in the process f testing and debugging before adding any extra error checking. When single stepping, I can look at the output image and temporary strip collection at each stage and see LILi doing exactly what I expect. At the end of the interlacing loop, it reverts back to the GUI as I expect it to do. If I run the program normally, it seems to fdo the same, but then after it has completed I think it tries to do it all again, generating "file not found" errors. It also overwrites the output image file it has just created. I've attached my class & form files and would welcome any input. Neil Lewis, London. -------------- next part -------------- A non-text attachment was scrubbed... Name: LILi-012.tgz Type: application/x-gtar Size: 32683 bytes Desc: not available URL: From roberto.premoli at ...422... Mon Apr 19 16:59:22 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Mon, 19 Apr 2004 10:59:22 -0400 Subject: [Gambas-user] Problems installing gambas on debian Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C1E@...423...> on gambas site, at debian istalling is wrote: ...................................................................... Gambas is divided in two packages: gambas, and gambas-doc that contains the help and examples. They are ready to be used with Debian 3.0r2, a.k.a. Debian woody. These packages are made by Jos? L. Redrejo . To install them: * Add the following line to /etc/apt/sources.list: deb http://www.linex.org/sources/linex/debian/ woody linex and use apt-get. * Or just download the packages from ...................................................................... well, I prepared a debian from scratch, installing the minimun with stable. Then i modified /etc/apt/souce.conf list into unstable then add to /etc/apt/souce.conf the line deb http://www.linex.org/sources/linex/debian/ woody linex then I isntalled kde 3.2.X. It works good. Then i tryed to install gambas with apt-get install gambas but I got this message: sorry, but the following packages have unmet dependencies: gambas: Depends: kdelibs4 (>= 4:3.1.1) but it is not going to be installed. I also did apt-get install kdelibs4 but I got this message: Sorry, kdelibs4 is already the newest version. What can i do to get gambas on my debianbox? other topic: the link doesnt work. Thanks, Roberto Roberto Premoli Pharmacia Corporation Information Technology Customer Care Group Milano - Italy +39.02.4838.4734 This communication is intended solely for the use of the addressee and may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately and delete it from his or her computer. From info at ...430... Mon Apr 19 17:14:31 2004 From: info at ...430... (Jonathan Lyster) Date: Mon, 19 Apr 2004 08:14:31 -0700 Subject: [Gambas-user] Trouble with examples In-Reply-To: <200404191639.15700.gambas@...1...> References: <1082368579.13732.5.camel@...37...> <200404191639.15700.gambas@...1...> Message-ID: <200404190814.31072.info@...430...> I have a consistent problem with version 0.92, which I didn't see in previous versions. Whenever I try opening the examples, I get a dialog box saying "access is forbidden". I can fix the problem by changing the permissions of the examples files, but they don't work on initial installation. Has anyone else seen this problem? Regards; Jonathan From _root at ...324... Mon Apr 19 18:52:03 2004 From: _root at ...324... (-=FoX=-) Date: Mon, 19 Apr 2004 18:52:03 +0200 Subject: [Gambas-user] Problems installing gambas on debian In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C1E@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C1E@...423...> Message-ID: <408403B3.8030305@...324...> Yes, i have the same problem with Debian Sid. You can try to download the source and then configure it without kde. I think is a kde 3.2 problem bye ciao :) From Karl.Reinl at ...9... Mon Apr 19 20:03:08 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 19 Apr 2004 20:03:08 +0200 Subject: [Gambas-user] Confused by you send Data (LILi) Message-ID: <200404192003.08333.Karl.Reinl@...9...> To Neil Lewis, sorry but your ' attached my class & form files', don't make a gambas-project. Use in the IDE Project/make soucre package Amicalement Charlie From abidoo.too at ...11... Mon Apr 19 20:54:39 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 19 Apr 2004 20:54:39 +0200 Subject: [Gambas-user] Virus attack at my box In-Reply-To: <200404181812.17532.ronstk@...239...> References: <200404181812.17532.ronstk@...239...> Message-ID: <200404192054.40075.abidoo.too@...11...> Le dimanche 18 Avril 2004 18:12, ron a ?crit : I've the same problem since 1 month... 1 to 4 or 6 viruses mail per day... Fortunaly, i've linux. Who is the newbie who use always outlook ? Fabien From pastrano at ...431... Mon Apr 19 22:06:24 2004 From: pastrano at ...431... (Gianni Piccini) Date: Mon, 19 Apr 2004 22:06:24 +0200 Subject: [Gambas-user] Trouble with examples In-Reply-To: <200404190814.31072.info@...430...> References: <1082368579.13732.5.camel@...37...> <200404191639.15700.gambas@...1...> <200404190814.31072.info@...430...> Message-ID: <1082405185.1194097.40843141@...432...> On Mon, 19 Apr 2004 08:14:31 -0700, you wrote: > Has anyone else seen this problem? I'm here:-) Obviously, I've changed permissions, I am a Gambas newbie and examples had to be seen! Ps: as an old vb user, I must say that Gambas is really impressive! Nice nice work, thanks. In the next days, I will try some code (I hope) From g.brandl at ...18... Tue Apr 20 00:20:17 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 20 Apr 2004 00:20:17 +0200 Subject: [Gambas-user] German translation of Tips Message-ID: <408450A1.4020703@...18...> Hello, I made a German translation of the Tips of the Day. See attached file. Greetings, Georg -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tips.de URL: From roberto.premoli at ...422... Tue Apr 20 10:26:14 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Tue, 20 Apr 2004 04:26:14 -0400 Subject: [Gambas-user] when gambas 1.00? Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C22@...423...> when gambas 1.0.0 will be ready? There is a roadmap? I had problem with Debian, because UNSTABLE flower is too much unstable (after reboot network card and apt gone out of order), so I didt get installation of gambas 0.92a at all. Now I redid the installation, but with TESTING flower. Of course, it will be not enough cos gambas asks for kdelibs4 (>= 4:3.1.1) that arent still (at yesterday) avaiable in UNSTABLE flower. Now I will try with debian TESTING and with sorce code of GAMBAS. Someone can support me? Some other italian people with whom talk about gambas directly in italian language? What all I need is to have a running version of gambas on my laptop, cos I have a lot of curiosity about it. Thanks, Roberto This communication is intended solely for the use of the addressee and may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately and delete it from his or her computer. From g.brandl at ...18... Tue Apr 20 11:15:28 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 20 Apr 2004 11:15:28 +0200 Subject: [Gambas-user] Tips again... Message-ID: <4084EA30.4040004@...18...> Hello, here are the tips again, this time in UTF-8 format... Georg -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tips.de URL: From g.brandl at ...18... Tue Apr 20 11:33:17 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 20 Apr 2004 11:33:17 +0200 Subject: [Gambas-user] Multiple declarations Message-ID: <4084EE5D.8070104@...18...> Hello, I currently miss the ability to declare more than one variable in one line, such as: DIM x, y AS INTEGER Would it be difficult to implement such an extension? Georg From _root at ...324... Tue Apr 20 13:34:37 2004 From: _root at ...324... (_root) Date: Tue, 20 Apr 2004 13:34:37 +0200 Subject: [Gambas-user] when gambas 1.00? Message-ID: > I had problem with Debian, because UNSTABLE flower > is too much unstable (after reboot network card and > apt gone out of order), The problem is the last update of KDE. :/ > Now I redid the installation, but with TESTING flower. > Of course, it will be not enough cos gambas asks for > kdelibs4 (>= 4:3.1.1) that arent still (at yesterday) > avaiable in UNSTABLE flower. If you use synaptic as apt frontend you can try to downgrade Kdelibs > Someone can support me? Some other italian people with > whom talk about gambas directly in italian language? Scrivimi a _root at ...69... Ciao ;) Fox -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Smista, incollona e conta le monete Euro. Indispensabile per il business il nuovo Contamonete Elettronico Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2414&d=20-4 From sourceforge-raindog2 at ...94... Tue Apr 20 14:25:15 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 20 Apr 2004 08:25:15 -0400 Subject: [Gambas-user] when gambas 1.00? In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C22@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C22@...423...> Message-ID: <200404200825.15718.sourceforge-raindog2@...94...> On Tuesday 20 April 2004 04:26, Premoli, Roberto [ITPPG/1010] wrote: > Now I redid the installation, but with TESTING flower. > Of course, it will be not enough cos gambas asks for > kdelibs4 (>= 4:3.1.1) that arent still (at yesterday) > avaiable in UNSTABLE flower. Sounds like whoever is packaging gambas for debian is using a too-recent KDE. But kdelibs 3.1.1 is at this point over a year old (I'm running Mandrake 9.1 on my laptop still and that's what version is on it), and I really don't see a problem with a brand new piece of software requiring year-old libraries. ;) I'm sorry, I take that back. Mandrake 9.1 has KDE 3.1.0, and I'm still able to build and use Gambas just fine. What does debian testing have, 3.0.4? Because that's just ancient. Part of running a distro that prides itself on using stable, tested, and outdated software is that you sometimes just can't run the new stuff. I don't think Gambas 1.0 will work any better for you in your present situation than any of the alphas or betas have up to this point. Rob From roberto.premoli at ...422... Tue Apr 20 14:55:19 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Tue, 20 Apr 2004 07:55:19 -0500 Subject: [Gambas-user] when gambas 1.00? Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C2F@...423...> >I'm sorry, I take that back. Mandrake 9.1 has KDE 3.1.0, and I'm >still able to build and use Gambas just fine. What does debian >testing have, 3.0.4? Because that's just ancient. Part of >running a distro that prides itself on using stable, tested, and >outdated software is that you sometimes just can't run the new >stuff. I don't think Gambas 1.0 will work any better for you in >your present situation than any of the alphas or betas have up >to this point. >Rob Hi Rob (that means Robert? in that case, we have same name :-) ) Well, I got the latest debian flower called unstable (if u know debian way, you know what i mean). I few words, it means that it is the latest version of debian (called SID): nothing in more newer than unstable SID packages. It use KDE 3.2.2. Unfortunately, debian is known as conservative: it means that everything need more time to be implemented in debian than in other distributions. Perhaps, it will be enough for me to wait some months, but also 2 weeks are too much cos i really wish to "turn on" gambas on my pc. Roberto This communication is intended solely for the use of the addressee and may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately and delete it from his or her computer. From gambas at ...1... Tue Apr 20 17:56:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Apr 2004 17:56:42 +0200 Subject: [Gambas-user] Multiple declarations In-Reply-To: <4084EE5D.8070104@...18...> References: <4084EE5D.8070104@...18...> Message-ID: <200404201756.42846.gambas@...1...> On Tuesday 20 April 2004 11:33, Georg Brandl wrote: > Hello, > > I currently miss the ability to declare more than one variable in one > line, such as: > > DIM x, y AS INTEGER > > Would it be difficult to implement such an extension? > > Georg > It is not difficult, but it takes time, because the compiler must be modified, and the IDE class analyzer too, so that it can understand this new declaration syntax. I won't do it now. But maybe before the 1.0. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Apr 20 17:57:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Apr 2004 17:57:21 +0200 Subject: [Gambas-user] Tips again... In-Reply-To: <4084EA30.4040004@...18...> References: <4084EA30.4040004@...18...> Message-ID: <200404201757.21274.gambas@...1...> On Tuesday 20 April 2004 11:15, Georg Brandl wrote: > Hello, > > here are the tips again, this time in UTF-8 format... > > Georg Thanks Georg. -- Benoit Minisini mailto:gambas at ...1... From phantomgraph at ...67... Tue Apr 20 21:19:36 2004 From: phantomgraph at ...67... (The Phantomgraph) Date: Tue, 20 Apr 2004 19:19:36 +0000 Subject: [Gambas-user] RE: Trouble with examples Message-ID: Hi Jonathan , I can confirm this issue on my install of Gambas. (.92a) on my fedora box. It's a simple permission problem. This is what I did... (For folks who haven't tried or fixed it yet) in Terminal.. su to root cd /opt/gambas/share/ chmod a+xw examples/ -R It's probably not the most secure way, but that fixes the problem for me on my box. =P o==----------~==^==~---------==o Phantomgraph >Message: 2 >Date: Mon, 19 Apr 2004 08:14:31 -0700 >From: Jonathan Lyster >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] Trouble with examples >Reply-To: gambas-user at lists.sourceforge.net > >I have a consistent problem with version 0.92, which I didn't see in >previous >versions. Whenever I try opening the examples, I get a dialog box saying >"access is forbidden". I can fix the problem by changing the permissions of >the examples files, but they don't work on initial installation. > >Has anyone else seen this problem? > > >Regards; > Jonathan > _________________________________________________________________ MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/ From Karl.Reinl at ...9... Tue Apr 20 23:59:23 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 20 Apr 2004 23:59:23 +0200 Subject: [Gambas-user] For those how like TableViews Message-ID: <200404202359.23901.Karl.Reinl@...9...> Salut, worked on XTableView added Clone, CopyRow and CopyColumn made a (I hope so) better Demo-project. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: CVTest1-0.0.3.tar.gz Type: application/x-tgz Size: 21749 bytes Desc: not available URL: From na2492 at ...9... Wed Apr 21 00:15:51 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 21 Apr 2004 00:15:51 00200 Subject: [Gambas-user] RE: Trouble with examples Message-ID: <4085a117.6d51.0@...9...> >Hi Jonathan , > >I can confirm this issue on my install of Gambas. (.92a) on my fedora box. >It's a simple permission problem. > >This is what I did... (For folks who haven't tried or fixed it yet) > >in Terminal.. >su to root > >cd /opt/gambas/share/ > >chmod a+xw examples/ -R > >It's probably not the most secure way, but that fixes the problem for me on >my box. =P >o==----------~==^==~---------==o > Phantomgraph > > >>Message: 2 >>Date: Mon, 19 Apr 2004 08:14:31 -0700 >>From: Jonathan Lyster >>To: gambas-user at lists.sourceforge.net >>Subject: [Gambas-user] Trouble with examples >>Reply-To: gambas-user at lists.sourceforge.net >> >>I have a consistent problem with version 0.92, which I didn't see in >>previous >>versions. Whenever I try opening the examples, I get a dialog box saying >>"access is forbidden". I can fix the problem by changing the permissions of >>the examples files, but they don't work on initial installation. >> >>Has anyone else seen this problem? >> >> >>Regards; >> Jonathan >> Salut, this pb is reporteed since gambas-0.72, sometimes solved, actually not The IDE don't have the possibillity to make a workeable copy, so only chmod helps....???? I don't know why it is so,,, I don't see a reason for..??? Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Wed Apr 21 00:30:28 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 20 Apr 2004 18:30:28 -0400 Subject: [Gambas-user] RE: Trouble with examples In-Reply-To: <4085a117.6d51.0@...9...> References: <4085a117.6d51.0@...9...> Message-ID: <200404201830.28477.sourceforge-raindog2@...94...> On Tuesday 20 April 2004 20:15, na2492 at ...9... wrote: > this pb is reporteed since gambas-0.72, sometimes solved, > actually not The IDE don't have the possibillity to make a > workeable copy, so only chmod helps....???? I don't know why All that's really needed is something like if not exist(Application.Home &/ nameofproject) then shell "cp -a " & exampledir &/ nameofproject & " " & Application.Home &/ "" WAIT endif OpenTheProjectHowever(Application.Home &/ nameofproject) I will try to write a patch in my copious free time ;) Rob From quazar at ...403... Wed Apr 21 04:36:26 2004 From: quazar at ...403... (BluPhoenyx) Date: Tue, 20 Apr 2004 21:36:26 -0500 Subject: [Gambas-user] RE: Trouble with examples In-Reply-To: <200404201830.28477.sourceforge-raindog2@...94...> References: <4085a117.6d51.0@...9...> <200404201830.28477.sourceforge-raindog2@...94...> Message-ID: <20040420213626.3e4fcdcc@...433...> On Tue, 20 Apr 2004 18:30:28 -0400 Rob wrote: > On Tuesday 20 April 2004 20:15, na2492 at ...9... wrote: > > this pb is reporteed since gambas-0.72, sometimes solved, > > actually not The IDE don't have the possibillity to make a > > workeable copy, so only chmod helps....???? I don't know why > > All that's really needed is something like > > if not exist(Application.Home &/ nameofproject) then > shell "cp -a " & exampledir &/ nameofproject & " " & > Application.Home &/ "" WAIT > endif > > OpenTheProjectHowever(Application.Home &/ nameofproject) > > I will try to write a patch in my copious free time ;) Are you sure this is a flaw? The standard procedure in these cases require the user to copy the files (or subdirectories) to some place in their home directory or other user writable directory. This also gives the added benefit of keeping the original source pristine. -- Cheers, Mike T. Linux user #169067 (G)aim ID: Linux Lunatyk From sourceforge-raindog2 at ...94... Wed Apr 21 04:44:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 20 Apr 2004 22:44:53 -0400 Subject: [Gambas-user] RE: Trouble with examples In-Reply-To: <20040420213626.3e4fcdcc@...433...> References: <4085a117.6d51.0@...9...> <200404201830.28477.sourceforge-raindog2@...94...> <20040420213626.3e4fcdcc@...433...> Message-ID: <200404202244.53565.sourceforge-raindog2@...94...> On Tuesday 20 April 2004 22:36, BluPhoenyx wrote: > Are you sure this is a flaw? The standard procedure in these > cases require the user to copy the files (or subdirectories) > to some place in their home directory or other user writable > directory. This also gives the added benefit of keeping the > original source pristine. The current behavior (that lets you open the project, but then produces an error when you try to change it or even build it) is broken, and harmful to newbies. The behavior of making a root-owned examples directory world-writable, as many of us have done as a workaround, is an unacceptable practice from a security standpoint, especially if it were to be done automatically. So, automatically copying the example project down to the user's home directory (that's what Application.Home is) prior to opening it seems like the least intrusive way to do this, and it would even work on multiuser systems. That is what my above pseudocode is meant to do, and I think I can hack it into the Gambas IDE quickly once I have time to bury my nose in the source again. Rob From rizky at ...225... Wed Apr 21 04:40:54 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 21 Apr 2004 09:40:54 +0700 Subject: [Gambas-user] project properties menu Message-ID: <6.0.0.22.2.20040421093414.01d27a80@...329...> hi all, have you try to open the project properties menu to add some components ?? i have try to click the down arrow of the scroll button until the list goes down. after the list has at the end i still click it.. viola! sometimes the checkboxes aren't checked and sometimes it checked.. it also happen when the up arrow of the scrollbar... strange isn't it ?? Regards, tahara! From budi at ...415... Wed Apr 21 05:53:30 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 21 Apr 2004 10:53:30 +0700 Subject: [Gambas-user] New Keyword Message-ID: Hi..., What is the bad side if i show a form without instantiating it with NEW keyword ? Thanks, Budi From frankberg at ...390... Wed Apr 21 07:01:36 2004 From: frankberg at ...390... (Frank Berg) Date: Wed, 21 Apr 2004 07:01:36 +0200 Subject: [Gambas-user] tip to make it better Message-ID: <003d01c4275d$ba7247f0$0200a8c0@...391...> Hi, i try to make an module, witch can work with ini files like getPrivateProfileString(...) in VB my first try is to read the ini file in an string array.. an question to the CodeMasters: what can i make better?? snip ..................... PRIVATE iniFile AS String[] PRIVATE iniFileName AS String PUBLIC iniErrorCode AS Integer PUBLIC iniErrorText AS Integer ' read the hole File in an string array, PRIVATE FUNCTION read_ini_File(myFileName AS String ) AS String[] DIM f AS File DIM s1 AS String DIM s2 AS String IF myFileName<>iniFileName THEN DO TRY OPEN myFileName FOR READ LITTLE AS #f SELECT CASE Error() CASE 0 ' open command is OK ' OPEN myFileName FOR READ LITTLE AS #f ' open the TRY line correct?? WHILE NOT Eof(f) READ #f,s1,1 IF s1<>Chr(13) THEN s2=s2 & s1 WEND CLOSE #f iniFile=Split(s2,Chr(10)) iniFileName=myFileName iniErrorCode=0 iniErrorText="OK" RETURN iniFile CASE 45 ' file not found OPEN myFileName FOR CREATE AS #f CLOSE #f ' must i close?? CASE ELSE iniFileName="" TRY CLOSE #f ' will it close if it can?? TRY iniFile.Clear ' will it clear the array if it can?? iniErrorCode=Error() iniErrorText="Unknown Error for me" ' where can i read obout the error code numbers.. EXIT END SELECT LOOP ENDIF CATCH iniFileName="" TRY CLOSE #f TRY iniFile.Clear iniErrorCode=Error() iniErrorText="Unknown Error for me" END snap ................... -------------- next part -------------- An HTML attachment was scrubbed... URL: From oxleyd at ...364... Wed Apr 21 09:38:25 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 21 Apr 2004 09:38:25 +0200 Subject: [Gambas-user] Gambas on KDE 3.2? In-Reply-To: <200404200825.15718.sourceforge-raindog2@...94...> Message-ID: <200404210522.i3L5M2Dj000617@...364...> Hi, I am just wondering if the latest release of Gambas will run on KDE 3.2 and/or Gnome 2.6 ? Thanks From listes.godard at ...11... Wed Apr 21 09:47:58 2004 From: listes.godard at ...11... (Laurent Godard) Date: Wed, 21 Apr 2004 09:47:58 +0200 Subject: [Gambas-user] Gambas & Zip Message-ID: <4086272E.5080409@...11...> Hi all I've an idea of gambas development (perharps will tend to a component) but a prerequist would be zip capabilities of Gambas Is it possible to create zip archive within Gambas (means natively) ? The idea is to create OpenOffice.org documents (wich only are xml zipped files). Then it should be possible to have a set of properties and methods that let user create OOo documents without OpenOffice.org installed An other branch of development would be to create an Uno bridge that let a Gambas program to access remotly an OpenOffice.org instance and use its API (eg : possible in VB through com). all of this would then enable office document capabilities to Gambas What is you opinion ? Thanks in advance Laurent -- -------------------------------------------- Laurent Godard - Ing?nierie OpenOffice.org 06 85 33 27 90 - laurent.godard at ...434... Partenaire Eikonex - http://www.eikonex.net -------------------------------------------- From thierry at ...342... Wed Apr 21 13:07:54 2004 From: thierry at ...342... (Thierry Thomas) Date: Wed, 21 Apr 2004 13:07:54 +0200 Subject: [Gambas-user] Gambas on KDE 3.2? In-Reply-To: <200404210522.i3L5M2Dj000617@...364...> References: <200404200825.15718.sourceforge-raindog2@...94...> <200404210522.i3L5M2Dj000617@...364...> Message-ID: <20040421110754.GB13549@...343...> Le Mer 21 avr 04 ? 9:38:25 +0200, Daniel Oxley ?crivait?: > Hi, I am just wondering if the latest release of Gambas will run on KDE 3.2 > and/or Gnome 2.6 ? It's OK with KDE-3.2.x. -- Th. Thomas. From gambas at ...1... Wed Apr 21 19:29:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 21 Apr 2004 19:29:03 +0200 Subject: [Gambas-user] RE: Trouble with examples In-Reply-To: <200404202244.53565.sourceforge-raindog2@...94...> References: <4085a117.6d51.0@...9...> <20040420213626.3e4fcdcc@...433...> <200404202244.53565.sourceforge-raindog2@...94...> Message-ID: <200404211929.03562.gambas@...1...> On Wednesday 21 April 2004 04:44, Rob wrote: > On Tuesday 20 April 2004 22:36, BluPhoenyx wrote: > > Are you sure this is a flaw? The standard procedure in these > > cases require the user to copy the files (or subdirectories) > > to some place in their home directory or other user writable > > directory. This also gives the added benefit of keeping the > > original source pristine. > > The current behavior (that lets you open the project, but then > produces an error when you try to change it or even build it) is > broken, and harmful to newbies. The behavior of making a > root-owned examples directory world-writable, as many of us have > done as a workaround, is an unacceptable practice from a > security standpoint, especially if it were to be done > automatically. > > So, automatically copying the example project down to the user's > home directory (that's what Application.Home is) prior to > opening it seems like the least intrusive way to do this, and it > would even work on multiuser systems. That is what my above > pseudocode is meant to do, and I think I can hack it into the > Gambas IDE quickly once I have time to bury my nose in the > source again. > > Rob > > Wow ! Don't panic ! 1) The access error is a bug in the IDE. To temporarily fix it, add "TRY" before the beginning of the line 160 in Project.module: TRY File.Save(sDir &/ ".lock", "") In the next version, the project will be open in a read-only mode. 2) In the next version, you will be able to create a new project by copying an existing one. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Apr 21 19:31:09 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 21 Apr 2004 19:31:09 +0200 Subject: [Gambas-user] New Keyword In-Reply-To: References: Message-ID: <200404211931.09599.gambas@...1...> On Wednesday 21 April 2004 05:53, Budi Arief Gusandi wrote: > Hi..., > > What is the bad side if i show a form without instantiating it with NEW > keyword ? > > Thanks, > > Budi > > There is no bad side. Otherwise this is a bug. When you access a form via its class name, Gambas understands what you want to do and automatically create an hidden form instance for you. This way, you can manage your forms like in Visual Basic. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Apr 21 19:32:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 21 Apr 2004 19:32:48 +0200 Subject: [Gambas-user] Gambas & Zip In-Reply-To: <4086272E.5080409@...11...> References: <4086272E.5080409@...11...> Message-ID: <200404211932.48934.gambas@...1...> On Wednesday 21 April 2004 09:47, Laurent Godard wrote: > Hi all > > I've an idea of gambas development (perharps will tend to a component) > but a prerequist would be zip capabilities of Gambas > Is it possible to create zip archive within Gambas (means natively) ? > > The idea is to create OpenOffice.org documents (wich only are xml zipped > files). Then it should be possible to have a set of properties and > methods that let user create OOo documents without OpenOffice.org installed > Daniel Campos made a component to zip and bzip files, but it is not yet included in the main sources. > An other branch of development would be to create an Uno bridge that let > a Gambas program to access remotly an OpenOffice.org instance and use > its API (eg : possible in VB through com). > > all of this would then enable office document capabilities to Gambas > What is you opinion ? I don't know how to do that, but it will be a GREAT idea. > > Thanks in advance > > Laurent You should talk about that on the development mailing-list. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Apr 21 19:40:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 21 Apr 2004 19:40:59 +0200 Subject: [Gambas-user] tip to make it better In-Reply-To: <003d01c4275d$ba7247f0$0200a8c0@...391...> References: <003d01c4275d$ba7247f0$0200a8c0@...391...> Message-ID: <200404211940.59798.gambas@...1...> On Wednesday 21 April 2004 07:01, Frank Berg wrote: > Hi, > > i try to make an module, witch can work with ini files like > getPrivateProfileString(...) in VB > > my first try is to read the ini file in an string array.. > > an question to the CodeMasters: what can i make better?? > > snip ..................... > > PRIVATE iniFile AS String[] > PRIVATE iniFileName AS String > PUBLIC iniErrorCode AS Integer > PUBLIC iniErrorText AS Integer > > ' read the hole File in an string array, > PRIVATE FUNCTION read_ini_File(myFileName AS String ) AS String[] > DIM f AS File > DIM s1 AS String > DIM s2 AS String > IF myFileName<>iniFileName THEN > DO > TRY OPEN myFileName FOR READ LITTLE AS #f Why LITTLE ? This is useless for reading text files. > SELECT CASE Error() > CASE 0 ' open command is OK > ' OPEN myFileName FOR READ LITTLE AS #f ' open the TRY > line correct?? WHILE NOT Eof(f) > READ #f,s1,1 > IF s1<>Chr(13) THEN s2=s2 & s1 > WEND To read line in text files, you have LINE INPUT. > CLOSE #f > iniFile=Split(s2,Chr(10)) > iniFileName=myFileName > iniErrorCode=0 > iniErrorText="OK" > RETURN iniFile > CASE 45 ' file not found > OPEN myFileName FOR CREATE AS #f > CLOSE #f > ' must i close?? What for ? You are creating a void file. > CASE ELSE > iniFileName="" > TRY CLOSE #f ' will it close if it > can?? Why trying to close something that was not opened ? > TRY iniFile.Clear ' will it clear the array if it > can?? Why do you want to clear the array if you don't return it ? > iniErrorCode=Error() > iniErrorText="Unknown Error for me" ' where can i read > obout the error code numbers.. The Error class is for you. > EXIT What is this keyword ? > END SELECT > LOOP > ENDIF > > CATCH > iniFileName="" > TRY CLOSE #f > TRY iniFile.Clear > iniErrorCode=Error() > iniErrorText="Unknown Error for me" I think I have read this code already... :-) > END > > > snap ................... I think you can write the same thing clearly with half the lines, by using FINALLY. Each time you write twice the same line of code in a function means that you should do better :-) For example, manage the bad cases at the beginning of the function, and returns. This is far easier to read. I mean : PRIVATE FUNCTION read_ini_File(myFileName AS String ) AS String[] IF BadCase1 THEN RETURN IF BadCase2 THEN ... RETURN ENDIF OPEN ... ... CLOSE ... RETURN ... CATCH ... END Note that file is automatically closed when the function exits when its handle is only stored in a local variable. See what is written in the ./app/Util project in the gambas source package. Regards, -- Benoit Minisini mailto:gambas at ...1... From olinux at ...289... Wed Apr 21 19:42:50 2004 From: olinux at ...289... (olinux) Date: Wed, 21 Apr 2004 19:42:50 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again Message-ID: <1082569369.7264.2.camel@...37...> eXtremgui (Gambas FrontEnd for eXtremail 1.5.9) is now downloadable from tow address: http://extremgui.dynu.com/ and http://olinux.dynu.net/ eXtremgui is a graphical FrontEnd to admin the eXtremail 1.5.9 server (local or distant) from a linux box with Gambas installed. actualy it can admin: - complet domain (unlimited number) - complet user of domains (unlimited number) - export domains and users to a csv excel format file. interface is in french language but if you ask me, i translate it in other languages. eXtremgui is not free software but lowcost softaware (1,68Euro) and is unlimited for commercial and personnal use. Not free to distribute. the 1.68 Euros are used to maintain a website, and give some software and material to adults who learn informatic and linux after loosing theire job. Regards Olivier Coquet http://olinux.dynu.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Apr 21 20:18:04 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 21 Apr 2004 14:18:04 -0400 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <1082569369.7264.2.camel@...37...> References: <1082569369.7264.2.camel@...37...> Message-ID: <200404211418.04544.sourceforge-raindog2@...94...> On Wednesday 21 April 2004 13:42, olinux wrote: > eXtremgui is not free software but lowcost softaware > (1,68Euro) and is unlimited for commercial and personnal use. > Not free to distribute. Interesting! You have paid Trolltech their US$1550 for a commercial license then? If so, you've written the entire app using a version of Gambas built against the commercial version? If not, you'll still need to release your sources and allow your customers to distribute your program as they please as per the GPL. (You can still charge them to buy it initially though.) Rob From sourceforge-raindog2 at ...94... Wed Apr 21 20:07:15 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 21 Apr 2004 14:07:15 -0400 Subject: [Gambas-user] RE: Trouble with examples In-Reply-To: <200404211929.03562.gambas@...1...> References: <4085a117.6d51.0@...9...> <200404202244.53565.sourceforge-raindog2@...94...> <200404211929.03562.gambas@...1...> Message-ID: <200404211407.15398.sourceforge-raindog2@...94...> On Wednesday 21 April 2004 13:29, Benoit Minisini wrote: > In the next version, the project will be open in a read-only > mode. Of course then you can't *build* the project ;) > 2) In the next version, you will be able to create a new > project by copying an existing one. This fixes my above objection ;) Rob From listes.godard at ...11... Wed Apr 21 20:30:25 2004 From: listes.godard at ...11... (Laurent Godard) Date: Wed, 21 Apr 2004 20:30:25 +0200 Subject: [Gambas-user] Gambas & Zip In-Reply-To: <200404211932.48934.gambas@...1...> References: <4086272E.5080409@...11...> <200404211932.48934.gambas@...1...> Message-ID: <4086BDC1.9050009@...11...> Hi thanks for your response > > Daniel Campos made a component to zip and bzip files, but it is not yet > included in the main sources. > is it planed to be included ? Where can i have a look >> >>all of this would then enable office document capabilities to Gambas >>What is you opinion ? > > > I don't know how to do that, but it will be a GREAT idea. > Well, using UNO (a protocol that enable to use OOo API) is is possible. we need for that an UNO bridge that binds langugae calls A uno bridge already exists in C++ so i think it should be relatively This is well documented in easy for someone that know this language (not my case :( ) It is well documented at http://udk.openoffice.org > > You should talk about that on the development mailing-list. i'll try to subscribe ... Thansk again Laurent -- -------------------------------------------- Laurent Godard - Ing?nierie OpenOffice.org 06 85 33 27 90 - laurent.godard at ...434... Partenaire Eikonex - http://www.eikonex.net -------------------------------------------- From abidoo.too at ...11... Wed Apr 21 21:53:35 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Wed, 21 Apr 2004 21:53:35 +0200 Subject: [Gambas-user] tip to make it better In-Reply-To: <003d01c4275d$ba7247f0$0200a8c0@...391...> References: <003d01c4275d$ba7247f0$0200a8c0@...391...> Message-ID: <200404212153.35553.abidoo.too@...11...> Le mercredi 21 Avril 2004 07:01, Frank Berg a ?crit : > Hi, > > i try to make an module, witch can work with ini files like > getPrivateProfileString(...) in VB > > my first try is to read the ini file in an string array.. > > an question to the CodeMasters: what can i make better?? > > snip ..................... > > PRIVATE iniFile AS String[] > PRIVATE iniFileName AS String > PUBLIC iniErrorCode AS Integer > PUBLIC iniErrorText AS Integer > > ' read the hole File in an string array, > PRIVATE FUNCTION read_ini_File(myFileName AS String ) AS String[] > DIM f AS File > DIM s1 AS String > DIM s2 AS String > IF myFileName<>iniFileName THEN > DO > TRY OPEN myFileName FOR READ LITTLE AS #f > SELECT CASE Error() > CASE 0 ' open command is OK > ' OPEN myFileName FOR READ LITTLE AS #f ' open the TRY > line correct?? WHILE NOT Eof(f) > READ #f,s1,1 > IF s1<>Chr(13) THEN s2=s2 & s1 > WEND > CLOSE #f > iniFile=Split(s2,Chr(10)) > iniFileName=myFileName > iniErrorCode=0 > iniErrorText="OK" > RETURN iniFile > CASE 45 ' file not found > OPEN myFileName FOR CREATE AS #f > CLOSE #f > ' must i close?? CASE ELSE > iniFileName="" > TRY CLOSE #f ' will it close if it > can?? TRY iniFile.Clear ' will it clear the array if it > can?? iniErrorCode=Error() > iniErrorText="Unknown Error for me" ' where can i read > obout the error code numbers.. EXIT > END SELECT > LOOP > ENDIF > > CATCH > iniFileName="" > TRY CLOSE #f > TRY iniFile.Clear > iniErrorCode=Error() > iniErrorText="Unknown Error for me" > END > > > snap ................... You have something like that in the gambas ide... I think the ide conf file are better to read than ini file.... Look : 'util' code for that in this project, you have the parse code for gambas conf file. Fabien From budi at ...415... Thu Apr 22 04:49:26 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Thu, 22 Apr 2004 09:49:26 +0700 Subject: [Gambas-user] New Keyword In-Reply-To: <200404211931.09599.gambas@...1...> References: <200404211931.09599.gambas@...1...> Message-ID: On Wed, 21 Apr 2004 19:31:09 +0200, Benoit Minisini wrote: > On Wednesday 21 April 2004 05:53, Budi Arief Gusandi wrote: >> Hi..., >> >> What is the bad side if i show a form without instantiating it with NEW >> keyword ? >> >> Thanks, >> >> Budi >> >> > > There is no bad side. Otherwise this is a bug. > > When you access a form via its class name, Gambas understands what you > want to > do and automatically create an hidden form instance for you. This way, > you > can manage your forms like in Visual Basic. > It will be surely unloaded from memory when i close it then, Peace of mind now ;) Thanks. Budi From budi at ...415... Thu Apr 22 04:49:48 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Thu, 22 Apr 2004 09:49:48 +0700 Subject: [Gambas-user] tip to make it better In-Reply-To: <200404212153.35553.abidoo.too@...11...> References: <003d01c4275d$ba7247f0$0200a8c0@...391...> <200404212153.35553.abidoo.too@...11...> Message-ID: On Wed, 21 Apr 2004 21:53:35 +0200, Fabien Bodard wrote: > Le mercredi 21 Avril 2004 07:01, Frank Berg a ?crit : >> Hi, >> >> i try to make an module, witch can work with ini files like >> getPrivateProfileString(...) in VB >> >> my first try is to read the ini file in an string array.. >> >> an question to the CodeMasters: what can i make better?? >> >> snip ..................... >> >> PRIVATE iniFile AS String[] >> PRIVATE iniFileName AS String >> PUBLIC iniErrorCode AS Integer >> PUBLIC iniErrorText AS Integer >> >> ' read the hole File in an string array, >> PRIVATE FUNCTION read_ini_File(myFileName AS String ) AS String[] >> DIM f AS File >> DIM s1 AS String >> DIM s2 AS String >> IF myFileName<>iniFileName THEN >> DO >> TRY OPEN myFileName FOR READ LITTLE AS #f >> SELECT CASE Error() >> CASE 0 ' open command is OK >> ' OPEN myFileName FOR READ LITTLE AS #f ' open the TRY >> line correct?? WHILE NOT Eof(f) >> READ #f,s1,1 >> IF s1<>Chr(13) THEN s2=s2 & s1 >> WEND >> CLOSE #f >> iniFile=Split(s2,Chr(10)) >> iniFileName=myFileName >> iniErrorCode=0 >> iniErrorText="OK" >> RETURN iniFile >> CASE 45 ' file not found >> OPEN myFileName FOR CREATE AS #f >> CLOSE #f >> ' must i close?? CASE ELSE >> iniFileName="" >> TRY CLOSE #f ' will it close if >> it >> can?? TRY iniFile.Clear ' will it clear the array >> if it >> can?? iniErrorCode=Error() >> iniErrorText="Unknown Error for me" ' where can i read >> obout the error code numbers.. EXIT >> END SELECT >> LOOP >> ENDIF >> >> CATCH >> iniFileName="" >> TRY CLOSE #f >> TRY iniFile.Clear >> iniErrorCode=Error() >> iniErrorText="Unknown Error for me" >> END >> >> >> snap ................... > > You have something like that in the gambas ide... I think the ide conf > file > are better to read than ini file.... > > Look : > 'util' code for that in this project, you have the parse code for gambas > conf > file. > > Fabien > > As benoit says, the util config system will be replaced later above v1.0 with something much better. Unless u can copy paste the util module into your module, modify it a little bit to fit your need. Regards, Budi From budi at ...415... Thu Apr 22 04:55:29 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Thu, 22 Apr 2004 09:55:29 +0700 Subject: [Gambas-user] Terminal Output In-Reply-To: <20040421110754.GB13549@...343...> References: <200404200825.15718.sourceforge-raindog2@...94...> <200404210522.i3L5M2Dj000617@...364...> <20040421110754.GB13549@...343...> Message-ID: Hi.. Is it possible to output teks via console terminal and any way to make console only application in gambas ? Thanks, Budi From daniel.campos at ...338... Wed Apr 21 18:19:42 2004 From: daniel.campos at ...338... (Daniel) Date: Wed, 21 Apr 2004 18:19:42 +0200 Subject: [Gambas-user] Gambas & Zip In-Reply-To: <4086272E.5080409@...11...> References: <4086272E.5080409@...11...> Message-ID: <1082564324.3245.2.camel@...40...> I'm working in a bzlib2 / zlib component, that allows to work directly with files in .gz and bz2 formats. However I have question for you... OpenOffice format is 'zipped' or 'gzipped'?... I'm sure that at least one of the open source word processors available use gzip instead of zip, but I can't remember if it is OpenOffice Regards, Daniel Campos El mi?, 21-04-2004 a las 09:47, Laurent Godard escribi?: > Hi all > > I've an idea of gambas development (perharps will tend to a component) > but a prerequist would be zip capabilities of Gambas > Is it possible to create zip archive within Gambas (means natively) ? > > The idea is to create OpenOffice.org documents (wich only are xml zipped > files). Then it should be possible to have a set of properties and > methods that let user create OOo documents without OpenOffice.org installed > > An other branch of development would be to create an Uno bridge that let > a Gambas program to access remotly an OpenOffice.org instance and use > its API (eg : possible in VB through com). > > all of this would then enable office document capabilities to Gambas > What is you opinion ? > > Thanks in advance > > Laurent From sourceforge-raindog2 at ...94... Thu Apr 22 06:41:15 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 22 Apr 2004 00:41:15 -0400 Subject: [Gambas-user] Terminal Output In-Reply-To: References: <200404200825.15718.sourceforge-raindog2@...94...> <20040421110754.GB13549@...343...> Message-ID: <200404220041.15242.sourceforge-raindog2@...94...> On Wednesday 21 April 2004 22:55, Budi Arief Gusandi wrote: > Is it possible to output teks via console terminal and any way > to make console only application in gambas ? Absolutely. Just uncheck the gb.qt component in the project dialog, and use PRINT. That's how I made my CGI example I posted last month. Rob From olinux at ...289... Thu Apr 22 09:34:40 2004 From: olinux at ...289... (olinux) Date: Thu, 22 Apr 2004 09:34:40 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404211418.04544.sourceforge-raindog2@...94...> References: <1082569369.7264.2.camel@...37...> <200404211418.04544.sourceforge-raindog2@...94...> Message-ID: <1082619280.14577.20.camel@...37...> ???????? what are you saying? regards Olivier Coquet Le mer 21/04/2004 ? 20:18, Rob a ?crit : > On Wednesday 21 April 2004 13:42, olinux wrote: > > eXtremgui is not free software but lowcost softaware > > (1,68Euro) and is unlimited for commercial and personnal use. > > Not free to distribute. > > Interesting! You have paid Trolltech their US$1550 for a > commercial license then? If so, you've written the entire app > using a version of Gambas built against the commercial version? > > If not, you'll still need to release your sources and allow your > customers to distribute your program as they please as per the > GPL. (You can still charge them to buy it initially though.) > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From olinux at ...289... Thu Apr 22 09:35:28 2004 From: olinux at ...289... (olinux) Date: Thu, 22 Apr 2004 09:35:28 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404211418.04544.sourceforge-raindog2@...94...> References: <1082569369.7264.2.camel@...37...> <200404211418.04544.sourceforge-raindog2@...94...> Message-ID: <1082619328.14577.22.camel@...37...> is Gambas not a GPL Software??? regards Olivier Coquet Le mer 21/04/2004 ? 20:18, Rob a ?crit : > On Wednesday 21 April 2004 13:42, olinux wrote: > > eXtremgui is not free software but lowcost softaware > > (1,68Euro) and is unlimited for commercial and personnal use. > > Not free to distribute. > > Interesting! You have paid Trolltech their US$1550 for a > commercial license then? If so, you've written the entire app > using a version of Gambas built against the commercial version? > > If not, you'll still need to release your sources and allow your > customers to distribute your program as they please as per the > GPL. (You can still charge them to buy it initially though.) > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankberg at ...390... Thu Apr 22 10:07:50 2004 From: frankberg at ...390... (Frank Berg) Date: Thu, 22 Apr 2004 10:07:50 +0200 Subject: [Gambas-user] Variable declaration Message-ID: <003701c42840$e8d4e1a0$0200a8c0@...391...> Hi, what is the difference between private sPath as string and private $sPath as string tnx.. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From oxleyd at ...364... Thu Apr 22 09:50:32 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 22 Apr 2004 09:50:32 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <1082619328.14577.22.camel@...37...> Message-ID: <200404220534.i3M5Y8Dj011549@...364...> YES. But you are using a component that requires you to buy a license from Trolltech if you want to distribute your software without it?s source code. You do not need to buy this license if you include your source code within your package. Also, you have to allow people to distribute your code if they want to. _____ From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of olinux Sent: 22 April 2004 09:35 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] eXtremgui is now downloadable again is Gambas not a GPL Software??? regards Olivier Coquet Le mer 21/04/2004 ? 20:18, Rob a ?crit : On Wednesday 21 April 2004 13:42, olinux wrote: > eXtremgui is not free software but lowcost softaware > (1,68Euro) and is unlimited for commercial and personnal use. > Not free to distribute. Interesting! You have paid Trolltech their US$1550 for a commercial license then? If so, you've written the entire app using a version of Gambas built against the commercial version? If not, you'll still need to release your sources and allow your customers to distribute your program as they please as per the GPL. (You can still charge them to buy it initially though.) Rob ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470 &alloc_id=3638&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From teguh.nuryadi at ...435... Thu Apr 22 09:54:26 2004 From: teguh.nuryadi at ...435... (Teguh Nuryadi) Date: Thu, 22 Apr 2004 14:54:26 +0700 Subject: [Gambas-user] How to know Connection State? Message-ID: <000c01c4283f$1c982440$c20b14ac@...436...> Dear, I am Teguh Nuryadi from Kebumen, Jawa Tengah (Central Java) - Indonesia but now on Jakarta. I am proffesional in Microsoft Visual Basic, but in Gambas i am beginner. Now i convert my project to Manage SMS from mobile phone from Visual Basic Language to Gambas I have a problem to handle connection state. if in Visual Basic handle with dim cn as new ADODB.Connection cn.open 'connection string' cn.state --> if 1 is open and 0 is close Second, how to close our Result if in Visual Basic dim rs as new ADODB.Recordset rs.open 'sql statement', connection rs.close ---> to close opened recordset but in Gambas i'm not meet it. Please kindly help me to solving problem Thank you Teguh Nuryadi -------------- next part -------------- An HTML attachment was scrubbed... URL: From olinux at ...289... Thu Apr 22 10:26:24 2004 From: olinux at ...289... (olinux) Date: Thu, 22 Apr 2004 10:26:24 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404220534.i3M5Y8Dj011549@...364...> References: <200404220534.i3M5Y8Dj011549@...364...> Message-ID: <1082622384.14577.28.camel@...37...> i think there is something wrong.... i distribut no component, i distribut a Gambas code without Gambas distrib and without QT code (i think tell me if it is not true!!!), Gambas components and QT components are not included in my software exe, they are necessary to work but not included. i have the right to distribut something i've made alone i use nothing which is not free.... regards Olivier Le jeu 22/04/2004 ? 09:50, Daniel Oxley a ?crit : > YES. But you are using a component that requires you to buy a license > from Trolltech if you want to distribute your software without it?s > source code. You do not need to buy this license if you include your > source code within your package. Also, you have to allow people to > distribute your code if they want to. > > > > > ______________________________________________________________________ > > From:gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of olinux > Sent: 22 April 2004 09:35 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] eXtremgui is now downloadable again > > > > > is Gambas not a GPL Software??? > > regards > Olivier Coquet > > Le mer 21/04/2004 ? 20:18, Rob a ?crit : > > > On Wednesday 21 April 2004 13:42, olinux wrote: > > eXtremgui is not free software but lowcost softaware > > (1,68Euro) and is unlimited for commercial and personnal use. > > Not free to distribute. > > Interesting! You have paid Trolltech their US$1550 for a > commercial license then? If so, you've written the entire app > using a version of Gambas built against the commercial version? > > If not, you'll still need to release your sources and allow your > customers to distribute your program as they please as per the > GPL. (You can still charge them to buy it initially though.) > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankberg at ...390... Thu Apr 22 07:55:57 2004 From: frankberg at ...390... (Frank Berg) Date: Thu, 22 Apr 2004 07:55:57 +0200 Subject: [Gambas-user] variable declaration Message-ID: <000a01c4282e$7c1082c0$0200a8c0@...391...> Hi, what is the difference between private sPath as string or private $sPath as string tnx.. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From listes.godard at ...11... Thu Apr 22 07:56:07 2004 From: listes.godard at ...11... (Laurent Godard) Date: Thu, 22 Apr 2004 07:56:07 +0200 Subject: [Gambas-user] Gambas & Zip In-Reply-To: <1082564324.3245.2.camel@...40...> References: <4086272E.5080409@...11...> <1082564324.3245.2.camel@...40...> Message-ID: <40875E77.1080101@...11...> Hi Daniel; > I'm working in a bzlib2 / zlib component, that allows to work directly > with files in .gz and bz2 formats. However I have question for you... > OpenOffice format is 'zipped' or 'gzipped'?... I'm sure that at least > one of the open source word processors available use gzip instead of > zip, but I can't remember if it is OpenOffice > It is zip IIRC Internal files are XML Laurent -- -------------------------------------------- Laurent Godard - Ing?nierie OpenOffice.org 06 85 33 27 90 - laurent.godard at ...434... Partenaire Eikonex - http://www.eikonex.net -------------------------------------------- From oxleyd at ...364... Thu Apr 22 10:35:21 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 22 Apr 2004 10:35:21 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <1082622384.14577.28.camel@...37...> Message-ID: <200404220618.i3M6IvDj013441@...364...> Straight from the horses mouth (or the trolltech website!) Q: What kind of licenses exist for Qt? A: The Qt toolkit is available under two different licenses: The Professional and Enterprise Editions for commercial use on all platforms, and the Free Edition for developing free/open source software for the X11 and Mac OS X platforms. Q: What are the differences between the Professional/Enterprise Editions and Free Edition of Qt? A: You may write commercial/proprietary/non-free software only if you have purchased the Professional or Enterprise Edition. The library itself is the same. With the commercial editions, you also get technical support and upgrades. Qt for Microsoft Windows is only available as Professional and Enterprise Editions. Q: Can we use the Free Edition while developing our non-free application and then purchase commercial licenses when we start to sell it? A: No. The Free Edition license applies to the development phase - anything developed without Professional or Enterprise Edition licenses must be released as free/open source software. _____ From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of olinux Sent: 22 April 2004 10:26 To: gambas-user at lists.sourceforge.net Subject: RE: [Gambas-user] eXtremgui is now downloadable again i think there is something wrong.... i distribut no component, i distribut a Gambas code without Gambas distrib and without QT code (i think tell me if it is not true!!!), Gambas components and QT components are not included in my software exe, they are necessary to work but not included. i have the right to distribut something i've made alone i use nothing which is not free.... regards Olivier Le jeu 22/04/2004 ? 09:50, Daniel Oxley a ?crit : YES. But you are using a component that requires you to buy a license from Trolltech if you want to distribute your software without it?s source code. You do not need to buy this license if you include your source code within your package. Also, you have to allow people to distribute your code if they want to. _____ From:gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of olinux Sent: 22 April 2004 09:35 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] eXtremgui is now downloadable again is Gambas not a GPL Software??? regards Olivier Coquet Le mer 21/04/2004 ? 20:18, Rob a ?crit : On Wednesday 21 April 2004 13:42, olinux wrote: > eXtremgui is not free software but lowcost softaware > (1,68Euro) and is unlimited for commercial and personnal use. > Not free to distribute. Interesting! You have paid Trolltech their US$1550 for a commercial license then? If so, you've written the entire app using a version of Gambas built against the commercial version? If not, you'll still need to release your sources and allow your customers to distribute your program as they please as per the GPL. (You can still charge them to buy it initially though.) Rob ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470 &alloc_id=3638&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From oxleyd at ...364... Thu Apr 22 09:37:38 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 22 Apr 2004 09:37:38 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404211418.04544.sourceforge-raindog2@...94...> Message-ID: <200404220521.i3M5LDDj010237@...364...> On Wednesday 21 April 2004 13:42, olinux wrote: > eXtremgui is not free software but lowcost softaware > (1,68Euro) and is unlimited for commercial and personnal use. > Not free to distribute. Interesting! You have paid Trolltech their US$1550 for a commercial license then? If so, you've written the entire app using a version of Gambas built against the commercial version? If not, you'll still need to release your sources and allow your customers to distribute your program as they please as per the GPL. (You can still charge them to buy it initially though.) Rob Rob, I think we all already know the answer to your questions....... From ronstk at ...239... Thu Apr 22 12:05:34 2004 From: ronstk at ...239... (ron) Date: Thu, 22 Apr 2004 12:05:34 +0200 Subject: [Gambas-user] How to know Connection State? In-Reply-To: <000c01c4283f$1c982440$c20b14ac@...436...> References: <000c01c4283f$1c982440$c20b14ac@...436...> Message-ID: <200404221205.34481.ronstk@...239...> On Thursday 22 April 2004 09:54, Teguh Nuryadi wrote: > Dear, > > I am Teguh Nuryadi from Kebumen, Jawa Tengah (Central Java) - Indonesia but > now on Jakarta. I am proffesional in Microsoft Visual Basic, but in Gambas > i am beginner. > > Now i convert my project to Manage SMS from mobile phone from Visual Basic > Language to Gambas > > I have a problem to handle connection state. > if in Visual Basic handle with > dim cn as new ADODB.Connection DIM cn AS Connection > cn.type="mysql" cn.host="localhost" cn.password="thepassword" cn.login="thelogin" cn.name="thedatabasename" cn.open() > cn.open 'connection string' > cn.state --> if 1 is open and 0 is close this does not exist, you are not able to see the open/close/error condition of the connection in a clear way. > > Second, how to close our Result > if in Visual Basic > dim rs as new ADODB.Recordset dim rs as Result > > rs.open 'sql statement', connection rs = cn.exec(sql statement) > rs.close ---> to close opened recordset this does not exist, you are not able to see the open/close/error condition of the recordset in a clear way. rs.commit ' after write to it rs=null 'free memory if for read used rs =cn.exec(sql statement other) 'reuse it > > but in Gambas i'm not meet it. > In my view the ADODB is in no way compatible with gambas. The whole structure of it is to different for gambas, you can not use the old VB code. Same for RDO an Jet Databases. The best way to learn is to look in the code of the database manager. This is the best example that shows it can be done and works. It is indeed missing the status of the connection and a error property telling what is wrong with it. To say it simple, forget the ADODB way forever in gambas, you will be disappointed if you think that way. Ron. > Please kindly help me to solving problem > > Thank you > > > Teguh Nuryadi From ronstk at ...239... Thu Apr 22 12:45:22 2004 From: ronstk at ...239... (ron) Date: Thu, 22 Apr 2004 12:45:22 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404220521.i3M5LDDj010237@...364...> References: <200404220521.i3M5LDDj010237@...364...> Message-ID: <200404221245.22748.ronstk@...239...> On Thursday 22 April 2004 09:37, Daniel Oxley wrote: > On Wednesday 21 April 2004 13:42, olinux wrote: > > eXtremgui is not free software but lowcost softaware > > (1,68Euro) and is unlimited for commercial and personnal use. > > Not free to distribute. > > Interesting! You have paid Trolltech their US$1550 for a > commercial license then? If so, you've written the entire app > using a version of Gambas built against the commercial version? > > If not, you'll still need to release your sources and allow your > customers to distribute your program as they please as per the > GPL. (You can still charge them to buy it initially though.) > > Rob > > > Rob, I think we all already know the answer to your questions....... > Still a simple question. If I write a bash shell script to show me the directory content in a colored way customizable column widths an places, sorted by minutes,hours,day, yes the reverse, and sell it for 1.68Euro and deliver the source code included :) do I need the QT license to.? What about selling a bash shell script starting KDE and opening Kmail and Konqueror on a ftp site for 1.68Euro? KDE is using Qt If the script is not bash but a gambas class and form file and not the compiled program for 1.68Euro then I see no way i must have a license for QT. If i need it then I cant sell home made video for 1.68Euro to users using the gambas mediaplayer example with QT widgets. Only to M$ loserdows users? :( The only thing I can not say for sure is ' Not free to distribute.' > If not, you'll still need to release your sources and allow your > customers to distribute your program as they please as per the > GPL. (You can still charge them to buy it initially though.) I exactly do for 1.68Euro. Ron From ronan at ...384... Thu Apr 22 12:40:40 2004 From: ronan at ...384... (Ronan Chilvers) Date: Thu, 22 Apr 2004 11:40:40 +0100 Subject: [Gambas-user] Gambas & Zip In-Reply-To: <40875E77.1080101@...11...> References: <4086272E.5080409@...11...> <1082564324.3245.2.camel@...40...> <40875E77.1080101@...11...> Message-ID: <20040422114040.6a832e27@...385...> Hi Laurent .... On Thu, 22 Apr 2004 07:56:07 +0200 > It is zip IIRC > Internal files are XML It is zip ... ronan at ...385...:~/MyDocuments$ unzip -l test.sxw Archive: test.sxw Length Date Time Name -------- ---- ---- ---- 4777 12-22-03 14:44 content.xml 4722 12-22-03 14:44 styles.xml 1155 12-22-03 14:44 meta.xml 6178 12-22-03 14:44 settings.xml 752 12-22-03 14:44 META-INF/manifest.xml -------- ------- 17584 5 files ronan at ...385...:~/MyDocuments$ :-) Ronan -- e: ronan at ...384... t: 01903 739 997 w: www.thelittledot.com TheLittleDot is a partnership of Ronan Chilvers and Giles Webberley This message has been digitally signed to verify sender identity ( GNUPG 1.2.4 : http://www.gnupg.org ) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From dentapro at ...438... Thu Apr 22 14:04:06 2004 From: dentapro at ...438... (Lucian Teofanescu) Date: Thu, 22 Apr 2004 15:04:06 +0300 Subject: [Gambas-user] Where isthe executable Message-ID: <4087B4B6.40005@...438...> Hi, I am new to Gambas and Linux, so my question might be stupid but ... Where does Gambas put the executable made from a project? (after choosing Project --> Make executable) Thank You for the time reading (and hope answering) this. Lucian Teofanescu ------------------------------------------------------- Connex scaneaza automat toate mesajele impotriva virusilor folosind RAV AntiVirus. Connex automatically scans all messages for viruses using RAV AntiVirus. Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate variantele lor. Pentru a inlatura efectele nedorite si din dorinta de a va oferi in permanenta servicii de cea mai buna calitate mesajele detectate ca fiind infectate vor fi sterse automat . Va rugam sa luati in considerare ca exista un risc de fiecare data cand deschideti fisiere atasate si ca MobiFon nu este responsabila pentru nici un prejudiciu cauzat de virusi. Disclaimer: RAV Antivirus may not be able to detect all new viruses and variants. In order to remove unwanted effects and to continuously provide quality services all infected e-mails will be automatically deleted .Please be aware that there is a risk involved whenever opening e-mail attachments to your computer and that MobiFon is not responsible for any damages caused by viruses. From ronstk at ...239... Thu Apr 22 14:44:04 2004 From: ronstk at ...239... (ron) Date: Thu, 22 Apr 2004 14:44:04 +0200 Subject: [Gambas-user] Where isthe executable In-Reply-To: <4087B4B6.40005@...438...> References: <4087B4B6.40005@...438...> Message-ID: <200404221444.05070.ronstk@...239...> On Thursday 22 April 2004 14:04, Lucian Teofanescu wrote: > Hi, I am new to Gambas and Linux, so my question might be stupid but ... > Where does Gambas put the executable made from a project? (after > choosing Project --> Make executable) > Thank You for the time reading (and hope answering) this. > Lucian Teofanescu In the project folder with the project name as name where you did make the project with the name for the project is a good place to look. /opt/gambas/share/ or /home/Lucian/gambas/share/ or /user/gambas/share/ or /user/share/gambas/share/ or ~/gambas/share/ or what distribution of GNU/linux you have makes the difference. From gambas at ...1... Thu Apr 22 15:09:19 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Apr 2004 15:09:19 +0200 Subject: [Gambas-user] variable declaration In-Reply-To: <000a01c4282e$7c1082c0$0200a8c0@...391...> References: <000a01c4282e$7c1082c0$0200a8c0@...391...> Message-ID: <200404221509.19979.gambas@...1...> On Thursday 22 April 2004 07:55, Frank Berg wrote: > Hi, > > what is the difference between > > private sPath as string > > or > > private $sPath as string > > tnx.. frank None. I wanted to have a character in the language that allows me to see in one sight if a variable is local or private and global. So I put a '$' character before every private global identifier. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Apr 22 15:35:51 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 22 Apr 2004 09:35:51 -0400 Subject: [Gambas-user] Gambas & Zip In-Reply-To: <1082564324.3245.2.camel@...40...> References: <4086272E.5080409@...11...> <1082564324.3245.2.camel@...40...> Message-ID: <200404220935.51350.sourceforge-raindog2@...94...> On Wednesday 21 April 2004 12:19, Daniel wrote: > I'm working in a bzlib2 / zlib component, that allows to work > directly with files in .gz and bz2 formats. However I have > question for you... OpenOffice format is 'zipped' or > 'gzipped'?... OO documents are zipped (actually, I think they're jar files, but jar files are basically just zip files with a manifest file in them.) Rob From sourceforge-raindog2 at ...94... Thu Apr 22 15:54:05 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 22 Apr 2004 09:54:05 -0400 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404220521.i3M5LDDj010237@...364...> References: <200404220521.i3M5LDDj010237@...364...> Message-ID: <200404220954.05856.sourceforge-raindog2@...94...> On Thursday 22 April 2004 03:37, Daniel Oxley wrote: > Rob, I think we all already know the answer to your > questions....... Olivier may not have known the questions needed to be asked, though. I think people need to be aware now (while Gambas is still in its infancy) that if you check off the "gb.qt" component in your project, you are (from a legal perspective) probably linking against Qt/Free and thus your Gambas project probably must be GPL. From the GPL FAQ: http://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL Q. If a programming language interpreter is released under the GPL, does that mean programs written to be interpreted by it must be under GPL-compatible licenses? A. [..] when the interpreter is extended to provide "bindings" to other facilities (often, but not necessarily, libraries), the interpreted program is effectively linked to the facilities it uses through these bindings. So if these facilities are released under the GPL, the interpreted program that uses them must be released in a GPL-compatible way. [...] (end quote) Now, the GPL FAQ is not itself part of the GPL, but it does reflect the intent of the GPL's creators and the intent of people who license their code under the GPL unless otherwise noted. So personally, I wouldn't take the risk of releasing a closed-source Gambas program that used the Qt module. I suppose you could ask Trolltech what their interpretation of the GPL is in this case, but I think we all know again what their answer will be, as they are not a charity for commercial endeavors. As an aside, Gtk and wxWidgets are both LGPL, meaning this issue would not exist if you used them (LGPL lets you link closed source programs against LGPL'ed libraries.) So those who would like to distribute closed-source Gambas programs should consider contributing to the Gtk or wxWidgets component efforts that may or may not still be underway. I am happy with Qt myself but I understand there are people who don't want to GPL their Gambas projects. If someone could translate the gist of what I'm saying into French, it might help Olivier and other people understand this. It is very difficult to discuss legal ramifications across languages (at least for me.) Rob From danielcampos at ...282... Thu Apr 22 15:15:08 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 22 Apr 2004 15:15:08 CEST Subject: [Gambas-user] Where isthe executable Message-ID: >Where does Gambas put the executable made from a project? (after >choosing Project --> Make executable) > In the same folder as the project, using the project name Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From cinzacm at ...346... Thu Apr 22 22:27:01 2004 From: cinzacm at ...346... (Rammyres =?iso-8859-1?Q?Jos=E9_O._Pereira?=) Date: Thu, 22 Apr 2004 17:27:01 -0300 (BRT) Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404220954.05856.sourceforge-raindog2@...94...> References: <200404220521.i3M5LDDj010237@...364...> <200404220954.05856.sourceforge-raindog2@...94...> Message-ID: <4193.200.137.162.10.1082665621.squirrel@...439...> I guess the 1st or second e-mail I sent, when i just joined the list has a question about Closed source/comercial software... I guess all aswered the same thing and i think repeat it now isn't waste of time. The GPL itself says that all softwares that link a gpled librarie must show its source. I guess the intent is to don't use a copyrighted technologie without the author know how and where (fair game, as some of us say here) or to a company, which kindly give you the rights to use a technology they developed for years (with a spent of money, i think), to know who and how it's used. I guess all gambas libs, as i know them, are distributed under GPL, and the graphical libs(some or all of them) are linked with QPLed libs. Linking with such libraries (a GPLed linked with QPLed) implies the terms of the GPL that says that only a F/OSS license (as at http://www.fsf.org/licenses/license-list.html#GPLCompatibleLicenses) could cover the software. I'm just beginning at the free software world, and i believe don't have enought experiece with liceses but i hope some of the pals here, with have more time than me, could answer it better. Regards _Dargor_ : Rammyres Jos? Oliveira Pereira - Powered by Mandrake Linux 9.1 (Linux 2.6.3) KDE (3.2.0) and Ximian Evolution - (The power is not but an illusion into powerfull hands) > On Thursday 22 April 2004 03:37, Daniel Oxley wrote: >> Rob, I think we all already know the answer to your >> questions....... > > Olivier may not have known the questions needed to be asked, > though. I think people need to be aware now (while Gambas is > still in its infancy) that if you check off the "gb.qt" > component in your project, you are (from a legal perspective) > probably linking against Qt/Free and thus your Gambas project > probably must be GPL. From the GPL FAQ: > > http://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL > > Q. If a programming language interpreter is released under the > GPL, does that mean programs written to be interpreted by it > must be under GPL-compatible licenses? > > A. [..] when the interpreter is extended to provide "bindings" to other facilities (often, but not necessarily, libraries), the > interpreted program is effectively linked to the facilities it > uses through these bindings. So if these facilities are released under the GPL, the interpreted program that uses them must be > released in a GPL-compatible way. [...] > > (end quote) > > Now, the GPL FAQ is not itself part of the GPL, but it does > reflect the intent of the GPL's creators and the intent of > people who license their code under the GPL unless otherwise > noted. So personally, I wouldn't take the risk of releasing a > closed-source Gambas program that used the Qt module. I suppose you could ask Trolltech what their interpretation of the GPL is > in this case, but I think we all know again what their answer > will be, as they are not a charity for commercial endeavors. > > As an aside, Gtk and wxWidgets are both LGPL, meaning this issue would not exist if you used them (LGPL lets you link closed > source programs against LGPL'ed libraries.) So those who would > like to distribute closed-source Gambas programs should consider contributing to the Gtk or wxWidgets component efforts that may > or may not still be underway. I am happy with Qt myself but I > understand there are people who don't want to GPL their Gambas > projects. > > If someone could translate the gist of what I'm saying into > French, it might help Olivier and other people understand this. > It is very difficult to discuss legal ramifications across > languages (at least for me.) > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From olinux at ...289... Fri Apr 23 09:52:17 2004 From: olinux at ...289... (olinux) Date: Fri, 23 Apr 2004 09:52:17 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404221245.22748.ronstk@...239...> References: <200404220521.i3M5LDDj010237@...364...> <200404221245.22748.ronstk@...239...> Message-ID: <1082706737.26693.71.camel@...37...> as you can see, i've modified my page to distribute the source but i'm sure, obligaing peoples to buy a licence for a product wich is not included in work is realy legal (in France). regards Olivier Coquet the inventor of rollup menu (from right to left) brevet : XXXXXXXX Licence XXXXXXXX$ :=))))))))))))))))) Le jeu 22/04/2004 ? 12:45, ron a ?crit : > On Thursday 22 April 2004 09:37, Daniel Oxley wrote: > > On Wednesday 21 April 2004 13:42, olinux wrote: > > > eXtremgui is not free software but lowcost softaware > > > (1,68Euro) and is unlimited for commercial and personnal use. > > > Not free to distribute. > > > > Interesting! You have paid Trolltech their US$1550 for a > > commercial license then? If so, you've written the entire app > > using a version of Gambas built against the commercial version? > > > > If not, you'll still need to release your sources and allow your > > customers to distribute your program as they please as per the > > GPL. (You can still charge them to buy it initially though.) > > > > Rob > > > > > > Rob, I think we all already know the answer to your questions....... > > > > Still a simple question. > > If I write a bash shell script to show me the directory content in a colored > way customizable column widths an places, sorted by minutes,hours,day, > yes the reverse, and sell it for 1.68Euro and deliver the source code > included :) > do I need the QT license to.? > > What about selling a bash shell script starting KDE and opening Kmail and > Konqueror on a ftp site for 1.68Euro? KDE is using Qt > > If the script is not bash but a gambas class and form file and not the > compiled program for 1.68Euro then I see no way i must have a license for QT. > > If i need it then I cant sell home made video for 1.68Euro to users using the > gambas mediaplayer example with QT widgets. Only to M$ loserdows users? :( > > The only thing I can not say for sure is ' Not free to distribute.' > > > If not, you'll still need to release your sources and allow your > > customers to distribute your program as they please as per the > > GPL. (You can still charge them to buy it initially though.) > > I exactly do for 1.68Euro. > > Ron > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From olinux at ...289... Fri Apr 23 09:57:20 2004 From: olinux at ...289... (olinux) Date: Fri, 23 Apr 2004 09:57:20 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <200404220954.05856.sourceforge-raindog2@...94...> References: <200404220521.i3M5LDDj010237@...364...> <200404220954.05856.sourceforge-raindog2@...94...> Message-ID: <1082707040.26693.75.camel@...37...> It's a real problem because, - when i write a prog with gambas for my compagny, it is for commercial use (inside the compagny but to generate some cash) and this cross the QT GPL Licence !!!! this mean than all products developed with gambas are not usable in professional environment..... regards Olivier Coquet excuse me for my poor english. Le jeu 22/04/2004 ? 15:54, Rob a ?crit : > On Thursday 22 April 2004 03:37, Daniel Oxley wrote: > > Rob, I think we all already know the answer to your > > questions....... > > Olivier may not have known the questions needed to be asked, > though. I think people need to be aware now (while Gambas is > still in its infancy) that if you check off the "gb.qt" > component in your project, you are (from a legal perspective) > probably linking against Qt/Free and thus your Gambas project > probably must be GPL. From the GPL FAQ: > > http://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL > > Q. If a programming language interpreter is released under the > GPL, does that mean programs written to be interpreted by it > must be under GPL-compatible licenses? > > A. [..] when the interpreter is extended to provide "bindings" to > other facilities (often, but not necessarily, libraries), the > interpreted program is effectively linked to the facilities it > uses through these bindings. So if these facilities are released > under the GPL, the interpreted program that uses them must be > released in a GPL-compatible way. [...] > > (end quote) > > Now, the GPL FAQ is not itself part of the GPL, but it does > reflect the intent of the GPL's creators and the intent of > people who license their code under the GPL unless otherwise > noted. So personally, I wouldn't take the risk of releasing a > closed-source Gambas program that used the Qt module. I suppose > you could ask Trolltech what their interpretation of the GPL is > in this case, but I think we all know again what their answer > will be, as they are not a charity for commercial endeavors. > > As an aside, Gtk and wxWidgets are both LGPL, meaning this issue > would not exist if you used them (LGPL lets you link closed > source programs against LGPL'ed libraries.) So those who would > like to distribute closed-source Gambas programs should consider > contributing to the Gtk or wxWidgets component efforts that may > or may not still be underway. I am happy with Qt myself but I > understand there are people who don't want to GPL their Gambas > projects. > > If someone could translate the gist of what I'm saying into > French, it might help Olivier and other people understand this. > It is very difficult to discuss legal ramifications across > languages (at least for me.) > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankberg at ...390... Fri Apr 23 10:18:01 2004 From: frankberg at ...390... (Frank Berg) Date: Fri, 23 Apr 2004 10:18:01 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again References: <1082569369.7264.2.camel@...37...> Message-ID: <002d01c4290b$7f85a2e0$0200a8c0@...391...> Hi, why thinking negative obout gambas used for commercial use. an (smal) company that will use linux in workstation area will shure use QT by more than one prog.. so there will need an licence and buy it..(or ignore it) frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From olinux at ...289... Fri Apr 23 10:36:57 2004 From: olinux at ...289... (olinux) Date: Fri, 23 Apr 2004 10:36:57 +0200 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <002d01c4290b$7f85a2e0$0200a8c0@...391...> References: <1082569369.7264.2.camel@...37...> <002d01c4290b$7f85a2e0$0200a8c0@...391...> Message-ID: <1082709417.26693.81.camel@...37...> Yes it's what i think if yhe QT commerciale licence is observated by all company, it's sure the dead of linux lol.... regards Olivier Le ven 23/04/2004 ? 10:18, Frank Berg a ?crit : > ? > Hi, > > why thinking negative obout gambas used for commercial use. > > an (smal) company that will use linux in workstation area will shure > use QT by more than one prog.. > > so there will need an licence and buy it..(or ignore it) > > frank > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From budi at ...415... Fri Apr 23 10:42:53 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Fri, 23 Apr 2004 15:42:53 +0700 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <002d01c4290b$7f85a2e0$0200a8c0@...391...> References: <1082569369.7264.2.camel@...37...> <002d01c4290b$7f85a2e0$0200a8c0@...391...> Message-ID: These days, this mailing list is fulled by License and License.... What are we talking about guys...come on...everything is grayed or clear ? Thanks Budi On Fri, 23 Apr 2004 10:18:01 +0200, Frank Berg wrote: > Hi, > > why thinking negative obout gambas used for commercial use. > > an (smal) company that will use linux in workstation area will shure use > QT by more than one prog.. > > so there will need an licence and buy it..(or ignore it) > > frank > -- Budi Arief Gusandi Analyst/Programmer PT. Suar Reka Informatika Bandung - West Java +6222 2003763 budi at ...415... From sourceforge-raindog2 at ...94... Fri Apr 23 14:43:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 23 Apr 2004 08:43:29 -0400 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: <1082707040.26693.75.camel@...37...> References: <200404220521.i3M5LDDj010237@...364...> <200404220954.05856.sourceforge-raindog2@...94...> <1082707040.26693.75.camel@...37...> Message-ID: <200404230837.24845.sourceforge-raindog2@...94...> On Friday 23 April 2004 03:57, olinux wrote: > - when i write a prog with gambas for my compagny, it is for > commercial use (inside the compagny but to generate some cash) > and this cross the QT GPL Licence !!!! > this mean than all products developed with gambas are not > usable in professional environment..... Nope, if you don't distribute the code at all outside your company the GPL doesn't even apply (since the GPL doesn't restrict *any* use other than distribution.) Distribution is a small subset of commercial use, and all other commercial use does not violate the GPL. I am not a lawyer of course, and if your lawyer tells you I'm full of crap after reading the stuff on www.gnu.org then be my guest and distribute without source. It's not like I'd be the one threatening you with lawsuits (that would be Trolltech, if anyone.) Rob From sourceforge-raindog2 at ...94... Fri Apr 23 14:41:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 23 Apr 2004 08:41:21 -0400 Subject: [Gambas-user] eXtremgui is now downloadable again In-Reply-To: References: <1082569369.7264.2.camel@...37...> <002d01c4290b$7f85a2e0$0200a8c0@...391...> Message-ID: <200404230841.21302.sourceforge-raindog2@...94...> On Friday 23 April 2004 04:42, Budi Arief Gusandi wrote: > These days, this mailing list is fulled by License and > License.... What are we talking about guys...come > on...everything is grayed or clear ? It's really pretty simple. If you want to sell a program that requires Qt, *and* to not give away the source to that program, you have to buy a Qt commercial license. (Even if you want to give the program away as "freeware", if you don't include the source you have to buy the Qt license.) However, if you are using a program internally at your company, or are selling/distributing it with source and that source is under the terms of the GPL, none of this matters, and you are fine. But those who are concerned about this should be working on the wxWindows or Gtk components, which would have no such limitations. Rob From trorrr at ...397... Sat Apr 24 00:20:22 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Sat, 24 Apr 2004 00:20:22 +0200 (CEST) Subject: [Gambas-user] Events in Gambas non-graphic project Message-ID: <20040423222022.93644.qmail@...440...> Hello, i'm writing a console version of a server for a messaging protocol that is already written on Gambas with a graphical Form. I need to program the console version to make a non-X system server. I create a new project and then i unmark gb.qt. The init procedure is then STATIC PUBLIC SUB Main(). I mark gb.net component to allow networking but if i compile this simple code: PRIVATE Server AS ServerSocket PRIVATE Client AS Object[] STATIC PUBLIC SUB Main() DIM cadena AS String Client=NEW Object[] Server=NEW ServerSocket AS "Server" Server.Type=Net.Internet END it shows the message "Dynamic symbols cannot be used in static function" in the Client=NEW Object[] line when i compile. Isn't possible to use events in command-line projects? Thanks. ______________________________________________________________________ Correo Yahoo! - 6MB, m?s protecci?n contra el spam ?Gratis! http://correo.yahoo.es From gambas at ...1... Sat Apr 24 00:30:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 24 Apr 2004 00:30:29 +0200 Subject: [Gambas-user] Events in Gambas non-graphic project In-Reply-To: <20040423222022.93644.qmail@...440...> References: <20040423222022.93644.qmail@...440...> Message-ID: <200404240030.30039.gambas@...1...> On Saturday 24 April 2004 00:20, Trorrr [H?ctor Fern?ndez] wrote: > Hello, i'm writing a console version of a server for a > messaging protocol that is already written on Gambas > with a graphical Form. I need to program the console > version to make a non-X system server. > I create a new project and then i unmark gb.qt. The > init procedure is then STATIC PUBLIC SUB Main(). I > mark gb.net component to allow networking but if i > compile this simple code: > > PRIVATE Server AS ServerSocket > PRIVATE Client AS Object[] > > STATIC PUBLIC SUB Main() > DIM cadena AS String > > Client=NEW Object[] > Server=NEW ServerSocket AS "Server" > Server.Type=Net.Internet > END > > it shows the message "Dynamic symbols cannot be used > in static function" in the Client=NEW Object[] line > when i compile. Isn't possible to use events in > command-line projects? Thanks. > Because this code is a class implementation, isn't it ? As Main() is static, it can't access Server and Client. They were declared dynamic, i.e. they are class variables. Just add the static keyword to their declaration. Another point: If you instanciate an object in a static function, then all event handlers must be static too. Regards, -- Benoit Minisini mailto:gambas at ...1... From trorrr at ...397... Sat Apr 24 00:54:53 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Sat, 24 Apr 2004 00:54:53 +0200 (CEST) Subject: [Gambas-user] Events in Gambas non-graphic project Message-ID: <20040423225453.49412.qmail@...441...> OK, but i've another question: It's needed to use a LINE INPUT all the time to hear commands from de std input or there's another way to do it? Thx. ______________________________________________________________________ Correo Yahoo! - 6MB, m?s protecci?n contra el spam ?Gratis! http://correo.yahoo.es From trorrr at ...397... Sat Apr 24 01:09:17 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Sat, 24 Apr 2004 01:09:17 +0200 (CEST) Subject: [Gambas-user] Events in Gambas non-graphic project Message-ID: <20040423230917.17558.qmail@...399...> >OK, but i've another question: It's needed to use a >LINE INPUT all the time to hear commands from de std >input or there's another way to do it? Thx. If i use LINE INPUT all the time, PRINT statements are shown when i press enter in the active LINE INPUT. Can i avoid this? Thx. __________________________________________ Correo Yahoo! - 6MB de espacio ?Gratis! http://correo.yahoo.es From rizky at ...225... Sat Apr 24 05:02:44 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 24 Apr 2004 10:02:44 +0700 Subject: [Gambas-user] window focus Message-ID: <6.0.0.22.2.20040424092230.01da1000@...329...> i have two forms. first is the startup and the second one will show as modal that came when a button in the first form clicked. in the second form, i have a textbox. but when the second form showed, the focus not in that form, since i change the property of "skiptaskbar" in the second form to true, so i don't have the cursor in the textbox. this will not happen when i set the property to false. but, if i focus it to the first form, then this problem should be fixed. it just happen only when the first time of the second form appears. but wait, when i set the property to false, i can minimize the second form, so i can click the first form and i have a warning in the console. but the program will work just fine... Regards, tahara! From gambas at ...1... Sat Apr 24 10:42:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 24 Apr 2004 10:42:47 +0200 Subject: [Gambas-user] window focus In-Reply-To: <6.0.0.22.2.20040424092230.01da1000@...329...> References: <6.0.0.22.2.20040424092230.01da1000@...329...> Message-ID: <200404241042.47425.gambas@...1...> On Saturday 24 April 2004 05:02, Rizky Tahara Shita wrote: > i have two forms. > first is the startup and the second one will show as modal that came when a > button in the first form clicked. > in the second form, i have a textbox. but when the second form showed, the > focus not in that form, since i change the property of "skiptaskbar" in the > second form to true, so i don't have the cursor in the textbox. this will > not happen when i set the property to false. > but, if i focus it to the first form, then this problem should be fixed. it > just happen only when the first time of the second form appears. > > but wait, when i set the property to false, i can minimize the second form, > so i can click the first form and i have a warning in the console. but the > program will work just fine... > > > Regards, > > > tahara! > Send me your project so that I can really see what happens. For all people that report bugs or strangeness: Always send me your project! Because: - I may not understand what you hardly try to explain. - Maybe the problem is distribution-related. - Maybe the bug has been already fixed in the developmement version on my Linux box. - Maybe you have make a programming mistake. - And so on... Without the project, it is ten times harder for me to identify and solve the problem ! Regards, -- Benoit Minisini mailto:gambas at ...1... From dentapro at ...438... Sat Apr 24 10:48:38 2004 From: dentapro at ...438... (Lucian Teofanescu) Date: Sat, 24 Apr 2004 11:48:38 +0300 Subject: [Gambas-user] Help on Listbox Message-ID: <002401c429d9$27162020$0660e9d5@...442...> Hi all, thank you for answering my previous question. Here is a second one: I need to fill a listbox with customers names from a table but I also need to store in the listbox the ID of the customer from the same table, to use it for performing future select queries on other tables. In VB6 (old habits ;-)) I'm doing like this: 'fill the listbox List1 with customers names from recordset rsCustomers Do While Not rsCustomers.EOF List1.AddItem rsCustomers!Name List1.ItemData(List1.NewIndex) = rsCustomers!ID rsCustomers.MoveNext Loop Private Sub List1_Click() MsgBox List1.ItemData(List1.ListIndex) ' Show the ItemData property of the current clicked item End Sub In Gambas I'm doing like this: 'fill the listbox ListBox1 customers names from resultset rsCustomers Do While rsCustomers.Available ListBox1.Add rsCustomers!Name rsCustomers.MoveNext Loop Where to store the ID field - I mean what property of the listbox to use (an equivalent for the ItemData property in VB)? If there isn't such a property maybe it will be available in future versions of Gambas. But how to provide similar functionality until then? The only think I have in mind is to concatenate the Name and ID fields (something like "Lucian Teofanescu #2905") and fill the list with this string. When I need to retrieve the ID of the customer I can extract the part after # and convert it to an integer in order to perform my queries. Is there an easier way? Thank you for your time Lucian Teofanescu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SecurityCheck.txt Type: text/ignore Size: 1064 bytes Desc: not available URL: From Karl.Reinl at ...9... Sat Apr 24 22:05:23 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 24 Apr 2004 22:05:23 +0200 Subject: [Gambas-user] would by nice Message-ID: <200404242205.23195.Karl.Reinl@...9...> Salut, I remarked, that if I minimice the IDE-project window, that realy only the IDE-project window will be minimiced. I think all windows of that project should be minimiced at this time, and also come back if the IDE-project window is reopend ! Amicalement Charlie From Karl.Reinl at ...9... Sat Apr 24 21:58:39 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 24 Apr 2004 21:58:39 +0200 Subject: [Gambas-user] Access to XML Message-ID: <200404242158.39667.Karl.Reinl@...9...> Salut, here is a xmllint shell to show how you can access xml-Files . It is using the xmllint --shell command from the xmllint tool. I attached a demo.xml and Syntax . You have to chosse a xml file with the [...] button and then you can execute the text whos in the ComboBox by [Do IT] button . Every 'good' Statement will be stored in the ComboBox . The ComboBox is preconfigured by some xmllint --shell Options . You can find all xmllint --shell Options by executing 'help'. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XMLReader-0.0.1.tar.gz Type: application/x-tgz Size: 5520 bytes Desc: not available URL: From na2492 at ...9... Sat Apr 24 22:20:18 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sat, 24 Apr 2004 22:20:18 00200 Subject: [Gambas-user] window focus Message-ID: <408acc02.332d.0@...9...> >On Saturday 24 April 2004 05:02, Rizky Tahara Shita wrote: >> i have two forms. >> first is the startup and the second one will show as modal that came when a >> button in the first form clicked. >> in the second form, i have a textbox. but when the second form showed, the >> focus not in that form, since i change the property of "skiptaskbar" in the >> second form to true, so i don't have the cursor in the textbox. this will >> not happen when i set the property to false. >> but, if i focus it to the first form, then this problem should be fixed. it >> just happen only when the first time of the second form appears. >> >> but wait, when i set the property to false, i can minimize the second form, >> so i can click the first form and i have a warning in the console. but the >> program will work just fine... >> >> >> Regards, >> >> >> tahara! >> > >Send me your project so that I can really see what happens. > >For all people that report bugs or strangeness: > >Always send me your project! > >Because: >- I may not understand what you hardly try to explain. >- Maybe the problem is distribution-related. >- Maybe the bug has been already fixed in the developmement version on my >Linux box. >- Maybe you have make a programming mistake. >- And so on... > >Without the project, it is ten times harder for me to identify and solve the >problem ! > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... Please have a look into you Dico for 'hardly try'. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From Karl.Reinl at ...9... Sat Apr 24 23:15:33 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 24 Apr 2004 23:15:33 +0200 Subject: [Gambas-user] Picture in gambas ??? Message-ID: <200404242315.33616.Karl.Reinl@...9...> Salut, when I use a Picture in a TableView, do I have the possibillity to find out the Path of that Picture after ? Like If tableView.Picture(nI,nJ).??? ="img/16/checked.png" then or like me I wand to save the TableView, but not the hole Picture , but the Path the path of the Picture like "img/16/checked.png". I nothing found ??? Amicalement Charlie From trorrr at ...397... Sat Apr 24 23:39:29 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Sat, 24 Apr 2004 23:39:29 +0200 (CEST) Subject: [Gambas-user] Events in Gambas non-graphic project (Please help) Message-ID: <20040424213929.88474.qmail@...440...> >>OK, but i've another question: It's needed to use a >>LINE INPUT all the time to hear commands from de std >>input or there's another way to do it? Thx. >If i use LINE INPUT all the time, PRINT statements are >shown when i press enter in the active LINE INPUT. >Can i avoid this? Thx. ...no answers... Maybe i've not explained the problem as well as i would: I want to hear what is being written to the command-line-based program from the console at the same time events write in the console. Can i do this? (Please read my previous reply, which is contained in this message explaining what happens with LINE INPUT) ______________________________________________________________________ Correo Yahoo! - 6MB, m?s protecci?n contra el spam ?Gratis! http://correo.yahoo.es From abidoo.too at ...11... Sun Apr 25 13:05:54 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sun, 25 Apr 2004 13:05:54 +0200 Subject: [Gambas-user] Events in Gambas non-graphic project (Please help) In-Reply-To: <20040424213929.88474.qmail@...440...> References: <20040424213929.88474.qmail@...440...> Message-ID: <200404251305.54478.abidoo.too@...11...> Le samedi 24 Avril 2004 23:39, Trorrr [H?ctor Fern?ndez] a ?crit : > >>OK, but i've another question: It's needed to use a > >>LINE INPUT all the time to hear commands from de std > >>input or there's another way to do it? Thx. > > > >If i use LINE INPUT all the time, PRINT statements > > are > > >shown when i press enter in the active LINE INPUT. > >Can i avoid this? Thx. > > ...no answers... > Maybe i've not explained the problem as well as i > would: > I want to hear what is being written to the > command-line-based program from the console at the > same time events write in the console. Can i do this? > (Please read my previous reply, which is contained in > this message explaining what happens with LINE INPUT) > > > > ______________________________________________________________________ > Correo Yahoo! - 6MB, m?s protecci?n contra el spam ?Gratis! > http://correo.yahoo.es > > > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg=12297 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user If i understand good... You want a input function who allow to query data from console like in qbasic for exemple ? These feature not exist in gambas, and i don't know why. But i've started to look for a console componant... mabe a soluce. Maintenant Benoit, tu peux comprendre la n?c?ssit? d'un composant console... A moins que l'on puisse palier a cela en gambas Fabien From gambas at ...1... Sun Apr 25 16:38:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 25 Apr 2004 16:38:37 +0200 Subject: [Gambas-user] window focus In-Reply-To: <408acc02.332d.0@...9...> References: <408acc02.332d.0@...9...> Message-ID: <200404251638.37192.gambas@...1...> On Sunday 25 April 2004 00:20, na2492 at ...9... wrote: > >On Saturday 24 April 2004 05:02, Rizky Tahara Shita wrote: > >> i have two forms. > >> first is the startup and the second one will show as modal that came > >> when > > a > > >> button in the first form clicked. > >> in the second form, i have a textbox. but when the second form showed, > >> the > >> > >> focus not in that form, since i change the property of "skiptaskbar" in > >> the > >> > >> second form to true, so i don't have the cursor in the textbox. this > >> will > >> > >> not happen when i set the property to false. > >> but, if i focus it to the first form, then this problem should be fixed. > > it > > >> just happen only when the first time of the second form appears. > >> > >> but wait, when i set the property to false, i can minimize the second > >> form, > >> > >> so i can click the first form and i have a warning in the console. but > >> the > >> > >> program will work just fine... > >> > >> > >> Regards, > >> > >> > >> tahara! > > > >Send me your project so that I can really see what happens. > > > >For all people that report bugs or strangeness: > > > >Always send me your project! > > > >Because: > >- I may not understand what you hardly try to explain. > >- Maybe the problem is distribution-related. > >- Maybe the bug has been already fixed in the developmement version on my > > > >Linux box. > >- Maybe you have make a programming mistake. > >- And so on... > > > >Without the project, it is ten times harder for me to identify and solve > > the > > > >problem ! > > > >Regards, > > > >-- > >Benoit Minisini > >mailto:gambas at ...1... > > Please have a look into you Dico for 'hardly try'. > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > Mmm ? What is the problem with "hardly try" ? Doesn't it mean "trying with difficulties" ? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sun Apr 25 17:53:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 25 Apr 2004 11:53:59 -0400 Subject: OT: hardly Re: [Gambas-user] window focus In-Reply-To: <200404251638.37192.gambas@...1...> References: <408acc02.332d.0@...9...> <200404251638.37192.gambas@...1...> Message-ID: <200404251153.59398.sourceforge-raindog2@...94...> On Sunday 25 April 2004 10:38, Benoit Minisini wrote: > > >- I may not understand what you hardly try to explain. > > Please have a look into you Dico for 'hardly try'. > Mmm ? What is the problem with "hardly try" ? Doesn't it mean > "trying with difficulties" ? Nope, "hardly" in English very rarely means "with difficulties", if at all; it's idiomatic. It means something like "to the minimum possible degree" or "almost surely not". Its connotation is somewhat negative. You could express how easy something was by saying "I hardly even had to try", for example, whereas "I hardly tried to get it done" means that you didn't try very much at all. The adverbial form of "hard" is "hard" itself, in one of those wonderful English inconsistencies. Rob From na2492 at ...9... Sun Apr 25 20:10:52 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 25 Apr 2004 20:10:52 00200 Subject: [Gambas-user] window focus Message-ID: <408bff2c.1097.0@...9...> >On Sunday 25 April 2004 00:20, na2492 at ...9... wrote: >> >On Saturday 24 April 2004 05:02, Rizky Tahara Shita wrote: >> >> i have two forms. >> >> first is the startup and the second one will show as modal that came >> >> when >> >> a >> >> >> button in the first form clicked. >> >> in the second form, i have a textbox. but when the second form showed, >> >> the >> >> >> >> focus not in that form, since i change the property of "skiptaskbar" in >> >> the >> >> >> >> second form to true, so i don't have the cursor in the textbox. this >> >> will >> >> >> >> not happen when i set the property to false. >> >> but, if i focus it to the first form, then this problem should be fixed. >> >> it >> >> >> just happen only when the first time of the second form appears. >> >> >> >> but wait, when i set the property to false, i can minimize the second >> >> form, >> >> >> >> so i can click the first form and i have a warning in the console. but >> >> the >> >> >> >> program will work just fine... >> >> >> >> >> >> Regards, >> >> >> >> >> >> tahara! >> > >> >Send me your project so that I can really see what happens. >> > >> >For all people that report bugs or strangeness: >> > >> >Always send me your project! >> > >> >Because: >> >- I may not understand what you hardly try to explain. >> >- Maybe the problem is distribution-related. >> >- Maybe the bug has been already fixed in the developmement version on my >> > >> >Linux box. >> >- Maybe you have make a programming mistake. >> >- And so on... >> > >> >Without the project, it is ten times harder for me to identify and solve >> > the >> > >> >problem ! >> > >> >Regards, >> > >> >-- >> >Benoit Minisini >> >mailto:gambas at ...1... >> >> Please have a look into you Dico for 'hardly try'. >> >> Amicalement >> Charlie >> * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * >> > >Mmm ? What is the problem with "hardly try" ? Doesn't it mean "trying with >difficulties" ? > >-- >Benoit Minisini Sorry if I'm wrong, but if I remember well it means 'havn't tryed' or 'only a little'. Please native speaking !!! Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From terry at ...417... Sun Apr 25 17:47:48 2004 From: terry at ...417... (Terry Blunt) Date: Sun, 25 Apr 2004 16:47:48 +0100 Subject: [Gambas-user] window focus In-Reply-To: <200404251638.37192.gambas@...1...> References: <408acc02.332d.0@...9...> <200404251638.37192.gambas@...1...> Message-ID: Benoit Minisini wrote: > Mmm ? What is the problem with "hardly try" ? Doesn't it mean "trying > with difficulties" ? No, it's one of the quirky bits of english. It means. 'doesn't put much effort into trying." -- Terry Blunt Actually I'm passionately anti-extremist. http://www.langri.demon.co.uk From frankberg at ...390... Sun Apr 25 20:42:48 2004 From: frankberg at ...390... (Frank Berg) Date: Sun, 25 Apr 2004 20:42:48 +0200 Subject: [Gambas-user] how? Message-ID: <000901c42af5$1c261b30$0200a8c0@...391...> Hi, how can i create an "listview" 1.) is able to show picture in line 2.) is able to change size in text length the windows demo show wat i mean.. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: demo.JPG Type: image/jpeg Size: 45851 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Sun Apr 25 22:59:28 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 25 Apr 2004 16:59:28 -0400 Subject: [Gambas-user] how? In-Reply-To: <000901c42af5$1c261b30$0200a8c0@...391...> References: <000901c42af5$1c261b30$0200a8c0@...391...> Message-ID: <200404251659.28945.sourceforge-raindog2@...94...> On Sunday 25 April 2004 14:42, Frank Berg wrote: > how can i create an "listview" > 1.) is able to show picture in line > 2.) is able to change size in text length > the windows demo show wat i mean.. You want to use a Columnview for that, not a Listview. It can do exactly what you show in the screenshot. Rob From terry at ...417... Sun Apr 25 23:09:40 2004 From: terry at ...417... (Terry Blunt) Date: Sun, 25 Apr 2004 22:09:40 +0100 Subject: [Gambas-user] Re: language problems Was:Gambas-user] window focus In-Reply-To: <408bff2c.1097.0@...9...> References: <408bff2c.1097.0@...9...> Message-ID: na2492 at ...9... wrote: > > On Sunday 25 April 2004 00:20, na2492 at ...9... wrote: > > Mmm ? What is the problem with "hardly try" ? Doesn't it mean > > "trying with > > > difficulties" ? > > > > -- Benoit Minisini > > Sorry if I'm wrong, but if I remember well it means 'havn't tryed' or > 'only a little'. > > Please native speaking !!! For what it's worth I am often impressed with the ability of posters with English when it is not their native language. ... especially when after 3 years of evening classes I can only just make myself understood in German at a very basic level. BTW it would be quite correct for me to say I can hardly speak German! -- Terry Blunt Actually I'm passionately anti-extremist. http://www.langri.demon.co.uk From na2492 at ...9... Sun Apr 25 23:32:55 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 25 Apr 2004 23:32:55 00200 Subject: [Gambas-user] Re: language problems Was:Gambas-user] window focus Message-ID: <408c2e87.24a3.0@...9...> >na2492 at ...9... wrote: > >> > On Sunday 25 April 2004 00:20, na2492 at ...9... wrote: > >> > Mmm ? What is the problem with "hardly try" ? Doesn't it mean >> > "trying with >> >> > difficulties" ? >> > >> > -- Benoit Minisini >> >> Sorry if I'm wrong, but if I remember well it means 'havn't tryed' or >> 'only a little'. >> >> Please native speaking !!! > >For what it's worth I am often impressed with the ability of posters >with English when it is not their native language. > >... especially when after 3 years of evening classes I can only just >make myself understood in German at a very basic level. > >BTW it would be quite correct for me to say I can hardly speak German! > >-- >Terry Blunt Salut, in that way I think 'hardly' is correct. Yes it is. But "hardly try" in the mail of Benoit, could be misunderstode ! Amicalement Charlie 3 years of evening classes is a good base, but whats about practice ? * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Sun Apr 25 19:14:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 25 Apr 2004 19:14:02 +0200 Subject: OT: hardly Re: [Gambas-user] window focus In-Reply-To: <200404251153.59398.sourceforge-raindog2@...94...> References: <408acc02.332d.0@...9...> <200404251638.37192.gambas@...1...> <200404251153.59398.sourceforge-raindog2@...94...> Message-ID: <200404251914.02306.gambas@...1...> On Sunday 25 April 2004 17:53, Rob wrote: > On Sunday 25 April 2004 10:38, Benoit Minisini wrote: > > > >- I may not understand what you hardly try to explain. > > > > > > Please have a look into you Dico for 'hardly try'. > > > > Mmm ? What is the problem with "hardly try" ? Doesn't it mean > > "trying with difficulties" ? > > Nope, "hardly" in English very rarely means "with difficulties", > if at all; it's idiomatic. It means something like "to the > minimum possible degree" or "almost surely not". Its > connotation is somewhat negative. > OK. Now I remember what my english teachers told me :-) > You could express how easy something was by saying "I hardly even > had to try", for example, whereas "I hardly tried to get it > done" means that you didn't try very much at all. > > The adverbial form of "hard" is "hard" itself, in one of those > wonderful English inconsistencies. In french, inconsistency *is* the rule :-) > > Rob > -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Mon Apr 26 00:04:37 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 26 Apr 2004 00:04:37 +0200 Subject: [Gambas-user] BUG in gambas-0.92 ReleaseVersion in MakePackage Message-ID: <200404260004.37532.Karl.Reinl@...9...> Salut , if you make a Package, in the proposed Filename there always missed the ReleaseVersion. PUBLIC SUB MakePackage() DIM sCmd AS String Dialog.Path = Application.Home &/ Name & "-" & Subst("&1.&2", MajorVersion, MinorVersion, ReleaseVersion) & ".tar.gz" should be : Dialog.Path = Application.Home &/ Name & "-" & Subst("&1.&2.&3", MajorVersion, MinorVersion, ReleaseVersion) & ".tar.gz" Amicalement Charlie From gambas at ...1... Mon Apr 26 00:35:12 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 26 Apr 2004 00:35:12 +0200 Subject: [Gambas-user] BUG in gambas-0.92 ReleaseVersion in MakePackage In-Reply-To: <200404260004.37532.Karl.Reinl@...9...> References: <200404260004.37532.Karl.Reinl@...9...> Message-ID: <200404260035.12834.gambas@...1...> On Monday 26 April 2004 00:04, Charlie Reinl wrote: > Salut , > > if you make a Package, in the proposed Filename there always missed the > ReleaseVersion. > > PUBLIC SUB MakePackage() > > DIM sCmd AS String > > Dialog.Path = Application.Home &/ Name & "-" & Subst("&1.&2", > MajorVersion, MinorVersion, ReleaseVersion) & ".tar.gz" > > should be : > > Dialog.Path = Application.Home &/ Name & "-" & Subst("&1.&2.&3", > MajorVersion, MinorVersion, ReleaseVersion) & ".tar.gz" > > Amicalement > Charlie > OK. The Release will be added to the tar.gz name, except if it equals zero. Regards, -- Benoit Minisini mailto:gambas at ...1... From frankberg at ...390... Mon Apr 26 06:30:31 2004 From: frankberg at ...390... (Frank Berg) Date: Mon, 26 Apr 2004 06:30:31 +0200 Subject: [Gambas-user] how? References: <000901c42af5$1c261b30$0200a8c0@...391...> <200404251659.28945.sourceforge-raindog2@...94...> Message-ID: <000701c42b47$36b15440$0200a8c0@...391...> Hi, > > You want to use a Columnview for that, not a Listview. It can do > exactly what you show in the screenshot. > > Rob all most of help in the gambas help to the columnview ist not avaible, and i found nothing in the internet my books to VB and delphi can not help to.. where can i read more about columnview, i.e. found an demo?? frank From neil at ...233... Sun Apr 25 21:00:35 2004 From: neil at ...233... (neil lewis) Date: Sun, 25 Apr 2004 20:00:35 +0100 Subject: [Gambas-user] Please test LILi Message-ID: <408C0AD3.7090507@...233...> Hi All, LILi is a program which uses a GUI created with Gambas and ImageMagick functions to create interlaced images for lenticulars. Lenticulars are the 3D/animated images you might have seen which are printed onto thin plastic sheets. Most people have seen only the very cheap and nasty lenticulars given away with products such as breakfast cereals, but the technology is very advanced and very high quality images can be produced with amazing effects. The Interlacing module is now functional and I would be most grateful if anyone could take the time to run a copy, report any (all?) faults they find and offer any suggestions for additional features or changes. Reports can go straight to me at gibsonsphoto at ...247... if that's preferable, or here if others would like to see what's going on and it doesn't clog things up too much. LILi is available for download at http://sourceforge.net/projects/lili-01/ The source tarball contains all the project files. The file simply called "LILi-013" is just the executable. More info and some basic instructions follow. The tarball also includes some basic documentation, though this is in need of an update! About LILi LILi will eventually comprise three main modules: A Capture & Preview module. This will allow easy connection to a range of digital input devices and generate animated views of the expected result. You'll be able to "jog" images one pixel at a time in any direction and scale them in variable increments to help line them up. You'll also be able to make changes to colour balance and add text and logos. An Interlacing module. This does the work of combining the prepared image layers into one composite ready for printing. This is the first part of the project to be in a working state. An Output module. This will generate PS or PDF files for output to commercial printing systems and allow the imposition of several composites onto standard sized sheets of lenticular plastic in the most efficient manner. Thanks to Phantomgraph for help and suggestions for the interlacing module. Instructions Point LILi at a collection of images (for example video frames or different still views of an object) and you can create either a 3D image or an animation which can be printed (using a very high resolution printer) either directly onto lenticular plastic or onto glossy paper which is then laminated to the back of lenticular plastic. If you can get hold of some lenticular plastic with between 10 and 30 lenses per inch, then you will be able to view the output from LILi on an inkjet print. For lenticulars with between 30 and 200 lenses per inch (the maximum presently available) you would need very high resolution hardware. For reasonably quick results, I'd suggest up to about six layers on 10 - 20 lpi plastic at about 4 - 6 inches wide. Real world images might be 6 - 10 layers on 120 lpi plastic at 10 - 24 inches wide, but this will be a huge composite and probably shouldn't be attempted on anything less than a Athlon64 with 1GB RAM and a fast harddrive. Set the lens spacing of your plastic, the image (printing) resolution in lines per inch and the output image width and the layers are automatically scaled to the necessary size. Plain English error messages are generated if you try to use inappropriate values. Have fun! Neil Lewis. From sourceforge-raindog2 at ...94... Mon Apr 26 06:42:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 26 Apr 2004 00:42:53 -0400 Subject: [Gambas-user] Please test LILi In-Reply-To: <408C0AD3.7090507@...233...> References: <408C0AD3.7090507@...233...> Message-ID: <200404260042.53408.sourceforge-raindog2@...94...> On Sunday 25 April 2004 15:00, neil lewis wrote: > If you can get hold of some lenticular plastic with between 10 > and 30 lenses per inch, then you will be able to view the I'd love to give this a try. Know any online sources for lenticular sheets? Rob From sourceforge-raindog2 at ...94... Mon Apr 26 06:39:20 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 26 Apr 2004 00:39:20 -0400 Subject: [Gambas-user] how? In-Reply-To: <000701c42b47$36b15440$0200a8c0@...391...> References: <000901c42af5$1c261b30$0200a8c0@...391...> <200404251659.28945.sourceforge-raindog2@...94...> <000701c42b47$36b15440$0200a8c0@...391...> Message-ID: <200404260039.20186.sourceforge-raindog2@...94...> On Monday 26 April 2004 00:30, Frank Berg wrote: > where can i read more about columnview, > i.e. found an demo?? I implemented one myself a few gambas versions ago, and the help was working. (The app doesn't build under 0.92 for other reasons and I haven't fixed it yet.) But I based my code on the component selector tab from the project properties dialog in the gambas ide itself. Rob From binoyjones at ...67... Mon Apr 26 06:45:40 2004 From: binoyjones at ...67... (binoy jones) Date: Mon, 26 Apr 2004 10:15:40 +0530 Subject: [Gambas-user] window focus Message-ID: Hi Rizky, I hope you have developed a program which I have downloaded from the net am I right. Regards Binoy >From: Rizky Tahara Shita >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] window focus >Date: Sat, 24 Apr 2004 10:02:44 +0700 > >i have two forms. >first is the startup and the second one will show as modal that came when a >button in the first form clicked. >in the second form, i have a textbox. but when the second form showed, the >focus not in that form, since i change the property of "skiptaskbar" in the >second form to true, so i don't have the cursor in the textbox. this will >not happen when i set the property to false. >but, if i focus it to the first form, then this problem should be fixed. it >just happen only when the first time of the second form appears. > >but wait, when i set the property to false, i can minimize the second form, >so i can click the first form and i have a warning in the console. but the >program will work just fine... > > >Regards, > > >tahara! > > > >------------------------------------------------------- >This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek >For a limited time only, get FREE Ground shipping on all orders of $35 >or more. Hurry up and shop folks, this offer expires April 30th! >http://www.thinkgeek.com/freeshipping/?cpg=12297 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ Don?t miss out on jobs that are not advertised. http://go.msnserver.com/IN/47510.asp Post your CV on naukri.com today. From rizky at ...225... Mon Apr 26 07:38:37 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 26 Apr 2004 12:38:37 +0700 Subject: [Gambas-user] window focus In-Reply-To: References: Message-ID: <6.0.0.22.2.20040426123657.01cf33e0@...329...> At 11:45 26/04/2004, you wrote: >Hi Rizky, >I hope you have developed a program which I have downloaded from the net >am I right. which one ? i'm just testing gambas and have that trouble. for benoit, i'll post the project later... Regards, tahara! From ronstk at ...239... Mon Apr 26 07:38:24 2004 From: ronstk at ...239... (ron) Date: Mon, 26 Apr 2004 07:38:24 +0200 Subject: [Gambas-user] how? In-Reply-To: <000701c42b47$36b15440$0200a8c0@...391...> References: <000901c42af5$1c261b30$0200a8c0@...391...> <200404251659.28945.sourceforge-raindog2@...94...> <000701c42b47$36b15440$0200a8c0@...391...> Message-ID: <200404260738.24791.ronstk@...239...> On Monday 26 April 2004 06:30, Frank Berg wrote: > Hi, > > > You want to use a Columnview for that, not a Listview. It can do > > exactly what you show in the screenshot. > > > > Rob > > all most of help in the gambas help to the columnview ist not avaible, > and i found nothing in the internet > my books to VB and delphi can not help to.. > > where can i read more about columnview, > i.e. found an demo?? > > frank > PRIVATE SUB InitColumnView() WITH columnview1 .Clear .Resizable=TRUE ' user must be able .Columns.Count=5 .Columns[ 1].Text="name" .Columns[ 2].Text="size" .Columns[ 3].Text="date" .Columns[ 4].Text="user" .Columns[ 5].Text="protocol" END WITH FixColumnView() END PUBLIC SUB FixColumnView() DIM i AS Integer WITH columnview1 .Columns.Adjust FOR i=0 TO .columns.count-1 .Columns[i].AutoResize=FALSE .Columns[i].width=50 NEXT .Columns[0].width=180 END WITH END PRIVATE SUB cvwShowData(CSI AS String[]) dim view as ColumnView view=ColumnView1 view[key][ 1]= CSI[0] view[key][ 2]= CSI[1] view[key][ 3]= CSI[2] view[key][ 4]= CSI[3] view[key][ 5]= CSI[4] view[key][ 6]= CSI[5] END From neil at ...233... Mon Apr 26 10:54:11 2004 From: neil at ...233... (neil lewis) Date: Mon, 26 Apr 2004 09:54:11 +0100 Subject: [Gambas-user] Please test LILi In-Reply-To: <200404260042.53408.sourceforge-raindog2@...94...> References: <408C0AD3.7090507@...233...> <200404260042.53408.sourceforge-raindog2@...94...> Message-ID: <408CCE33.50101@...233...> Hi Rob, For small quantities of low-res lenticular, try Jim Owens Micro Lens Technology, Inc. email MicrolensJim at ...87... I believe they ship small quantities for personal projects at low cost. I only wish I had some of the low-res stuff around, 'cause I'd happily send you some. Unfortunatley, all my output is destined for commercial printers using the high-res stuff. Thanks for your interest! Neil. Rob wrote: >On Sunday 25 April 2004 15:00, neil lewis wrote: > > >>If you can get hold of some lenticular plastic with between 10 >>and 30 lenses per inch, then you will be able to view the >> >> > >I'd love to give this a try. Know any online sources for >lenticular sheets? > >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek >For a limited time only, get FREE Ground shipping on all orders of $35 >or more. Hurry up and shop folks, this offer expires April 30th! >http://www.thinkgeek.com/freeshipping/?cpg=12297 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From nigel at ...38... Mon Apr 26 13:59:07 2004 From: nigel at ...38... (Nigel Gerrard) Date: Mon, 26 Apr 2004 12:59:07 +0100 Subject: [Gambas-user] Help on Listbox References: <002401c429d9$27162020$0660e9d5@...442...> Message-ID: <000f01c42b85$e13ccf00$98184054@...360...> Lucian, At the moment there is no way to have more than one column in the Listbox. As an alternative I would consider using an array to hold the ID of the customer. e.g. DIM ID AS NEW Integer[] 'fill the listbox ListBox1 customers names from resultset rsCustomers Do While rsCustomers.Available ListBox1.Add(rsCustomers!Name) ID.Add(rsCustomer!ID) rsCustomers.MoveNext Loop Then you can find the ID for the selected Customer: CustomerID = ID[ListBox1.Index] Hope this helps. Nigel ----- Original Message ----- From: Lucian Teofanescu To: gambas-user at lists.sourceforge.net Sent: Saturday, April 24, 2004 9:48 AM Subject: [Gambas-user] Help on Listbox Hi all, thank you for answering my previous question. Here is a second one: I need to fill a listbox with customers names from a table but I also need to store in the listbox the ID of the customer from the same table, to use it for performing future select queries on other tables. In VB6 (old habits ;-)) I'm doing like this: 'fill the listbox List1 with customers names from recordset rsCustomers Do While Not rsCustomers.EOF List1.AddItem rsCustomers!Name List1.ItemData(List1.NewIndex) = rsCustomers!ID rsCustomers.MoveNext Loop Private Sub List1_Click() MsgBox List1.ItemData(List1.ListIndex) ' Show the ItemData property of the current clicked item End Sub In Gambas I'm doing like this: 'fill the listbox ListBox1 customers names from resultset rsCustomers Do While rsCustomers.Available ListBox1.Add rsCustomers!Name rsCustomers.MoveNext Loop Where to store the ID field - I mean what property of the listbox to use (an equivalent for the ItemData property in VB)? If there isn't such a property maybe it will be available in future versions of Gambas. But how to provide similar functionality until then? The only think I have in mind is to concatenate the Name and ID fields (something like "Lucian Teofanescu #2905") and fill the list with this string. When I need to retrieve the ID of the customer I can extract the part after # and convert it to an integer in order to perform my queries. Is there an easier way? Thank you for your time Lucian Teofanescu -------------- next part -------------- An HTML attachment was scrubbed... URL: From roberto.premoli at ...422... Mon Apr 26 17:45:00 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Mon, 26 Apr 2004 10:45:00 -0500 Subject: [Gambas-user] finally gambas on my debianbox! Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710010C3C70@...423...> hello there, Finally it works! Up to me, instructions on gamba site ARE NOT clear enough, or, perhaps I am not smart enough to understand them so as writer supposed it will. first off all, it is not necessary to use UNSTABLE tree, the STABLE is enough. Well, here how I did, perhaps it will be usefull for other debian users, and cam be putted on gambasite. 1. install linux from scretch with 6 floppy or bootcd. 2. dont use tasksel of dselect, just skip them 3. from command line, install with x-window-system (apt-get install x-window-system) 4. chage your /etc/apt/source.list with ONLY these two rows: deb http://www.linex.org/sources/linex/debian/ woody linex deb http://security.debian.org/ stable/updates main contrib non-free 5. give apt-get update apt-get upgrade apt-get install gambas apt-get-install kdebase 6. reboot the debianbox. 7. start as user or root as you want, go into kde, then from command line, run gamba. 8. enjoy gambas! Btw, the gambas version installed with this way is 0.91. All in all, I want to thank all people that answered to my question about gambas, and, beware, cos now I have gambas on, so I will start to post questions and questions :-) I will try soon to do some ports of my software from MVB to gambas. Have fun with gambas, Microsoft Visual Basic can starts to forgot me, yeah! Roberto Premoli Pharmacia Corporation Information Technology Customer Care Group Milano - Italy +39.02.4838.4734 This communication is intended solely for the use of the addressee and may contain information that is legally privileged, confidential or exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Anyone who receives this message in error should notify the sender immediately and delete it from his or her computer. From Karl.Reinl at ...9... Mon Apr 26 21:55:33 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 26 Apr 2004 21:55:33 +0200 Subject: [Gambas-user] new of to day Message-ID: <200404262155.33470.Karl.Reinl@...9...> Salut, first I deleted all my emails (and not the SPAM, I dit it just after) Then I had a look into the gambas- user-Archiv and found that it was updated last time April 4 2004 And I found another 'hardly' at http://gambas.sourceforge.net/Mailing list >Note that these mailing lists are located on Sourceforge servers, not on my >own computer ! So, if you have problems with posting to or receiving from a >mailing-list, tell me, but understand that I will hardly help you. But the rest of the day run fine ! Amicalement Charlie From Karl.Reinl at ...9... Mon Apr 26 22:00:47 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 26 Apr 2004 22:00:47 +0200 Subject: [Gambas-user] new newer newest and better then the last Message-ID: <200404262200.47557.Karl.Reinl@...9...> Salut, left a looooooooooooooooooooot of BUGS ( and bad code) and made it better xmllint --shell for gambas Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XMLReader-0.0.2.tar.gz Type: application/x-tgz Size: 3944 bytes Desc: not available URL: From ronstk at ...239... Tue Apr 27 01:22:42 2004 From: ronstk at ...239... (ron) Date: Tue, 27 Apr 2004 01:22:42 +0200 Subject: [Gambas-user] Help on Listbox In-Reply-To: <002401c429d9$27162020$0660e9d5@...442...> References: <002401c429d9$27162020$0660e9d5@...442...> Message-ID: <200404270122.43449.ronstk@...239...> On Saturday 24 April 2004 10:48, Lucian Teofanescu wrote: > Hi all, thank you for answering my previous question. > > Here is a second one: > I need to fill a listbox with customers names from a table but I also need > to store in the listbox the ID of the customer from the same table, to use > it for performing future select queries on other tables. In VB6 (old habits > ;-)) I'm doing like this: > > 'fill the listbox List1 with customers names from recordset rsCustomers > Do While Not rsCustomers.EOF > List1.AddItem rsCustomers!Name > List1.ItemData(List1.NewIndex) = rsCustomers!ID > rsCustomers.MoveNext > Loop > > Private Sub List1_Click() > MsgBox List1.ItemData(List1.ListIndex) ' Show the ItemData property of > the current clicked item End Sub > > > In Gambas I'm doing like this: > > 'fill the listbox ListBox1 customers names from resultset rsCustomers > Do While rsCustomers.Available > ListBox1.Add rsCustomers!Name > rsCustomers.MoveNext > Loop > > Where to store the ID field - I mean what property of the listbox to use > (an equivalent for the ItemData property in VB)? If there isn't such a > property maybe it will be available in future versions of Gambas. But how > to provide similar functionality until then? The only think I have in mind > is to concatenate the Name and ID fields (something like "Lucian Teofanescu > #2905") and fill the list with this string. When I need to retrieve the ID > of the customer I can extract the part after # and convert it to an integer > in order to perform my queries. Is there an easier way? > > Thank you for your time > Lucian Teofanescu In the PlayGround is a example with the ListBox, ListView and ColumnView The ListView is the nearest way you need in your request but as everyone knows there will be a request for more data fields and ColumnView can store more values in the background. -------------- next part -------------- A non-text attachment was scrubbed... Name: playground-0.0.tar.gz Type: application/x-tgz Size: 1736 bytes Desc: not available URL: From cinzacm at ...346... Tue Apr 27 18:55:55 2004 From: cinzacm at ...346... (Rammyres =?iso-8859-1?Q?Jos=E9_O._Pereira?=) Date: Tue, 27 Apr 2004 13:55:55 -0300 (BRT) Subject: [Gambas-user] No translation with Fedora Core 1 Message-ID: <4687.200.137.162.10.1083084955.squirrel@...443...> I used gambas with my last Fedora Core 1 instalation (now i'm using Mandrake 9.1 again) and the translation to portugueses just don't worked... In mandrake it just don't happen but I hope someone can explain me why it didn't work at FC1. Regards _Dargor_ : Rammyres Jos? Oliveira Pereira From jscops at ...11... Tue Apr 27 21:10:01 2004 From: jscops at ...11... (Jack) Date: Tue, 27 Apr 2004 19:10:01 +0000 Subject: [Gambas-user] SQLite In-Reply-To: <200404262200.47557.Karl.Reinl@...9...> References: <200404262200.47557.Karl.Reinl@...9...> Message-ID: <200404271907.57474.jscops@...11...> Bonjour ? tous les Gambers, I try to install Gambas 0.92a with Sqlite 2.8.13 drivers but the configure program do not find the headers and nether libraries. these messages appaired. >checking for SQLite driver headers... (cached) no >checking for SQLite driver libraries... (cached) no >configure: warning: *** SQLite driver is disabled SQLite is installed in /home/sqlite (sorry but not in /usr/lib). Please what can i do for it work's ? Merci infiniment pour votre aide ?~Jack~? From gambas at ...1... Tue Apr 27 20:02:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 27 Apr 2004 20:02:46 +0200 Subject: [Gambas-user] SQLite In-Reply-To: <200404271907.57474.jscops@...11...> References: <200404262200.47557.Karl.Reinl@...9...> <200404271907.57474.jscops@...11...> Message-ID: <200404272002.46482.gambas@...1...> On Tuesday 27 April 2004 21:10, Jack wrote: > Bonjour ? tous les Gambers, > > I try to install Gambas 0.92a with Sqlite 2.8.13 drivers but the configure > program do > not find the headers and nether libraries. > > these messages appaired. > > >checking for SQLite driver headers... (cached) no > >checking for SQLite driver libraries... (cached) no > >configure: warning: *** SQLite driver is disabled > > SQLite is installed in /home/sqlite (sorry but not in /usr/lib). > Please what can i do for it work's ? > > Merci infiniment pour votre aide > ?~Jack~? > Type configure --help. It will tell you that you can specify sqlite location with --with-sqlite-includes and --with-sql-libraries. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Apr 27 20:04:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 27 Apr 2004 20:04:05 +0200 Subject: [Gambas-user] No translation with Fedora Core 1 In-Reply-To: <4687.200.137.162.10.1083084955.squirrel@...443...> References: <4687.200.137.162.10.1083084955.squirrel@...443...> Message-ID: <200404272004.05389.gambas@...1...> On Tuesday 27 April 2004 18:55, Rammyres Jos? O. Pereira wrote: > I used gambas with my last Fedora Core 1 instalation (now i'm using > Mandrake 9.1 again) and the translation to portugueses just don't worked... > In mandrake it just don't happen but I hope someone can explain me why it > didn't work at FC1. > > Regards > > _Dargor_ : Rammyres Jos? Oliveira Pereira > > Could you send me a dump of your environment variables ? Open a shell, and type: $ set > env.log Then send the env.log file to me. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Tue Apr 27 20:19:37 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 27 Apr 2004 20:19:37 +0200 Subject: [Gambas-user] Bug but very tricky Message-ID: <200404272019.37576.Karl.Reinl@...9...> Salut Benoit, need a time to can show, and tell you this. Pay your attation to the little rectangle a head of the p of 'options' , that commes if you have a left-mouse click in the selected zone and you move with the mouse. The resulte a froozen gambas and a froozen mouse (the screen was made by keyboard) I do not know if you can produce that in other drag&drop in selected aeras. For the reported I tested it on differend sceens (after working with menu-editor, open/closed property-window ) But I can reproduce it every time. I know you will find a way out ( if it is not only on my box) ! Using: ????????gambas-0.92 ?(downloaded from the gambas-shrine) Option = disable kde patched to gambas-0.92a ????????gentoo 1.4 ????????qt-3.3.0 ????????gcc 3.3.2 ????????KDE 3.2.1 ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot27.jpg Type: image/jpeg Size: 34789 bytes Desc: not available URL: From Karl.Reinl at ...9... Tue Apr 27 22:57:40 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 27 Apr 2004 22:57:40 +0200 Subject: [Gambas-user] need a hand Message-ID: <200404272257.40171.Karl.Reinl@...9...> Salut, have a problem with my xTableView ! If I call it in the Startup Class it works. (FMain or FOther1 as Startup Class) But if I call from FMain by menu 'Others/Other 1' I'v get an Error 'Invalid object' I don't understand, where I do wrong ? See attachement CVTest1-0.0.5.tar.gz Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: CVTest1-0.0.5.tar.gz Type: application/x-tgz Size: 46182 bytes Desc: not available URL: From Karl.Reinl at ...9... Tue Apr 27 23:00:57 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 27 Apr 2004 23:00:57 +0200 Subject: [Gambas-user] Bug but very tricky (2) Message-ID: <200404272300.57095.Karl.Reinl@...9...> Salut, I can reproduce it in Form/Class rename Amicalement Charlie From cinzacm at ...346... Tue Apr 27 22:17:14 2004 From: cinzacm at ...346... (Rammyres =?iso-8859-1?Q?Jos=E9_O._Pereira?=) Date: Tue, 27 Apr 2004 17:17:14 -0300 (BRT) Subject: [Gambas-user] No translation with Fedora Core 1 In-Reply-To: <200404272004.05389.gambas@...1...> References: <4687.200.137.162.10.1083084955.squirrel@...443...> <200404272004.05389.gambas@...1...> Message-ID: <3779.200.137.162.10.1083097034.squirrel@...444...> I'll try it next time i install FC1 (it could be next friday, after my Digital Circuit's test, cause until there i'll be very busy). Anyway the sys lang was set to pt_BR (i guess). Tnx anyway. Regards, _Dargor_ : Rammyres Jos? Oliveira Pereira > On Tuesday 27 April 2004 18:55, Rammyres Jos? O. Pereira wrote: >> I used gambas with my last Fedora Core 1 instalation (now i'm using >> Mandrake 9.1 again) and the translation to portugueses just don't worked... >> In mandrake it just don't happen but I hope someone can explain me why it >> didn't work at FC1. >> >> Regards >> >> _Dargor_ : Rammyres Jos? Oliveira Pereira >> >> > > Could you send me a dump of your environment variables ? > > Open a shell, and type: > > $ set > env.log > > Then send the env.log file to me. > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg297 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ronstk at ...239... Tue Apr 27 23:52:57 2004 From: ronstk at ...239... (ron) Date: Tue, 27 Apr 2004 23:52:57 +0200 Subject: [Gambas-user] need a hand In-Reply-To: <200404272257.40171.Karl.Reinl@...9...> References: <200404272257.40171.Karl.Reinl@...9...> Message-ID: <200404272352.57899.ronstk@...239...> On Tuesday 27 April 2004 22:57, Charlie Reinl wrote: > Salut, > > have a problem with my xTableView ! > > If I call it in the Startup Class it works. > (FMain or FOther1 as Startup Class) > > But if I call from FMain by menu 'Others/Other 1' I'v get an Error > 'Invalid object' > > I don't understand, where I do wrong ? > See attachement CVTest1-0.0.5.tar.gz > > Amicalement > Charlie I choose in menu the Other entry Got a error in Fother1.class DIM iCounte AS Integer iCounte = 2 Other1 = NEW XTableView("Other1",FOther1) AS "Other1" WITH Other1 .X = 0 <-------------- The *Other1* is in single step not made You mean with 'FOther1' actual 'ME' and I change it to ME Did resolve the problem here. But I don't understand what the whole program should do. Therefore I'm not able to tell the result is what you want. Ron From gambas at ...1... Wed Apr 28 00:11:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Apr 2004 00:11:42 +0200 Subject: [Gambas-user] need a hand In-Reply-To: <200404272352.57899.ronstk@...239...> References: <200404272257.40171.Karl.Reinl@...9...> <200404272352.57899.ronstk@...239...> Message-ID: <200404280011.42648.gambas@...1...> On Tuesday 27 April 2004 23:52, ron wrote: > On Tuesday 27 April 2004 22:57, Charlie Reinl wrote: > > Salut, > > > > have a problem with my xTableView ! > > > > If I call it in the Startup Class it works. > > (FMain or FOther1 as Startup Class) > > > > But if I call from FMain by menu 'Others/Other 1' I'v get an Error > > 'Invalid object' > > > > I don't understand, where I do wrong ? > > See attachement CVTest1-0.0.5.tar.gz > > > > Amicalement > > Charlie > > I choose in menu the Other entry > > Got a error in Fother1.class > > DIM iCounte AS Integer > iCounte = 2 > Other1 = NEW XTableView("Other1",FOther1) AS "Other1" > WITH Other1 > .X = 0 <-------------- > > The *Other1* is in single step not made > You mean with 'FOther1' actual 'ME' and I change it to ME > Did resolve the problem here. > But I don't understand what the whole program should do. > Therefore I'm not able to tell the result is what you want. > > Ron > Actually there is a bug in 0.92. When you use FOther1 (a class name) in a expression or as an argument, it is not replaced by its automatically created instance. But there is also a bug in your program! You call FOther1.Run, and in FOther1.Run, you create a new instance of FOther1 (the class). Then, you create a XTableView IN FOther1 (the automatic instance), which is different from the FOther1 instance you created in FOther1.Run. So, ron is right: replace FOther1 by ME. Or remove your Run static method and calls FOther1.ShowModal directly. In two words, be careful between FOther1 (the class) and FOther1 (the automatic instance) !! :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From rizky at ...225... Wed Apr 28 04:19:38 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 28 Apr 2004 09:19:38 +0700 Subject: [Gambas-user] window focus In-Reply-To: <6.0.0.22.2.20040424092230.01da1000@...329...> References: <6.0.0.22.2.20040424092230.01da1000@...329...> Message-ID: <6.0.0.22.2.20040428091839.01d4d240@...329...> At 10:02 24/04/2004, you wrote: >i have two forms. >first is the startup and the second one will show as modal that came when >a button in the first form clicked. >in the second form, i have a textbox. but when the second form showed, the >focus not in that form, since i change the property of "skiptaskbar" in >the second form to true, so i don't have the cursor in the textbox. this >will not happen when i set the property to false. >but, if i focus it to the first form, then this problem should be fixed. >it just happen only when the first time of the second form appears. > >but wait, when i set the property to false, i can minimize the second >form, so i can click the first form and i have a warning in the console. >but the program will work just fine... > well benoit, here is the example that have that trouble... -------------- next part -------------- A non-text attachment was scrubbed... Name: testwindowfocus-0.0.tar.gz Type: application/octet-stream Size: 687 bytes Desc: not available URL: -------------- next part -------------- Regards, tahara! From na2492 at ...9... Wed Apr 28 14:19:48 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 28 Apr 2004 14:19:48 00200 Subject: [Gambas-user] need a hand Message-ID: <408fa164.4195.0@...9...> ------ snip -- >The *Other1* is in single step not made >You mean with 'FOther1' actual 'ME' and I change it to ME >Did resolve the problem here. >But I don't understand what the whole program should do. >Therefore I'm not able to tell the result is what you want. > >Ron > Salut Ron, the xTableView Class provieds you to use TableView without a Database It handles the arrays for you (do you remember you mail ? ) Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronstk at ...239... Wed Apr 28 19:34:24 2004 From: ronstk at ...239... (ron) Date: Wed, 28 Apr 2004 19:34:24 +0200 Subject: [Gambas-user] need a hand In-Reply-To: <408fa164.4195.0@...9...> References: <408fa164.4195.0@...9...> Message-ID: <200404281934.24737.ronstk@...239...> On Wednesday 28 April 2004 16:19, na2492 at ...9... wrote: > ------ snip -- > > >The *Other1* is in single step not made > >You mean with 'FOther1' actual 'ME' and I change it to ME > >Did resolve the problem here. > >But I don't understand what the whole program should do. > >Therefore I'm not able to tell the result is what you want. > > > >Ron > > Salut Ron, > > the xTableView Class provieds you to use TableView without a Database > It handles the arrays for you (do you remember you mail ? ) > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > Hi Charlie, Well it was not the problem I had to use a array to keep the data for the tableview. Just the opposite. I need the array but want to use the tableview to show the content of it. The problem was to keep them in sync because the TBV lost the visible cell content after unhide the visible part and there is no event that tells me this happens and a simple refresh restores the visible part from internal already available data. It should keep that for the cells in the viewport. I know the .Data does this partial but is more for a dynamic content. There should be a property as .Dynamic=boolean and when false this requests should not be done and the TBV works like the ListView and other widgets that keep there content after unhide, resize and whatever. The tableview raise a event when a area of it is exposed to the world to get the datacell content and I had the need to see direct changes in the array. That was done by writing the same to he array and tableview in a sub. Because of the changes for the .Data property the only way was to use a .refresh on it. This is what me disturbed. The TBV flicker if done for the whole TBV instead the accessed cell only. This was in the old (gb v0.8 below) but seam now be better. The way it is done in the database manager by using a formula to get it from the database works good. My problem with that way is only to have the database connected and open the whole time the TBV is in use. I.e. a tableview to show only a list of all the countries and there prefix of callsigns for hamradio amateurs, landcode etc. For cases like this a array between the DB and the TBV is a good solution. It is that you can not store direct in the tableview and use it as the storage place it self. The Columnview is for this a better way but has no rowheader fixed when horizontal scroll is done. The tableview widget is a nice one, not known to VB, but could use a property to let it work in a dynamic or static view and hold the data as other widgets do. It's strong pro is the fixed rowheader. The bad thing is to expect the VB behaviors. It is for sure not the way this widget/control works! From frankberg at ...390... Wed Apr 28 19:46:48 2004 From: frankberg at ...390... (Frank Berg) Date: Wed, 28 Apr 2004 19:46:48 +0200 Subject: [Gambas-user] demo: HTTPGet Message-ID: <000801c42d48$c8cd4ed0$0200a8c0@...391...> Hi, i was trying to compile the gambas Demo HTTPGet.. i was enable gb.net but : there are many Errors : HTTPClient can not be found wat is wrong??? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Wed Apr 28 20:28:40 2004 From: ronstk at ...239... (ron) Date: Wed, 28 Apr 2004 20:28:40 +0200 Subject: [Gambas-user] PRB: GDM Refresh on database Message-ID: <200404282028.40427.ronstk@...239...> Hi, I created a table in the GDM query window. The table is not in the tree, so I do 'Refresh' on the database. The table does not occur. Running the query again said the table already exist. Closing the database and click on the + and it is there. Ron From gambas at ...1... Wed Apr 28 21:46:50 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Apr 2004 21:46:50 +0200 Subject: [Gambas-user] PRB: GDM Refresh on database In-Reply-To: <200404282028.40427.ronstk@...239...> References: <200404282028.40427.ronstk@...239...> Message-ID: <200404282146.51042.gambas@...1...> On Wednesday 28 April 2004 20:28, ron wrote: > Hi, > I created a table in the GDM query window. > The table is not in the tree, so I do 'Refresh' on the database. > The table does not occur. > Running the query again said the table already exist. > Closing the database and click on the + and it is there. > > > Ron > > OK. Fixed :-) -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Thu Apr 29 00:10:15 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 29 Apr 2004 00:10:15 +0200 Subject: [Gambas-user] about xTableView Message-ID: <40902BC7.8060007@...9...> Salut Ron, have to return to your question, what the whole program should do. It is a Demo for the xTableView.class I wrote, for not have to handle all these things I normaly have to handle, if I use the TableView widget without a Database connected. I like this Controle, because it has fixed Row and Column Headers. When I started to add FOther.form, I tried how it can server for the ListBox problem last days at the list. Thanks for the workaround. Amicalement Charlie From ronstk at ...239... Wed Apr 28 22:59:54 2004 From: ronstk at ...239... (ron) Date: Wed, 28 Apr 2004 22:59:54 +0200 Subject: [Gambas-user] about xTableView In-Reply-To: <40902BC7.8060007@...9...> References: <40902BC7.8060007@...9...> Message-ID: <200404282259.54971.ronstk@...239...> On Thursday 29 April 2004 00:10, Charlie wrote: > Salut Ron, > > have to return to your question, > > what the whole program should do. > > It is a Demo for the xTableView.class I wrote, for not have to handle all > these things I normaly have to handle, if I use the TableView widget > without a Database connected. > > I like this Controle, because it has fixed Row and Column Headers. > > When I started to add FOther.form, I tried how it can server for the > ListBox problem last days at the list. You mean then 'Help on Listbox' from Lucian Teofanescu at 24-apr? The demo was almost out of the box I had in the archive. > > Thanks for the workaround. For the FOther.form or ListBox demo :-) > > Amicalement > Charlie Ron From Karl.Reinl at ...9... Thu Apr 29 00:13:16 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 29 Apr 2004 00:13:16 +0200 Subject: [Gambas-user] BUG in IDE during Debugging Message-ID: <200404290013.16504.Karl.Reinl@...9...> Salut, to see it . Create a new project, with a new form, marke 'default dialog management' Produce an ERROR by typing 'btnOK = FALSE' into PUBLIC SUB btnOK_Click() Then F5 and click 'OK' An Error occures. | here the . Now you go behind the K of 'btnOK = FALSE' and you typ a . (dot). The Completation.Box raise up and you can (during debugging chang the code) See snapshot28.jpg Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot28.jpg Type: image/jpeg Size: 49780 bytes Desc: not available URL: From budi at ...415... Thu Apr 29 04:10:27 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Thu, 29 Apr 2004 09:10:27 +0700 Subject: [Gambas-user] Timeout Serial Message-ID: Hi Gambaser, In qb.net, how to set time out in reading and writing to serial port ? Regards, Budi From danielcampos at ...282... Thu Apr 29 08:16:17 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 29 Apr 2004 08:16:17 CEST Subject: [Gambas-user] Timeout Serial Message-ID: > >In qb.net, how to set time out in reading and writing to serial port ? > I do not understand very welll... What kind of timeout do you want to stablish? Could you explain it more deeply? Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From frankberg at ...390... Thu Apr 29 08:31:50 2004 From: frankberg at ...390... (Frank Berg) Date: Thu, 29 Apr 2004 08:31:50 +0200 Subject: [Gambas-user] demo: HTTPGet References: <000801c42d48$c8cd4ed0$0200a8c0@...391...> Message-ID: <001001c42db3$a892b7c0$0200a8c0@...391...> hi, must i install the http://jakarta.apache.org/commons/httpclient/ to use the demo? and are there more dependaries??? frank ----- Original Message ----- From: Frank Berg To: Gambas-user at lists.sourceforge.net Sent: Wednesday, April 28, 2004 7:46 PM Subject: [Norton AntiSpam] [Gambas-user] demo: HTTPGet Hi, i was trying to compile the gambas Demo HTTPGet.. i was enable gb.net but : there are many Errors : HTTPClient can not be found wat is wrong??? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From mauriiiii3001 at ...325... Thu Apr 29 12:19:57 2004 From: mauriiiii3001 at ...325... (=?iso-8859-1?q?ANTONIO=20POZZAR?=) Date: Thu, 29 Apr 2004 12:19:57 +0200 (CEST) Subject: [Gambas-user] NotePad with Tags Message-ID: <20040429101957.77210.qmail@...445...> Hi all I'm programming a Notepad and I would like to impement some tag properties like [Red] and [/Red] to color some parts of the text. I was thinking about checking all the letters I would to use and if i find the sequence I've decided modify a property of that part of text, the only thing is that don't know how to do it :-( Thank You all ____________________________________________________________ Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! http://companion.yahoo.it From danielcampos at ...282... Thu Apr 29 12:36:03 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Thu, 29 Apr 2004 12:36:03 CEST Subject: [Gambas-user] demo: HTTPGet Message-ID: Probably, net.curl component was disabled when you installed gambas, so you need to install libcurl and libcurl-devel, at least version 7.10.8, and then recompile gambas to compile this component. ./reconf ./configure [options] make make install If you have Mandrake 9.2 or 10.0 you can download libcurl and libcurl-devel directly using urpmi. You can find the source code to compile curl in : http://curl.haxx.se/ Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From mauriiiii3001 at ...325... Thu Apr 29 12:40:59 2004 From: mauriiiii3001 at ...325... (=?iso-8859-1?q?ANTONIO=20POZZAR?=) Date: Thu, 29 Apr 2004 12:40:59 +0200 (CEST) Subject: [Gambas-user] Italian Gambers Message-ID: <20040429104059.37954.qmail@...446...> Hi all I'm Maurizio, one of the Italian translators, and would like to know how many Italians are using gambas because I'm planing to translate also the documentations but this is a really hard work so I'd like to know how many persons will use it and evaluate it is necessary. Regards Ciao a tutti sono Maurizio, uno dei traduttori in Italiano, volevo sapere quanti Italiani usano Gambas, perch? sto pianificando di tradurre la documentazione ed essendo un lavoro molto lungo volevo essere sicuro che ne valga la pena. Ciao ____________________________________________________________ Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! http://companion.yahoo.it From giepi_ at ...412... Thu Apr 29 13:04:46 2004 From: giepi_ at ...412... (giepi_ at ...412...) Date: Thu, 29 Apr 2004 13:04:46 +0200 Subject: [Gambas-user] [Newbie] Search and modify! Message-ID: <4087DE4100006172@...447...> Lo ppl I'm new here, and I need your help 'coz I'm dummy :) I'm writing a Forum Notepad, I mean a notepad that supports forum code. The problem is to write in gambas how to look into textbox.text for [B] and [/B] and make bold the text in the middle. Could you help me? It'd be great. Thanksfully, Giepi From e_xotta at ...69... Thu Apr 29 18:03:50 2004 From: e_xotta at ...69... (Emax) Date: Thu, 29 Apr 2004 18:03:50 +0200 Subject: [Gambas-user] Italian Gambers References: <20040429104059.37954.qmail@...446...> Message-ID: <000d01c42e03$94c90c80$0100a8c0@...448...> Ciao Maurizio Personalmente sono molto interessato al progetto Gambas che seguo con interesse. Purtroppo l'inglese per me ? un tab?. Trovare un approccio in italiano sarebbe il massimo. Ciao Emanuele. > Ciao a tutti sono Maurizio, uno dei traduttori in > Italiano, volevo sapere quanti Italiani usano Gambas, > perch? sto pianificando di tradurre la documentazione > ed essendo un lavoro molto lungo volevo essere sicuro > che ne valga la pena. > > Ciao From _root at ...324... Thu Apr 29 18:09:40 2004 From: _root at ...324... (-=FoX=-) Date: Thu, 29 Apr 2004 18:09:40 +0200 Subject: [Gambas-user] Italian Gambers In-Reply-To: <20040429104059.37954.qmail@...446...> References: <20040429104059.37954.qmail@...446...> Message-ID: <409128C4.5040405@...324...> ANTONIO POZZAR wrote: >Ciao a tutti sono Maurizio, uno dei traduttori in >Italiano, volevo sapere quanti Italiani usano Gambas, >perch? sto pianificando di tradurre la documentazione >ed essendo un lavoro molto lungo volevo essere sicuro >che ne valga la pena. > >Ciao > > > A mio parere state facendo un bel lavoro ;) Grazie :) Fox -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=&d=29-4 From mantovani.paolo at ...412... Thu Apr 29 19:02:22 2004 From: mantovani.paolo at ...412... (Paolo Mantovani) Date: Thu, 29 Apr 2004 19:02:22 +0200 Subject: [Gambas-user] Italian Gambers In-Reply-To: <20040429104059.37954.qmail@...446...> References: <20040429104059.37954.qmail@...446...> Message-ID: <200404291902.22382.mantovani.paolo@...412...> Ciao Maurizio, Alle 12:40, gioved? 29 aprile 2004, ANTONIO POZZAR ha scritto: > Hi all I'm Maurizio, one of the Italian translators, > and would like to know how many Italians are using > gambas because I'm planing to translate also the > documentations but this is a really hard work so I'd > like to know how many persons will use it and evaluate > it is necessary. > > Regards I'm Italian :-) Thank for your work. Paolo Mantovani From pastrano at ...431... Thu Apr 29 20:51:13 2004 From: pastrano at ...431... (Gianni Piccini) Date: Thu, 29 Apr 2004 20:51:13 +0200 Subject: [Gambas-user] Italian Gambers In-Reply-To: <20040429104059.37954.qmail@...446...> References: <20040429104059.37954.qmail@...446...> Message-ID: <1083264674.2263074.40914ea2@...432...> On Thu, 29 Apr 2004 12:40:59 +0200 (CEST), you wrote: > and would like to know how many Italians are using > gambas At least one ops, almeno uno c'e', sia pure da pochi giorni :-) Ti darei anche volentieri mano, ma non sono sicuro, visto che essendo inesperto dell'ambiente, non vorrei tradurre fischi per fiaschi... Ciao From gambas at ...1... Thu Apr 29 21:43:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 29 Apr 2004 21:43:39 +0200 Subject: [Gambas-user] BUG in IDE during Debugging In-Reply-To: <200404290013.16504.Karl.Reinl@...9...> References: <200404290013.16504.Karl.Reinl@...9...> Message-ID: <200404292143.39996.gambas@...1...> On Thursday 29 April 2004 00:13, Charlie Reinl wrote: > Salut, > > to see it . Create a new project, with a new form, marke 'default dialog > management' > > Produce an ERROR by typing 'btnOK = FALSE' into PUBLIC SUB btnOK_Click() > Then F5 and click 'OK' > An Error occures. > > | here the . > > Now you go behind the K of 'btnOK = FALSE' and you typ a . (dot). > The Completation.Box raise up and you can (during debugging chang the code) > > See snapshot28.jpg > > Amicalement > Charlie Thanks for the bug report. I will fix it for the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From frankberg at ...390... Thu Apr 29 23:34:54 2004 From: frankberg at ...390... (Frank Berg) Date: Thu, 29 Apr 2004 23:34:54 +0200 Subject: [Gambas-user] demo: HTTPGet References: Message-ID: <000a01c42e31$d0b032e0$0200a8c0@...391...> Hi, i was go to http://curl.haxx.se and download curl 7.11.0.2 as RPM for SUSE 9.0 i was compile gambas new with ./reconf ./configure --with-qt=/usr/lib/qt3 --with-qt-includes=/usr/lib/qt3/include - -with-qt-libraries=/usr/lib/qt3/lib make make install but.. now the demo HTTPget hangs.. i must kill it manuelly with the processmanager mmhhhh.... frank From giepi_ at ...412... Thu Apr 29 23:44:16 2004 From: giepi_ at ...412... (giepi_ at ...412...) Date: Thu, 29 Apr 2004 23:44:16 +0200 Subject: [Gambas-user] Italian Gambers In-Reply-To: <200404291902.22382.mantovani.paolo@...412...> Message-ID: <4087DE4100006C19@...447...> Italiano qua! From ronstk at ...239... Fri Apr 30 01:15:23 2004 From: ronstk at ...239... (ron) Date: Fri, 30 Apr 2004 01:15:23 +0200 Subject: [Gambas-user] BUG in IDE during Debugging In-Reply-To: <200404292143.39996.gambas@...1...> References: <200404290013.16504.Karl.Reinl@...9...> <200404292143.39996.gambas@...1...> Message-ID: <200404300115.24388.ronstk@...239...> On Thursday 29 April 2004 21:43, Benoit Minisini wrote: > Thanks for the bug report. I will fix it for the next version. > > Regards, Ooooooooooh what nice. I wish KDE did the same. Really I like this guy, when I'm in Paris I will buy Benoit a beer or wine :-) He really deserves it! Ron From frankberg at ...390... Fri Apr 30 08:09:54 2004 From: frankberg at ...390... (Frank Berg) Date: Fri, 30 Apr 2004 08:09:54 +0200 Subject: [Gambas-user] demo: HTTPGet : solved References: <000801c42d48$c8cd4ed0$0200a8c0@...391...> <001001c42db3$a892b7c0$0200a8c0@...391...> Message-ID: <000c01c42e79$c25d9550$0200a8c0@...391...> Hi, 1.) i was download the sources curl 7.12.0 and install it, 2.) i was install a new version gambas 0.92a now the demo are working correct.. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From dimitribellini at ...69... Fri Apr 30 17:45:29 2004 From: dimitribellini at ...69... (dimitribellini@libero.it) Date: Fri, 30 Apr 2004 17:45:29 +0200 Subject: [Gambas-user] Italian Gambers Message-ID: Dear All I'm Italian!! .-) I can help with Italian translation of the Doc !! When we Start!! send direct email. Bye Dimitri From danielcampos at ...282... Fri Apr 30 17:46:20 2004 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 30 Apr 2004 17:46:20 +0200 Subject: [Gambas-user] Let's iconize! Message-ID: <1083339979.6271.20.camel@...40...> Hi all: The next version of the 'net' component, that I'm just finishing, will have a big improvement thanks to Benoit: You'll have an entry in the gambas components form for the net classes! So, If anybody of you wants to draw beautiful icons for this component, it's time to do it. You'll have to create icons for: DnsClient --> Translation from IPs and Host names Socket --> TCP and Local sockets UdpSocket --> UDP ("not connected") Sockets SerialPort --> Serial port setuff ServerSocket --> A TCP or Local socket waiting for clients HttpClient --> Receive information from the web easily (more that WinXP installation wizard says :-) Waiting for an avalanche of icons, Daniel Campos -- Daniel Campos From oxleyd at ...364... Fri Apr 30 17:52:05 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 30 Apr 2004 17:52:05 +0200 Subject: [Gambas-user] Let's iconize! In-Reply-To: <1083339979.6271.20.camel@...40...> Message-ID: <200404301333.i3UDXpDj032599@...364...> No sign of ping yet...? ;-) Seriously, well done! -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos Sent: 30 April 2004 17:46 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Let's iconize! Hi all: The next version of the 'net' component, that I'm just finishing, will have a big improvement thanks to Benoit: You'll have an entry in the gambas components form for the net classes! So, If anybody of you wants to draw beautiful icons for this component, it's time to do it. You'll have to create icons for: DnsClient --> Translation from IPs and Host names Socket --> TCP and Local sockets UdpSocket --> UDP ("not connected") Sockets SerialPort --> Serial port setuff ServerSocket --> A TCP or Local socket waiting for clients HttpClient --> Receive information from the web easily (more that WinXP installation wizard says :-) Waiting for an avalanche of icons, Daniel Campos -- Daniel Campos ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From nferraz at ...184... Fri Apr 30 21:18:04 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Fri, 30 Apr 2004 16:18:04 -0300 Subject: [Gambas-user] Let's iconize! In-Reply-To: <1083339979.6271.20.camel@...40...> References: <1083339979.6271.20.camel@...40...> Message-ID: <4092A66C.8070509@...184...> Daniel Campos wrote: > So, If anybody of you wants to draw beautiful icons for this component, > it's time to do it. You'll have to create icons for: What's the proper icon size? 64x64 pixels? 128x128px? From grahame at ...307... Fri Apr 30 21:13:49 2004 From: grahame at ...307... (Grahame White) Date: Fri, 30 Apr 2004 20:13:49 +0100 Subject: [Gambas-user] Not sure on declaring user-defined datatype arrays Message-ID: <200404302013.49500.grahame@...307...> What I have at the moment is three class files Global.class Object.class FMain.class Thingy.class contains PUBLIC Name AS String PUBLIC Height AS Short PUBLIC Width AS Short Global.class contains PUBLIC STATIC Pile AS Object[] FMain.class contains PUBLIC SUB Form_Show() tmp_object AS NEW Thingy DIM i AS Byte ' Create two elements in the Pile array FOR i = 1 TO 2 Global.Pile.Add(Thingy) NEXT WITH Global.Pile[0] .Name = "Square" .Height = 10 .Width = 10 END WITH WITH Global.Pile[1] .Name = "Rectangle" .Height = 20 .Width = 10 END WITH END To my mind this should create an array of Thingy that is two elements big. However when I step through the code with the debugger with a watch on : Global.Pile[0].Name and on Global.Pile[1].Name it gets to the line .Name = "Square" and instead of only setting Global.Pile[0].Name to Square it ALSO sets Global.Pile[1].Name to Square What am I doing wrong? Grahame From ronstk at ...239... Fri Apr 30 21:34:27 2004 From: ronstk at ...239... (ron) Date: Fri, 30 Apr 2004 21:34:27 +0200 Subject: [Gambas-user] Not sure on declaring user-defined datatype arrays In-Reply-To: <200404302013.49500.grahame@...307...> References: <200404302013.49500.grahame@...307...> Message-ID: <200404302134.27127.ronstk@...239...> On Friday 30 April 2004 21:13, Grahame White wrote: > What I have at the moment is three class files > > Global.class > Object.class > FMain.class > > Thingy.class contains > > PUBLIC Name AS String > PUBLIC Height AS Short > PUBLIC Width AS Short > > Global.class contains > > PUBLIC STATIC Pile AS Object[] > > FMain.class contains > > PUBLIC SUB Form_Show() > > tmp_object AS NEW Thingy > DIM i AS Byte > > ' Create two elements in the Pile array > FOR i = 1 TO 2 > Global.Pile.Add(Thingy) > NEXT > > WITH Global.Pile[0] > .Name = "Square" > .Height = 10 > .Width = 10 > END WITH > > WITH Global.Pile[1] > .Name = "Rectangle" > .Height = 20 > .Width = 10 > END WITH > > END > > > To my mind this should create an array of Thingy that is two elements big. > > However when I step through the code with the debugger with a watch on : > Global.Pile[0].Name and on Global.Pile[1].Name > > it gets to the line .Name = "Square" and instead of only setting > Global.Pile[0].Name to Square it ALSO sets Global.Pile[1].Name to Square > > What am I doing wrong? > > Grahame Well i understand you want a pile of thingy's you create now only 1 new thingy and add this to the array the second loop in the for/next add simple the same thingy move the 'tmp_object AS NEW Thingy' inside the for next loop will make new objects to add instead of the only 1 you have now Ron From grahame at ...307... Fri Apr 30 21:49:52 2004 From: grahame at ...307... (Grahame White) Date: Fri, 30 Apr 2004 20:49:52 +0100 Subject: [Gambas-user] Not sure on declaring user-defined datatype arrays In-Reply-To: <200404302134.27127.ronstk@...239...> References: <200404302013.49500.grahame@...307...> <200404302134.27127.ronstk@...239...> Message-ID: <200404302049.52110.grahame@...307...> > > To my mind this should create an array of Thingy that is two elements > > big. > > > > However when I step through the code with the debugger with a watch on > > : Global.Pile[0].Name and on Global.Pile[1].Name > > > > it gets to the line .Name = "Square" and instead of only setting > > Global.Pile[0].Name to Square it ALSO sets Global.Pile[1].Name to > > Square > > > > What am I doing wrong? > > > > Grahame > > Well i understand you want a pile of thingy's > you create now only 1 new thingy and add this to the array > the second loop in the for/next add simple the same thingy > move the 'tmp_object AS NEW Thingy' inside the for next loop will > make new objects to add instead of the only 1 you have now > > Ron Yes, you understand what I'm trying to achieve :) I tried moving the 'tmp_object AS NEW Thingy' line into the for...next loop as you suggested, however all I get now is a syntax error on that line when I run my program :/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Fri Apr 30 22:04:31 2004 From: ronstk at ...239... (ron) Date: Fri, 30 Apr 2004 22:04:31 +0200 Subject: [Gambas-user] Not sure on declaring user-defined datatype arrays In-Reply-To: <200404302134.27127.ronstk@...239...> References: <200404302013.49500.grahame@...307...> <200404302134.27127.ronstk@...239...> Message-ID: <200404302204.31159.ronstk@...239...> To be more exact. > > PUBLIC SUB Form_Show() > > > > tmp_object AS NEW Thingy dim tmp_object as thingy Here you declare tmp_object should handle the defenition of thingy > > DIM i AS Byte > > > > ' Create two elements in the Pile array > > FOR i = 1 TO 2 tmp_object = NEW thingy Here you create the tmp_object with as defenition the thingy class as a new object to do something with. > > Global.Pile.Add(Thingy) Add a definition to the array or do you want to add a object with the defenition to the array? Global.Pile.Add(tmp_object) > > NEXT > > > > WITH Global.Pile[0] > > .Name = "Square" > > .Height = 10 > > .Width = 10 > > END WITH > > > > WITH Global.Pile[1] > > .Name = "Rectangle" > > .Height = 20 > > .Width = 10 > > END WITH > > > > END Just for the fun: public sub buildstreet() dim new_home as house ' or flat dim i as integer for i =1 to buildings.in.the.street new_home = new house ' or flat new_home.street =" avenue gambas" new_home.housenumber = i street.add(new_home) next Hope this will give better info. ;=) Ron From grahame at ...307... Fri Apr 30 22:27:00 2004 From: grahame at ...307... (Grahame White) Date: Fri, 30 Apr 2004 21:27:00 +0100 Subject: [Gambas-user] Not sure on declaring user-defined datatype arrays In-Reply-To: <200404302204.31159.ronstk@...239...> References: <200404302013.49500.grahame@...307...> <200404302134.27127.ronstk@...239...> <200404302204.31159.ronstk@...239...> Message-ID: <200404302127.00348.grahame@...307...> On Friday 30 April 2004 21:04, ron wrote: > To be more exact. > > > > PUBLIC SUB Form_Show() > > > > > > tmp_object AS NEW Thingy > > dim tmp_object as thingy > > Here you declare tmp_object should handle the defenition of thingy > > > > DIM i AS Byte > > > > > > ' Create two elements in the Pile array > > > FOR i = 1 TO 2 > > tmp_object = NEW thingy > Here you create the tmp_object with as defenition the thingy class > as a new object to do something with. > > > > Global.Pile.Add(Thingy) > > Add a definition to the array or do you want to add a object with the > defenition to the array? > Global.Pile.Add(tmp_object) > > > > NEXT > > > > > > WITH Global.Pile[0] > > > .Name = "Square" > > > .Height = 10 > > > .Width = 10 > > > END WITH > > > > > > WITH Global.Pile[1] > > > .Name = "Rectangle" > > > .Height = 20 > > > .Width = 10 > > > END WITH > > > > > > END > > Just for the fun: > > public sub buildstreet() > dim new_home as house ' or flat > dim i as integer > for i =1 to buildings.in.the.street > new_home = new house ' or flat > new_home.street =" avenue gambas" > new_home.housenumber = i > street.add(new_home) > next > > Hope this will give better info. ;=) > > Ron The comments you added were very helpful, I couldn't quite grasp the concept before but I makes a lot more sense to me now. I wouldn't say I completely understand but once I've coded a few things with it, and debugged them a few times I should ;) The final example was also very helpful, to be honest I found that to be more helpful than the example in the how do i... section of the help files. Very newbie friendly :) Thanks again Grahame > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From dimitribellini at ...69... Fri Apr 30 17:44:01 2004 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 30 Apr 2004 17:44:01 +0200 Subject: [Gambas-user] Italian Gambers In-Reply-To: <20040429104059.37954.qmail@...446...> References: <20040429104059.37954.qmail@...446...> Message-ID: <200404301744.02252.dimitribellini@...69...> Dear All I'm Italian!! .-) I can help with Italian translation of the Doc !! When we Start!! send direct email. Bye Dimitri On Thursday 29 April 2004 12:40 pm, ANTONIO POZZAR wrote: > Hi all I'm Maurizio, one of the Italian translators, > and would like to know how many Italians are using > gambas because I'm planing to translate also the > documentations but this is a really hard work so I'd > like to know how many persons will use it and evaluate > it is necessary. > > Regards > > > Ciao a tutti sono Maurizio, uno dei traduttori in > Italiano, volevo sapere quanti Italiani usano Gambas, > perch? sto pianificando di tradurre la documentazione > ed essendo un lavoro molto lungo volevo essere sicuro > che ne valga la pena. > > Ciao > > > > > > > ____________________________________________________________ > Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo! > http://companion.yahoo.it > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user