From dcamposf at ...626... Fri Sep 1 00:14:47 2006 From: dcamposf at ...626... (Daniel Campos) Date: Fri, 1 Sep 2006 00:14:47 +0200 Subject: [Gambas-user] Install and upgrade three questions In-Reply-To: <20060831211309.M9924@...1382...> References: <20060831211309.M9924@...1382...> Message-ID: <7259b5ae0608311514u5fdf0c05w7b022246a1de5bb3@...627...> > I have 1.0.6 installed. > A compiled program looks for stuff in /opt/gambas > > If I install 1.0.17 > It will overwrite /opt/gambas --> correct ?? > You will overwrite the files, not the folder, I think > I will have to recompile all programs --> correct ?? > The stable version didn't change the bytecode, so you have not to recompile > I can revert back if I save a copy of /opt/gambas before installation > and copy it back --> correct ?? > A good backup reverts all :-) Daniel From ronstk at ...239... Fri Sep 1 01:40:50 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 1 Sep 2006 01:40:50 +0200 Subject: [Gambas-user] Install and upgrade three questions In-Reply-To: <7259b5ae0608311514u5fdf0c05w7b022246a1de5bb3@...627...> References: <20060831211309.M9924@...1382...> <7259b5ae0608311514u5fdf0c05w7b022246a1de5bb3@...627...> Message-ID: <200609010140.51599.ronstk@...239...> On Friday 01 September 2006 00:14, Daniel Campos wrote: > > I have 1.0.6 installed. > > A compiled program looks for stuff in /opt/gambas > > > > If I install 1.0.17 > > It will overwrite /opt/gambas --> correct ?? > > > > You will overwrite the files, not the folder, I think > > > I will have to recompile all programs --> correct ?? > > > > The stable version didn't change the bytecode, so you have not to recompile > > > > I can revert back if I save a copy of /opt/gambas before installation > > and copy it back --> correct ?? > > > > A good backup reverts all :-) > > Daniel > True, The way I work is using symlinks. Before I start I remove the symlink in /opt I do ./configure --prefix=/opt/gb After the make and make install I test shortly if it works Then I rename the /opt/gb map to /opt/gbXX where XX is the version step. and create a symlink imn opt to the /opt/gbXX. Now I can change easy between the several last versions by edit the symlink. Of course the home written apps are in the /home/ron/gbapp directory. Ron From nando_f at ...1382... Fri Sep 1 11:57:36 2006 From: nando_f at ...1382... (nando) Date: Fri, 1 Sep 2006 05:57:36 -0400 Subject: [Gambas-user] STAT doc mismatch with 'LastModified' Message-ID: <20060901095134.M37312@...1382...> I'm assuming STAT.LastUpdate (in IDE) is the same as STAT.LastModified (from wiki) -Fernando >From the Wiki 'STAT' page ----------------------------------------------------------------------------------------- Stat (gb) This class represents all the information returned by the system about a specific file. Symbols This class is not creatable. Properties Group Hidden LastAccess LastChange LastModified Link Mode Path Perm SetGID SetUID Size Sticky Time Type User See also Stat ----------------------------------------------------------------------------------------- >From the IDE: WITH Stat(application.Path &/ config.cfg) remember_timestamp = .last? <--'LastModified is not listed, but there is a LastUpdate END WITH ----------------------------------------------------------------------------------------- From nando_f at ...1382... Fri Sep 1 12:51:43 2006 From: nando_f at ...1382... (nando) Date: Fri, 1 Sep 2006 06:51:43 -0400 Subject: [Gambas-user] SPLIT command BUG Message-ID: <20060901105006.M70406@...1382...> In Wiki Doc for SPLIT... Elt = Split(" Gambas Almost Means BASIC !n'Do you agree ?'", " n", "'", TRUE) FOR EACH Sb IN Elt PRINT "("; Sb; ") "; NEXT PRINT Does not compile in 1.0.17 The 'TRUE' causes 'too many arguments' at compile time -Fernando From dcamposf at ...626... Fri Sep 1 12:58:00 2006 From: dcamposf at ...626... (Daniel Campos) Date: Fri, 1 Sep 2006 12:58:00 +0200 Subject: [Gambas-user] SPLIT command BUG In-Reply-To: <20060901105006.M70406@...1382...> References: <20060901105006.M70406@...1382...> Message-ID: <7259b5ae0609010358q526569fcwba3c41cc402b61ee@...627...> I think It's not a bug, the fourth paramer was added only in developement version, the original syntax is here: http://binara.com/gambas-wiki/static/Gambas/LangSplit.html Daniel 2006/9/1, nando : > In Wiki Doc for SPLIT... > > Elt = Split(" Gambas Almost Means BASIC !n'Do you agree ?'", " n", "'", TRUE) > > FOR EACH Sb IN Elt > PRINT "("; Sb; ") "; > NEXT > PRINT > > > Does not compile in 1.0.17 > The 'TRUE' causes 'too many arguments' at compile time > > -Fernando > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dcamposf at ...626... Fri Sep 1 13:01:02 2006 From: dcamposf at ...626... (Daniel Campos) Date: Fri, 1 Sep 2006 13:01:02 +0200 Subject: [Gambas-user] STAT doc mismatch with 'LastModified' In-Reply-To: <20060901095134.M37312@...1382...> References: <20060901095134.M37312@...1382...> Message-ID: <7259b5ae0609010401g790ca7deia56caf7170623a2e@...627...> I'm not sure, but I think the IDE can not get in edit time the kind of object returned by a function and autocomplete it. Does it work at runtime, anyway? Daniel 2006/9/1, nando : > I'm assuming STAT.LastUpdate (in IDE) is the same as STAT.LastModified (from wiki) > -Fernando > > >From the Wiki 'STAT' page > ----------------------------------------------------------------------------------------- > Stat (gb) > This class represents all the information returned by the system about a specific file. > > Symbols > This class is not creatable. > Properties > Group Hidden LastAccess LastChange LastModified Link Mode Path Perm > SetGID SetUID Size Sticky Time Type User > > See also > Stat > ----------------------------------------------------------------------------------------- > >From the IDE: > WITH Stat(application.Path &/ config.cfg) > remember_timestamp = .last? <--'LastModified is not listed, but there is a LastUpdate > END WITH > ----------------------------------------------------------------------------------------- > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nando_f at ...951... Fri Sep 1 13:08:56 2006 From: nando_f at ...951... (nando) Date: Fri, 1 Sep 2006 07:08:56 -0400 Subject: [Gambas-user] STAT doc mismatch with 'LastModified' In-Reply-To: <7259b5ae0609010401g790ca7deia56caf7170623a2e@...627...> References: <20060901095134.M37312@...1382...> <7259b5ae0609010401g790ca7deia56caf7170623a2e@...627...> Message-ID: <20060901110449.M7853@...951...> I didn't explain properly. When I press the '.' after STAT in IDE, there is a list of items. That list is different than wiki...specifically LastModified. The IDE has a STAT.LastUpdate and wiki doesn't Wiki has a STAT.LastModified and IDE doesn't -Fernando ---------- Original Message ----------- From: "Daniel Campos" To: nando_f at ...951..., "mailing list for gambas users" Sent: Fri, 1 Sep 2006 13:01:02 +0200 Subject: Re: [Gambas-user] STAT doc mismatch with 'LastModified' > I'm not sure, but I think the IDE can not get in edit time the kind of > object returned by a function and autocomplete it. Does it work at > runtime, anyway? > > Daniel > > 2006/9/1, nando : > > I'm assuming STAT.LastUpdate (in IDE) is the same as STAT.LastModified (from wiki) > > -Fernando > > > > >From the Wiki 'STAT' page > > ----------------------------------------------------------------------------------------- > > Stat (gb) > > This class represents all the information returned by the system about a specific file. > > > > Symbols > > This class is not creatable. > > Properties > > Group Hidden LastAccess LastChange LastModified Link Mode Path Perm > > SetGID SetUID Size Sticky Time Type User > > > > See also > > Stat > > ----------------------------------------------------------------------------------------- > > >From the IDE: > > WITH Stat(application.Path &/ config.cfg) > > remember_timestamp = .last? <--'LastModified is not listed, but there is a LastUpdate > > END WITH > > ----------------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From nando_f at ...1382... Fri Sep 1 13:16:11 2006 From: nando_f at ...1382... (nando) Date: Fri, 1 Sep 2006 07:16:11 -0400 Subject: [Gambas-user] Signal #6 example Message-ID: <20060901111307.M75799@...1382...> I was assuming .CLEAR could be used with a global static string array but perhaps not. Version 1.0.17 'global string array DIM terminals[10000] AS STRING sub config() terminals.clear <---raised signal #6 end From dcamposf at ...626... Fri Sep 1 13:28:15 2006 From: dcamposf at ...626... (Daniel Campos) Date: Fri, 1 Sep 2006 13:28:15 +0200 Subject: [Gambas-user] Signal #6 example In-Reply-To: <20060901111307.M75799@...1382...> References: <20060901111307.M75799@...1382...> Message-ID: <7259b5ae0609010428p96c313dhb72f757fd303ccf0@...627...> 2006/9/1, nando : > I was assuming .CLEAR could be used with a global static string array > but perhaps not. > > Version 1.0.17 > > 'global string array > DIM terminals[10000] AS STRING > > What syntax is this? DIM can not be used for global declarations, and the way to declarate a string array is: PUBLIC terminals as String[] In the dev. version you can add the elements count (I do not remember in the stable version): PUBLIC terminals as String[10000] > > sub config() > > terminals.clear <---raised signal #6 > This is a bug, Gambas should not finish with a signal even if the syntax is wrong... I've tested in the dev. version and seems to not suffer that problem. Benoit? Daniel From nando_f at ...951... Fri Sep 1 14:46:04 2006 From: nando_f at ...951... (nando) Date: Fri, 1 Sep 2006 08:46:04 -0400 Subject: [Gambas-user] Signal #6 example In-Reply-To: <7259b5ae0609010428p96c313dhb72f757fd303ccf0@...627...> References: <20060901111307.M75799@...1382...> <7259b5ae0609010428p96c313dhb72f757fd303ccf0@...627...> Message-ID: <20060901124522.M1660@...951...> Ooooooooops! PRIVATE terminals[10000] AS String ---------- Original Message ----------- From: "Daniel Campos" To: nando_f at ...951..., "mailing list for gambas users" Sent: Fri, 1 Sep 2006 13:28:15 +0200 Subject: Re: [Gambas-user] Signal #6 example > 2006/9/1, nando : > > I was assuming .CLEAR could be used with a global static string array > > but perhaps not. > > > > Version 1.0.17 > > > > 'global string array > > DIM terminals[10000] AS STRING > > > > > > What syntax is this? DIM can not be used for global declarations, and > the way to declarate a string array is: > > PUBLIC terminals as String[] > > In the dev. version you can add the elements count (I do not remember > in the stable version): > > PUBLIC terminals as String[10000] > > > > > sub config() > > > > terminals.clear <---raised signal #6 > > > > This is a bug, Gambas should not finish with a signal even if the > syntax is wrong... I've tested in the dev. version and seems to not > suffer that problem. Benoit? > > Daniel > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From wspinto at ...1405... Fri Sep 1 17:54:35 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Fri, 1 Sep 2006 12:54:35 -0300 Subject: [Gambas-user] gambas2-1.9.41 component developer Message-ID: <1157126075.44f857bbee405@...1547...> Hi! In gambas .41 have a component creato but i'not undertand. I read the gambas2-1.9.41/comp/ directory and you examples and not be suficient for undertand. Please send example this new feature, creted with new IDE feature. Reguards, Wellington PS: My english not very well ___________________________________________________________________________________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu telefone de casa ou celular. Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! From ronstk at ...239... Fri Sep 1 19:21:34 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 1 Sep 2006 19:21:34 +0200 Subject: [Gambas-user] gambas2-1.9.41 component developer In-Reply-To: <1157126075.44f857bbee405@...1547...> References: <1157126075.44f857bbee405@...1547...> Message-ID: <200609011921.35049.ronstk@...239...> On Friday 01 September 2006 17:54, wspinto at ...1405... wrote: > > Hi! > In gambas .41 have a component creato but i'not undertand. > I read the gambas2-1.9.41/comp/ directory and you examples and not be suficient > for undertand. > > Please send example this new feature, creted with new IDE feature. > > Reguards, > > Wellington > > > PS: My english not very well > ___________________________________________________________________________________ In the source tree of gambas code there exists already a 'comp' directory. /home/ron/src/gambas2-1.9.38/comp In that directory is also a 'src' directory. You need to place your component into that directory in his own directory. I did it for new mdi as 'gb.form.mda' as following. /home/ron/src/gambas2-1.9.38/comp/src/gb.form.mda In the 'src' directory there is a file 'order' with content of gb.settings gb.info gb.form gb.form.mdi gb.db.form I add my component as gb.form.mda as following gb.settings gb.info gb.form gb.form.mdi gb.db.form gb.form.mda Note the name to add must be the name of your new component directory. Be carefull to add a *.component file into you component directory too. Example available in the other components. For install and activate goto the root of the source tree i.e. /home/ron/src/gambas2-1.9.38 and type as root 'make install' Now you should find your component in the IDE project properties. Ron From deyoungkas at ...1567... Fri Sep 1 21:12:43 2006 From: deyoungkas at ...1567... (Junko Spillane) Date: Fri, 1 Sep 2006 12:12:43 -0700 Subject: [Gambas-user] raR Xoe Message-ID: <000001c6cdfa$99f97b60$32c8a8c0@...1568...> Hi All yo i ur PHA b RRMA s CY dir n ec q tly from the m w anufac l tur c er, Your c n han m ce to eco w nomi g ze w u ith us http://AppleTreeGifts.info e s s world of the living. I thought so. But the galaxys loss is our gain. We are pleased challenge then. But after a couple of centuries the pleasures begin to From Karl.Reinl at ...9... Sat Sep 2 00:33:06 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 2 Sep 2006 00:33:06 +0200 Subject: [Gambas-user] Question about Key in ColumnView Message-ID: <200609020033.07176.Karl.Reinl@...9...> Salut, where am I wrong, in the this Sub I Update tow equal ColumnView shown here : WITH cvwTranslate .Columns.Count = 4 .Columns[0].Text = ("Untranslated") .Columns[0].AutoResize = FALSE .Columns[1].AutoResize = FALSE .Columns[2].Text = ("Comments") .Columns[2].AutoResize = FALSE .Columns[3].Text = ("myKey") .Columns[3].AutoResize = FALSE END WITH cvwTranslateORG = NEW ColumnView(ME) WITH cvwTranslateORG .Visible = FALSE .Columns.Count = 4 .Columns[0].Text = ("Untranslated") .Columns[0].AutoResize = FALSE .Columns[1].AutoResize = FALSE .Columns[2].Text = ("Comments") .Columns[2].AutoResize = FALSE .Columns[3].Text = ("myKey") .Columns[3].AutoResize = FALSE END WITH (I added .Columns[3] to store the Key) I thought I can read the .Key from the ColumnView to set him in the seconde ColumnView. But I alway get "1", who is my mistake ? PRIVATE SUB UpdateOrg(OPTIONAL bNew AS Boolean = FALSE) DIM nI AS Integer DIM sKey AS String IF bNew THEN cvwTranslateORG.Clear WITH cvwTranslate .MoveFirst DO WHILE .Available 'sKey = .Key sKey = CStr(.item[3]) IF bNew THEN cvwTranslateORG.Add(sKey, .item[0]) FOR ni = 1 TO .Columns.Count - 1 cvwTranslateORG.Item[nI] = .item[nI] NEXT ELSE cvwTranslateORG.MoveTo(sKey) cvwTranslateORG.Item[1] = .item[1] ENDIF .MoveNext LOOP END WITH END This Sub writes the hole cvwTranslate to cvwTranslateORG if bNew is TRUE, or if after initialisation keeps only the Values found by sKey. You find this Sub in the attached *.class file , if you want to try it, this comes from gambas2 IDE (1.9.41) the translation tool You will find left to the buttons a ComboBox where you can switch down to each file. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: FTranslate.class Type: application/x-java Size: 19061 bytes Desc: not available URL: -------------- next part -------------- # Gambas Form File 1.0 { FTranslate Form MoveScaled(7.1429,15.4286,101,79) 'Move(50,108,707,553) Text = ("Project translation") Icon = Picture["icon:/16/language"] Arrangement = Arrange.Vertical Spacing = 8 Padding = 8 { Panel4 Panel MoveScaled(1,1,93,6) 'Move(7,7,651,42) Background = Color.SelectedBackground Arrangement = Arrange.Horizontal Spacing = 8 Padding = 8 { PictureBox1 PictureBox MoveScaled(1,1,5,5) 'Move(7,7,35,35) Picture = Picture["icon:/32/language"] } { Label2 Label MoveScaled(7,1,31,4) 'Move(49,7,217,28) Font = Font["Bold,+2"] Foreground = Color.SelectedForeground AutoResize = True Text = ("Project translation") } } { HBox2 HBox MoveScaled(1,8,115,65) 'Move(7,56,805,455) Expand = True Spacing = 8 { cvwLang ColumnView MoveScaled(0,3,29,59) 'Move(0,21,203,413) Sorted = True AutoResize = True Header = False ScrollBar = Scroll.Vertical } { VBox1 VBox MoveScaled(30,1,84,61) 'Move(210,7,588,427) Expand = True Spacing = 8 { ToolBar1 ToolBar MoveScaled(3,1,78,3) 'Move(21,7,546,21) { cbxFileChoice ComboBox MoveScaled(52,-1,29,4) 'Move(364,-7,203,28) Text = ("ComboBox1") } { btnClear ToolButton MoveScaled(0,0,3,3) 'Move(0,0,21,21) ToolTip = ("Clear this translation") Text = ("") Picture = Picture["icon:/16/clear"] } { btnDoNotTranslate ToolButton MoveScaled(3,0,3,3) 'Move(21,0,21,21) ToolTip = ("This string must not be translated") Text = ("") Picture = Picture["icon:/16/warning"] } { btnCopy ToolButton MoveScaled(6,0,3,3) 'Move(42,0,21,21) ToolTip = ("Copy untranslated string") Text = ("") Picture = Picture["icon:/16/paste"] } { btnVerify ToolButton MoveScaled(9,0,3,3) 'Move(63,0,21,21) ToolTip = ("Verify the translation") Text = ("") Picture = Picture["icon:/16/watch"] } { btnNext ToolButton MoveScaled(12,0,3,3) 'Move(84,0,21,21) ToolTip = ("Find next untranslated string") Text = ("") Picture = Picture["icon:/16/down"] } { btnPrevious ToolButton MoveScaled(15,0,3,3) 'Move(105,0,21,21) ToolTip = ("Find previous untranslated string") Text = ("") Picture = Picture["icon:/16/up"] } { txtFind TextBox MoveScaled(18,0,31,3) 'Move(126,0,217,21) Text = ("") } { btnFind ToolButton MoveScaled(49,0,3,3) 'Move(343,0,21,21) ToolTip = ("Find a string in translation") Text = ("") Picture = Picture["icon:/16/find"] } { Panel2 Panel MoveScaled(69,0,1,3) 'Move(483,0,7,21) Visible = False } } { cvwTranslate ColumnView MoveScaled(3,6,80,29) 'Move(21,42,560,203) Expand = True Sorted = True Resizable = False ScrollBar = Scroll.Vertical } { VBox2 VBox MoveScaled(2,37,80,19) 'Move(14,259,560,133) Expand = True Spacing = 8 { lblComment Label MoveScaled(1,1,48,3) 'Move(7,7,336,21) Text = ("") } { txtOrig TextArea MoveScaled(4,4,73,7) 'Move(28,28,511,49) Background = Color.Background Expand = True Text = ("") ReadOnly = True Wrap = True } { txtTranslate TextArea MoveScaled(3,12,73,5) 'Move(21,84,511,35) Expand = True Text = ("") Wrap = True } } { lblInfo Label MoveScaled(2,56,73,3) 'Move(14,392,511,21) Text = ("") } } } { VBox3 VBox MoveScaled(0,74,106,4) 'Move(0,518,742,28) { Panel3 Panel MoveScaled(55,0,3,1) 'Move(385,0,21,7) } { HBox1 HBox MoveScaled(0,1,101,3) 'Move(0,7,707,21) Spacing = 8 { btnNew Button MoveScaled(0,0,15,3) 'Move(0,0,105,21) ToolTip = ("New translation") Text = ("&New...") } { btnUndo Button MoveScaled(16,0,15,3) 'Move(112,0,105,21) ToolTip = ("Reload translation") Text = ("&Reload") } { btnDelete Button MoveScaled(32,0,15,3) 'Move(224,0,105,21) ToolTip = ("Delete translation") Text = ("&Delete") } { btnImport Button MoveScaled(48,0,15,3) 'Move(336,0,105,21) ToolTip = ("Import a translation file") Text = ("&Import...") } { btnExport Button MoveScaled(64,0,15,3) 'Move(448,0,105,21) ToolTip = ("Export to a translation file") Text = ("&Export...") } { Panel1 Panel MoveScaled(81,0,3,3) 'Move(567,0,21,21) Expand = True } { btnOK Button MoveScaled(85,0,15,3) 'Move(595,0,105,21) Text = ("&Close") } } } } From gambas at ...1... Sat Sep 2 16:06:22 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Sep 2006 16:06:22 +0200 Subject: [Gambas-user] Drawing using tranparency In-Reply-To: <010701c6ccf8$c20d6010$3400a8c0@...1314...> References: <010701c6ccf8$c20d6010$3400a8c0@...1314...> Message-ID: <200609021606.22770.gambas@...1...> On Thursday 31 August 2006 14:27, Marco Colnaghi Libero IMAP wrote: > I'm trying to blend together 2 images but with bad results. > > just to start this work I have some questions I can't find an answer: > > Is there a function giving back the red (or green or blue) component of a > color? (equivalent to qRed in QT) > > How can I change the alpha level of an image? Putting transparency to true > enables transparency but I can't figure out how to dim the image before > printing. > > How can I print an image using alpha channel too? > > Thanks in advance, > Marco. > Alas there is no support for blending Image objects and for correctly manupilate the alpha channel in Gambas yet. This should be done. :-) You cannot print using alpha channel, because Postscript does not support it. I don't know what Qt does if you send an image with alpha channel to the printer. Maybe it ignores it, or it blends it with a white background, I don't know. To be sure, you have to make a non-transparent image from your transparent ones before sending it to the printer. Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 2 16:06:45 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Sep 2006 16:06:45 +0200 Subject: [Gambas-user] STAT doc mismatch with 'LastModified' In-Reply-To: <20060901110449.M7853@...951...> References: <20060901095134.M37312@...1382...> <7259b5ae0609010401g790ca7deia56caf7170623a2e@...627...> <20060901110449.M7853@...951...> Message-ID: <200609021606.46116.gambas@...1...> On Friday 01 September 2006 13:08, nando wrote: > I didn't explain properly. > When I press the '.' after STAT in IDE, there is a list of items. > That list is different than wiki...specifically LastModified. > > The IDE has a STAT.LastUpdate and wiki doesn't > Wiki has a STAT.LastModified and IDE doesn't > > -Fernando > Maybe you are using the stable version? The wiki is for the development one. -- Benoit Minisini From nando_f at ...951... Sat Sep 2 17:36:18 2006 From: nando_f at ...951... (nando) Date: Sat, 2 Sep 2006 11:36:18 -0400 Subject: [Gambas-user] STAT doc mismatch with 'LastModified' In-Reply-To: <200609021606.46116.gambas@...1...> References: <20060901095134.M37312@...1382...> <7259b5ae0609010401g790ca7deia56caf7170623a2e@...627...> <20060901110449.M7853@...951...> <200609021606.46116.gambas@...1...> Message-ID: <20060902153557.M96266@...951...> You are correct 1.0.6 and 1.0.17 ---------- Original Message ----------- From: Benoit Minisini To: nando_f at ...951..., mailing list for gambas users Sent: Sat, 2 Sep 2006 16:06:45 +0200 Subject: Re: [Gambas-user] STAT doc mismatch with 'LastModified' > On Friday 01 September 2006 13:08, nando wrote: > > I didn't explain properly. > > When I press the '.' after STAT in IDE, there is a list of items. > > That list is different than wiki...specifically LastModified. > > > > The IDE has a STAT.LastUpdate and wiki doesn't > > Wiki has a STAT.LastModified and IDE doesn't > > > > -Fernando > > > > Maybe you are using the stable version? The wiki is for the development one. > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From sbungay at ...981... Mon Sep 4 02:35:26 2006 From: sbungay at ...981... (sbungay) Date: Sun, 03 Sep 2006 20:35:26 -0400 Subject: [Gambas-user] Database Manager.... A question... Message-ID: <44FB74CE.4040808@...981...> Some peculiar behaviour.. When using the database manager if I try to connect to an SQL server on my intranet (either directly via the IP or by a the host name (as defined in the hosts file)) the tool comes back with the following error message; Cannot connect to database Cannot open database: Access denied for user 'username'@'%' to database 'mysql' But, if I run the database application example and give it the same parameters (servername or IP address, username and password) it connects with no problem. Can anyone else confirm this behaviour? Steve :) From comisat at ...1569... Mon Sep 4 02:54:20 2006 From: comisat at ...1569... (comisat at ...1569...) Date: Mon, 4 Sep 2006 02:54:20 +0200 (CEST) Subject: [Gambas-user] Message title In-Reply-To: <44FB74CE.4040808@...981...> References: <44FB74CE.4040808@...981...> Message-ID: <1688.87.4.92.234.1157331260.squirrel@...1570...> Hi, is there a way to set the Message caption ? thanks :) carlo _______________________________________________ * GPG/PGP public key-id: 0xB703A9E2 * rfc.altervista.org aspetta il tuo contributo * USE=-brain emerge win * "Sulla confezione c'era scritto: necessita' di win9x, winXP o superiore.. ...cosi' ho installato linux" _______________________________________________ From rohnny at ...1248... Mon Sep 4 06:25:55 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 3 Sep 2006 21:25:55 -0700 (PDT) Subject: [Gambas-user] gambas2-runtime Message-ID: <6129748.post@...1379...> I'm trying again. How can I make gambas2-runtime files. This so the person that shall run gambas projects don't have to compile and install the hole thing. Running Ubuntu. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/gambas2-runtime-tf2213217.html#a6129748 Sent from the gambas-user forum at Nabble.com. From ronstk at ...239... Mon Sep 4 07:14:08 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 4 Sep 2006 07:14:08 +0200 Subject: [Gambas-user] gambas2-runtime In-Reply-To: <6129748.post@...1379...> References: <6129748.post@...1379...> Message-ID: <200609040714.09330.ronstk@...239...> On Monday 04 September 2006 06:25, R. Stormo wrote: > > I'm trying again. > How can I make gambas2-runtime files. This so the person that shall run > gambas projects don't have to compile and install the hole thing. > Running Ubuntu. > > > Regards Rohnny > http://forum.stormweb.no Very good question. First is the target ubuntu box the same as the box you develop? Here a proposal for a quick hack to do it. I do the install with ./configure --prefix=/opt/gb just to get all the gambas stuff is one directory with sub directories. easy to browse. :) To be able to run something you need a few symlinks in /usr/bin to the /opt/gb/bin/gambas2.gambas and etc. They are made by the installer. For running "compiled' applications you need the runtime files only. regarding the external components you use you need i.e. gb.qt.* The most nice way is if you develop on the same environment as the client. In that way you can copy the gambas files from the developer box. The hard point is if you use MySQL you need to install it on all the clients before you can use it :) sample client map: /opt /gb /bin gbx2 /lib /gambas2 (the libs you use in the app) gb.qt.so -> gb.qt.so.0.0.0 (symlink copy of create) gb.qt.so.0 -> gb.qt.so.0.0.0 (symlink copy of create) gb.qt.so.0.0.0 for each lib you need { gb.{lib}.so -> gb.{lib}.so.0.0.0 (symlink copy of create) gb.{lib}.so.0 -> gb.{lib}.so.0.0.0 (symlink copy of create) gb.{lib}.so.0.0.0 } /share (I expect nothing) /usr /bin gbr2 -> /opt/gb/bin/gbx2 (symlink copy of create) gbx2 -> /opt/gb/bin/gbx2 (symlink copy of create) /usr /lib /*.so (libraries used) /mysql/* (i.e. is mysql is used ) For the '/opt/gb/lib/gambas2' directory you should not need the *.la and *.component files but if you use i.e. 'gb.db.form.gambas' then these must also copied. Be carefull they can use other *.so files The last one '/usr/lib' is for libraries indirect used by the gambas2/gb.* components. You can try with simple copy of them but best will be the normal client part install via the packetmanager 'xyz'. Anyway it will not be the easy win method if developer and client box do not match 100% for the basic part. It would be nice if the IDE could produce a dependancy file for each compiled project, uhmmm it is already the .project file. This give a basic idea what to do. Hoping not be slapped by Benoit :), Ron --- My 2 cents installer. From gambas.fr at ...626... Mon Sep 4 09:19:55 2006 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 4 Sep 2006 09:19:55 +0200 Subject: [Gambas-user] Database Manager.... A question... In-Reply-To: <44FB74CE.4040808@...981...> References: <44FB74CE.4040808@...981...> Message-ID: <6324a42a0609040019l46704d7ct52a8d70c3a2d90fe@...627...> show us your connecting code ! (don't forget to chang you parmeters :) ) 2006/9/4, sbungay : > > Some peculiar behaviour.. > When using the database manager if I try to connect to an SQL server > on my intranet (either directly via the IP or by a the host name (as > defined in the hosts file)) the tool comes back with the following error > message; > > Cannot connect to database > > Cannot open database: Access denied for user 'username'@'%' to database > 'mysql' > > But, if I run the database application example and give it the same > parameters (servername or IP address, username and password) it connects > with no problem. > > Can anyone else confirm this behaviour? > > Steve :) > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rolf.frogs at ...221... Mon Sep 4 11:18:36 2006 From: rolf.frogs at ...221... (rolf) Date: Mon, 4 Sep 2006 11:18:36 +0200 Subject: [Gambas-user] Find a button who was pressed Message-ID: <200609041118.36886.rolf.frogs@...221...> Hi everybody out there, I try to write a program where an array of lines of combo boxes, text boxes and buttons should be handled. There is no problem with the combo and text boxes - all are boundled in an array of objects. But getting the click event from the buttons it requires a public sub for each button. Is it possible to put the buttons also into an array and how to find out, which button was pressed? Many thanks for your suggestions Rolf From stefanopalmeri at ...152... Mon Sep 4 13:18:45 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 4 Sep 2006 13:18:45 +0200 Subject: [Gambas-user] Find a button who was pressed In-Reply-To: <200609041118.36886.rolf.frogs@...221...> References: <200609041118.36886.rolf.frogs@...221...> Message-ID: <200609041318.45707.stefanopalmeri@...152...> Alle 11:18, luned? 4 settembre 2006, rolf ha scritto: > But getting the click event from the buttons it requires a public sub for each > button. Is it possible to put the buttons also into an array and how to find > out, which button was pressed? > > Many thanks for your suggestions > Rolf In the panel property for every button you want to put in the "array" set a common name for all for the property "Group" For example you set "AllButtons" as group name. Then in the code you have to PUBLIC SUB AllButtons_click() if LAST.text = pressed_button_text THEN blahblah ENDIF you can use other properties to know which button was pressed, like LAST.X et cetera. Regards, Stefano Palmeri From rolf.frogs at ...221... Mon Sep 4 15:00:16 2006 From: rolf.frogs at ...221... (rolf) Date: Mon, 4 Sep 2006 15:00:16 +0200 Subject: [Gambas-user] Find a button who was pressed In-Reply-To: <200609041318.45707.stefanopalmeri@...152...> References: <200609041118.36886.rolf.frogs@...221...> <200609041318.45707.stefanopalmeri@...152...> Message-ID: <200609041500.16496.rolf.frogs@...221...> Hello Stefano > > But getting the click event from the buttons it requires a public sub for >> each button. Is it possible to put the buttons also into an array and how >> to find out, which button was pressed? > In the panel property for every button you want to put in the "array" > set a common name for all for the property "Group" > For example you set "AllButtons" as group name. > > Then in the code you have to > > PUBLIC SUB AllButtons_click() > > if LAST.text = pressed_button_text THEN blahblah > > ENDIF > > you can use other properties to know which button > was pressed, like LAST.X et cetera. Many thanks for you example. I works very well. I would like to ask another question, about filling the array. Is there something where i can search for my objects (i.e. combo boxes) to fill them in my array. So in a loop I would like to write (pseudo code!): IF object.typ = combobox then myarray.add(object) ENDIF Many thanks for your help. Rolf From stefanopalmeri at ...152... Mon Sep 4 16:47:38 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 4 Sep 2006 16:47:38 +0200 Subject: [Gambas-user] Find a button who was pressed In-Reply-To: <200609041500.16496.rolf.frogs@...221...> References: <200609041118.36886.rolf.frogs@...221...> <200609041318.45707.stefanopalmeri@...152...> <200609041500.16496.rolf.frogs@...221...> Message-ID: <200609041647.39631.stefanopalmeri@...152...> Alle 15:00, luned? 4 settembre 2006, rolf ha scritto: > Many thanks for you example. I works very well. I would like to ask another > question, about filling the array. > > Is there something where i can search for my objects (i.e. combo boxes) to > fill them in my array. So in a loop I would like to write (pseudo code!): > > ? IF object.typ = combobox then > ? ? myarray.add(object) > ? ENDIF > > Many thanks for your help. > Rolf Hi, I've attached an example. The PRINTs in the code are just for testing. Made it with 1.9.40. Saluti, Stefano -------------- next part -------------- A non-text attachment was scrubbed... Name: arrayobjects-0.0.1.tar.gz Type: application/x-tgz Size: 2455 bytes Desc: not available URL: From sbungay at ...981... Mon Sep 4 21:07:43 2006 From: sbungay at ...981... (sbungay) Date: Mon, 04 Sep 2006 15:07:43 -0400 Subject: [Gambas-user] Database Manager.... A question... In-Reply-To: <6324a42a0609040019l46704d7ct52a8d70c3a2d90fe@...627...> References: <44FB74CE.4040808@...981...> <6324a42a0609040019l46704d7ct52a8d70c3a2d90fe@...627...> Message-ID: <44FC797F.4070001@...981...> Hi Fabien! I am not having trouble with the application I am writing, it works properly from any workstation here on the network. Another developer here discovered what seems to be a probem with the Database Manager when he came on-line and tried to use it to connect to the MySQL server on the network. He found that the Database Manager tool would not let him connect to the MySQL server, but he could use the database example that comes with gambas. When I get a chance I'll I'll walk through the Database Manager in debug mode and try to pinpoint why it appears to be misbehaving. I'll post my findings then. Thanks for the reply Fabien. Steve :) Fabien Bodard wrote: > show us your connecting code ! (don't forget to chang you parmeters :) ) > > 2006/9/4, sbungay : > >> Some peculiar behaviour.. >> When using the database manager if I try to connect to an SQL server >>on my intranet (either directly via the IP or by a the host name (as >>defined in the hosts file)) the tool comes back with the following error >>message; >> >>Cannot connect to database >> >>Cannot open database: Access denied for user 'username'@'%' to database >>'mysql' >> >> But, if I run the database application example and give it the same >>parameters (servername or IP address, username and password) it connects >>with no problem. >> >> Can anyone else confirm this behaviour? >> >>Steve :) >> >> >>------------------------------------------------------------------------- >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job >>easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From friends at ...1554... Tue Sep 5 10:57:30 2006 From: friends at ...1554... (Ringo) Date: Tue, 5 Sep 2006 01:57:30 -0700 (PDT) Subject: [Gambas-user] New photos from Ajish Message-ID: <65312030.1157446650565.JavaMail.ringo@...1571...> Hi R, You've got new photos and contact info from your friends on Ringo! http://www.ringo.com/friends/updates.html?al=Q21z2r2.zq4NRZLS&origin=update You're signed up for a weekly update when there's news to report, but you can always update your email preferences. Just visit this URL: http://www.ringo.com/member/preferences.html?al=P4if6qISQ-jZCE64&origin=update Thanks for using Ringo. Stay in touch! -- * This email was sent from a notification-only email address. Please do not reply to this email. * This email was sent by request to gambas-user at ...65... From prudey at ...1572... Tue Sep 5 13:10:43 2006 From: prudey at ...1572... (Meriel Geise) Date: Tue, 5 Sep 2006 04:10:43 -0700 Subject: [Gambas-user] PHlfARMACY Message-ID: <000001c6d0db$ee3bceb0$1582a8c0@...1573...> Hi All yo w ur P e HAR g MAC g Y d w irectl t y from the ma e nufa z ctu q rer, Your ch x an n ce to ec z onomi p ze wi f th us http://wadesunjadeza.com From friends at ...1554... Tue Sep 5 15:00:37 2006 From: friends at ...1554... (Ringo) Date: Tue, 5 Sep 2006 06:00:37 -0700 (PDT) Subject: [Gambas-user] Lost password help Message-ID: <64168705.1157461237838.JavaMail.ringo@...1557...> Hi R, To reset your password, please visit this link: http://www.ringo.com/member/password/reset.html?p=4713501077672864191&origin=appmail You've received this email because you requested password assistance. Thanks for using Ringo. Stay in touch! -- * This email was sent from a notification-only email address. Please do not reply to this email. * This email was sent by request to gambas-user at ...65... From hscast at ...407... Tue Sep 5 18:46:24 2006 From: hscast at ...407... (Scott Castaline) Date: Tue, 05 Sep 2006 12:46:24 -0400 Subject: [Gambas-user] Questionable posts Message-ID: <1157474784.7260.18.camel@...40...> Does anyone know what the last 3 posts are about? 2 from friends at ...1554... & 1 from prudey at ...1572... date stamps of 4:57AM EDT, 7:10AM EDT & 9:00AM EDT. If these are legite please accept my apology. -- Scott Castaline aka Bad2theBone Hey! I was born crazy, what's your excuse? From neusse at ...626... Tue Sep 5 21:34:38 2006 From: neusse at ...626... (George Neusse) Date: Tue, 5 Sep 2006 12:34:38 -0700 Subject: [Gambas-user] How do we get rid of the RINGO user that is SPAMMING us? Message-ID: I see that we are now being SPAMMED by Ringo. Can we remove them from the mailing list? From hscast at ...407... Tue Sep 5 22:59:32 2006 From: hscast at ...407... (Scott Castaline) Date: Tue, 05 Sep 2006 16:59:32 -0400 Subject: [Gambas-user] How do we get rid of the RINGO user that is SPAMMING us? In-Reply-To: References: Message-ID: <1157489973.7260.21.camel@...40...> On Tue, 2006-09-05 at 12:34 -0700, George Neusse wrote: > I see that we are now being SPAMMED by Ringo. > > Can we remove them from the mailing list? > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Whoever runs the list should have the capability to remove them. Has anyone made any sense out of the other e-mail? -- Scott Castaline aka Bad2theBone Hey! I was born crazy, what's your excuse? From sourceforge-raindog2 at ...94... Wed Sep 6 00:53:18 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 5 Sep 2006 18:53:18 -0400 Subject: [Gambas-user] =?iso-8859-1?q?How_do_we_get_rid_of_the_RINGO_user_?= =?iso-8859-1?q?that_is=09SPAMMING_us=3F?= In-Reply-To: <1157489973.7260.21.camel@...40...> References: <1157489973.7260.21.camel@...40...> Message-ID: <200609051853.18629.sourceforge-raindog2@...94...> On Tuesday 05 September 2006 16:59, Scott Castaline wrote: > Whoever runs the list should have the capability to remove > them. Has anyone made any sense out of the other e-mail? Someone, who appears to have the initials "R R" (no one that I know of who posts regularly) signed the gambas-user list up for Ringo, and because anyone can post to the list without verification, was able to confirm the signup which was when we started getting all that spam. Luckily, the same technique worked for deleting us from Ringo. This morning, I changed the password that user had set up and then I deleted the account altogether. We shouldn't see any more Ringo posts.... until the next jerk decides to invite gambas-user to Ringo and then confirm it again. The only permanent solution is to moderate posts from non-members, and I don't think Benoit wants to do that. If it was the people who run Ringo trying to drum up business, they've surely lost any chance of getting any from me. Rob From picander78 at ...325... Wed Sep 6 01:14:56 2006 From: picander78 at ...325... (Marco Gusy) Date: Wed, 6 Sep 2006 01:14:56 +0200 Subject: [Gambas-user] Problem executing gambas Message-ID: <200609060114.57183.picander78@...325...> since some versions of the 1.9.* branch i can't start gambas. marco at ...1535... ~ $ gambas2 ERROR: #2: Cannot load class 'FileView': Unable to load class file Can yiu help me in debugging? Thanks Marco From hscast at ...407... Wed Sep 6 03:10:55 2006 From: hscast at ...407... (Scott Castaline) Date: Tue, 05 Sep 2006 21:10:55 -0400 Subject: [Gambas-user] How do we get rid of the RINGO user that is SPAMMING us? In-Reply-To: <200609051853.18629.sourceforge-raindog2@...94...> References: <1157489973.7260.21.camel@...40...> <200609051853.18629.sourceforge-raindog2@...94...> Message-ID: <1157505055.7260.25.camel@...40...> On Tue, 2006-09-05 at 18:53 -0400, Rob wrote: > On Tuesday 05 September 2006 16:59, Scott Castaline wrote: > > Whoever runs the list should have the capability to remove > > them. Has anyone made any sense out of the other e-mail? > > Someone, who appears to have the initials "R R" (no one that I > know of who posts regularly) signed the gambas-user list up for > Ringo, and because anyone can post to the list without > verification, was able to confirm the signup which was when we > started getting all that spam. > > Luckily, the same technique worked for deleting us from Ringo. > This morning, I changed the password that user had set up and > then I deleted the account altogether. We shouldn't see any > more Ringo posts.... until the next jerk decides to invite > gambas-user to Ringo and then confirm it again. The only > permanent solution is to moderate posts from non-members, and I > don't think Benoit wants to do that. > > If it was the people who run Ringo trying to drum up business, > they've surely lost any chance of getting any from me. > > Rob > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user That makes 2 of us. -- Scott Castaline aka Bad2theBone Hey! I was born crazy, what's your excuse? From pryor27616 at ...43... Wed Sep 6 03:16:21 2006 From: pryor27616 at ...43... (Mitchell R. Pryor) Date: Tue, 05 Sep 2006 21:16:21 -0400 Subject: [Gambas-user] Database edit failure Message-ID: <44FE2165.6090106@...43...> I'm trying to use the Connection 'edit' method to learn how to update an sqlite database record and it fails saying that my table does not have a primary key. The file does have a primary key defined as follows: create table phdir (recid integer primary key, ...). I'm using version Gambas1.0.14 as provided by Fedora Core 5. Does this method not work in this version of Gambas? From rolf.frogs at ...221... Wed Sep 6 08:39:12 2006 From: rolf.frogs at ...221... (rolf) Date: Wed, 6 Sep 2006 08:39:12 +0200 Subject: [Gambas-user] Return values from (PostgreSQL) Database Message-ID: <200609060839.13123.rolf.frogs@...221...> Hi, how can I get every messages the postgresql database sent, especially when I ask the database to "EXPLAIN some query..." to evaluate if a statement is valid. Thanks in advance Rolf From ronstk at ...239... Wed Sep 6 08:50:10 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 6 Sep 2006 08:50:10 +0200 Subject: [Gambas-user] Return values from (PostgreSQL) Database In-Reply-To: <200609060839.13123.rolf.frogs@...221...> References: <200609060839.13123.rolf.frogs@...221...> Message-ID: <200609060850.11083.ronstk@...239...> On Wednesday 06 September 2006 08:39, rolf wrote: > Hi, > > how can I get every messages the postgresql database sent, especially when I > ask the database to "EXPLAIN some query..." to evaluate if a statement is > valid. > > Thanks in advance > Rolf > Good question, It would be a good thing to have 2 types of Result. The first one as is now a record type and the second one simple the text as is returned by the sql server. This would be the result i.e. returned by MySQL with all the '-' and '|' to represent the table grid. Could be named as .Responce and is just the responce which is already internal available. After all not every responce is a table as with 'Explain' is the case. :) Ron From stefanopalmeri at ...152... Wed Sep 6 10:37:53 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Wed, 6 Sep 2006 10:37:53 +0200 Subject: [Gambas-user] some details Message-ID: <200609061037.53757.stefanopalmeri@...152...> Hi, all. Hi, Benoit. I'm running 1.9.40 IDE. In the menu editor you can select multiple items, but if you unselect one of them you read the properties of the unselected and the rest remains highlighted, turning the user in some confusion. In find-replace panel, all the toggle buttons (procedure, file, project, case...) seems to be one or two pixels down. The bottom border is not shown, either you "mouse over" or you toggle them. Regards, Stefano Palmeri From rolf.frogs at ...221... Wed Sep 6 12:43:46 2006 From: rolf.frogs at ...221... (rolf) Date: Wed, 6 Sep 2006 12:43:46 +0200 Subject: [Gambas-user] Return values from (PostgreSQL) Database In-Reply-To: <200609060850.11083.ronstk@...239...> References: <200609060839.13123.rolf.frogs@...221...> <200609060850.11083.ronstk@...239...> Message-ID: <200609061243.46178.rolf.frogs@...221...> Hi Ron > > how can I get every messages the postgresql database sent, especially > > when I ask the database to "EXPLAIN some query..." to evaluate if a > > statement is valid. > > Good question, > > It would be a good thing to have 2 types of Result. > The first one as is now a record type and the second > one simple the text as is returned by the sql server. > > This would be the result i.e. returned by MySQL with > all the '-' and '|' to represent the table grid. > > Could be named as .Responce and is just the responce > which is already internal available. > > After all not every responce is a table as with > 'Explain' is the case. :) So until now there is no way to get the (not table) results ;) So: Hello Benoit can you hear us? Bye Rolf From linuxseeker at ...626... Wed Sep 6 13:04:53 2006 From: linuxseeker at ...626... (LinuxSeeker) Date: Wed, 6 Sep 2006 14:04:53 +0300 Subject: [Gambas-user] Message title In-Reply-To: <1688.87.4.92.234.1157331260.squirrel@...1570...> References: <44FB74CE.4040808@...981...> <1688.87.4.92.234.1157331260.squirrel@...1570...> Message-ID: On 9/4/06, comisat at ...1569... wrote: > > > Hi, > is there a way to set the Message caption ? > thanks :) > carlo > I am not sure but I think that the syntax is like: message.error ("Content","title") From gambas at ...1... Wed Sep 6 14:06:31 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Sep 2006 14:06:31 +0200 Subject: [Gambas-user] =?iso-8859-1?q?How_do_we_get_rid_of_the_RINGO_user_?= =?iso-8859-1?q?that_is=09SPAMMING_us=3F?= In-Reply-To: <200609051853.18629.sourceforge-raindog2@...94...> References: <1157489973.7260.21.camel@...40...> <200609051853.18629.sourceforge-raindog2@...94...> Message-ID: <200609061406.31841.gambas@...1...> On Wednesday 06 September 2006 00:53, Rob wrote: > On Tuesday 05 September 2006 16:59, Scott Castaline wrote: > > Whoever runs the list should have the capability to remove > > them. Has anyone made any sense out of the other e-mail? > > Someone, who appears to have the initials "R R" (no one that I > know of who posts regularly) signed the gambas-user list up for > Ringo, and because anyone can post to the list without > verification, was able to confirm the signup which was when we > started getting all that spam. > > Luckily, the same technique worked for deleting us from Ringo. > This morning, I changed the password that user had set up and > then I deleted the account altogether. We shouldn't see any > more Ringo posts.... until the next jerk decides to invite > gambas-user to Ringo and then confirm it again. The only > permanent solution is to moderate posts from non-members, and I > don't think Benoit wants to do that. > > If it was the people who run Ringo trying to drum up business, > they've surely lost any chance of getting any from me. > > Rob > Actually I didn't see any option from preventing somebody that is not registered for posting. Maybe I should search deeper? -- Benoit Minisini From joe1962 at ...626... Wed Sep 6 14:39:21 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 6 Sep 2006 08:39:21 -0400 Subject: [Gambas-user] How do we get rid of the RINGO user that is SPAMMING us? In-Reply-To: <200609061406.31841.gambas@...1...> References: <1157489973.7260.21.camel@...40...> <200609051853.18629.sourceforge-raindog2@...94...> <200609061406.31841.gambas@...1...> Message-ID: <6c208f950609060539g56ecd6e1xeb4797d28b7fa2bd@...627...> On 9/6/06, Benoit Minisini wrote: > On Wednesday 06 September 2006 00:53, Rob wrote: > > On Tuesday 05 September 2006 16:59, Scott Castaline wrote: > > > Whoever runs the list should have the capability to remove > > > them. Has anyone made any sense out of the other e-mail? > > > > Someone, who appears to have the initials "R R" (no one that I > > know of who posts regularly) signed the gambas-user list up for > > Ringo, and because anyone can post to the list without > > verification, was able to confirm the signup which was when we > > started getting all that spam. > > > > Luckily, the same technique worked for deleting us from Ringo. > > This morning, I changed the password that user had set up and > > then I deleted the account altogether. We shouldn't see any > > more Ringo posts.... until the next jerk decides to invite > > gambas-user to Ringo and then confirm it again. The only > > permanent solution is to moderate posts from non-members, and I > > don't think Benoit wants to do that. > > > > If it was the people who run Ringo trying to drum up business, > > they've surely lost any chance of getting any from me. > > > > Rob > > > > Actually I didn't see any option from preventing somebody that is not > registered for posting. > > Maybe I should search deeper? > In the SourceForge Mailman admin interface, go to "Privacy options...", then "Sender filters". Scroll down to the part titled "Non-member filters", "Action to take for postings from non-members for which no explicit action is defined.". In the vectorlinux-devel list which I admin, it is set to hold and in the option just below, set to be forwarded to the admin. You have the option to reject or discard as well. In "Privacy options...", "Subscription rules", we have it set to require admin aproval for subscriptions, but then ours is a small, invite-only list... Regards, Joe1962 From joe1962 at ...626... Wed Sep 6 14:47:36 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 6 Sep 2006 08:47:36 -0400 Subject: [Gambas-user] How do we get rid of the RINGO user that is SPAMMING us? In-Reply-To: <6c208f950609060539g56ecd6e1xeb4797d28b7fa2bd@...627...> References: <1157489973.7260.21.camel@...40...> <200609051853.18629.sourceforge-raindog2@...94...> <200609061406.31841.gambas@...1...> <6c208f950609060539g56ecd6e1xeb4797d28b7fa2bd@...627...> Message-ID: <6c208f950609060547k6f5e9f2bsdb743504ee286eba@...627...> On 9/6/06, Jose J. Rodriguez wrote: > On 9/6/06, Benoit Minisini wrote: > > On Wednesday 06 September 2006 00:53, Rob wrote: > > > On Tuesday 05 September 2006 16:59, Scott Castaline wrote: > > > > Whoever runs the list should have the capability to remove > > > > them. Has anyone made any sense out of the other e-mail? > > > > > > Someone, who appears to have the initials "R R" (no one that I > > > know of who posts regularly) signed the gambas-user list up for > > > Ringo, and because anyone can post to the list without > > > verification, was able to confirm the signup which was when we > > > started getting all that spam. > > > > > > Luckily, the same technique worked for deleting us from Ringo. > > > This morning, I changed the password that user had set up and > > > then I deleted the account altogether. We shouldn't see any > > > more Ringo posts.... until the next jerk decides to invite > > > gambas-user to Ringo and then confirm it again. The only > > > permanent solution is to moderate posts from non-members, and I > > > don't think Benoit wants to do that. > > > > > > If it was the people who run Ringo trying to drum up business, > > > they've surely lost any chance of getting any from me. > > > > > > Rob > > > > > > > Actually I didn't see any option from preventing somebody that is not > > registered for posting. > > > > Maybe I should search deeper? > > > > > In the SourceForge Mailman admin interface, go to "Privacy > options...", then "Sender filters". Scroll down to the part titled > "Non-member filters", "Action to take for postings from non-members > for which no explicit action is defined.". In the vectorlinux-devel > list which I admin, it is set to hold and in the option just below, > set to be forwarded to the admin. You have the option to reject or > discard as well. > > In "Privacy options...", "Subscription rules", we have it set to > require admin aproval for subscriptions, but then ours is a small, > invite-only list... > Forgot to add there is also the option of setting new users to be moderated, then "upgrading" them to un-moderated once they prove trustworthy. Regards, Joe1962 From stefanopalmeri at ...152... Wed Sep 6 15:02:42 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Wed, 6 Sep 2006 15:02:42 +0200 Subject: [Gambas-user] dialog.filter seems broken Message-ID: <200609061502.43277.stefanopalmeri@...152...> Hi, Benoit. Running an old project that has a dialog filter with 1.9.40, I found that the dialog.filter is broken: simply, it doesn't filter. This code, taken from the help doesn't work: Dialog.Title = "Choose a file" Dialog.Filter = ["Picture files (*.png; *.jpg; *.jpeg; *.bmp)", "All files (*)"] Dialog.Path = User.Home IF Dialog.OpenFile() THEN RETURN ENDIF I'm just able to see all files, not filtered image files. Gambas 1.9.40 KDE 3.4.2 Regards, Stefano Palmeri From kchularrit at ...734... Wed Sep 6 17:00:12 2006 From: kchularrit at ...734... (Kchula-Rrit) Date: Wed, 6 Sep 2006 08:00:12 -0700 Subject: [Gambas-user] Fonts and X screen-resolution question... Message-ID: <200609060800.13808.kchularrit@...734...> Is there a way to compensate for screen-resolution settings in Gambas? I have discovered that, if I set the display size in /etc/X11/XF86Config-4, my Gambas 1.9.23 application does not display captions or entries in text boxes properly. When I set "DisplaySize" in the Monitor section to 286x214 (91 dpi) text in captions and text boxes overflow the space I have set for them. If I comment-out the "DisplaySize" (defaults to 72 dpi, I believe) line they display correctly. This is version 1.9.23 from the Linex binaries using Debian Sarge. Thanks, K-R. From gambas at ...1... Wed Sep 6 18:12:39 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Sep 2006 18:12:39 +0200 Subject: [Gambas-user] dialog.filter seems broken In-Reply-To: <200609061502.43277.stefanopalmeri@...152...> References: <200609061502.43277.stefanopalmeri@...152...> Message-ID: <200609061812.39923.gambas@...1...> On Wednesday 06 September 2006 15:02, Stefano Palmeri wrote: > Hi, Benoit. > > Running an old project that has a dialog filter with 1.9.40, > I found that the dialog.filter is broken: simply, it doesn't filter. > > This code, taken from the help doesn't work: > > Dialog.Title = "Choose a file" > Dialog.Filter = ["Picture files (*.png; *.jpg; *.jpeg; *.bmp)", "All files > (*)"] > Dialog.Path = User.Home > IF Dialog.OpenFile() THEN > RETURN > ENDIF > > I'm just able to see all files, not filtered image files. > > Gambas 1.9.40 > KDE 3.4.2 > > Regards, > > Stefano Palmeri > The syntax of Dialog.Filter will change in the next version. It will be the same between Dialog.OpenFile, FileChooser and KDE Dialog.OpenFile: a string array with alternatively the search pattern and the description (or the contrary, I don't remember). Regards, -- Benoit Minisini From gambas at ...1... Wed Sep 6 18:17:41 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Sep 2006 18:17:41 +0200 Subject: [Gambas-user] some details In-Reply-To: <200609061037.53757.stefanopalmeri@...152...> References: <200609061037.53757.stefanopalmeri@...152...> Message-ID: <200609061817.41528.gambas@...1...> On Wednesday 06 September 2006 10:37, Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > I'm running 1.9.40 IDE. > > In the menu editor you can select multiple items, but if > you unselect one of them you read the properties of > the unselected and the rest remains highlighted, > turning the user in some confusion. > > In find-replace panel, all the toggle buttons (procedure, file, > project, case...) seems to be one or two pixels down. The > bottom border is not shown, either you "mouse over" or > you toggle them. > > Regards, > > Stefano Palmeri > It should behave better in 1.9.41, or in the next 1.9.42 version. Regards, -- Benoit Minisini From timothy.marshal-nichols at ...247... Thu Sep 7 09:54:06 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Thu, 7 Sep 2006 08:54:06 +0100 Subject: [Gambas-user] dialog.filter seems broken In-Reply-To: <200609061812.39923.gambas@...1...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Benoit > Minisini > Sent: Wednesday, 06 September 2006 17:13 > To: mailing list for gambas users > Subject: Re: [Gambas-user] dialog.filter seems broken > > > On Wednesday 06 September 2006 15:02, Stefano Palmeri wrote: > > Hi, Benoit. > > > > Running an old project that has a dialog filter with 1.9.40, > > I found that the dialog.filter is broken: simply, it doesn't filter. > > > > This code, taken from the help doesn't work: > > > > Dialog.Title = "Choose a file" > > Dialog.Filter = ["Picture files (*.png; *.jpg; *.jpeg; *.bmp)", > "All files > > (*)"] Currently you miss out the ;'s and it should work: Dialog.Filter = ["Picture files (*.png *.jpg *.jpeg *.bmp)", "All files (*)"] > > Dialog.Path = User.Home > > IF Dialog.OpenFile() THEN > > RETURN > > ENDIF > > > > I'm just able to see all files, not filtered image files. > > > > Gambas 1.9.40 > > KDE 3.4.2 > > > > Regards, > > > > Stefano Palmeri > > > > The syntax of Dialog.Filter will change in the next version. It > will be the > same between Dialog.OpenFile, FileChooser and KDE > Dialog.OpenFile: a string > array with alternatively the search pattern and the description (or the > contrary, I don't remember). > > Regards, > > -- > Benoit Minisini > > Thanks 8-{)} Timothy Marshal-Nichols From stefanopalmeri at ...152... Thu Sep 7 10:03:53 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 7 Sep 2006 10:03:53 +0200 Subject: [Gambas-user] dialog.filter seems broken In-Reply-To: References: Message-ID: <200609071003.53287.stefanopalmeri@...152...> Alle 09:54, gioved? 7 settembre 2006, Timothy Marshal-Nichols ha scritto: > Currently you miss out the ;'s and it should work: > > ? Dialog.Filter = ["Picture files (*.png *.jpg *.jpeg *.bmp)", "All files > (*)"] > Hi. No, I tried just now but it doesn't filter. Thanks, Stefano From picander78 at ...325... Thu Sep 7 10:48:52 2006 From: picander78 at ...325... (Marco Gusy) Date: Thu, 7 Sep 2006 10:48:52 +0200 Subject: [Gambas-user] Problem executing gambas In-Reply-To: <200609060114.57183.picander78@...325...> References: <200609060114.57183.picander78@...325...> Message-ID: <200609071048.53000.picander78@...325...> Alle 01:14, mercoled? 6 settembre 2006, Marco Gusy ha scritto: > ERROR: #2: Cannot load class 'FileView': Unable to load class file Please :'-( !! From timothy.marshal-nichols at ...247... Thu Sep 7 14:26:43 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Thu, 7 Sep 2006 13:26:43 +0100 Subject: [Gambas-user] dialog.filter seems broken In-Reply-To: <200609071003.53287.stefanopalmeri@...152...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Stefano > Palmeri > Sent: Thursday, 07 September 2006 09:04 > To: mailing list for gambas users > Subject: Re: [Gambas-user] dialog.filter seems broken > > > Alle 09:54, gioved? 7 settembre 2006, Timothy Marshal-Nichols ha scritto: > > Currently you miss out the ;'s and it should work: > > > > ? Dialog.Filter = ["Picture files (*.png *.jpg *.jpeg *.bmp)", > "All files > > (*)"] > > > > Hi. > > No, I tried just now but it doesn't filter. > > Thanks, > > Stefano > Does my printing example in gambas 2 open image files correctly? If it does, then there is a FileFilter function in there you could try. I have just tried this in Gambas 1.0.17 and 1.9.41 and it seems to work. Thanks 8-{)} Timothy Marshal-Nichols From stefanopalmeri at ...152... Thu Sep 7 15:47:12 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 7 Sep 2006 15:47:12 +0200 Subject: [Gambas-user] dialog.filter seems broken In-Reply-To: References: Message-ID: <200609071547.12846.stefanopalmeri@...152...> Alle 14:26, gioved? 7 settembre 2006, Timothy Marshal-Nichols ha scritto: > Does my printing example in gambas 2 open image files correctly? > > If it does, then there is a FileFilter function in there you could try. > > I have just tried this in Gambas 1.0.17 and 1.9.41 and it seems to work. > > Thanks Yes, in your printing example the filter works even with 1.9.40. I will look into your code. Thanks, Stefano From stefanopalmeri at ...152... Thu Sep 7 16:00:05 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 7 Sep 2006 16:00:05 +0200 Subject: [Gambas-user] dialog.filter seems broken In-Reply-To: <200609071547.12846.stefanopalmeri@...152...> References: <200609071547.12846.stefanopalmeri@...152...> Message-ID: <200609071600.05612.stefanopalmeri@...152...> Alle 15:47, gioved? 7 settembre 2006, Stefano Palmeri ha scritto: > Alle 14:26, gioved? 7 settembre 2006, Timothy Marshal-Nichols ha scritto: > > Does my printing example in gambas 2 open image files correctly? > > > > If it does, then there is a FileFilter function in there you could try. > > > > I have just tried this in Gambas 1.0.17 and 1.9.41 and it seems to work. > > > > Thanks > > Yes, in your printing example the filter works even with 1.9.40. > I will look into your code. > > Thanks, > > Stefano I found the reason why yours works and mine not. In my project is present the component gb.form and when I "dialog.filter" it opens a QT or KDE (I don't know) filter dialog. Your project doesn't use gb.form and so it opens the standard file chooser that works with filters. I removed from my project the gb.form component and now it works. Thanks again, Stefano > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From stefanopalmeri at ...152... Thu Sep 7 16:22:48 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Thu, 7 Sep 2006 16:22:48 +0200 Subject: [Gambas-user] dialog.filter sintax Message-ID: <200609071622.48435.stefanopalmeri@...152...> Hi, all. The syntax for dialog.filter when using gb.form is: Dialog.Filter = ["*.tar.gz", ("Source packages")] '& " (*.tar.gz)", ("All files") & " (*)"] It's taken from Gambas2 IDE source. The help page for gb.form --> dialog.filter reports the standard syntax and it leads to the error. Ciao, Stefano From leandro_anthonioz at ...43... Thu Sep 7 17:06:44 2006 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Thu, 7 Sep 2006 08:06:44 -0700 (PDT) Subject: [Gambas-user] Enabling components Message-ID: <20060907150644.5104.qmail@...1574...> Hi, I'm new in Gambas and this is my first message. I compile the last development version (1.9.41) following the instructions. Compilation was succesfull, but many components was disabled. Anybody knows which packages are needed for a completely enabled component installation? (specially gb.qt.kde) I'm using SUSE 10.0 Evaluation Edition. Thank you very much! --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. From sirfabien at ...626... Thu Sep 7 17:27:41 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Thu, 7 Sep 2006 17:27:41 +0200 Subject: [Gambas-user] Enabling components In-Reply-To: <20060907150644.5104.qmail@...1574...> References: <20060907150644.5104.qmail@...1574...> Message-ID: <200609071727.42111.sirfabien@...626...> Le Jeudi 7 Septembre 2006 17:06, Leandro Anthonioz Blanc a ?crit?: > Hi, I'm new in Gambas and this is my first message. I compile the last > development version (1.9.41) following the instructions. Compilation was > succesfull, but many components was disabled. Anybody knows which packages > are needed for a completely enabled component installation? (specially > gb.qt.kde) I'm using SUSE 10.0 Evaluation Edition. Thank you very much! if you give us what component miss to you ... it will be more simple for kde it's kdebase-dev libmysql-dev (mysql) libpostgresql-dev libcurl3-dev(for internet work) libsdl-dev (all) libpoppler-dev(for pdf) bzlib ... regards, Fabien Bodard > --------------------------------- > Stay in the know. Pulse on the new Yahoo.com. Check it out. > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rolf.frogs at ...221... Thu Sep 7 20:45:40 2006 From: rolf.frogs at ...221... (rolf) Date: Thu, 7 Sep 2006 20:45:40 +0200 Subject: [Gambas-user] How can I copy an object Message-ID: <200609072045.40780.rolf.frogs@...221...> Hi your GAMBAS fighter, I'm still fighting with objects and a question raises to me. I need a combobox with 5 or 6 entries more then once and have to setup an array to manage them. Collect and access the comboboxes in the array is no problem, but can I create a "sample combobox" with all the wanted entries and copy this box, of course with a different name and a different position into the array as offen as needed? Many thanks for your help. Rolf From leonardo at ...1237... Thu Sep 7 23:05:19 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 07 Sep 2006 23:05:19 +0200 Subject: [Gambas-user] Problem executing gambas In-Reply-To: <200609071048.53000.picander78@...325...> References: <200609060114.57183.picander78@...325...> <200609071048.53000.picander78@...325...> Message-ID: <4500898F.4050009@...1237...> Marco Gusy ha scritto: > Alle 01:14, mercoled? 6 settembre 2006, Marco Gusy ha scritto: >> ERROR: #2: Cannot load class 'FileView': Unable to load class file > > Please :'-( !! > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Did you receive any error message during compiling? Have you check that all the required libs are present on your system? -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From timothy.marshal-nichols at ...247... Fri Sep 8 10:40:44 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Fri, 8 Sep 2006 09:40:44 +0100 Subject: [Gambas-user] How can I copy an object In-Reply-To: <200609072045.40780.rolf.frogs@...221...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > Sent: Thursday, 07 September 2006 19:46 > To: mailing list for gambas users > Subject: [Gambas-user] How can I copy an object > > > Hi your GAMBAS fighter, > > I'm still fighting with objects and a question raises to me. > > I need a combobox with 5 or 6 entries more then once and have to setup an > array to manage them. Collect and access the comboboxes in the > array is no > problem, but can I create a "sample combobox" with all the wanted > entries and > copy this box, of course with a different name and a different > position into > the array as offen as needed? > > Many thanks for your help. > Rolf > Why swap over complete objects. The ComboBox (like the ListBox) has a List property that can easily be used to get or update the ComboBox content. In older versions of Gambas this was a string with each item separated by a new line. In the latest version of Gambas it is a string array. (There is no explanation for the change.) So a better answer is to use the list property. For example: Place 3 buttons on a form. Give the buttons the tags of 0, 1 and 2 and the group name of ButtonContent. Add a ComboBox and call it ComboBoxContent Try this code. The first bit just creates the string arrays for the items. Then swapping over the content is one line. PRIVATE comboContent AS Object[] PUBLIC SUB Form_Open() DIM i AS Integer DIM content AS String[] comboContent = NEW Object[3] ' Create 3 string arrays for the combo box content ' This is for button 1 content = NEW String[10] FOR i = 0 TO content.Count - 1 content[i] = "Button 1 content " & i NEXT comboContent[0] = content ' This is for button 2 content = NEW String[24] FOR i = 0 TO content.Count - 1 content[i] = "Button 2 item number " & i NEXT comboContent[1] = content ' This is for button 3 content = NEW String[4] FOR i = 0 TO content.Count - 1 content[i] = "No much in button 3 # " & i NEXT comboContent[2] = content ' Set the conbo box to button 1 items ComboBoxContent.List = comboContent[0] END PUBLIC SUB ButtonContent_Click() ComboBoxContent.List = comboContent[LAST.Tag] END I have attached Gambas projects for versions 1 and 2 of Gambas. Thanks 8-{)} Timothy Marshal-Nichols -------------- next part -------------- A non-text attachment was scrubbed... Name: ComboBoxArray.G1-0.0.1.tar.gz Type: application/x-gzip Size: 4627 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ComboBoxArray.G2-0.0.1.tar.gz Type: application/x-gzip Size: 4577 bytes Desc: not available URL: From stefanopalmeri at ...152... Fri Sep 8 12:11:59 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Fri, 8 Sep 2006 12:11:59 +0200 Subject: [Gambas-user] two requests Message-ID: <200609081211.59227.stefanopalmeri@...152...> Hi, Benoit. 1) Gambas is great and so I'm sure in next months/years there will be a lot of software "made in Gambas". This software will reach not only developers, I mean people that could have some problems in opening the IDE and compile the project. So when you make the source package of a project, it could be useful to add in the source an executable script (i.e. compileproject) that does the job of checking if a proper Gambas is installed and then compile the project. Something that should become a standard like ./configure, make, make install. 2) From 1.9.41 ChangeLog I read: [...] The IDE choose the external browser by looking if you run KDE, Gnome, by reading the contents of the $BROWSER environment variable, and by trying some default executables otherwise. [...] I currently run 1.9.40, but reading that above, it seems that the $BROWSER environment variable is the second option after the desktop manager. In my opinion the $BROWSER option should be the first, giving the user the first choise about is favourite browser: export BROWSER="mybrowser"; gambas2 Regards, Stefano Palmeri From joe1962 at ...626... Fri Sep 8 12:23:00 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Fri, 8 Sep 2006 06:23:00 -0400 Subject: [Gambas-user] two requests In-Reply-To: <200609081211.59227.stefanopalmeri@...152...> References: <200609081211.59227.stefanopalmeri@...152...> Message-ID: <6c208f950609080323n133f1906k602d53f6c0988e10@...627...> On 9/8/06, Stefano Palmeri wrote: > > 2) From 1.9.41 ChangeLog I read: > > [...] > The IDE choose the external browser by looking if you run KDE, Gnome, by > reading the contents of the $BROWSER environment variable, and by trying some > default executables otherwise. > [...] > > I currently run 1.9.40, but reading that above, it seems that the $BROWSER > environment variable is the second option after the desktop manager. > In my opinion the $BROWSER option should be the first, giving the user > the first choise about is favourite browser: > You have my vote too. Regards, Joe1962 From rolf.frogs at ...221... Fri Sep 8 13:01:23 2006 From: rolf.frogs at ...221... (rolf) Date: Fri, 8 Sep 2006 13:01:23 +0200 Subject: [Gambas-user] How can I copy an object In-Reply-To: References: Message-ID: <200609081301.23363.rolf.frogs@...221...> Hello Timothy > > I need a combobox with 5 or 6 entries more then once and have to setup an > > array to manage them. Collect and access the comboboxes in the > > array is no problem, but can I create a "sample combobox" with all the > > wanted entries and copy this box, of course with a different name and a > > different position into the array as offen as needed? > Why swap over complete objects. The ComboBox (like the ListBox) has a List > property that can easily be used to get or update the ComboBox content. > > In older versions of Gambas this was a string with each item separated by a > new line. In the latest version of Gambas it is a string array. (There is > no explanation for the change.) > > So a better answer is to use the list property. For example: > > Place 3 buttons on a form. > Give the buttons the tags of 0, 1 and 2 and the group name of > ButtonContent. > Add a ComboBox and call it ComboBoxContent > > Try this code. The first bit just creates the string arrays for the items. > Then swapping over the content is one line. > > PRIVATE comboContent AS Object[] > > PUBLIC SUB Form_Open() > DIM i AS Integer > DIM content AS String[] > comboContent = NEW Object[3] > ' Create 3 string arrays for the combo box content > ' This is for button 1 > content = NEW String[10] > FOR i = 0 TO content.Count - 1 > content[i] = "Button 1 content " & i > NEXT > comboContent[0] = content > ' This is for button 2 > content = NEW String[24] > FOR i = 0 TO content.Count - 1 > content[i] = "Button 2 item number " & i > NEXT > comboContent[1] = content > ' This is for button 3 > content = NEW String[4] > FOR i = 0 TO content.Count - 1 > content[i] = "No much in button 3 # " & i > NEXT > comboContent[2] = content > ' Set the conbo box to button 1 items > ComboBoxContent.List = comboContent[0] > END > > PUBLIC SUB ButtonContent_Click() > ComboBoxContent.List = comboContent[LAST.Tag] > END I will test the code - if I know, why I get in a listbox_click event allways the previous (if exists) and the current item under GAMBAS 1.9.39 Fine regards Rolf From rolf.frogs at ...221... Fri Sep 8 13:43:38 2006 From: rolf.frogs at ...221... (rolf) Date: Fri, 8 Sep 2006 13:43:38 +0200 Subject: [Gambas-user] Add objects to a scrollview Message-ID: <200609081343.38578.rolf.frogs@...221...> Hi everybody out there, still fighting with objects I would like to ask if someone can give me a hint, how to add objects like comboxes, textlabels... to a scrollview dynamically at runtime. BTW the scrollview itself is element of a tabstrip. Many thanks for your suggestions Rolf From timothy.marshal-nichols at ...247... Fri Sep 8 14:08:02 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Fri, 8 Sep 2006 13:08:02 +0100 Subject: [Gambas-user] Add objects to a scrollview In-Reply-To: <200609081343.38578.rolf.frogs@...221...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > Sent: Friday, 08 September 2006 12:44 > To: mailing list for gambas users > Subject: [Gambas-user] Add objects to a scrollview > > > Hi everybody out there, > > still fighting with objects I would like to ask if someone can > give me a hint, > how to add objects like comboxes, textlabels... to a scrollview > dynamically > at runtime. BTW the scrollview itself is element of a tabstrip. > > Many thanks for your suggestions > Rolf > Take a look at the example at http://www.linuxbasic.net/index.php?topic=117.0 This example uses a Form as the parent of the dynamic controls. However you can use any container - even throw caution to the wind and use a ScrollView. You would change the line: b = NEW Button(ME) AS "KeyButton" to your ScrollViewName: b = NEW Button(ScrollViewName) AS "KeyButton" Thanks 8-{)} Timothy Marshal-Nichols From sirfabien at ...626... Fri Sep 8 14:18:18 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Fri, 8 Sep 2006 14:18:18 +0200 Subject: [Gambas-user] Add objects to a scrollview In-Reply-To: References: Message-ID: <200609081418.18278.sirfabien@...626...> Le Vendredi 8 Septembre 2006 14:08, Timothy Marshal-Nichols a ?crit?: > > -----Original Message----- > > From: gambas-user-bounces at lists.sourceforge.net > > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > > Sent: Friday, 08 September 2006 12:44 > > To: mailing list for gambas users > > Subject: [Gambas-user] Add objects to a scrollview > > > > > > Hi everybody out there, > > > > still fighting with objects I would like to ask if someone can > > give me a hint, > > how to add objects like comboxes, textlabels... to a scrollview > > dynamically > > at runtime. BTW the scrollview itself is element of a tabstrip. > > > > Many thanks for your suggestions > > Rolf > > Take a look at the example at > http://www.linuxbasic.net/index.php?topic=117.0 > > This example uses a Form as the parent of the dynamic controls. However you > can use any container - even throw caution to the wind and use a > ScrollView. You would change the line: > > b = NEW Button(ME) AS "KeyButton" > > to your ScrollViewName: > > b = NEW Button(ScrollViewName) AS "KeyButton" > > A little tips more :) you can manage the content of the scrollview by too way : First use a panel that content the widgets and then put it in the scroll view By this way it's the panel who arrange his content and the scrollview just allow to see the hiden part. the other way concern the arrange property of the scrollview ... so you can put the control directly in the scrollview and set the arrange property of the scroll view to vertical, horizontal,column, row Fabien > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Sep 8 17:31:40 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Sep 2006 17:31:40 +0200 Subject: [Gambas-user] dialog.filter sintax In-Reply-To: <200609071622.48435.stefanopalmeri@...152...> References: <200609071622.48435.stefanopalmeri@...152...> Message-ID: <200609081731.40160.gambas@...1...> On Thursday 07 September 2006 16:22, Stefano Palmeri wrote: > Hi, all. > > The syntax for dialog.filter when using gb.form is: > > Dialog.Filter = ["*.tar.gz", ("Source packages")] '& " (*.tar.gz)", ("All > files") & " (*)"] > > It's taken from Gambas2 IDE source. > > The help page for gb.form --> dialog.filter reports the > standard syntax and it leads to the error. > > Ciao, > > Stefano > This syntax will become the standard one in the next version, for gb.form and standard Dialog classes in gb.qt and gb.qt.kde. Regards, -- Benoit Minisini From gambas at ...1... Fri Sep 8 17:34:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Sep 2006 17:34:34 +0200 Subject: [Gambas-user] How can I copy an object In-Reply-To: References: Message-ID: <200609081734.34629.gambas@...1...> On Friday 08 September 2006 10:40, Timothy Marshal-Nichols wrote: > > -----Original Message----- > > From: gambas-user-bounces at lists.sourceforge.net > > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > > Sent: Thursday, 07 September 2006 19:46 > > To: mailing list for gambas users > > Subject: [Gambas-user] How can I copy an object > > > > > > Hi your GAMBAS fighter, > > > > I'm still fighting with objects and a question raises to me. > > > > I need a combobox with 5 or 6 entries more then once and have to setup an > > array to manage them. Collect and access the comboboxes in the > > array is no > > problem, but can I create a "sample combobox" with all the wanted > > entries and > > copy this box, of course with a different name and a different > > position into > > the array as offen as needed? > > > > Many thanks for your help. > > Rolf > > Why swap over complete objects. The ComboBox (like the ListBox) has a List > property that can easily be used to get or update the ComboBox content. > > In older versions of Gambas this was a string with each item separated by a > new line. In the latest version of Gambas it is a string array. (There is > no explanation for the change.) I can give you. :-) - Why not using a String array? It is more logical. - With a string array, you have only the real list entries to translate. You dont have to translate a string with all entries separated with '\n', which can break the program if the translator forgets a '\n'. Regards, -- Benoit Minisini From sbungay at ...981... Fri Sep 8 18:37:40 2006 From: sbungay at ...981... (sbungay) Date: Fri, 08 Sep 2006 12:37:40 -0400 Subject: [Gambas-user] Add objects to a scrollview In-Reply-To: References: Message-ID: <45019C54.2070007@...981...> Timothy Marshal-Nichols wrote: >>-----Original Message----- >>From: gambas-user-bounces at lists.sourceforge.net >>[mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf >>Sent: Friday, 08 September 2006 12:44 >>To: mailing list for gambas users >>Subject: [Gambas-user] Add objects to a scrollview >> >> >>Hi everybody out there, >> >>still fighting with objects I would like to ask if someone can >>give me a hint, >>how to add objects like comboxes, textlabels... to a scrollview >>dynamically >>at runtime. BTW the scrollview itself is element of a tabstrip. >> >>Many thanks for your suggestions >>Rolf >> > > > Take a look at the example at > http://www.linuxbasic.net/index.php?topic=117.0 > > This example uses a Form as the parent of the dynamic controls. However you > can use any container - even throw caution to the wind and use a ScrollView. > You would change the line: > > b = NEW Button(ME) AS "KeyButton" > > to your ScrollViewName: > > b = NEW Button(ScrollViewName) AS "KeyButton" > > > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > > This is good stuff. Lets say we want to dynamically instantiate buttons in an hpanel and then assign pictures to the buttons surfaces and values to their tags. I did this.. DIM bh as Button bh - NEW Button(hpanel1) AS "Button" & CSTR(hpanel1.children.count) WAIT bh.picture = bh.picture.load("MyImage.png") And it creates the button OK, but gives me a NULL OBJECT error when it executes the picture assignment. Shouldn't 'bh' be a handle to the newly instantiated button? Steve. From ronstk at ...239... Fri Sep 8 18:28:35 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 8 Sep 2006 18:28:35 +0200 Subject: [Gambas-user] How can I copy an object In-Reply-To: <200609081301.23363.rolf.frogs@...221...> References: <200609081301.23363.rolf.frogs@...221...> Message-ID: <200609081828.35735.ronstk@...239...> On Friday 08 September 2006 13:01, rolf wrote: > I will test the code - if I know, why I get in a listbox_click event allways > the previous (if exists) and the current item under GAMBAS 1.9.39 > > Fine regards > Rolf > The MouseDown give the previous entry The MouseUp give the current selected. The Click give the current selected. I had the "problem" too but it is correct on mouse down. May be there must be a action done on the previous selected before the new is activated as "Selected". Ron From sbungay at ...981... Fri Sep 8 19:35:30 2006 From: sbungay at ...981... (sbungay) Date: Fri, 08 Sep 2006 13:35:30 -0400 Subject: [Gambas-user] Stupid human that I am...was 'Add objects to a scrollview' In-Reply-To: <45019C54.2070007@...981...> References: <45019C54.2070007@...981...> Message-ID: <4501A9E2.9000308@...981...> Never mind... I walked away from things for a few minutes and on coming back the mistake I made jumpped up and bit me! I was using bh.picture.Load ... DUH! Of COURSE it wouldn't work... the picturein bh is NULL. This example works wonderfully.... :) DIM bh as Button bh - NEW Button(hpanel1) AS "Button" & CSTR(hpanel1.children.count) WAIT bh.picture = picture.load("MyImage.png") sbungay wrote: From ronstk at ...239... Fri Sep 8 18:36:13 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 8 Sep 2006 18:36:13 +0200 Subject: [Gambas-user] Add objects to a scrollview In-Reply-To: <200609081343.38578.rolf.frogs@...221...> References: <200609081343.38578.rolf.frogs@...221...> Message-ID: <200609081836.13411.ronstk@...239...> On Friday 08 September 2006 13:43, rolf wrote: > Hi everybody out there, > > still fighting with objects I would like to ask if someone can give me a hint, > how to add objects like comboxes, textlabels... to a scrollview dynamically > at runtime. BTW the scrollview itself is element of a tabstrip. > > Many thanks for your suggestions > Rolf > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > dim frm as form dim tabs as tabstrip dim scv as scrollview dim cbox as cpmbobox dim lbox as ListBox frm = new Form() tabs = new TabStrip(frm) scv = new ScrollView(tabs) cbox = new ComboBox(scv) lbox = new ListBox(scv) Ron From timothy.marshal-nichols at ...247... Fri Sep 8 19:16:02 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Fri, 8 Sep 2006 18:16:02 +0100 Subject: [Gambas-user] Add objects to a scrollview In-Reply-To: <45019C54.2070007@...981...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of sbungay > Sent: Friday, 08 September 2006 17:38 > To: mailing list for gambas users > Subject: Re: [Gambas-user] Add objects to a scrollview > > > Timothy Marshal-Nichols wrote: > >>-----Original Message----- > >>From: gambas-user-bounces at lists.sourceforge.net > >>[mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > >>Sent: Friday, 08 September 2006 12:44 > >>To: mailing list for gambas users > >>Subject: [Gambas-user] Add objects to a scrollview > >> > >> > >>Hi everybody out there, > >> > >>still fighting with objects I would like to ask if someone can > >>give me a hint, > >>how to add objects like comboxes, textlabels... to a scrollview > >>dynamically > >>at runtime. BTW the scrollview itself is element of a tabstrip. > >> > >>Many thanks for your suggestions > >>Rolf > >> > > > > > > Take a look at the example at > > http://www.linuxbasic.net/index.php?topic=117.0 > > > > This example uses a Form as the parent of the dynamic controls. > However you > > can use any container - even throw caution to the wind and use > a ScrollView. > > You would change the line: > > > > b = NEW Button(ME) AS "KeyButton" > > > > to your ScrollViewName: > > > > b = NEW Button(ScrollViewName) AS "KeyButton" > > > > > > > > Thanks > > > > 8-{)} Timothy Marshal-Nichols > > > > > > > > > This is good stuff. Lets say we want to dynamically instantiate > buttons in an hpanel and then assign pictures to the buttons surfaces > and values to their tags. I did this.. > > DIM bh as Button > > bh - NEW Button(hpanel1) AS "Button" & CSTR(hpanel1.children.count) = ??? I would not have a separate "button tag" for each button in the AS clause. How could you handle the button click event? In the example we set the button tag property to unique value. Then use LAST.Tag object to see which button was pressed. Look at example to see how we handle the click event. > WAIT Do not think there is any need for the wait. > bh.picture = bh.picture.load("MyImage.png") or plain: bh.picture = Picture["MyImage.png"] > > And it creates the button OK, but gives me a NULL OBJECT error when it > executes the picture assignment. Shouldn't 'bh' be a handle to the newly > instantiated button? > > Steve. > Thanks 8-{)} Timothy Marshal-Nichols From comisat at ...1569... Sat Sep 9 01:06:04 2006 From: comisat at ...1569... (comisat at ...1569...) Date: Sat, 9 Sep 2006 01:06:04 +0200 (CEST) Subject: [Gambas-user] Message title [bis] :) In-Reply-To: <200609081734.34629.gambas@...1...> References: <200609081734.34629.gambas@...1...> Message-ID: <1727.87.9.92.129.1157756764.squirrel@...1570...> Hi, is there a way to set the Message caption ? thanks :) carlo _______________________________________________ * GPG/PGP public key-id: 0xB703A9E2 * rfc.altervista.org aspetta il tuo contributo * USE=-brain emerge win * "Sulla confezione c'era scritto: necessita' di win9x, winXP o superiore.. ...cosi' ho installato linux" _______________________________________________ From rolf.frogs at ...221... Sat Sep 9 10:25:42 2006 From: rolf.frogs at ...221... (rolf) Date: Sat, 9 Sep 2006 10:25:42 +0200 Subject: [Gambas-user] How can I copy an object In-Reply-To: <200609081828.35735.ronstk@...239...> References: <200609081301.23363.rolf.frogs@...221...> <200609081828.35735.ronstk@...239...> Message-ID: <200609091025.42490.rolf.frogs@...221...> Hi Ron > > I will test the code - if I know, why I get in a listbox_click event > > allways the previous (if exists) and the current item under GAMBAS 1.9.39 > The MouseDown give the previous entry > The MouseUp give the current selected. > The Click give the current selected. > > I had the "problem" too but it is correct on mouse down. > May be there must be a action done on the previous selected > before the new is activated as "Selected". The mouse up event does what I expect. Many thanks for your help. Rolf From rolf.frogs at ...221... Sat Sep 9 10:31:59 2006 From: rolf.frogs at ...221... (rolf) Date: Sat, 9 Sep 2006 10:31:59 +0200 Subject: [Gambas-user] Add objects to a scrollview In-Reply-To: References: Message-ID: <200609091031.59799.rolf.frogs@...221...> Helle Timothy > > Hi everybody out there, > > > > still fighting with objects I would like to ask if someone can > > give me a hint, how to add objects like comboxes, textlabels... > > to a scrollview dynamically at runtime. BTW the scrollview itself > > is element of a tabstrip. > > > > Many thanks for your suggestions > > Rolf > > Take a look at the example at > http://www.linuxbasic.net/index.php?topic=117.0 > > This example uses a Form as the parent of the dynamic controls. However you > can use any container - even throw caution to the wind and use a > ScrollView. You would change the line: > > b = NEW Button(ME) AS "KeyButton" > > to your ScrollViewName: > > b = NEW Button(ScrollViewName) AS "KeyButton" This short example helped me to solve my problem. Many thanks Rolf From rohnny at ...1248... Sat Sep 9 19:55:30 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 9 Sep 2006 10:55:30 -0700 (PDT) Subject: [Gambas-user] gambas2-runtime In-Reply-To: <200609040714.09330.ronstk@...239...> References: <6129748.post@...1379...> <200609040714.09330.ronstk@...239...> Message-ID: <6226301.post@...1379...> Ron Onstenk wrote: > > On Monday 04 September 2006 06:25, R. Stormo wrote: >> >> I'm trying again. >> How can I make gambas2-runtime files. This so the person that shall run >> gambas projects don't have to compile and install the hole thing. >> Running Ubuntu. >> >> >> Regards Rohnny >> http://forum.stormweb.no > > Very good question. > > First is the target ubuntu box the same as the box you develop? > > Here a proposal for a quick hack to do it. > > I do the install with ./configure --prefix=/opt/gb just to get all > the gambas stuff is one directory with sub directories. easy to browse. > :) > > To be able to run something you need a few symlinks in /usr/bin to > the /opt/gb/bin/gambas2.gambas and etc. They are made by the installer. > > For running "compiled' applications you need the runtime files only. > regarding the external components you use you need i.e. gb.qt.* > > The most nice way is if you develop on the same environment as the client. > In that way you can copy the gambas files from the developer box. > > The hard point is if you use MySQL you need to install it on all > the clients before you can use it :) > > sample client map: > /opt > /gb > /bin > gbx2 > /lib > /gambas2 (the libs you use in the app) > gb.qt.so -> gb.qt.so.0.0.0 (symlink copy of create) > gb.qt.so.0 -> gb.qt.so.0.0.0 (symlink copy of create) > gb.qt.so.0.0.0 > for each lib you need > { > gb.{lib}.so -> gb.{lib}.so.0.0.0 (symlink copy of create) > gb.{lib}.so.0 -> gb.{lib}.so.0.0.0 (symlink copy of create) > gb.{lib}.so.0.0.0 > } > /share > (I expect nothing) > > /usr > /bin > gbr2 -> /opt/gb/bin/gbx2 (symlink copy of create) > gbx2 -> /opt/gb/bin/gbx2 (symlink copy of create) > > /usr > /lib > /*.so (libraries used) > /mysql/* (i.e. is mysql is used ) > > For the '/opt/gb/lib/gambas2' directory you should not need the *.la > and *.component files but if you use i.e. 'gb.db.form.gambas' then > these must also copied. Be carefull they can use other *.so files > > The last one '/usr/lib' is for libraries indirect used by the gambas2/gb.* > components. You can try with simple copy of them but best will be the > normal client part install via the packetmanager 'xyz'. > > Anyway it will not be the easy win method if developer and client > box do not match 100% for the basic part. > > > It would be nice if the IDE could produce a dependancy file for > each compiled project, uhmmm it is already the .project file. > > This give a basic idea what to do. > > Hoping not be slapped by Benoit :), > > Ron > > --- > My 2 cents installer. > > I have copied these files to destination computer , that run ubuntu also, I get the error message ERROR #45 -. file or directory does not exist. This error I get if I try to run my gambas project or if I try gbx2 or gbx The owner is changed to root:root when I copied to / list from tar file drwxr-xr-x rohnny/rohnny 0 2006-09-09 19:21:10 usr/ drwxr-xr-x rohnny/rohnny 0 2006-09-09 19:21:10 usr/local/ drwxr-xr-x rohnny/rohnny 0 2006-09-09 19:21:10 usr/local/lib/ drwxr-xr-x rohnny/rohnny 0 2006-09-09 19:21:11 usr/local/lib/gambas2/ -rwxr-xr-x rohnny/rohnny 5985780 2006-09-09 19:21:10 usr/local/lib/gambas2/gb.qt.so.0.0.0 lrwxrwxrwx rohnny/rohnny 0 2006-09-09 19:21:10 usr/local/lib/gambas2/gb.qt.so.0 -> /usr/local/lib/gambas2/gb.qt.so.0.0.0 lrwxrwxrwx rohnny/rohnny 0 2006-09-09 19:21:10 usr/local/lib/gambas2/gb.qt.so -> /usr/local/lib/gambas2/gb.qt.so.0.0.0 -rwxr-xr-x rohnny/rohnny 236139 2006-09-09 19:21:10 usr/local/lib/gambas2/gb.qt.gambas -rwxr-xr-x rohnny/rohnny 2072 2006-09-09 19:21:10 usr/local/lib/gambas2/gb.qt.component -rwxr-xr-x rohnny/rohnny 173951 2006-09-09 19:21:11 usr/local/lib/gambas2/gb.form.gambas -rwxr-xr-x rohnny/rohnny 340 2006-09-09 19:21:11 usr/local/lib/gambas2/gb.form.component -rwxr-xr-x rohnny/rohnny 288 2006-09-09 19:21:11 usr/local/lib/gambas2/gb.vb.component drwxr-xr-x rohnny/rohnny 0 2006-09-09 19:21:11 usr/local/bin/ -rwxr-xr-x rohnny/rohnny 928139 2006-09-09 19:21:11 usr/local/bin/gbx2 lrwxrwxrwx rohnny/rohnny 0 2006-09-09 19:21:11 usr/local/bin/gbx -> /usr/local/bin/gbx2 drwxr-xr-x rohnny/rohnny 0 2006-09-09 19:21:11 usr/bin/ lrwxrwxrwx rohnny/rohnny 0 2006-09-09 19:21:11 usr/bin/gbx2 -> /usr/local/bin/gbx2 Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/gambas2-runtime-tf2213217.html#a6226301 Sent from the gambas-user forum at Nabble.com. From timothy.marshal-nichols at ...247... Sun Sep 10 08:49:42 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Sun, 10 Sep 2006 07:49:42 +0100 Subject: [Gambas-user] How can you create a screensaver in Gambas? Message-ID: With Gambas you can do most of the things you would want to do with a screensaver: Display a window full screen Draw on the window Quit when a key is pressed Quit when the mouse is moved I have uploaded a couple of example of doing all these things at http://forum.stormweb.no/index.php/topic,158.0.html. There are versions of these projects for Versions 1 and 2 of Gambas. I have quite a few little projects like this. Mostly based on old QBasic programs (Ugh - DOS). The question I have is: How do you turn them into a screen saver? Either for KDE or Gnome. Thanks 8-{)} Timothy Marshal-Nichols -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1780 bytes Desc: not available URL: From stefanopalmeri at ...152... Sun Sep 10 09:53:04 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 10 Sep 2006 09:53:04 +0200 Subject: [Gambas-user] How can you create a screensaver in Gambas? In-Reply-To: <200609100948.02489.stefanopalmeri@...152...> References: <200609100948.02489.stefanopalmeri@...152...> Message-ID: <200609100953.05095.stefanopalmeri@...152...> Alle 09:48, domenica 10 settembre 2006, hai scritto: > Alle 08:49, domenica 10 settembre 2006, Timothy Marshal-Nichols ha scritto: > > The question I have is: How do you turn them into a > > screen saver? Either for KDE or Gnome. > > Hi, Timothy. > > In KDE the file that controls the screensaver is kdesktop_lock, under > the KDE bin folder. > > If you want to use your personal Gambas screensaver, > just rename the old kdesktop_lock and replace it with > yours renamed kdesktop_lock. > > Bye, > > Stefano > P.S. be aware that probably you need to make you gambas screensaver accept kdesktop_lock options (i.e. --forcelock) From stefanopalmeri at ...152... Sun Sep 10 09:48:02 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Sun, 10 Sep 2006 09:48:02 +0200 Subject: [Gambas-user] How can you create a screensaver in Gambas? In-Reply-To: References: Message-ID: <200609100948.02489.stefanopalmeri@...152...> Alle 08:49, domenica 10 settembre 2006, Timothy Marshal-Nichols ha scritto: > The question I have is: How do you turn them into a > screen saver? Either for KDE or Gnome. Hi, Timothy. In KDE the file that controls the screensaver is kdesktop_lock, under the KDE bin folder. If you want to use your personal Gambas screensaver, just rename the old kdesktop_lock and replace it with yours renamed kdesktop_lock. Bye, Stefano From ronstk at ...239... Sun Sep 10 11:32:53 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 10 Sep 2006 11:32:53 +0200 Subject: [Gambas-user] gambas2-runtime In-Reply-To: <6226301.post@...1379...> References: <6129748.post@...1379...> <200609040714.09330.ronstk@...239...> <6226301.post@...1379...> Message-ID: <200609101132.53574.ronstk@...239...> On Saturday 09 September 2006 19:55, R. Stormo wrote: > I have copied these files to destination computer , that run ubuntu also, I > get the error message > ERROR #45 -. file or directory does not exist. Try in console to see system error messages for which file/directory ? > > This error I get if I try to run my gambas project or if I try gbx2 or gbx > > The owner is changed to root:root when I copied to / > Do you try your gambas project as rohnny/rohnny or root:root ? The files should have same credentials as on the developer box What happen if you do not change owner? I could be a file from the project files. What happen if you copy the whole project directory to the other box? If that works you can remove developer files one by one to try. 'strace' can help to find errors (if it exist on your box) It was a only 2 cents installer :) Ron From kevinaborge at ...1575... Sun Sep 10 12:39:20 2006 From: kevinaborge at ...1575... (Ciannait Simes) Date: Sun, 10 Sep 2006 03:39:20 -0700 Subject: [Gambas-user] PHAxbqRMACY Message-ID: <000001c6d4c5$5f5bb7d0$f091a8c0@...1576...> Hi All y h our PH p AR h MAC g Y d n irec i tl w y from the m a anuf q ac i tur r er, Your ch y anc a e to ec q ono d miz p e up t u o 50 j % w g ith http://www.ebadesunajisadefun.com From gambas at ...1... Sun Sep 10 17:45:42 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 10 Sep 2006 17:45:42 +0200 Subject: [Gambas-user] Database edit failure In-Reply-To: <44FE2165.6090106@...43...> References: <44FE2165.6090106@...43...> Message-ID: <200609101745.42567.gambas@...1...> On Wednesday 06 September 2006 03:16, Mitchell R. Pryor wrote: > I'm trying to use the Connection 'edit' method to learn how to update an > sqlite database record and it fails saying that my table does not have a > primary key. The file does have a primary key defined as follows: > create table phdir (recid integer primary key, ...). I'm using version > Gambas1.0.14 as provided by Fedora Core 5. Does this method not work in > this version of Gambas? > Unless you know exactly what you are doing, you must create your database with the gambas database manager if you want to use the Find(), Edit() and Create() methods. Regards, -- Benoit Minisini From Karl.Reinl at ...9... Sun Sep 10 21:01:02 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 10 Sep 2006 21:01:02 +0200 Subject: [Gambas-user] Message title [bis] :) In-Reply-To: <1727.87.9.92.129.1157756764.squirrel@...1570...> References: <200609081734.34629.gambas@...1...> <1727.87.9.92.129.1157756764.squirrel@...1570...> Message-ID: <1157914863.5151.3.camel@...40...> Am Samstag, den 09.09.2006, 01:06 +0200 schrieb comisat at ...1569...: > Hi, > is there a way to set the Message caption ? > thanks :) > carlo Salut, in both versions, I haven't seen the possibility to set a caption to Message. So there is no way to set the caption. Amicalment Charlie From dcamposf at ...626... Sun Sep 10 22:39:43 2006 From: dcamposf at ...626... (Daniel Campos) Date: Sun, 10 Sep 2006 22:39:43 +0200 Subject: [Gambas-user] Message title [bis] :) In-Reply-To: <1157914863.5151.3.camel@...40...> References: <200609081734.34629.gambas@...1...> <1727.87.9.92.129.1157756764.squirrel@...1570...> <1157914863.5151.3.camel@...40...> Message-ID: <7259b5ae0609101339m6bf9be8ag398b7d8c698029e@...627...> I think not at this moment Daniel 2006/9/10, Charlie Reinl : > Am Samstag, den 09.09.2006, 01:06 +0200 schrieb comisat at ...1569...: > > Hi, > > is there a way to set the Message caption ? > > thanks :) > > carlo > > Salut, > > in both versions, I haven't seen the possibility to set a caption to > Message. > > So there is no way to set the caption. > > Amicalment > Charlie > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dartbridle at ...1577... Sun Sep 10 22:58:23 2006 From: dartbridle at ...1577... (alderman) Date: Sun, 10 Sep 2006 22:58:23 +0200 Subject: [Gambas-user] carne Message-ID: <46738298239286.30A7FD575B@...1578...> H o t sotck aler t. This one is still climbling the stcok c harts a lert Breaking mmarket news report - TQW W. P K Lookup: TQW W. P K Companyy Name: Tyalor Aqupaonics Worldiwde, Inc. Recently trrading for: 0.40 6 Week Target: 1.25 6 Month Target: 4.97 Rating: Immediate bu y Expected: Steadily climb for the top Our featured ccompany TQ WW is a ?Big Fish? in what so far has been a little pond. But all of that is going to change when Wall Street sees the growth they?re experiencing. Whether you love fish, or vegetables, or don?t care for either one, TQ WW needs to be on your plate! Succcess has already happened for Tailor Made Fish Farms, the original companyy behind T QWW, as you can see by the stories on this page. Do your research, and find out why we think T QWW could increase as much as 400% or more in the next few weeks. If you?ve been fishing for a great opportunity, O TCPK: TQW W could be the best deal you?ve ever hooked! Tialor Aquapoincs Wolrdwide, Inc. (OTCP K: TQ WW) has developed an easy to operate, land-based modular fish production system that is both sustainable and environmentally responsible. Production of ?year-round? premium quality fish and vegetables is achieved through compact and controlled production areas using much less water than conventional methods resulting in two crops from a single water uptake. This efficient combination of TQW W's fish & vegetable production has two major advantages: We see the possibility of a 250% rise in the very near future, and more may come after word spreads. Go with the flow ? and b uy TQW W when the ?tide? is low, then just wait for it to come in! Huge monney from a coompany that satisfies ecological needs ? there?s something you don?t see very often. TQ WW is primed for huge international growth in the very near future, and as one of the most well-known players in the aquaponics field, TQ WW will bring its indusstry to new countries (and new investoors!). It seems like making moneey with Aquaopnics is as easy as shooting fish in a barrel?and now you can ride the wave with TQW W! Don?t delay ? do your research on TQ WW and contact your brokker immediiately! The time to get in on this great fish story is now! Tialor Auqaponics Worldiwde, unlike many of its competitors, already succcessfully operates a commerciall scale food production system. The upside for Aquaponics is uncharted, but huge revenues are already being derived from a Taailor Aquapponics combined Fish Farming/Vegetable Farming venture in Australia. The research shows us that this is a sttock we want to acquire ? and acquire a great deal of ? before more news makes it across the Pacific. Remember, T QWW is on trrack for increaases of 250%, 400% or more, but not many people know about it yet. That?s why you need to do your research and make your p l a y today! Any of the above statements with respect to the future predications or goals and ev ents may be seen as only forward looking and nothing else. All infor mation inside this emai l pertaining to any sort of financiall advice need to be understood as i nformation and not advice. None of the informati on above can be constructed as any sort of ffinan cial a dvice. This is a ppaid adveertisement. From mike-nought at ...17... Sun Sep 10 23:06:00 2006 From: mike-nought at ...17... (Mike Nought) Date: Sun, 10 Sep 2006 23:06:00 +0200 Subject: [Gambas-user] Memory access error in gbc2 In-Reply-To: <200609101306.18449.mike-nought@...17...> References: <200609101306.18449.mike-nought@...17...> Message-ID: <200609102306.01810.mike-nought@...17...> Hi all, after some testing i found the reason for the memory access error I wrote Benoit today. It occures if one tries to compile the following code: ---- PRIVATE $stuff as String PUBLIC SUB bla(OPTIONAL notAllowed as String = $stuff) END ---- I did not know that it is not possible to use global variables as standard for optional arguments of procedures. So it seems to be a rather silly bug, caused by too few documentation and a forgotten check ;) But this error nearly made me crazy this weekend. Sincerely, Franz Am Sonntag, 10. September 2006 13:06 schrieben Sie: > Hi Benoit, > > I cannot compile my project anymore. I don't know why, I did neither change > the program version nor include any new components since the last time it > worked. After the messages in the attached compile.log, the memory access > error occures. > Could you have a look at the attached project? > The project has been developed using Gambas 1.9.39 but the error also > appeares in the latest 1.9.41. > > I've got another question: > in version 1.9.40 or 1.9.41 you removed the value 'Extended' for > ColumnView.Mode. Why did you do this and what to take instead now? > > Thank you in advance, sincerely > Franz From cummingsadenosine at ...1579... Mon Sep 11 11:02:12 2006 From: cummingsadenosine at ...1579... (ambition) Date: Mon, 11 Sep 2006 17:02:12 +0800 Subject: [Gambas-user] champ Message-ID: <61499855596751.1818F69D81@...1580...> H o t stcok aler t. This one is still climbling the sotck c harts a lert Breaking maarket news report - TQW W. P K Lookup: T QWW. P K Companny Name: Tyalor Aqupaonics Worlwdide, Inc. Recently ttrading for: 0.40 6 Week Target: 1.25 6 Month Target: 4.97 Rating: Immediate bu y Expected: Steadily climb for the top Our featured companyy TQW W is a ?Big Fish? in what so far has been a little pond. But all of that is going to change when Wall Street sees the growth they?re experiencing. Whether you love fish, or vegetables, or don?t care for either one, TQ WW needs to be on your plate! Succeess has already happened for Tailor Made Fish Farms, the original comppany behind TQW W, as you can see by the stories on this page. Do your research, and find out why we think TQW W could increase as much as 400% or more in the next few weeks. If you?ve been fishing for a great opportunity, O TCPK: TQ WW could be the best deal you?ve ever hooked! Talior Aquaponcis Worldwdie, Inc. (OT CPK: TQW W) has developed an easy to operate, land-based modular fish production system that is both sustainable and environmentally responsible. Production of ?year-round? premium quality fish and vegetables is achieved through compact and controlled production areas using much less water than conventional methods resulting in two crops from a single water uptake. This efficient combination of TQW W's fish & vegetable production has two major advantages: We see the possibility of a 250% rise in the very near future, and more may come after word spreads. Go with the flow ? and b uy TQ WW when the ?tide? is low, then just wait for it to come in! Huge monney from a comppany that satisfies ecological needs ? there?s something you don?t see very often. TQW W is primed for huge international growth in the very near future, and as one of the most well-known players in the aquaponics field, TQ WW will bring its industtry to new countries (and new invvestors!). It seems like making mmoney with Aqupaonics is as easy as shooting fish in a barrel?and now you can ride the wave with TQ WW! Don?t delay ? do your research on T QWW and contact your brooker immediaately! The time to get in on this great fish story is now! Taiolr Auqaponics Worldwdie, unlike many of its competitors, already succcessfully operates a commerciial scale food production system. The upside for Aquaponics is uncharted, but huge revenues are already being derived from a Taiilor Aquaponiccs combined Fish Farming/Vegetable Farming venture in Australia. The research shows us that this is a stocck we want to acquire ? and acquire a great deal of ? before more news makes it across the Pacific. Remember, TQ WW is on traack for increasses of 250%, 400% or more, but not many people know about it yet. That?s why you need to do your research and make your p l a y today! Any of the above statements with respect to the future predications or goals and even ts may be seen as only forward looking and nothing else. All informa tion inside this emai l pertaining to any sort of finnancial advice need to be understood as informatio n and not advice. None of the informa tion above can be constructed as any sort of fiinan cial advi ce. This is a paiid adveertisement. From rolf.frogs at ...221... Mon Sep 11 13:30:44 2006 From: rolf.frogs at ...221... (rolf) Date: Mon, 11 Sep 2006 13:30:44 +0200 Subject: [Gambas-user] How can I get a listbox in the foreground Message-ID: <200609111330.44632.rolf.frogs@...221...> Hi, I've got a lot of help from you and still need some more. Can some one give me a hint how I can set an element (in my case a listbox) in the foreground by setting a property from within the programm. Attached you find a screen shot which illustrated the problem. Thanks Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.png Type: image/png Size: 8988 bytes Desc: not available URL: From nando_f at ...1382... Mon Sep 11 13:37:32 2006 From: nando_f at ...1382... (nando) Date: Mon, 11 Sep 2006 07:37:32 -0400 Subject: [Gambas-user] How can I get a listbox in the foreground In-Reply-To: <200609111330.44632.rolf.frogs@...221...> References: <200609111330.44632.rolf.frogs@...221...> Message-ID: <20060911113702.M98088@...1382...> I think listbox1.raise brings it to foreground ---------- Original Message ----------- From: rolf To: mailing list for gambas users Sent: Mon, 11 Sep 2006 13:30:44 +0200 Subject: [Gambas-user] How can I get a listbox in the foreground > Hi, > > I've got a lot of help from you and still need some more. > Can some one give me a hint how I can set an element (in my case a listbox) in > the foreground by setting a property from within the programm. Attached you > find a screen shot which illustrated the problem. > > Thanks > Rolf ------- End of Original Message ------- From buxaman at ...626... Mon Sep 11 15:08:46 2006 From: buxaman at ...626... (Fabricio Silva) Date: Mon, 11 Sep 2006 10:08:46 -0300 Subject: [Gambas-user] Money type in correct representation PT_BR Message-ID: Helo, In Brazil the currency is displayed like this: R$ 147,00 R$ 3.521,00 and so on. I'm using SuSE 10.0, mysql 4.1 and Gambas 1.9.34. Before saving data I used: txtprice.Text = Replace$(txtprice.Text, ",", ".") because I use a decimal (7,2) data type. Now I'm trying to display it to the users using a table view but I'm stuck in how to tell gambas only to change the correct values. I tryed Format without sucess. There's another issue that I can't figure out in this code of mine. There's some sort of loop messing up things.... I inserted a: PRINT (global.rs1[arrtable[Column]]) just before: global.rs1.MoveTo(Row) And saw it repeat the value many times. Why? Tanks in advance The code: ------------------------------------Product Class------------------------------------------- arrtable[4] AS String PUBLIC global AS principal PUBLIC i AS String PUBLIC SUB form_open() global = NEW principal global.conection() db.Close db.Open show_data() END PUBLIC SUB show_data() DIM sql AS String WITH tableview1 .rows.count = 0 .columns.count = 4 .columns[0].text = "Code" .columns[0].Width = 50 .columns[1].text = "Description" .columns[1].Width = 300 .Columns[2].Text = "Quantity" .columns[2].Width = 80 .columns[3].text = "Price" .columns[3].Width = 70 END WITH sql = "SELECT code, description, quantity, price FROM product ORDER BY code ASC" global.fill(tableview1, sql) END PUBLIC SUB tableview1_Data(Row AS Integer, Column AS Integer) arrtable[0] = "code" arrtable[1] = "description" arrtable[2] = "quantity" arrtable[3] = "price" global.rs1.MoveTo(Row) tableview1.data.Text = CStr(global.rs1[arrtable[Column]]) 'tableview1.data.Text = Format$(Val(global.rs1[arrtable[Column]]), "#,00") END --------------------------Relevant part of Principal Class------------------------------------------- PUBLIC rs AS Result PUBLIC rs1 AS Result STATIC PUBLIC db AS NEW Connection PUBLIC CONST dbname AS String = "geral" PUBLIC CONST host AS String = "localhost" PUBLIC CONST passw AS String = "teste" PUBLIC CONST login AS String = "root" STATIC PUBLIC FUNCTION conection() AS Boolean db.Type = "mysql" db.Host = host db.Login = login db.Password = passw db.Name = dbname RETURN TRUE CATCH RETURN FALSE END PUBLIC SUB fill(tbv AS tableview, qry AS String) DIM i AS Float rs1 = db.exec(qry) WITH rs1 tbv.rows.count = 0 IF .count <> 0 THEN tbv.columns.count = .fields.count tbv.rows.count = .count END IF END WITH END From rohnny at ...1248... Mon Sep 11 15:39:45 2006 From: rohnny at ...1248... (R. Stormo) Date: Mon, 11 Sep 2006 06:39:45 -0700 (PDT) Subject: [Gambas-user] Money type in correct representation PT_BR In-Reply-To: References: Message-ID: <6246928.post@...1379...> Fabricio Silva-2 wrote: > > Helo, > > In Brazil the currency is displayed like this: R$ 147,00 R$ 3.521,00 > and > so on. I'm using SuSE 10.0, mysql 4.1 and Gambas 1.9.34. Before saving > data > I used: txtprice.Text = Replace$(txtprice.Text, ",", ".") because I use a > decimal (7,2) data type. Now I'm trying to display it to the users using a > table view but I'm stuck in how to tell gambas only to change the correct > values. I tryed Format without sucess. There's another issue that I can't > figure out in this code of mine. There's some sort of loop messing up > things.... I inserted a: > PRINT (global.rs1[arrtable[Column]]) > just before: > global.rs1.MoveTo(Row) > And saw it repeat the value many times. Why? > > Tanks in advance > > The code: > > ------------------------------------Product > Class------------------------------------------- > > arrtable[4] AS String > PUBLIC global AS principal > PUBLIC i AS String > > PUBLIC SUB form_open() > > global = NEW principal > global.conection() > db.Close > db.Open > > show_data() > > END > > PUBLIC SUB show_data() > DIM sql AS String > WITH tableview1 > .rows.count = 0 > .columns.count = 4 > .columns[0].text = "Code" > .columns[0].Width = 50 > .columns[1].text = "Description" > .columns[1].Width = 300 > .Columns[2].Text = "Quantity" > .columns[2].Width = 80 > .columns[3].text = "Price" > .columns[3].Width = 70 > > END WITH > sql = "SELECT code, description, quantity, price FROM product ORDER BY > code ASC" > global.fill(tableview1, sql) > > END > > PUBLIC SUB tableview1_Data(Row AS Integer, Column AS Integer) > > arrtable[0] = "code" > arrtable[1] = "description" > arrtable[2] = "quantity" > arrtable[3] = "price" > global.rs1.MoveTo(Row) > tableview1.data.Text = CStr(global.rs1[arrtable[Column]]) > 'tableview1.data.Text = Format$(Val(global.rs1[arrtable[Column]]), > "#,00") > > END > --------------------------Relevant part of Principal > Class------------------------------------------- > > PUBLIC rs AS Result > PUBLIC rs1 AS Result > STATIC PUBLIC db AS NEW Connection > PUBLIC CONST dbname AS String = "geral" > PUBLIC CONST host AS String = "localhost" > PUBLIC CONST passw AS String = "teste" > PUBLIC CONST login AS String = "root" > > STATIC PUBLIC FUNCTION conection() AS Boolean > > db.Type = "mysql" > db.Host = host > db.Login = login > db.Password = passw > db.Name = dbname > > RETURN TRUE > CATCH > RETURN FALSE > > END > > PUBLIC SUB fill(tbv AS tableview, qry AS String) > DIM i AS Float > rs1 = db.exec(qry) > WITH rs1 > tbv.rows.count = 0 > IF .count <> 0 THEN > tbv.columns.count = .fields.count > tbv.rows.count = .count > END IF > END WITH > END > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Should it not be a rs1.movenext to get to the next record in the database? PUBLIC SUB fill(tbv AS tableview, qry AS String) DIM i AS Float rs1 = db.exec(qry) do while not EOF(rs1) tbv.rows.count = 0 IF .count <> 0 THEN tbv.columns.count = .fields.count tbv.rows.count = .count END IF rs1.movenext loop END Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Money-type-in-correct-representation-PT_BR-tf2252299.html#a6246928 Sent from the gambas-user forum at Nabble.com. From buxaman at ...626... Mon Sep 11 16:09:32 2006 From: buxaman at ...626... (Fabricio Silva) Date: Mon, 11 Sep 2006 11:09:32 -0300 Subject: [Gambas-user] Money type in correct representation PT_BR In-Reply-To: <6246928.post@...1379...> References: <6246928.post@...1379...> Message-ID: Hey Rohnny, Tks for the fast reply but It's giving me the error: "Type mismatch: wanted Stream, got Result instead". 2006/9/11, R. Stormo : > > > > > Fabricio Silva-2 wrote: > > > > Helo, > > > > In Brazil the currency is displayed like this: R$ 147,00 R$ 3.521,00 > > and > > so on. I'm using SuSE 10.0, mysql 4.1 and Gambas 1.9.34. Before saving > > data > > I used: txtprice.Text = Replace$(txtprice.Text, ",", ".") because I use > a > > decimal (7,2) data type. Now I'm trying to display it to the users using > a > > table view but I'm stuck in how to tell gambas only to change the > correct > > values. I tryed Format without sucess. There's another issue that I > can't > > figure out in this code of mine. There's some sort of loop messing up > > things.... I inserted a: > > PRINT (global.rs1[arrtable[Column]]) > > just before: > > global.rs1.MoveTo(Row) > > And saw it repeat the value many times. Why? > > > > Tanks in advance > > > > The code: > > > > ------------------------------------Product > > Class------------------------------------------- > > > > arrtable[4] AS String > > PUBLIC global AS principal > > PUBLIC i AS String > > > > PUBLIC SUB form_open() > > > > global = NEW principal > > global.conection() > > db.Close > > db.Open > > > > show_data() > > > > END > > > > PUBLIC SUB show_data() > > DIM sql AS String > > WITH tableview1 > > .rows.count = 0 > > .columns.count = 4 > > .columns[0].text = "Code" > > .columns[0].Width = 50 > > .columns[1].text = "Description" > > .columns[1].Width = 300 > > .Columns[2].Text = "Quantity" > > .columns[2].Width = 80 > > .columns[3].text = "Price" > > .columns[3].Width = 70 > > > > END WITH > > sql = "SELECT code, description, quantity, price FROM product ORDER BY > > code ASC" > > global.fill(tableview1, sql) > > > > END > > > > PUBLIC SUB tableview1_Data(Row AS Integer, Column AS Integer) > > > > arrtable[0] = "code" > > arrtable[1] = "description" > > arrtable[2] = "quantity" > > arrtable[3] = "price" > > global.rs1.MoveTo(Row) > > tableview1.data.Text = CStr(global.rs1[arrtable[Column]]) > > 'tableview1.data.Text = Format$(Val(global.rs1[arrtable[Column]]), > > "#,00") > > > > END > > --------------------------Relevant part of Principal > > Class------------------------------------------- > > > > PUBLIC rs AS Result > > PUBLIC rs1 AS Result > > STATIC PUBLIC db AS NEW Connection > > PUBLIC CONST dbname AS String = "geral" > > PUBLIC CONST host AS String = "localhost" > > PUBLIC CONST passw AS String = "teste" > > PUBLIC CONST login AS String = "root" > > > > STATIC PUBLIC FUNCTION conection() AS Boolean > > > > db.Type = "mysql" > > db.Host = host > > db.Login = login > > db.Password = passw > > db.Name = dbname > > > > RETURN TRUE > > CATCH > > RETURN FALSE > > > > END > > > > PUBLIC SUB fill(tbv AS tableview, qry AS String) > > DIM i AS Float > > rs1 = db.exec(qry) > > WITH rs1 > > tbv.rows.count = 0 > > IF .count <> 0 THEN > > tbv.columns.count = .fields.count > > tbv.rows.count = .count > > END IF > > END WITH > > END > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > Should it not be a rs1.movenext to get to the next record in the database? > > > PUBLIC SUB fill(tbv AS tableview, qry AS String) > DIM i AS Float > rs1 = db.exec(qry) > do while not EOF(rs1) > tbv.rows.count = 0 > IF .count <> 0 THEN > tbv.columns.count = .fields.count > tbv.rows.count = .count > END IF > > rs1.movenext > > loop > END > > > Regards Rohnny > http://forum.stormweb.no > > > > -- > View this message in context: > http://www.nabble.com/Money-type-in-correct-representation-PT_BR-tf2252299.html#a6246928 > Sent from the gambas-user forum at Nabble.com. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Sep 11 17:03:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 11 Sep 2006 17:03:54 +0200 Subject: [Gambas-user] Memory access error in gbc2 In-Reply-To: <200609102306.01810.mike-nought@...17...> References: <200609101306.18449.mike-nought@...17...> <200609102306.01810.mike-nought@...17...> Message-ID: <200609111703.54593.gambas@...1...> On Sunday 10 September 2006 23:06, Mike Nought wrote: > Hi all, > > after some testing i found the reason for the memory access error I wrote > Benoit today. > > It occures if one tries to compile the following code: > > ---- > PRIVATE $stuff as String > > PUBLIC SUB bla(OPTIONAL notAllowed as String = $stuff) > END > ---- > > I did not know that it is not possible to use global variables as standard > for optional arguments of procedures. So it seems to be a rather silly bug, > caused by too few documentation and a forgotten check ;) > But this error nearly made me crazy this weekend. > > Sincerely, > Franz > It will be fixed in the next version. Anyway, I'm not sure at the moment if optional argument could reliably be something other than a constant. Regards, -- Benoit Minisini From gambas at ...1... Mon Sep 11 17:35:58 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 11 Sep 2006 17:35:58 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 Message-ID: <200609111735.58247.gambas@...1...> Hi, This release has many changes in the gb.qt component and gb.settings that will break your projects: * The Dialog.Filter syntax is now the same as the gb.form FileChooser control. * All Mode properties now uses the constants from the Select class. Other selection mode constants have been removed. The following classes are impacted: ListBox, ListView, GridView, TreeView, IconView, ColumnView. TableView will be modified too in the future. * IconView GridX and GridY properties have been replaced by the GridWidth and GridHeight properties. * HBox, VBox, HPanel and VPanel have an AutoResize property now, which is not set by default, contrary to the old behaviour. The arrangement algorithm has changed a bit, so your forms may display differently. * The Settings class now stores Window and SidePanel settings differently. This will mainly break the saved positions of IDE windows. You may have edit your form files by hand to fix the use of some properties. Or you can open them in the IDE, and fix the properties that have changed, and save them. Otherwise, there are some enhancements in the IDE: * Optimizations in project loading: in the previous versions, the default value of a control property was calculated by creating an hidden control. Now no control is created, but the default value must be declared in the control hidden constant describing its properties (namely '_Properties'). I updated all _Properties everywhere, but if one has been forgotten, you may get false default values when inserting a control inside the form editor. * Support for symbolic links. By using symbolic links, you can share forms, classes, modules or any file between two different projects. You cannot edit the file pointed by the symbolic link in the IDE. * A better translation dialog, thanks to Charlie Reinl. You can now translate a project file by file. Charlie added some shortcuts: I just remove the description of the shortcuts from the tooltips. They should go in a help page on the wiki instead. * The old file creation dialogs have been replaced by a new one. There is a new DateChooser calendar control too. It replaces the DatePicker that was depending on KDE. Here is the full ChangeLog: ------------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * NEW: Support for default control dimensions. * NEW: No control is created anymore to get default value of properties. This is experimental, as this implies that all controls defines these default values in the '_Properties' constant. * NEW: When you save a source file, a comment telling that it is a Gambas source file is automatically inserted at the beginning of the file. * NEW: Old file creation dialogs have been removed, and replaced by a unique one. * NEW: You can insert symbolic links inside your project. Their support is experimental. * NEW: The find list now is displayed in its own tool window, and not inside the project tree anymore * NEW: Project tree refresh has been optimized. * NEW: The output console now handles the '\r' and '\t' control characters. * NEW: The control property sheet has more support of properties kinds. * NEW: The project version can be got from the output of an external program. * NEW: The quit dialog has been redesigned. * NEW: The control toolbox has been redesigned around a TabStrip. * NEW: The translation dialog has been enhanced, thanks to Charlie Reinl. * NEW: IDE workspace now uses the same icon as the project tree. * BUG: The IDE does not break anymore when the user component path does not exist. * BUG: Search inside procedure has been fixed, and should not enter an endless loop anymore. * BUG: The position of controls dropped on the form editor should be correct now. * BUG: You can specify that the stack size keeps its default value now. * BUG: Needed features of a component are correctly saved now. * BUG: Finding a Gambas subroutine in the help works now. DATABASE MANAGER * NEW: The interface now is based on the Workspace control. * BUG: The use of ComboBox and ListBox List properties has been fixed. INTERPRETER * NEW: A new API, GB.RaiseLater(), that posts an event to an object. The event must not take any parameter. * NEW: Component.UserPath is now located in '~/.local'. * BUG: The _free() methods are now called again when the _new() methods fail. It finally crashes less than the fix in the previous version. A real solution has to be found. COMPILER * BUG: Using expressions in optional parameters does not crash the compiler anymore. GB.QT COMPONENT * NEW: ToolButton.Radio property has been implemented. * NEW: Color.LightBackground is lighter. * NEW: Container.Find is a new method that finds a child control from a relative position. * NEW: The Dialog.Filter syntax is now the same as the gb.form FileChooser control. * NEW: Draw.Resolution returns the resolution of the device being drawn in digits per inches. * NEW: All Mode properties now uses the constants from the Select class. Other selection mode constants have been removed. * NEW: IconView GridX and GridY properties have been replaced by the GridWidth and GridHeight properties, those value is not in pixels anymore, but in units of Desktop.Scale. * NEW: HBox, VBox, HPanel and VPanel have an AutoResize property now, which is not set by default, contrary to the old behaviour. * NEW: ScrollView.Width and ScrollView.Height are two new properties that return the dimension of the internal area. * NEW: TreeView, ColumnView and ListView got a Cancel event, raised when a item renaming has been canceled. * NEW: Watcher now raises an Insert event when a new child is inserted in a watched container. * NEW: The default values of background and foreground colors are correctly managed now. * BUG: Some fixes in the Design property management. * BUG: Setting the background or foreground color has been correctly optimized. * BUG: Some fixes in the arrangement algorithms. * BUG: ScrollView arrangement is now correct when the ScrollView has a border. * BUG: TabStrip enables and disables tabs correctly now. GB.QT.EXT COMPONENT * NEW: Editor.Print is a new method that handles '\r' and '\t' control characters. * NEW: TableView now raises a Select event when the selection has changed. This event is deferred. * BUG: Editor now undoes insertion in a more clever way. * BUG: Editor now refreshes without flickering when the entire edited text is visible. GB.QT.KDE COMPONENT * NEW: The Dialog.Filter syntax is now the same as the gb.form FileChooser control. * NEW: DatePicker has been removed. GB.FORM COMPONENT * NEW: The CustomListBox control has been replaced by the ListContainer container. * NEW: Chooser controls now have a Value property. * NEW: DateChooser, a calendar control for selecting a date. * NEW: FileView now hides backup files, unless the 'show hidden files' button is toggled. * NEW: SidePanel.Settings is a new property that returns the SidePanel state in a string. This property can be set too. * BUG: FileChooser raises the Change event when the user changes the current directory. GB.FORM.MDI COMPONENT * NEW: The Workspace tabstrip follows the mouse wheel now. GB.SETTINGS * NEW: The Settings class now stores Window and SidePanel settings differently. GB.GTK COMPONENT * Updated. GB.PDF COMPONENT * BUG: The component should compile with poppler 0.5 now. ------------------------------------------------------------------------------- Enjoy it! Regards, -- Benoit Minisini From rohnny at ...1248... Mon Sep 11 19:33:39 2006 From: rohnny at ...1248... (R. Stormo) Date: Mon, 11 Sep 2006 10:33:39 -0700 (PDT) Subject: [Gambas-user] Object.Attach Problem Message-ID: <6251265.post@...1379...> I have a prolem with Object.Attach. When this is set Object.Attach(myform, ME, "myform") the form_resize does not work as it should sub form_resize () Panel1.Width = ME.Width Print "hello" end When the object.attach is set then print hello does work but not pane1.width. When I disable the object.attach the function is working as it should. Is there a sensible answer for this? Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Object.Attach-Problem-tf2253826.html#a6251265 Sent from the gambas-user forum at Nabble.com. From ronstk at ...239... Mon Sep 11 19:49:00 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 11 Sep 2006 19:49:00 +0200 Subject: [Gambas-user] How can I get a listbox in the foreground In-Reply-To: <200609111330.44632.rolf.frogs@...221...> References: <200609111330.44632.rolf.frogs@...221...> Message-ID: <200609111949.00754.ronstk@...239...> On Monday 11 September 2006 13:30, rolf wrote: > Hi, > > I've got a lot of help from you and still need some more. > Can some one give me a hint how I can set an element (in my case a listbox) in > the foreground by setting a property from within the programm. Attached you > find a screen shot which illustrated the problem. > > Thanks > Rolf > Listbox.Raise & Listbox.Lower .Raise & .Lower :) Ron From ronstk at ...239... Mon Sep 11 20:00:14 2006 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 11 Sep 2006 20:00:14 +0200 Subject: [Gambas-user] Money type in correct representation PT_BR In-Reply-To: References: Message-ID: <200609112000.14208.ronstk@...239...> On Monday 11 September 2006 15:08, Fabricio Silva wrote: > PRINT (global.rs1[arrtable[Column]]) > just before: > global.rs1.MoveTo(Row) > And saw it repeat the value many times. Why? > Nothing wrong. It is the screen refresh that request data for the table view if you scroll the view and/or move other objects above th tableview. Add to the print the Row and Column > PRINT (global.rs1[arrtable[Column]]);" row= ";Row;" Col=";Column From rohnny at ...1248... Mon Sep 11 20:29:20 2006 From: rohnny at ...1248... (R. Stormo) Date: Mon, 11 Sep 2006 11:29:20 -0700 (PDT) Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> References: <200609111735.58247.gambas@...1...> Message-ID: <6252210.post@...1379...> Benoit Minisini wrote: > > * Updated. > > GB.PDF COMPONENT > > * BUG: The component should compile with poppler 0.5 now. > > > Compiled as it shold with poppler o.5. Thanks. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.42-tf2253135.html#a6252210 Sent from the gambas-user forum at Nabble.com. From stefanopalmeri at ...152... Mon Sep 11 21:19:06 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 11 Sep 2006 21:19:06 +0200 Subject: [Gambas-user] 1.9.42 can't browse properties --> components Message-ID: <200609112119.06577.stefanopalmeri@...152...> Hi, Benoit. I downloaded 1.9.42. Great work again. The help finally works! On the other hand, I discovered that the old help browser bug is now present when trying to get information about components. From rohnny at ...1248... Mon Sep 11 21:29:24 2006 From: rohnny at ...1248... (R. Stormo) Date: Mon, 11 Sep 2006 12:29:24 -0700 (PDT) Subject: [Gambas-user] 1.9.42 can't browse properties --> components In-Reply-To: <200609112119.06577.stefanopalmeri@...152...> References: <200609112119.06577.stefanopalmeri@...152...> Message-ID: <6253173.post@...1379...> Stefano Palmeri-2 wrote: > > > Hi, Benoit. > > I downloaded 1.9.42. Great work again. > The help finally works! > > Agree, Great work. I can't get F1, helpbrowser to work either. I get this in my console. sh: konqueror: command not found Not so strange because kongueror is not present on my system. What about a config files that was sayd earlier, where we could set browser excluded folders and topfolder for projects. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/1.9.42-can%27t-browse-properties---%3E-components-tf2254411.html#a6253173 Sent from the gambas-user forum at Nabble.com. From jfabiani at ...1109... Tue Sep 12 01:16:11 2006 From: jfabiani at ...1109... (johnf) Date: Mon, 11 Sep 2006 16:16:11 -0700 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> References: <200609111735.58247.gambas@...1...> Message-ID: <200609111616.11074.jfabiani@...1109...> I have compiled gambas since 1.9.39 (all worked back then). I configure without error and I think the make passes too. But when I attempt to run gambas2 I get the following error: Error #49: Not a directory /usr/local/bin/gambas2/.project SUSE 10.1 John On Monday 11 September 2006 08:35, Benoit Minisini wrote: > Hi, > > This release has many changes in the gb.qt component and gb.settings that > will break your projects: > > * The Dialog.Filter syntax is now the same as the gb.form FileChooser > control. > > * All Mode properties now uses the constants from the Select class. Other > selection mode constants have been removed. The following classes are > impacted: ListBox, ListView, GridView, TreeView, IconView, ColumnView. > TableView will be modified too in the future. > > * IconView GridX and GridY properties have been replaced by the GridWidth > and GridHeight properties. > > * HBox, VBox, HPanel and VPanel have an AutoResize property now, which is > not set by default, contrary to the old behaviour. The arrangement > algorithm has changed a bit, so your forms may display differently. > > * The Settings class now stores Window and SidePanel settings differently. > This will mainly break the saved positions of IDE windows. > > You may have edit your form files by hand to fix the use of some > properties. Or you can open them in the IDE, and fix the properties that > have changed, and save them. > > Otherwise, there are some enhancements in the IDE: > > * Optimizations in project loading: in the previous versions, the default > value of a control property was calculated by creating an hidden control. > Now no control is created, but the default value must be declared in the > control hidden constant describing its properties (namely '_Properties'). I > updated all _Properties everywhere, but if one has been forgotten, you may > get false default values when inserting a control inside the form editor. > > * Support for symbolic links. By using symbolic links, you can share forms, > classes, modules or any file between two different projects. You cannot > edit the file pointed by the symbolic link in the IDE. > > * A better translation dialog, thanks to Charlie Reinl. You can now > translate a project file by file. Charlie added some shortcuts: I just > remove the description of the shortcuts from the tooltips. They should go > in a help page on the wiki instead. > > * The old file creation dialogs have been replaced by a new one. > > There is a new DateChooser calendar control too. It replaces the DatePicker > that was depending on KDE. > > Here is the full ChangeLog: > > --------------------------------------------------------------------------- >---- > > DEVELOPMENT ENVIRONMENT > > * NEW: Support for default control dimensions. > * NEW: No control is created anymore to get default value of properties. > This is experimental, as this implies that all controls defines these > default values in the '_Properties' constant. > * NEW: When you save a source file, a comment telling that it is a Gambas > source file is automatically inserted at the beginning of the file. > * NEW: Old file creation dialogs have been removed, and replaced by a > unique one. > * NEW: You can insert symbolic links inside your project. Their support is > experimental. > * NEW: The find list now is displayed in its own tool window, and not > inside the project tree anymore > * NEW: Project tree refresh has been optimized. > * NEW: The output console now handles the '\r' and '\t' control characters. > * NEW: The control property sheet has more support of properties kinds. > * NEW: The project version can be got from the output of an external > program. > * NEW: The quit dialog has been redesigned. > * NEW: The control toolbox has been redesigned around a TabStrip. > * NEW: The translation dialog has been enhanced, thanks to Charlie Reinl. > * NEW: IDE workspace now uses the same icon as the project tree. > * BUG: The IDE does not break anymore when the user component path does not > exist. > * BUG: Search inside procedure has been fixed, and should not enter an > endless loop anymore. > * BUG: The position of controls dropped on the form editor should be > correct now. > * BUG: You can specify that the stack size keeps its default value now. > * BUG: Needed features of a component are correctly saved now. > * BUG: Finding a Gambas subroutine in the help works now. > > DATABASE MANAGER > > * NEW: The interface now is based on the Workspace control. > * BUG: The use of ComboBox and ListBox List properties has been fixed. > > INTERPRETER > > * NEW: A new API, GB.RaiseLater(), that posts an event to an object. The > event must not take any parameter. > * NEW: Component.UserPath is now located in '~/.local'. > * BUG: The _free() methods are now called again when the _new() methods > fail. It finally crashes less than the fix in the previous version. > A real solution has to be found. > > COMPILER > > * BUG: Using expressions in optional parameters does not crash the compiler > anymore. > > GB.QT COMPONENT > > * NEW: ToolButton.Radio property has been implemented. > * NEW: Color.LightBackground is lighter. > * NEW: Container.Find is a new method that finds a child control from a > relative position. > * NEW: The Dialog.Filter syntax is now the same as the gb.form FileChooser > control. > * NEW: Draw.Resolution returns the resolution of the device being drawn in > digits per inches. > * NEW: All Mode properties now uses the constants from the Select class. > Other selection mode constants have been removed. > * NEW: IconView GridX and GridY properties have been replaced by the > GridWidth and GridHeight properties, those value is not in pixels > anymore, but in units of Desktop.Scale. > * NEW: HBox, VBox, HPanel and VPanel have an AutoResize property now, which > is not set by default, contrary to the old behaviour. > * NEW: ScrollView.Width and ScrollView.Height are two new properties that > return the dimension of the internal area. > * NEW: TreeView, ColumnView and ListView got a Cancel event, raised when > a item renaming has been canceled. > * NEW: Watcher now raises an Insert event when a new child is inserted in a > watched container. > * NEW: The default values of background and foreground colors are correctly > managed now. > * BUG: Some fixes in the Design property management. > * BUG: Setting the background or foreground color has been correctly > optimized. > * BUG: Some fixes in the arrangement algorithms. > * BUG: ScrollView arrangement is now correct when the ScrollView has a > border. > * BUG: TabStrip enables and disables tabs correctly now. > > GB.QT.EXT COMPONENT > > * NEW: Editor.Print is a new method that handles '\r' and '\t' control > characters. > * NEW: TableView now raises a Select event when the selection has changed. > This event is deferred. > * BUG: Editor now undoes insertion in a more clever way. > * BUG: Editor now refreshes without flickering when the entire edited text > is visible. > > GB.QT.KDE COMPONENT > > * NEW: The Dialog.Filter syntax is now the same as the gb.form FileChooser > control. > * NEW: DatePicker has been removed. > > GB.FORM COMPONENT > > * NEW: The CustomListBox control has been replaced by the ListContainer > container. > * NEW: Chooser controls now have a Value property. > * NEW: DateChooser, a calendar control for selecting a date. > * NEW: FileView now hides backup files, unless the 'show hidden files' > button is toggled. > * NEW: SidePanel.Settings is a new property that returns the SidePanel > state in a string. This property can be set too. > * BUG: FileChooser raises the Change event when the user changes the > current directory. > > GB.FORM.MDI COMPONENT > > * NEW: The Workspace tabstrip follows the mouse wheel now. > > GB.SETTINGS > > * NEW: The Settings class now stores Window and SidePanel settings > differently. > > GB.GTK COMPONENT > > * Updated. > > GB.PDF COMPONENT > > * BUG: The component should compile with poppler 0.5 now. > > --------------------------------------------------------------------------- >---- > > Enjoy it! > > Regards, From sirfabien at ...626... Tue Sep 12 10:35:30 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Tue, 12 Sep 2006 10:35:30 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> References: <200609111735.58247.gambas@...1...> Message-ID: <200609121035.30724.sirfabien@...626...> HArrrg ! What is that file selector ? There is two problem : First i think you must link the file type selector and the combo filter. Second how can i get a file out of my home directory ? in a cdrom for exemple ? third i think the form will be more usefull if you put the filetype selector out of the tabstrip. so it can be used as well in new mode and existant mode. I thing in this way that the last tab (new/existant) used must be saved as well as the last path used in the file selector (by filetype) Then a combo box may be sufficiant to manage the bookmarks. At the top of the dirview for exemple ? We can imagine that drag a dir from the dirview to the combobox will add a new bookmark. and a button on the side on the combobox will delete the current bookmark. simply be simple ! What about these ideas ? Fabien From sirfabien at ...626... Tue Sep 12 11:02:16 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Tue, 12 Sep 2006 11:02:16 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> References: <200609111735.58247.gambas@...1...> Message-ID: <200609121102.16303.sirfabien@...626...> this is the example of i want to say without path saving and bookmarks combo -------------- next part -------------- A non-text attachment was scrubbed... Name: FCreateFile.class Type: application/x-java Size: 6790 bytes Desc: not available URL: -------------- next part -------------- # Gambas Form File 1.0 { Form Form MoveScaled(0,0,86,60) 'Move(0,0,602,420) Text = ("New file") Icon = Picture["icon:/16/new"] Arrangement = Arrange.Vertical Spacing = 8 Padding = 8 { HBox2 HBox MoveScaled(1,-1,74,47) 'Move(7,-7,518,329) Expand = True Spacing = 3 { lstType ListContainer MoveScaled(1,2,23,32) 'Move(7,14,161,224) { panModule HBox MoveScaled(0,0,39,6) 'Move(0,0,273,42) Tag = "module" Spacing = 8 Padding = 8 { PictureBox2 PictureBox MoveScaled(1,1,4,4) 'Move(7,7,28,28) Picture = Picture["img/32/module.png"] Stretch = True Alignment = Align.Center } { Label6 Label MoveScaled(8,1,25,4) 'Move(56,7,175,28) Text = ("Module") } } { HBox1 HBox MoveScaled(0,6,39,6) 'Move(0,42,273,42) Tag = "class" Spacing = 8 Padding = 8 { PictureBox1 PictureBox MoveScaled(1,1,4,4) 'Move(7,7,28,28) Picture = Picture["img/32/class.png"] Stretch = True Alignment = Align.Center } { Label1 Label MoveScaled(7,1,25,4) 'Move(49,7,175,28) Text = ("Class") } } { panForm HBox MoveScaled(0,12,39,6) 'Move(0,84,273,42) Tag = "form" Spacing = 8 Padding = 8 { PictureBox3 PictureBox MoveScaled(1,1,4,4) 'Move(7,7,28,28) Picture = Picture["img/32/form.png"] Stretch = True Alignment = Align.Center } { Label2 Label MoveScaled(7,1,25,4) 'Move(49,7,175,28) Text = ("Form") } } { HBox5 HBox MoveScaled(0,18,27,6) 'Move(0,126,189,42) Tag = "image" Spacing = 8 Padding = 8 { PictureBox4 PictureBox MoveScaled(1,1,4,4) 'Move(7,7,28,28) Picture = Picture["icon:/48/image"] Stretch = True Alignment = Align.Center } { Label3 Label MoveScaled(6,1,16,4) 'Move(42,7,112,28) Text = ("Image") } } { HBox7 HBox MoveScaled(-1,23,39,6) 'Move(-7,161,273,42) Tag = "html" Spacing = 8 Padding = 8 { PictureBox6 PictureBox MoveScaled(1,1,4,4) 'Move(7,7,28,28) Picture = Picture["icon:/48/html"] Stretch = True Alignment = Align.Center } { Label5 Label MoveScaled(7,1,25,4) 'Move(49,7,175,28) Text = ("HTML file") } } { HBox4 HBox MoveScaled(-1,29,39,6) 'Move(-7,203,273,42) Tag = "text" Spacing = 8 Padding = 8 { PictureBox5 PictureBox MoveScaled(1,1,4,4) 'Move(7,7,28,28) Picture = Picture["icon:/48/text"] Stretch = True Alignment = Align.Center } { Label4 Label MoveScaled(7,1,25,4) 'Move(49,7,175,28) Text = ("Text") } } } { tabFile TabStrip MoveScaled(25,2,48,43) 'Move(175,14,336,301) Expand = True Arrangement = Arrange.Vertical Spacing = 8 Padding = 8 Count = 2 Index = 0 Text = ("New") { panOption VBox MoveScaled(9,2,27,32) 'Move(63,14,189,224) Expand = True Spacing = 8 { Label9 Label MoveScaled(0,0,25,3) 'Move(0,0,175,21) Font = Font["Bold"] Text = ("Name") } { txtName TextBox MoveScaled(0,3,26,3) 'Move(0,21,182,21) Text = ("") } { lblOption Label MoveScaled(0,7,25,3) 'Move(0,49,175,21) Font = Font["Bold"] Text = ("Options") } { panImageOption Panel MoveScaled(0,10,27,7) 'Move(0,70,189,49) Tag = "image" Expand = True { Label7 Label MoveScaled(1,0,12,3) 'Move(7,0,84,21) Text = ("Width") } { txtWidth SpinBox MoveScaled(13,0,11,3) 'Move(91,0,77,21) MinValue = 1 MaxValue = 1024 Step = 8 Suffix = " px" Value = 8 } { Label8 Label MoveScaled(1,4,12,3) 'Move(7,28,84,21) Text = ("Height") } { txtHeight SpinBox MoveScaled(13,4,11,3) 'Move(91,28,77,21) MinValue = 1 MaxValue = 1024 Step = 8 Suffix = " px" Value = 8 } { btnLinked ToggleButton MoveScaled(25,1,2,5) 'Move(175,7,14,35) Text = ("") Picture = Picture["img/32/linked.png"] Value = True } } { panFormOption Panel MoveScaled(0,18,27,3) 'Move(0,126,189,21) Tag = "form" { chkDialog CheckBox MoveScaled(1,0,24,3) 'Move(7,0,168,21) Text = ("Dialog box management") } } } Index = 1 Text = ("Existing") { fchExisting FileChooser MoveScaled(1,1,57,35) 'Move(7,7,399,245) Expand = True Filter = [] ReadOnly = True } { chkLink CheckBox MoveScaled(1,37,56,2) 'Move(7,259,392,14) Text = ("Create a symbolic link") } Index = 0 } } { HBox6 HBox MoveScaled(1,49,60,3) 'Move(7,343,420,21) Spacing = 8 { Panel1 Panel MoveScaled(11,0,4,3) 'Move(77,0,28,21) Expand = True } { btnOK Button MoveScaled(29,0,15,3) 'Move(203,0,105,21) Text = ("OK") Default = True } { btnCancel Button MoveScaled(45,0,15,3) 'Move(315,0,105,21) Text = ("Cancel") Cancel = True } } } From timothy.marshal-nichols at ...247... Tue Sep 12 12:25:40 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Tue, 12 Sep 2006 11:25:40 +0100 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> Message-ID: > > Hi, > > This release has many changes in the gb.qt component and > gb.settings that will > break your projects: > > * The Dialog.Filter syntax is now the same as the gb.form > FileChooser control. > I have updated the printing example to include the new format file filter. This new version has incorporated the additional printing examples. Could I make two comments about the file filter: 1. The Dialog in the component gb.qt.kde appears to use the old format file filter. This confused me as the first project I tried to update did not work with the new format. 2. The help has not been updated to explain the new format: gb.qt - has the old format, shown incorrectly gb.form - shows nothing gb.gtk - shows nothing gb.qt.kde - has the old format, shown incorrectly this makes it difficult to use. It appears the new format is not explained anywhere. Thanks 8-{)} Timothy Marshal-Nichols -------------- next part -------------- A non-text attachment was scrubbed... Name: Printing-0.0.4.tar.gz Type: application/x-gzip Size: 26533 bytes Desc: not available URL: From picander78 at ...325... Tue Sep 12 12:33:50 2006 From: picander78 at ...325... (Marco Gusy) Date: Tue, 12 Sep 2006 12:33:50 +0200 Subject: [Gambas-user] Problem executing gambas In-Reply-To: <4500898F.4050009@...1237...> References: <200609060114.57183.picander78@...325...> <200609071048.53000.picander78@...325...> <4500898F.4050009@...1237...> Message-ID: <200609121233.50739.picander78@...325...> Alle 23:05, gioved? 7 settembre 2006, Leonardo Miliani ha scritto: > Did you receive any error message during compiling? > Have you check that all the required libs are present on your system? After deep investigation i noticed gb.qt.kde didn't compile because of missing kde-config in path. I didn't know kde headers where mandatory to run gambas2... Thanks anyway :-) From rolf.frogs at ...221... Tue Sep 12 12:37:49 2006 From: rolf.frogs at ...221... (rolf) Date: Tue, 12 Sep 2006 12:37:49 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> References: <200609111735.58247.gambas@...1...> Message-ID: <200609121237.50129.rolf.frogs@...221...> Hi Benoit > This release has many changes in the gb.qt component and gb.settings that > will break your projects: What has happend with the TreeView control? In my applicatin a click does not expand the item - the cursor keys must been used. The cursor keys only expand an entry, but cannot been used to move to the next element. Did I something wrong or ar there new settings I do not understand or use? Many thanks for your answer Rolf BTW: My problem, to bring an element in the foreground (in front of any other element) could not be solved with the raise event. Is there another posibility? From timothy.marshal-nichols at ...247... Tue Sep 12 13:35:28 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Tue, 12 Sep 2006 12:35:28 +0100 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609121237.50129.rolf.frogs@...221...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > Sent: Tuesday, 12 September 2006 11:38 > To: mailing list for gambas users > Subject: Re: [Gambas-user] Release of gambas 1.9.42 > > > Hi Benoit > > > This release has many changes in the gb.qt component and > gb.settings that > > will break your projects: > > What has happend with the TreeView control? > In my applicatin a click does not expand the item - the cursor > keys must been > used. The cursor keys only expand an entry, but cannot been used > to move to > the next element. > > Did I something wrong or ar there new settings I do not > understand or use? The root option was removed in Gambas 1.9.40. Both in the TreeView and ColumnView. Not sure why as these controls looked a lot better with this option enabled. Apart from this the control appears to function as normal. > > Many thanks for your answer > > Rolf > > BTW: My problem, to bring an element in the foreground (in front > of any other > element) could not be solved with the raise event. Is there another > posibility? Logic like this appears to work: PRIVATE SUB SelectList(ListBoxNumber AS Integer) SELECT CASE ListBoxNumber CASE 1 ListBox1.Raise() CASE 2 ListBox2.Raise() DEFAULT Error.Raise("Invalid ListBox") END SELECT END Thanks 8-{)} Timothy Marshal-Nichols From buxaman at ...626... Tue Sep 12 15:14:40 2006 From: buxaman at ...626... (Fabricio Silva) Date: Tue, 12 Sep 2006 10:14:40 -0300 Subject: [Gambas-user] Money type in correct representation PT_BR In-Reply-To: <200609112000.14208.ronstk@...239...> References: <200609112000.14208.ronstk@...239...> Message-ID: Ok I undestood, But what abou the initial problem: replacing the dot for a comma when showing data in a tableview? Regards Fabr?cio From stefanopalmeri at ...152... Tue Sep 12 16:49:33 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Tue, 12 Sep 2006 16:49:33 +0200 Subject: [Gambas-user] Money type in correct representation PT_BR In-Reply-To: References: <200609112000.14208.ronstk@...239...> Message-ID: <200609121649.33876.stefanopalmeri@...152...> Alle 15:14, marted? 12 settembre 2006, Fabricio Silva ha scritto: > Ok I undestood, > > But what abou the initial problem: replacing the dot for a comma when > showing data in a tableview? > > Regards Fabr?cio If I understood, you mean replacing the last dot with a comma. This method works only if your value has ALWAYS the last two decimals. PUBLIC SUB Main() DIM sPrice AS String 'this a wrong value sPrice = "1,234,56" 'first, we replace all commas with dots sPrice = Replace$(sPrice, ",", ".") 'then we replace the last dot with a comma sPrice = Left$(sPrice, Len(sPrice) - 3) & "," & Right$(sPrice, 2) PRINT sPrice END > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Sep 12 19:36:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Sep 2006 19:36:34 +0200 Subject: [Gambas-user] Problem executing gambas In-Reply-To: <200609121233.50739.picander78@...325...> References: <200609060114.57183.picander78@...325...> <4500898F.4050009@...1237...> <200609121233.50739.picander78@...325...> Message-ID: <200609121936.34144.gambas@...1...> On Tuesday 12 September 2006 12:33, Marco Gusy wrote: > Alle 23:05, gioved? 7 settembre 2006, Leonardo Miliani ha scritto: > > Did you receive any error message during compiling? > > Have you check that all the required libs are present on your system? > > After deep investigation i noticed gb.qt.kde didn't compile because of > missing kde-config in path. I didn't know kde headers where mandatory to > run gambas2... > Thanks anyway :-) > gb.qt.kde is not mandatory to run gambas2. I think there is a problem somewhere else... -- Benoit Minisini From gambas at ...1... Tue Sep 12 19:40:01 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Sep 2006 19:40:01 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609121035.30724.sirfabien@...626...> References: <200609111735.58247.gambas@...1...> <200609121035.30724.sirfabien@...626...> Message-ID: <200609121940.01451.gambas@...1...> On Tuesday 12 September 2006 10:35, Fabien Bodard wrote: > HArrrg ! > > What is that file selector ? > > There is two problem : > > First i think you must link the file type selector and the combo filter. > > Second how can i get a file out of my home directory ? > in a cdrom for exemple ? > > third i think the form will be more usefull if you put the filetype > selector out of the tabstrip. so it can be used as well in new mode and > existant mode. I thing in this way that the last tab (new/existant) used > must be saved as well as the last path used in the file selector (by > filetype) > > Then a combo box may be sufficiant to manage the bookmarks. At the top of > the dirview for exemple ? We can imagine that drag a dir from the dirview > to the combobox will add a new bookmark. > > and a button on the side on the combobox will delete the current bookmark. > > simply be simple ! > > What about these ideas ? > > Fabien > I didn't merge your file selector yet. I thought you would send me another version, so I released this version with the default one. I should have tell you, but I usually put in the ChangeLog things that were done, not things was not done yet. :-) Regards, -- Benoit Minisini From gambas at ...1... Tue Sep 12 19:44:55 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Sep 2006 19:44:55 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609121237.50129.rolf.frogs@...221...> References: <200609111735.58247.gambas@...1...> <200609121237.50129.rolf.frogs@...221...> Message-ID: <200609121944.56045.gambas@...1...> On Tuesday 12 September 2006 12:37, rolf wrote: > Hi Benoit > > > This release has many changes in the gb.qt component and gb.settings that > > will break your projects: > > What has happend with the TreeView control? > In my applicatin a click does not expand the item - the cursor keys must > been used. The cursor keys only expand an entry, but cannot been used to > move to the next element. Do you have more details? A project excerpt for example. Do you use Expand, Collapse or Select event handlers? > > Did I something wrong or ar there new settings I do not understand or use? > > Many thanks for your answer > > Rolf > > BTW: My problem, to bring an element in the foreground (in front of any > other element) could not be solved with the raise event. Is there another > posibility? > Raise() will bring a widget in front of the others, but in the same window. If you want to display somethings in front of everything on the screen, you have to create a borderless top-only window. Regards, -- Benoit Minisini From gambas at ...1... Tue Sep 12 19:45:32 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 12 Sep 2006 19:45:32 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: References: Message-ID: <200609121945.33034.gambas@...1...> On Tuesday 12 September 2006 13:35, Timothy Marshal-Nichols wrote: > > -----Original Message----- > > From: gambas-user-bounces at lists.sourceforge.net > > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > > Sent: Tuesday, 12 September 2006 11:38 > > To: mailing list for gambas users > > Subject: Re: [Gambas-user] Release of gambas 1.9.42 > > > > > > Hi Benoit > > > > > This release has many changes in the gb.qt component and > > > > gb.settings that > > > > > will break your projects: > > > > What has happend with the TreeView control? > > In my applicatin a click does not expand the item - the cursor > > keys must been > > used. The cursor keys only expand an entry, but cannot been used > > to move to > > the next element. > > > > Did I something wrong or ar there new settings I do not > > understand or use? > > The root option was removed in Gambas 1.9.40. Both in the TreeView and > ColumnView. Not sure why as these controls looked a lot better with this > option enabled. Apart from this the control appears to function as normal. > I removed this option because GTK+ does not support it. Regards, -- Benoit Minisini From linux at ...1581... Wed Sep 13 04:36:53 2006 From: linux at ...1581... (DivTech) Date: Tue, 12 Sep 2006 19:36:53 -0700 (PDT) Subject: [Gambas-user] Compiling Gambas 1.9.42 libXrender.la Problem Message-ID: <6278033.post@...1379...> Hi, Trying to compile 1.9.42 on Mandriva 2006, and getting the following error during make. I imagine that it's something wrong with my libraries, does anyone know how to rectify this? I looked around the web and it appears the .la file may not even be used anymore with the new libraries. /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -o gb.gtk.la -rpath /usr/local/lib/gambas2 -module -no-undefined gmemory.lo html.lo gtree.lo gtools.lo gstock.lo gfont.lo gpicture.lo gdraw.lo gdesktop.lo gmessage.lo gcontrol.lo gcontainer.lo gseparator.lo gbutton.lo gprogress.lo gslider.lo glabel.lo gsignals.lo gpicturebox.lo gcombobox.lo gtextbox.lo gtextarea.lo glistbox.lo gspinbox.lo glistview.lo gcolumnview.lo ggridview.lo gtreeview.lo giconview.lo gframe.lo gsplitter.lo gtabstrip.lo gscrollview.lo gmenu.lo gtrayicon.lo gmainwindow.lo watcher.lo CStock.lo CConst.lo CColor.lo CFont.lo CKey.lo CScreen.lo CMessage.lo CDialog.lo CDraw.lo CImage.lo CPicture.lo CClipboard.lo CMouse.lo CWatcher.lo CWidget.lo CContainer.lo CSeparator.lo CDrawingArea.lo CLabel.lo CProgress.lo CSlider.lo CButton.lo CPictureBox.lo CTextBox.lo CTextArea.lo CSpinBox.lo CListBox.lo CListView.lo tablerender.lo CGridView.lo CTreeView.lo CIconView.lo CColumnView.lo CFrame.lo CSplitter.lo CTabStrip.lo CScrollView.lo CMenu.lo CTrayIcon.lo CWindow.lo main.lo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 grep: /usr/lib/libXrender.la: No such file or directory /bin/sed: can't read /usr/lib/libXrender.la: No such file or directory libtool: link: `/usr/lib/libXrender.la' is not a valid libtool archive make[4]: *** [gb.gtk.la] Error 1 make[4]: Leaving directory `/backup/gambas2-1.9.42/gb.gtk/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/backup/gambas2-1.9.42/gb.gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/backup/gambas2-1.9.42/gb.gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/backup/gambas2-1.9.42' make: *** [all] Error 2 -- View this message in context: http://www.nabble.com/Compiling-Gambas-1.9.42-libXrender.la-Problem-tf2262647.html#a6278033 Sent from the gambas-user forum at Nabble.com. From timothy.marshal-nichols at ...247... Wed Sep 13 13:21:42 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Wed, 13 Sep 2006 12:21:42 +0100 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> Message-ID: > This release has many changes in the gb.qt component and > gb.settings that will > break your projects: > > * The Dialog.Filter syntax is now the same as the gb.form > FileChooser control. > > The new file filter syntax appears to be a right mess: 1. For the gb.qt dialog you need to use the following syntax to get multiple file types from the Dialog: Dialog.Filter = ["*.jpeg *.jpg", "Joint Photographic Experts Group"] Note the space. 2. For the gb.form dialog and control you need to use the following syntax to get multiple file types: Dialog.Filter = ["*.jpeg;*.jpg", "Joint Photographic Experts Group"] Note the ; 3. For the gb.qt.kde dialog you need to use the following syntax to get multiple file types from the Dialog: Dialog.Filter = ["Joint Photographic Experts Group (*.jpeg *.jpg)"] Note the space. 4. For the gb.gtk dialog you need to use the following syntax to get multiple file types from the Dialog: Dialog.Filter = ["Joint Photographic Experts Group (*.jpeg;*.jpg)"] Note the ; That's ***FOUR*** different formats for the file filter!!!!!!! I have spent some time going through my projects updating the file filter. For you this change might be just change some array type. But I have quite a few projects that open files. So the change involves quite a lot of work. Not only that I gain nothing from these changes, just extra work. And it looks like I going to have to go through it all again when this mess is fixed. Also none of dialogs/control have valid help for the file format. Thanks 8-{)} Timothy Marshal-Nichols From warren at ...1582... Wed Sep 13 18:04:34 2006 From: warren at ...1582... (Bob Warren) Date: Wed, 13 Sep 2006 13:04:34 -0300 Subject: [Gambas-user] A suggestion for simplifying the distribution of Gambas apps Message-ID: <45082C12.5060201@...1582...> Dear Benoit and colleagues: First of all, congratulations on producing what promises to be a wonderful product. I hope that Gambas really catches on throughout the programming community as it deserves. The version of Gambas I am using is 1.0.13 available with Ubuntu. I have no intention of using anything other than whatever version of Gambas is easily installable. It is a pity that for some reason Ubuntu is not offering the latest stable version. In version 1.0.13, I can make an executable object program, but attempts to make a (Debian) packaged version fail. Perhaps this has been fixed in later versions, I don't know. As far as I can see, the executable I can successfully produce is more or less like a Windows executable, i.e. it depends on pre-installed libraries in the operating system. This always was a pain in the arse in Windows, and continues to be so in Linux and Gambas it seems. However, if I want my users to run my executable programs with no hassle, one easy way is to ask them to install Gambas itself first (which is very quick and automatic in Ubuntu) to get the runtimes into the system. Thereafter, the executables should run with no trouble***. Not perfectly straightforward, but no more trouble really than doing a conventional Windows-style setup. [*** Not entirely true. If I change the name of the executable file - e.g. from "myprog.exe" to "my_new_prog" - it doesn't run anymore, even though it maintains its supposedly 'executable' permission status.] Regarding the packaging option in Gambas, it seems to me that this option is a little too ambitious considering the numbers of different Linuxes out there and the rate at which they change. The packaging wizard even tries to take a pre-established desktop menu system into account for example. I don't know too much about the technical considerations, but it seems to me that such things put Gambas on a slippery slope from the very outset, and perhaps this is one reason why it fails in Ubuntu with version 1.0.13. Since I do not have the patience or technical competence for compiling programs, sorting out dependency hells, reverting to Linux's version of DOS and so on, I dream of a simpler solution to the potential distribution of programs I may produce in Gambas in the future: the STANDALONE. A single standalone executable program can be run from any part of the file system, including the desktop in most cases, and has all that it needs bundled with it for that particular Linux distro. You don't get a nice menu item inserted for you automatically, but in compensation you have a system which is much quicker, simpler, and more reliable. How about introducing the STANDALONE EXECUTABLE into Gambas? Best regards to all, Bob Warren From ronstk at ...239... Wed Sep 13 19:19:16 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 13 Sep 2006 19:19:16 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609121944.56045.gambas@...1...> References: <200609111735.58247.gambas@...1...> <200609121237.50129.rolf.frogs@...221...> <200609121944.56045.gambas@...1...> Message-ID: <200609131919.16907.ronstk@...239...> On Tuesday 12 September 2006 19:44, Benoit Minisini wrote: > On Tuesday 12 September 2006 12:37, rolf wrote: > > Hi Benoit > > > > > This release has many changes in the gb.qt component and gb.settings that > > > will break your projects: > > > > What has happend with the TreeView control? > > In my applicatin a click does not expand the item - the cursor keys must > > been used. The cursor keys only expand an entry, but cannot been used to > > move to the next element. > > Do you have more details? A project excerpt for example. Do you use Expand, > Collapse or Select event handlers? > I do use it. The treeview/columnview points to a bunch of subfolders. I do read subfolders in the parent folder (the root line) only if I expand the folder (clicking on the plus). The SELECT is used to fill the listview part of the columnview. The collapse is used to free the used memory of control data which is used when the folder is EXPANDed. i.e. root has 10 group folders every group has 25 subfolders. Those subfolders have between 10 and 2000 subfolders below. More visible for you is when it is the root of the disk and you click on the plus to expand the /usr directory. Should I traverse the whole /usr and /usr/share, /usr/lib, usr/include on start and I only need the /usr/local/bin map? Do I understand that I have to traverse all!!!! those folders now on start of the application and be not able to only read those folder on 'SELECT' or 'EXPAND' events by choise of the user ?????? Cant store all folder names, now stored in mysql, in memory of the box. Then it will be the end of gambas for me, at least the project I working on for my employer is over. Sad Ron. From ronstk at ...239... Wed Sep 13 19:26:06 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 13 Sep 2006 19:26:06 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609121945.33034.gambas@...1...> References: <200609121945.33034.gambas@...1...> Message-ID: <200609131926.06223.ronstk@...239...> On Tuesday 12 September 2006 19:45, Benoit Minisini wrote: > On Tuesday 12 September 2006 13:35, Timothy Marshal-Nichols wrote: > > > -----Original Message----- > > > From: gambas-user-bounces at lists.sourceforge.net > > > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of rolf > > > Sent: Tuesday, 12 September 2006 11:38 > > > To: mailing list for gambas users > > > Subject: Re: [Gambas-user] Release of gambas 1.9.42 > > > > > > > > > Hi Benoit > > > > > > > This release has many changes in the gb.qt component and > > > > > > gb.settings that > > > > > > > will break your projects: > > > > > > What has happend with the TreeView control? > > > In my applicatin a click does not expand the item - the cursor > > > keys must been > > > used. The cursor keys only expand an entry, but cannot been used > > > to move to > > > the next element. > > > > > > Did I something wrong or ar there new settings I do not > > > understand or use? > > > > The root option was removed in Gambas 1.9.40. Both in the TreeView and > > ColumnView. Not sure why as these controls looked a lot better with this > > option enabled. Apart from this the control appears to function as normal. > > > > I removed this option because GTK+ does not support it. > > Regards, > Then this is bad in GTK+. Is it not possible to add those functionality in the gb.gtk component such that it act the same as in QT? This is BTW the reason I'm happy with SuSE with the dual Desktop. I can use Konqueror as filemanager when I use GTK as main Desktop. Ron From sourceforge-raindog2 at ...94... Wed Sep 13 19:50:04 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 13 Sep 2006 13:50:04 -0400 Subject: [Gambas-user] A suggestion for simplifying the distribution of Gambas apps In-Reply-To: <45082C12.5060201@...1582...> References: <45082C12.5060201@...1582...> Message-ID: <200609131350.04642.sourceforge-raindog2@...94...> On Wednesday 13 September 2006 12:04, Bob Warren wrote: > A single standalone executable program can be run from any > part of the file system, including the desktop in most cases, > and has all that it needs bundled with it for that particular > Linux distro. You don't get a nice menu item inserted for you > automatically, but in compensation you have a system which is > much quicker, simpler, and more reliable. How about > introducing the STANDALONE EXECUTABLE into Gambas? We've talked about that in the past, and a lot of us would like it. Here's what's needed for that to happen: 1. The Gambas interpreter needs to be made into a shared library (.so, like a .dll in Windows). At that point, "gbx2" or "gbr2" or whatever the executable is named would just be a stub that loads the library and passes its arguments. 2. That Gambas interpreter library, and all the Gambas component libraries, need to be have static versions made of them so that they can be embedded into executables at link time. 3. Finally, the Gambas archiver program needs to be changed so that instead of just sticking "#!env gbx2" or whatever at the beginning so it gets treated like a shell script, it wraps the Gambas archive in a wrapper executable that links to the Gambas interpreter and links in any needed components, either dynamically or statically based on a new option. A while back, I took a stab at making a Gambas component library static. My gcc-fu was too weak to make it work. Someone with a pretty intimate knowledge of Gambas but who's better at using GCC and the linker is going to need to do this. I know it's not high on Benoit's priority list, so we're just waiting for someone who wants it to happen (like you and me) with the skills necessary to do it (unlike you and me) to come along. Rob From gambas at ...1... Thu Sep 14 19:22:00 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Sep 2006 19:22:00 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609131919.16907.ronstk@...239...> References: <200609111735.58247.gambas@...1...> <200609121944.56045.gambas@...1...> <200609131919.16907.ronstk@...239...> Message-ID: <200609141922.00268.gambas@...1...> On Wednesday 13 September 2006 19:19, Ron Onstenk wrote: > On Tuesday 12 September 2006 19:44, Benoit Minisini wrote: > > On Tuesday 12 September 2006 12:37, rolf wrote: > > > Hi Benoit > > > > > > > This release has many changes in the gb.qt component and gb.settings > > > > that will break your projects: > > > > > > What has happend with the TreeView control? > > > In my applicatin a click does not expand the item - the cursor keys > > > must been used. The cursor keys only expand an entry, but cannot been > > > used to move to the next element. > > > > Do you have more details? A project excerpt for example. Do you use > > Expand, Collapse or Select event handlers? > > I do use it. > > The treeview/columnview points to a bunch of subfolders. > I do read subfolders in the parent folder (the root line) only > if I expand the folder (clicking on the plus). > The SELECT is used to fill the listview part of the columnview. > The collapse is used to free the used memory of control data > which is used when the folder is EXPANDed. > > i.e. root has 10 group folders > every group has 25 subfolders. > Those subfolders have between 10 and 2000 subfolders below. > > More visible for you is when it is the root of the disk and > you click on the plus to expand the /usr directory. > Should I traverse the whole /usr and /usr/share, /usr/lib, usr/include > on start and I only need the /usr/local/bin map? > > Do I understand that I have to traverse all!!!! those folders > now on start of the application and be not able to only > read those folder on 'SELECT' or 'EXPAND' events by choise of the > user ?????? > Cant store all folder names, now stored in mysql, in memory of the box. > > Then it will be the end of gambas for me, at least the project I > working on for my employer is over. > > Sad Ron. > Sorry to say that, but this is always the risk when using a development version. But don't worry, there is always a solution, and I don't want you to be sad. :-) There was a change in the Select event. It is now deferred, i.e. sent at the return of the event loop. Maybe this is the source of the problem, I don't know. I have to that, because sometimes events sent immediately makes the underlying QT widget behave badly, or even crash! Anyway, the DirView control does exactly what you need: it reads the directory contents only if you expand it, not before. So I suggest you read the source code that manage the directory tree of DirView to understand what is wrong. The file is FDirChooser, and is located in the gb.form component project. You can send me your project too, or the part of your project that manages the directory view. If I have time, I will look at it. Otherwise, why don't you use directly the DirView control? Regards, -- Benoit Minisini From gambas at ...1... Thu Sep 14 19:24:10 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Sep 2006 19:24:10 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: References: Message-ID: <200609141924.10901.gambas@...1...> On Wednesday 13 September 2006 13:21, Timothy Marshal-Nichols wrote: > > This release has many changes in the gb.qt component and > > gb.settings that will > > break your projects: > > > > * The Dialog.Filter syntax is now the same as the gb.form > > FileChooser control. > > The new file filter syntax appears to be a right mess: > > 1. For the gb.qt dialog you need to use the following syntax to get > multiple file types from the Dialog: > > Dialog.Filter = ["*.jpeg *.jpg", "Joint Photographic Experts Group"] > Note the space. > > 2. For the gb.form dialog and control you need to use the following syntax > to get multiple file types: > > Dialog.Filter = ["*.jpeg;*.jpg", "Joint Photographic Experts Group"] > Note the ; > > 3. For the gb.qt.kde dialog you need to use the following syntax to get > multiple file types from the Dialog: > > Dialog.Filter = ["Joint Photographic Experts Group (*.jpeg *.jpg)"] > Note the space. > > 4. For the gb.gtk dialog you need to use the following syntax to get > multiple file types from the Dialog: > Dialog.Filter = ["Joint Photographic Experts Group (*.jpeg;*.jpg)"] > Note the ; > > That's ***FOUR*** different formats for the file filter!!!!!!! > > I have spent some time going through my projects updating the file filter. > For you this change might be just change some array type. But I have quite > a few projects that open files. So the change involves quite a lot of work. > Not only that I gain nothing from these changes, just extra work. And it > looks like I going to have to go through it all again when this mess is > fixed. > > Also none of dialogs/control have valid help for the file format. > > Thanks > > 8-{)} Timothy Marshal-Nichols > > Yes, it is a bunch of crap. I will fix that in the next release, except in the gb.gtk component. But I'm sure Daniel will do that. I chose the following syntax for the filters: [ "*.XXX;*.YYY", "First filter", "*.AAA", "Second filter", ... ] Regards, -- Benoit Minisini From gambas at ...1... Thu Sep 14 19:25:01 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Sep 2006 19:25:01 +0200 Subject: [Gambas-user] Object.Attach Problem In-Reply-To: <6251265.post@...1379...> References: <6251265.post@...1379...> Message-ID: <200609141925.01173.gambas@...1...> On Monday 11 September 2006 19:33, R. Stormo wrote: > I have a prolem with Object.Attach. > > When this is set Object.Attach(myform, ME, "myform") > > the form_resize does not work as it should > > sub form_resize () > > Panel1.Width = ME.Width > Print "hello" > > end > > When the object.attach is set then print hello does work but not > pane1.width. When I disable the object.attach > > the function is working as it should. Is there a sensible answer for this? > > > Regards Rohnny > http://forum.stormweb.no If your event name is "myform", then your event handler must be named "myform_resize". Regards, -- Benoit Minisini From gambas at ...1... Thu Sep 14 19:26:06 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Sep 2006 19:26:06 +0200 Subject: [Gambas-user] Compiling Gambas 1.9.42 libXrender.la Problem In-Reply-To: <6278033.post@...1379...> References: <6278033.post@...1379...> Message-ID: <200609141926.06374.gambas@...1...> On Wednesday 13 September 2006 04:36, DivTech wrote: > Hi, > > Trying to compile 1.9.42 on Mandriva 2006, and getting the following error > during make. I imagine that it's something wrong with my libraries, does > anyone know how to rectify this? I looked around the web and it appears > the .la file may not even be used anymore with the new libraries. > > > /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -Wall -fno-exceptions > -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -o > gb.gtk.la -rpath /usr/local/lib/gambas2 -module -no-undefined gmemory.lo > html.lo gtree.lo gtools.lo gstock.lo gfont.lo gpicture.lo gdraw.lo > gdesktop.lo gmessage.lo gcontrol.lo gcontainer.lo gseparator.lo gbutton.lo > gprogress.lo gslider.lo glabel.lo gsignals.lo gpicturebox.lo gcombobox.lo > gtextbox.lo gtextarea.lo glistbox.lo gspinbox.lo glistview.lo > gcolumnview.lo ggridview.lo gtreeview.lo giconview.lo gframe.lo > gsplitter.lo gtabstrip.lo gscrollview.lo gmenu.lo gtrayicon.lo > gmainwindow.lo watcher.lo CStock.lo CConst.lo CColor.lo CFont.lo CKey.lo > CScreen.lo CMessage.lo CDialog.lo CDraw.lo CImage.lo CPicture.lo > CClipboard.lo CMouse.lo CWatcher.lo CWidget.lo CContainer.lo CSeparator.lo > CDrawingArea.lo CLabel.lo > CProgress.lo CSlider.lo CButton.lo CPictureBox.lo CTextBox.lo CTextArea.lo > CSpinBox.lo CListBox.lo CListView.lo tablerender.lo CGridView.lo > CTreeView.lo CIconView.lo CColumnView.lo CFrame.lo CSplitter.lo > CTabStrip.lo CScrollView.lo CMenu.lo CTrayIcon.lo CWindow.lo main.lo > -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 > -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > grep: /usr/lib/libXrender.la: No such file or directory > /bin/sed: can't read /usr/lib/libXrender.la: No such file or directory > libtool: link: `/usr/lib/libXrender.la' is not a valid libtool archive > make[4]: *** [gb.gtk.la] Error 1 > make[4]: Leaving directory `/backup/gambas2-1.9.42/gb.gtk/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/backup/gambas2-1.9.42/gb.gtk' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/backup/gambas2-1.9.42/gb.gtk' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/backup/gambas2-1.9.42' > make: *** [all] Error 2 Surely a missing development package. Just use the Mandrake control center to search for the package that includes the file 'libXrender.la'. It should tell you which package to install. Regards, -- Benoit Minisini From gambas at ...1... Thu Sep 14 19:40:38 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Sep 2006 19:40:38 +0200 Subject: [Gambas-user] A suggestion for simplifying the distribution of Gambas apps In-Reply-To: <45082C12.5060201@...1582...> References: <45082C12.5060201@...1582...> Message-ID: <200609141940.38887.gambas@...1...> On Wednesday 13 September 2006 18:04, Bob Warren wrote: > Dear Benoit and colleagues: > > First of all, congratulations on producing what promises to be a > wonderful product. I hope that Gambas really catches on throughout the > programming community as it deserves. > > The version of Gambas I am using is 1.0.13 available with Ubuntu. I have > no intention of using anything other than whatever version of Gambas is > easily installable. It is a pity that for some reason Ubuntu is not > offering the latest stable version. > I know. > In version 1.0.13, I can make an executable object program, but attempts > to make a (Debian) packaged version fail. Perhaps this has been fixed in > later versions, I don't know. > > As far as I can see, the executable I can successfully produce is more > or less like a Windows executable, i.e. it depends on pre-installed > libraries in the operating system. This always was a pain in the arse in > Windows, and continues to be so in Linux and Gambas it seems. However, > if I want my users to run my executable programs with no hassle, one > easy way is to ask them to install Gambas itself first (which is very > quick and automatic in Ubuntu) to get the runtimes into the system. > Thereafter, the executables should run with no trouble***. Not perfectly > straightforward, but no more trouble really than doing a conventional > Windows-style setup. > > [*** Not entirely true. If I change the name of the executable file - > e.g. from "myprog.exe" to "my_new_prog" - it doesn't run anymore, even > though it maintains its supposedly 'executable' permission status.] Hmmm. It should work. Maybe this is a bug. > > > Regarding the packaging option in Gambas, it seems to me that this > option is a little too ambitious considering the numbers of different > Linuxes out there and the rate at which they change. I agree. But I had to try! > The packaging > wizard even tries to take a pre-established desktop menu system into > account for example. I don't know too much about the technical > considerations, but it seems to me that such things put Gambas on a > slippery slope from the very outset, and perhaps this is one reason why > it fails in Ubuntu with version 1.0.13. The menu organization seems to standardize (slowly, we are on Linux). Anyway, I think I will use the Portland scripts that allows to install menu shortcuts in an distribution & desktop independant way. > > Since I do not have the patience or technical competence for compiling > programs, sorting out dependency hells, reverting to Linux's version of > DOS and so on, I dream of a simpler solution to the potential > distribution of programs I may produce in Gambas in the future: the > STANDALONE. > > A single standalone executable program can be run from any part of the > file system, including the desktop in most cases, and has all that it > needs bundled with it for that particular Linux distro. You don't get a > nice menu item inserted for you automatically, but in compensation you > have a system which is much quicker, simpler, and more reliable. How > about introducing the STANDALONE EXECUTABLE into Gambas? > > Best regards to all, > Bob Warren > The two big problems with standalone executables are: 1) Complexity: you don't have to compile statically, but you have to make a package that includes all needed libraries, a bit like what klik does. 2) Security: as the program uses its own libraries, security updates change nothing for them. This is a huge problem, and because of that, I am against standalone executables. I think the real solution is having a standard way of installing menu shortcuts and a standard way of making packages. In Gambas 2, the packager will be rewritten, and I hope it will allow making RPMs, DEBs and Slackware packages correctly. Regards, -- Benoit Minisini From warren at ...1582... Thu Sep 14 21:28:49 2006 From: warren at ...1582... (Bob Warren) Date: Thu, 14 Sep 2006 16:28:49 -0300 Subject: [Gambas-user] A suggestion for simplifying the distribution of Gambas apps Message-ID: <4509AD71.5010405@...1582...> Thanks very much indeed to Benoit and Rob for the great explanations. I don't particularly want to get involved in the technical fors and againsts of this issue, since I am not really qualified to do so. However, I have been using Runtime Revolution for some time, and their standalone executables work 100% on all distros I have tried, no matter whether it is Debian, Red Hat, or even Puppy Linux. For the programmer creating and distributing his apps, this is a dream come true. They don't seem to have had a lot of trouble setting it up, but of course I don't know what they think of the security considerations such as Benoit put forward. Whatever system is adopted, it is obviously important that it should actually work! Gambas itself is a masterpiece of simplicity and elegance, so it would be a pity if the method of distributing apps failed to correspond. Since the setup and running of apps represents the "shop window" of not only the apps themselves but also Gambas, I suggest that perhaps this question should be given greater priority than hitherto. Regards, Bob Warren From sourceforge-raindog2 at ...94... Thu Sep 14 22:32:52 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 14 Sep 2006 16:32:52 -0400 Subject: [Gambas-user] A suggestion for simplifying the distribution of Gambas apps In-Reply-To: <4509AD71.5010405@...1582...> References: <4509AD71.5010405@...1582...> Message-ID: <200609141632.52306.sourceforge-raindog2@...94...> On Thursday 14 September 2006 15:28, Bob Warren wrote: > running of apps represents the "shop window" of not only the > apps themselves but also Gambas, I suggest that perhaps this > question should be given greater priority than hitherto. Well, my advice in that regard would be to start learning how C libraries work and try to implement a proof of concept, as I did when I discovered Gambas had no regular expression support (resulting in the gb.pcre component) and with MDI (they didn't use my work per se, but Gambas now has an MDI environment) and so forth. As with Linux itself, many of the ideas in Gambas came from people outside the core development team, but usually the ones that have succeeded have been accompanied by code. Rob From sirfabien at ...626... Thu Sep 14 22:46:45 2006 From: sirfabien at ...626... (Fabien Bodard) Date: Thu, 14 Sep 2006 22:46:45 +0200 Subject: [Gambas-user] A suggestion for simplifying the distribution of Gambas apps In-Reply-To: <200609141940.38887.gambas@...1...> References: <45082C12.5060201@...1582...> <200609141940.38887.gambas@...1...> Message-ID: <200609142246.45310.sirfabien@...626...> > In Gambas 2, the packager will be rewritten, and I hope it will allow > making RPMs, DEBs and Slackware packages correctly. > and what about autopackage ? > Regards, From Karl.Reinl at ...9... Thu Sep 14 22:43:10 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 14 Sep 2006 22:43:10 +0200 Subject: [Gambas-user] gambas2-1.9.42 Project/Arguments Message-ID: <200609142243.10534.Karl.Reinl@...9...> Salut , I can't find the Project/Arguments anymore !? gambas2-1.9.42 Can anbody help me ? Amicalment Charlie From picander78 at ...325... Fri Sep 15 09:44:19 2006 From: picander78 at ...325... (Marco Gusy) Date: Fri, 15 Sep 2006 09:44:19 +0200 Subject: [Gambas-user] Problem executing gambas In-Reply-To: <200609121936.34144.gambas@...1...> References: <200609060114.57183.picander78@...325...> <200609121233.50739.picander78@...325...> <200609121936.34144.gambas@...1...> Message-ID: <200609150944.20070.picander78@...325...> Alle 19:36, marted? 12 settembre 2006, Benoit Minisini ha scritto: > On Tuesday 12 September 2006 12:33, Marco Gusy wrote: > > Alle 23:05, gioved? 7 settembre 2006, Leonardo Miliani ha scritto: > > > Did you receive any error message during compiling? > > > Have you check that all the required libs are present on your system? > > > > After deep investigation i noticed gb.qt.kde didn't compile because of > > missing kde-config in path. I didn't know kde headers where mandatory to > > run gambas2... > > Thanks anyway :-) > > gb.qt.kde is not mandatory to run gambas2. I think there is a problem > somewhere else... Yes, but since I added the kde bin dir to superuser $PATH gambas compiles like a charm... From stefanopalmeri at ...152... Fri Sep 15 10:18:39 2006 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Fri, 15 Sep 2006 10:18:39 +0200 Subject: [Gambas-user] gambas2-1.9.42 Project/Arguments In-Reply-To: <200609142243.10534.Karl.Reinl@...9...> References: <200609142243.10534.Karl.Reinl@...9...> Message-ID: <200609151018.39314.stefanopalmeri@...152...> Alle 22:43, gioved? 14 settembre 2006, Charlie Reinl ha scritto: > Salut , > > I can't find the Project/Arguments anymore !? > > gambas2-1.9.42 > > Can anbody help me ? > > Amicalment > Charlie There's an "Arguments" under the "Debug" menu. Is what are you looking for? Ciao, Stefano From timothy.marshal-nichols at ...247... Fri Sep 15 10:20:55 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Fri, 15 Sep 2006 09:20:55 +0100 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609111735.58247.gambas@...1...> Message-ID: Hello, A little bug a appears to have crept in with the setting of the Form.BackColor property. Possibly also the Form.ForeColor. (Using the gb.qt controls.) I have a couple of projects that use this properties to ensure the background color is the same as the form when drawing. Take the following code: PUBLIC SUB Timer1_Timer() Draw.Begin(ME) Draw.FillStyle = Fill.Solid Draw.ForeColor = ME.ForeColor Draw.FillColor = ME.ForeColor Draw.BackColor = ME.ForeColor Draw.Rect(10, 10, 210, 210) Draw.ForeColor = ME.BackColor Draw.FillColor = ME.BackColor Draw.BackColor = ME.BackColor Draw.Rect(110, 110, 310, 310) Draw.End END Using the default values (empty) in the properties toolbox. It now draws two squares both are white with a black border. If you set the Form.BackColor or Form.ForeColor property at design time this appears to be set these values correctly. It is just if you use the Form.BackColor at its default value. Thanks 8-{)} Timothy Marshal-Nichols From ronstk at ...239... Fri Sep 15 12:12:13 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 15 Sep 2006 12:12:13 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: <200609141922.00268.gambas@...1...> References: <200609111735.58247.gambas@...1...> <200609131919.16907.ronstk@...239...> <200609141922.00268.gambas@...1...> Message-ID: <200609151212.13875.ronstk@...239...> On Thursday 14 September 2006 19:22, Benoit Minisini wrote: > On Wednesday 13 September 2006 19:19, Ron Onstenk wrote: ---8<------ > > Then it will be the end of gambas for me, at least the project I > > working on for my employer is over. > > > > Sad Ron. > > > > Sorry to say that, but this is always the risk when using a development > version. I know, using the develop version is for me that there are more things possible with it than version 1. I had in the past, about using the latest library by Daniel, a comment that the hope is that at the final release of gambas the 'latest' also is main stream by the distributions. Makes sense. Same could see for me/my project. > > But don't worry, there is always a solution, and I don't want you to be > sad. :-) As far I know you, your inventive work, you have already something :) > > There was a change in the Select event. It is now deferred, i.e. sent at the > return of the event loop. Maybe this is the source of the problem, I don't > know. > > I have to that, because sometimes events sent immediately makes the underlying > QT widget behave badly, or even crash! > I found myself that event programming is not as easy as it looks :) > Anyway, the DirView control does exactly what you need: it reads the directory > contents only if you expand it, not before. > The (file) directory was used as example, because it looks the same as the result of the datebase tree for the project. > So I suggest you read the source code that manage the directory tree of > DirView to understand what is wrong. The file is FDirChooser, and is located > in the gb.form component project. > > You can send me your project too, or the part of your project that manages the > directory view. If I have time, I will look at it. > Well that will not easy to do, my code is at least a mess, shame to me :) Beside it is very dependend on using a database having many ghost tables to find the best way for working. > Otherwise, why don't you use directly the DirView control? > Because it is not a real filesystem but a browser like a filesystem to find the relevant data for the product in process. > Regards, > P.S. When quoting your post it always end in above Regards without your name. I belive it is because your name is below the signature marker of '--' instead above it Thanks for reply, Ron -- My signature below is very interesting for blind people. From Karl.Reinl at ...9... Fri Sep 15 19:25:07 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 15 Sep 2006 19:25:07 +0200 Subject: [Gambas-user] gambas2-1.9.42 Project/Arguments In-Reply-To: <200609151018.39314.stefanopalmeri@...152...> References: <200609142243.10534.Karl.Reinl@...9...> <200609151018.39314.stefanopalmeri@...152...> Message-ID: <1158341108.6108.2.camel@...40...> Salut, thank you Stefano, thats what I'm looking for. Amicalment Charlie Am Freitag, den 15.09.2006, 10:18 +0200 schrieb Stefano Palmeri: > Alle 22:43, gioved? 14 settembre 2006, Charlie Reinl ha scritto: > > Salut , > > > > I can't find the Project/Arguments anymore !? > > > > gambas2-1.9.42 > > > > Can anbody help me ? > > > > Amicalment > > Charlie > > There's an "Arguments" under the "Debug" menu. Is > what are you looking for? > > Ciao, > > Stefano From rohnny at ...1248... Sat Sep 16 08:23:20 2006 From: rohnny at ...1248... (R. Stormo) Date: Fri, 15 Sep 2006 23:23:20 -0700 (PDT) Subject: [Gambas-user] Object.Attach Problem In-Reply-To: <200609141925.01173.gambas@...1...> References: <6251265.post@...1379...> <200609141925.01173.gambas@...1...> Message-ID: <6337039.post@...1379...> Benoit Minisini wrote: > > On Monday 11 September 2006 19:33, R. Stormo wrote: >> I have a prolem with Object.Attach. >> >> When this is set Object.Attach(myform, ME, "myform") >> >> the form_resize does not work as it should >> >> sub form_resize () >> >> Panel1.Width = ME.Width >> Print "hello" >> >> end >> >> When the object.attach is set then print hello does work but not >> pane1.width. When I disable the object.attach >> >> the function is working as it should. Is there a sensible answer for >> this? >> >> >> Regards Rohnny >> http://forum.stormweb.no > > If your event name is "myform", then your event handler must be named > "myform_resize". > > Regards, > > -- > Benoit Minisini > > > That I understand. Ill try to explane it again. ---- Form1 - Dim f as form f = new myform Object.Attach(myform, ME, "myform") Sub myform_do_calulations() f.DO_my_routine() end sub ---- form2 (myform) sub form_resize() Panel1.Width = ME.Width Print "hello" end sub What do work in form2 is only print "hello" so it do go into the routine on the form, but it do not set the panel.width The reason form the object.attach is that I have other routines that shall be updated outside the form2 (myform). But at the same time sub_close , sub_resize should work also. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Object.Attach-Problem-tf2253826.html#a6337039 Sent from the gambas-user forum at Nabble.com. From gambas at ...1... Sat Sep 16 09:06:35 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 16 Sep 2006 09:06:35 +0200 Subject: [Gambas-user] Object.Attach Problem In-Reply-To: <6337039.post@...1379...> References: <6251265.post@...1379...> <200609141925.01173.gambas@...1...> <6337039.post@...1379...> Message-ID: <200609160906.35850.gambas@...1...> On Saturday 16 September 2006 08:23, R. Stormo wrote: > Benoit Minisini wrote: > > On Monday 11 September 2006 19:33, R. Stormo wrote: > >> I have a prolem with Object.Attach. > >> > >> When this is set Object.Attach(myform, ME, "myform") > >> > >> the form_resize does not work as it should > >> > >> sub form_resize () > >> > >> Panel1.Width = ME.Width > >> Print "hello" > >> > >> end > >> > >> When the object.attach is set then print hello does work but not > >> pane1.width. When I disable the object.attach > >> > >> the function is working as it should. Is there a sensible answer for > >> this? > >> > >> > >> Regards Rohnny > >> http://forum.stormweb.no > > > > If your event name is "myform", then your event handler must be named > > "myform_resize". > > > > Regards, > > > > -- > > Benoit Minisini > > That I understand. Ill try to explane it again. > ---- > Form1 - > Dim f as form > > f = new myform > > Object.Attach(myform, ME, "myform") > > > Sub myform_do_calulations() > f.DO_my_routine() > end sub > ---- > > form2 (myform) > > sub form_resize() > Panel1.Width = ME.Width > Print "hello" > end sub > > > What do work in form2 is only print "hello" so it do go into the routine on > the form, but it do not set the panel.width > > The reason form the object.attach is that I have other routines that shall > be updated outside the form2 (myform). But at the same time > sub_close , sub_resize should work also. > > > Regards Rohnny > http://forum.stormweb.no Do you have arrangement constraints on Panel1 or its parents? -- Benoit Minisini From rohnny at ...1248... Sat Sep 16 09:57:59 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 16 Sep 2006 00:57:59 -0700 (PDT) Subject: [Gambas-user] Object.Attach Problem In-Reply-To: <200609160906.35850.gambas@...1...> References: <6251265.post@...1379...> <200609141925.01173.gambas@...1...> <6337039.post@...1379...> <200609160906.35850.gambas@...1...> Message-ID: <6337565.post@...1379...> Benoit Minisini wrote: > > On Saturday 16 September 2006 08:23, R. Stormo wrote: >> Benoit Minisini wrote: >> > On Monday 11 September 2006 19:33, R. Stormo wrote: >> >> I have a prolem with Object.Attach. >> >> >> >> When this is set Object.Attach(myform, ME, "myform") >> >> >> >> the form_resize does not work as it should >> >> >> >> sub form_resize () >> >> >> >> Panel1.Width = ME.Width >> >> Print "hello" >> >> >> >> end >> >> >> >> When the object.attach is set then print hello does work but not >> >> pane1.width. When I disable the object.attach >> >> >> >> the function is working as it should. Is there a sensible answer for >> >> this? >> >> >> >> >> >> Regards Rohnny >> >> http://forum.stormweb.no >> > >> > If your event name is "myform", then your event handler must be named >> > "myform_resize". >> > >> > Regards, >> > >> > -- >> > Benoit Minisini >> >> That I understand. Ill try to explane it again. >> ---- >> Form1 - >> Dim f as form >> >> f = new myform >> >> Object.Attach(myform, ME, "myform") >> >> >> Sub myform_do_calulations() >> f.DO_my_routine() >> end sub >> ---- >> >> form2 (myform) >> >> sub form_resize() >> Panel1.Width = ME.Width >> Print "hello" >> end sub >> >> >> What do work in form2 is only print "hello" so it do go into the routine >> on >> the form, but it do not set the panel.width >> >> The reason form the object.attach is that I have other routines that >> shall >> be updated outside the form2 (myform). But at the same time >> sub_close , sub_resize should work also. >> >> >> Regards Rohnny >> http://forum.stormweb.no > > Do you have arrangement constraints on Panel1 or its parents? > > -- > Benoit Minisini > > > > Arrangment is none on panel and form. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Object.Attach-Problem-tf2253826.html#a6337565 Sent from the gambas-user forum at Nabble.com. From griffeyoath at ...1583... Sat Sep 16 13:23:42 2006 From: griffeyoath at ...1583... (Jae Peake) Date: Sat, 16 Sep 2006 04:23:42 -0700 Subject: [Gambas-user] PHiauARMA Message-ID: <01c6d982$aa358d50$8000a8c0@...1584...> Hi QUIT OV n ERP s AYI n NG FOR YO o UR P u HARM g AC k Y S t AV g E up k to 50 e % wit l h http://www.droebiadou.info From d.paleino at ...626... Sat Sep 16 21:03:47 2006 From: d.paleino at ...626... (David Paleino) Date: Sat, 16 Sep 2006 21:03:47 +0200 Subject: [Gambas-user] Introduction + Problems with Qt Message-ID: <450C4A93.1080601@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey * :) It's the first time I post to this ML, and I think I should introduce myself a bit. If you want to know more, just ask! My name's David, I'm a 19-year-old guy from Italy, who started coding in Gambas about a year ago. Then I left it, because I wanted to try C/C++, but now I feel the need to go back to a language like Gambas. Now, let's get down to business. On my laptop I've got a Debian with GNOME as desktop environment, and seems like I'm having some problems with Qt libraries... here are, in fact, some screenshots on how Gambas2 IDE looks: http://www.hanskalabs.net/private/gambas1.png http://www.hanskalabs.net/private/gambas2.png http://www.hanskalabs.net/private/gambas3.png It's not really aesthetic, nor usable in truth (in fact, to close the "New Project" (-> "Nuovo Progetto") dialog I had to Alt+F4...). Do you know if it's possible, given Gambas' sourcecode, to recompile it so that it uses GTKs instead of Qts? I think it's something kinda "impossible" without heavy edits at the code. I also noted that other KDE apps (like KView, Kuickshow, KFileReplace and others) look very good on my GNOME... Is that a Gambas2 problem? I hope not. Maybe I miss some library?! O_o Thank you in advance for your answers! Cheers, David P.S.: I'm just trying to recompile gambas... Maybe the problem is that the libraries were linked statically to the program? Don't really know... :( - -- Linux Registered User #334216 Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 Staff >> http://www.debianizzati.org << -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFFDEqT5sXXcRsFI+cRAv7IAKCkvKu5TFjs1Amw8dAOjQe6Gq14pgCYpsmu HirYDKKIxTsDGT47teLDHw== =tFTy -----END PGP SIGNATURE----- From sourceforge-raindog2 at ...94... Sat Sep 16 21:42:31 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 16 Sep 2006 15:42:31 -0400 Subject: [Gambas-user] Introduction + Problems with Qt In-Reply-To: <450C4A93.1080601@...626...> References: <450C4A93.1080601@...626...> Message-ID: <200609161542.32073.sourceforge-raindog2@...94...> On Saturday 16 September 2006 15:03, David Paleino wrote: > Alt+F4...). Do you know if it's possible, given Gambas' > sourcecode, to recompile it so that it uses GTKs instead of > Qts? I think it's something kinda "impossible" without heavy > edits at the code. The goal is to eventually have the IDE (and as many other Gambas programs as possible) working under both Gtk and Qt. More work needs to be done on the Gtk component and on standardizing the two components before that will work, but it will happen. > I also noted that other KDE apps (like KView, Kuickshow, > KFileReplace and others) look very good on my GNOME... Is that > a Gambas2 problem? I hope not. Maybe I miss some library?! O_o No, the reason is that Qt apps like the Gambas IDE are not the same as KDE apps. KDE apps link to the KDE libraries, which sit on top of the Qt libraries and provide a lot of additional look and feel stuff. I'm not sure why the Gambas font is so big in your case, though. Rob From gambas at ...1... Sat Sep 16 21:54:51 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 16 Sep 2006 21:54:51 +0200 Subject: [Gambas-user] Introduction + Problems with Qt In-Reply-To: <200609161542.32073.sourceforge-raindog2@...94...> References: <450C4A93.1080601@...626...> <200609161542.32073.sourceforge-raindog2@...94...> Message-ID: <200609162154.52051.gambas@...1...> On Saturday 16 September 2006 21:42, Rob wrote: > On Saturday 16 September 2006 15:03, David Paleino wrote: > > Alt+F4...). Do you know if it's possible, given Gambas' > > sourcecode, to recompile it so that it uses GTKs instead of > > Qts? I think it's something kinda "impossible" without heavy > > edits at the code. > > The goal is to eventually have the IDE (and as many other Gambas > programs as possible) working under both Gtk and Qt. More work > needs to be done on the Gtk component and on standardizing the > two components before that will work, but it will happen. > > > I also noted that other KDE apps (like KView, Kuickshow, > > KFileReplace and others) look very good on my GNOME... Is that > > a Gambas2 problem? I hope not. Maybe I miss some library?! O_o > > No, the reason is that Qt apps like the Gambas IDE are not the > same as KDE apps. KDE apps link to the KDE libraries, which sit > on top of the Qt libraries and provide a lot of additional look > and feel stuff. I'm not sure why the Gambas font is so big in > your case, though. > > Rob > I noticed this problem with Ubuntu. I think the QT library is not correctly configured, and so the default font is too big. Noramlly, you must have a programmed named 'qtconfig' provided with qt library. Try to find it on your system, or inside one of the qt packages, and run it. You will be able to set the default QT font and theme. Regards, -- Benoit Minisini From d.paleino at ...626... Sat Sep 16 22:31:11 2006 From: d.paleino at ...626... (David Paleino) Date: Sat, 16 Sep 2006 22:31:11 +0200 Subject: [Gambas-user] Introduction + Problems with Qt In-Reply-To: <200609162154.52051.gambas@...1...> References: <450C4A93.1080601@...626...> <200609161542.32073.sourceforge-raindog2@...94...> <200609162154.52051.gambas@...1...> Message-ID: <450C5F0F.7000105@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Benoit Minisini wrote: > On Saturday 16 September 2006 21:42, Rob wrote: >> On Saturday 16 September 2006 15:03, David Paleino wrote: >>> >>> ... >>> >> The goal is to eventually have the IDE (and as many other Gambas >> programs as possible) working under both Gtk and Qt. More work >> needs to be done on the Gtk component and on standardizing the >> two components before that will work, but it will happen. I hope so. That would be a great boost in gambas' diffusion. >>> I also noted that other KDE apps (like KView, Kuickshow, >>> KFileReplace and others) look very good on my GNOME... Is that >>> a Gambas2 problem? I hope not. Maybe I miss some library?! O_o >> No, the reason is that Qt apps like the Gambas IDE are not the >> same as KDE apps. KDE apps link to the KDE libraries, which sit >> on top of the Qt libraries and provide a lot of additional look >> and feel stuff. I'm not sure why the Gambas font is so big in >> your case, though. Understood. >> Rob Thanks for your reply Rob! > I noticed this problem with Ubuntu. I think the QT library is not correctly > configured, and so the default font is too big. > > Noramlly, you must have a programmed named 'qtconfig' provided with qt > library. Try to find it on your system, or inside one of the qt packages, and > run it. You will be able to set the default QT font and theme. Yes, I've found two such programs, for qt3 and qt4 (the Debian packages are qt3-config and qt4-config, respectively). I've discovered that the problem is in qt3: the config program appeared as big as the gambas IDE. I've adjusted the font, I can see my dialog's borders, but the style is still ugly. Isn't there a way to fix that? And, as concerns the theme, I've found that the qt3 theme was set to "Motif"... maybe that's why the dialog had that style. But I've also found that qt4 has the "plastik" style... Is there any way to have that style in qt3? I'm just googling for it. > Regards, Cheers, David - -- Linux Registered User #334216 Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 Staff >> http://www.debianizzati.org << -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFDF8P5sXXcRsFI+cRAk4xAJ99Dx/NMPB56lKh9p5DHoslzs0lCQCfWTRh 3BHsu7Msc7lpB1lwCtYX8JU= =3z7l -----END PGP SIGNATURE----- From sourceforge-raindog2 at ...94... Sat Sep 16 23:21:47 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 16 Sep 2006 17:21:47 -0400 Subject: [Gambas-user] Introduction + Problems with Qt In-Reply-To: <450C5F0F.7000105@...626...> References: <450C4A93.1080601@...626...> <200609162154.52051.gambas@...1...> <450C5F0F.7000105@...626...> Message-ID: <200609161721.47474.sourceforge-raindog2@...94...> On Saturday 16 September 2006 16:31, David Paleino wrote: > Benoit Minisini wrote: > > I noticed this problem with Ubuntu. I think the QT library > > is not correctly configured, and so the default font is too > > big. > > > > Noramlly, you must have a programmed named 'qtconfig' > > provided with qt library. Try to find it on your system, or > > inside one of the qt packages, and run it. You will be able > > to set the default QT font and theme. > > Yes, I've found two such programs, for qt3 and qt4 (the Debian > packages are qt3-config and qt4-config, respectively). > I've discovered that the problem is in qt3: the config program > appeared as big as the gambas IDE. I've adjusted the font, I > can see my dialog's borders, but the style is still ugly. > Isn't there a way to fix that? For what it's worth, I'm running Ubuntu Dapper on this laptop and Gambas looks like any other Qt/KDE program. (Running under GNOME, because I got sick of having to switch to GNOME all the time to get at the Administration menu.) I do have the Kubuntu packages installed as well.... maybe apt-get install kubuntu will fix things up? Rob From d.paleino at ...626... Sat Sep 16 23:58:15 2006 From: d.paleino at ...626... (David Paleino) Date: Sat, 16 Sep 2006 23:58:15 +0200 Subject: [Gambas-user] Introduction + Problems with Qt In-Reply-To: <200609161721.47474.sourceforge-raindog2@...94...> References: <450C4A93.1080601@...626...> <200609162154.52051.gambas@...1...> <450C5F0F.7000105@...626...> <200609161721.47474.sourceforge-raindog2@...94...> Message-ID: <450C7377.5020909@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rob wrote: > For what it's worth, I'm running Ubuntu Dapper on this laptop and > Gambas looks like any other Qt/KDE program. (Running under > GNOME, because I got sick of having to switch to GNOME all the > time to get at the Administration menu.) I do have the > Kubuntu packages installed as well.... maybe apt-get install > kubuntu will fix things up? I don't have such a package. I'm running a pure Debian. At those urls I posted before, there are the new screenshots with fonts fixed and theme set to "Windows" (I hate all the others... they are Motif, Motif plus, SGI, CDE and Platinum... :S) I'll try tomorrow (it's almost midnight here) > Rob Cheers, David - -- Linux Registered User #334216 Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 Staff >> http://www.debianizzati.org << -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFDHN35sXXcRsFI+cRAq4rAKCv/iv3V750N0mSNUkH4xw2hey6ygCcCKyu Vs1uBPElIo1LhaKXxwNcXDw= =cj3D -----END PGP SIGNATURE----- From lordheavy at ...512... Mon Sep 18 13:37:23 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 18 Sep 2006 13:37:23 +0200 Subject: [Gambas-user] Gambas games Message-ID: <200609181337.23138.lordheavy@...512...> When browsing the web i've found these games :-) Have fun ! http://www.happypenguin.org/show?comisat%20Games%20Collection ++ From comisat at ...1569... Mon Sep 18 14:24:10 2006 From: comisat at ...1569... (comisat at ...1569...) Date: Mon, 18 Sep 2006 14:24:10 +0200 (CEST) Subject: [Gambas-user] Gambas games In-Reply-To: <200609181337.23138.lordheavy@...512...> References: <200609181337.23138.lordheavy@...512...> Message-ID: <1239.87.0.95.5.1158582250.squirrel@...1570...> thanks ;D comisat > When browsing the web i've found these games :-) > > Have fun ! > > http://www.happypenguin.org/show?comisat%20Games%20Collection > _______________________________________________ * GPG/PGP public key-id: 0xB703A9E2 * http://comisat-games.sourceforge.net * rfc.altervista.org aspetta il tuo contributo * USE=-brain emerge win * "Sulla confezione c'era scritto: necessita' di win9x, winXP o superiore.. ...cosi' ho installato linux" _______________________________________________ From linux at ...1581... Mon Sep 18 14:50:21 2006 From: linux at ...1581... (DivTech) Date: Mon, 18 Sep 2006 05:50:21 -0700 (PDT) Subject: [Gambas-user] Compiling Gambas 1.9.42 libXrender.la Problem In-Reply-To: <200609141926.06374.gambas@...1...> References: <6278033.post@...1379...> <200609141926.06374.gambas@...1...> Message-ID: <6363031.post@...1379...> Thanks for the reply Benoit, I believe the problem was due to me installing a "cooker" library, when I started with a new mandriva install (not using cooker) it compiles fine now. Keep up the good work. For others looking to compile gambas2 I have put up a list of the Mandriva 2006 libraries http://www.kewley.name/index.php?option=com_content&task=view&id=23&Itemid=28 HERE that I installed (Also see the Gambas 2 README file for more info). -- View this message in context: http://www.nabble.com/Compiling-Gambas-1.9.42-libXrender.la-Problem--Solved--tf2262647.html#a6363031 Sent from the gambas-user mailing list archive at Nabble.com. From dcamposf at ...626... Tue Sep 19 09:32:27 2006 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 19 Sep 2006 09:32:27 +0200 Subject: [Gambas-user] Compiling Gambas 1.9.42 libXrender.la Problem In-Reply-To: <6363031.post@...1379...> References: <6278033.post@...1379...> <200609141926.06374.gambas@...1...> <6363031.post@...1379...> Message-ID: <7259b5ae0609190032k70dbbb4t15de2136e168123d@...627...> Hi: The problem about libXrender.la has been reported for a lot of programs, just look at google. It seems new versions of the main distributions are removing that file (Debian, Ubuntu, Suse and possibly more). I found this problem yesterday night while mixing some etch packages in my sarge distro. Finally, I found a quick fix: I edited the /usr/bin/libcairo.la file, (a text file) and removed the reference to libXrender.la in there. After that all compiled again without problems. Daniel 2006/9/18, DivTech : > > Thanks for the reply Benoit, I believe the problem was due to me installing > a "cooker" library, when I started with a new mandriva install (not using > cooker) it compiles fine now. Keep up the good work. > > For others looking to compile gambas2 I have put up a list of the Mandriva > 2006 libraries > http://www.kewley.name/index.php?option=com_content&task=view&id=23&Itemid=28 > HERE that I installed (Also see the Gambas 2 README file for more info). > > -- > View this message in context: http://www.nabble.com/Compiling-Gambas-1.9.42-libXrender.la-Problem--Solved--tf2262647.html#a6363031 > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rolf.frogs at ...221... Tue Sep 19 10:49:25 2006 From: rolf.frogs at ...221... (rolf) Date: Tue, 19 Sep 2006 10:49:25 +0200 Subject: [Gambas-user] Problem with date chooser Message-ID: <200609191049.25332.rolf.frogs@...221...> Hi Benoit, hi everybody out there I use the date chooser from gambas 1.9.42 (running under debian testing) in a project and find out, that the choosen value, if printed from within a change event, alway is on day in the past. So is that a bug - so I have to wait for a fix - or is it a feature than I have to correct the value by myself. Thanks in advance Rolf From gambas at ...1... Tue Sep 19 20:26:08 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 19 Sep 2006 20:26:08 +0200 Subject: [Gambas-user] Mailing-list filtering Message-ID: <200609192026.08721.gambas@...1...> Hi everybody, I have set the mailing-list option that automatically discards posts that comes from addresses that are not member of the mailing-list. This way, I prevent spam from being post on the mailing-lists. I noticed that some valid post were sent to the mailing-list by non-members, so I'd like to know: * Do you prefer being able to post without being member, but having spam? * Or do you prefer not having spam, but having to subscribe to post. I should have asked that before, but I wanted to see if this option works. -- Benoit Minisini From linux at ...1581... Mon Sep 18 14:50:21 2006 From: linux at ...1581... (DivTech) Date: Mon, 18 Sep 2006 05:50:21 -0700 (PDT) Subject: [Gambas-user] Compiling Gambas 1.9.42 libXrender.la Problem In-Reply-To: <200609141926.06374.gambas@...1...> References: <6278033.post@...1379...> <200609141926.06374.gambas@...1...> Message-ID: <6363031.post@...1379...> Thanks for the reply Benoit, I believe the problem was due to me installing a "cooker" library, when I started with a new mandriva install (not using cooker) it compiles fine now. Keep up the good work. For others looking to compile gambas2 I have put up a list of the Mandriva 2006 libraries http://www.kewley.name/index.php?option=com_content&task=view&id=23&Itemid=28 HERE that I installed (Also see the Gambas 2 README file for more info). -- View this message in context: http://www.nabble.com/Compiling-Gambas-1.9.42-libXrender.la-Problem-tf2262647.html#a6363031 Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...9... Tue Sep 19 20:43:16 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 19 Sep 2006 20:43:16 +0200 Subject: [Gambas-user] the other side of Completion Message-ID: <200609192043.16544.Karl.Reinl@...9...> Salut Beno?t, on gambas2-1.9.42 this is a form with a Columnview and a Button. That ist the Class from this Form. '------------------------------------------------------------------- ' Gambas class file PRIVATE sVarName AS String PUBLIC SUB Run(sInVarName AS String) AS Boolean sVarName = sInVarName ME.Text = Subst(("Values for '&1'"), sVarName) RETURN NOT ME.ShowModal() END PUBLIC SUB btnOK_Click() ME.Close(TRUE) END PUBLIC SUB Form_Open() WITH cvwInfo2 .Columns.Count = 2 .Columns[0].Width = 128 .Columns[0].Text = ("Key") .Columns[1].Text = ("Value") .Font.Grade = If(Settings["/UseSmallFont", FALSE], -1, 0) END WITH Test_Element(sVarName) END PRIVATE SUB Test_Element(sVar '------------------------------------------------------------------- My Problem is minior, but try to finish the last line. PRIVATE SUB Test_Element(sVar The name of the passed Variable should NOT be 'sVarName' If I try to set a SPACE after sVar, I get 'sVarName'. I found the only way is, to ignore that, finish my line with ' AS String)' and then go back and change the variable name. NOT realy confortable. Amicalment Charlie From d.paleino at ...626... Tue Sep 19 20:56:15 2006 From: d.paleino at ...626... (David Paleino) Date: Tue, 19 Sep 2006 20:56:15 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <45103D4F.2010600@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Benoit Minisini wrote: > Hi everybody, Hi Benoit! > I have set the mailing-list option that automatically discards posts that > comes from addresses that are not member of the mailing-list. > > This way, I prevent spam from being post on the mailing-lists. > > I noticed that some valid post were sent to the mailing-list by non-members, > so I'd like to know: > > * Do you prefer being able to post without being member, but having spam? > > * Or do you prefer not having spam, but having to subscribe to post. The latter. I don't believe spammers have the time to subscribe here. On the other hand, if one wants to post here, I suppose he follows the ML... so subscribing won't be a problem. My 2 cents, David - -- Linux Registered User #334216 Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 Staff >> http://www.debianizzati.org << -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFED1P5sXXcRsFI+cRAjmVAJ9+Go1DhCSzj8PN8B8Mx5oRE7XEuwCgg2S7 cmEk0aUJyR9RtI8Ll1D0cEs= =R1Sk -----END PGP SIGNATURE----- From ronstk at ...239... Tue Sep 19 22:10:34 2006 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 19 Sep 2006 22:10:34 +0200 Subject: [Gambas-user] the other side of Completion In-Reply-To: <200609192043.16544.Karl.Reinl@...9...> References: <200609192043.16544.Karl.Reinl@...9...> Message-ID: <200609192210.34965.ronstk@...239...> On Tuesday 19 September 2006 20:43, Charlie Reinl wrote: > Salut Beno?t, > > on gambas2-1.9.42 > --8<-- > PRIVATE SUB Test_Element(sVar > '------------------------------------------------------------------- > > My Problem is minior, but try to finish the last line. > > PRIVATE SUB Test_Element(sVar > > The name of the passed Variable should NOT be 'sVarName' > If I try to set a SPACE after sVar, I get 'sVarName'. > > I found the only way is, to ignore that, finish my line with ' AS String)' and > then go back and change the variable name. > > NOT realy confortable. > > Amicalment > Charlie > Confirm, I have that same effect seen here to. Already happen in 1.9.35/.39 Same solution :) Ron From dcamposf at ...626... Tue Sep 19 22:30:36 2006 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 19 Sep 2006 22:30:36 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <45103D4F.2010600@...626...> References: <200609192026.08721.gambas@...1...> <45103D4F.2010600@...626...> Message-ID: <7259b5ae0609191330u27709692m4ed9365b71c50abf@...627...> I prefer the second one too! 2006/9/19, David Paleino : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Benoit Minisini wrote: > > Hi everybody, > > Hi Benoit! > > > I have set the mailing-list option that automatically discards posts that > > comes from addresses that are not member of the mailing-list. > > > > This way, I prevent spam from being post on the mailing-lists. > > > > I noticed that some valid post were sent to the mailing-list by non-members, > > so I'd like to know: > > > > * Do you prefer being able to post without being member, but having spam? > > > > * Or do you prefer not having spam, but having to subscribe to post. > > The latter. I don't believe spammers have the time to subscribe here. On > the other hand, if one wants to post here, I suppose he follows the > ML... so subscribing won't be a problem. > > My 2 cents, > > David > > - -- > Linux Registered User #334216 > Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 > Staff >> http://www.debianizzati.org << > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.9.20 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFED1P5sXXcRsFI+cRAjmVAJ9+Go1DhCSzj8PN8B8Mx5oRE7XEuwCgg2S7 > cmEk0aUJyR9RtI8Ll1D0cEs= > =R1Sk > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavy at ...512... Tue Sep 19 22:34:08 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 19 Sep 2006 22:34:08 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <7259b5ae0609191330u27709692m4ed9365b71c50abf@...627...> References: <200609192026.08721.gambas@...1...> <45103D4F.2010600@...626...> <7259b5ae0609191330u27709692m4ed9365b71c50abf@...627...> Message-ID: <200609192234.08937.lordheavy@...512...> Le mardi 19 septembre 2006 22:30, Daniel Campos a ?crit?: > I prefer the second one too! > You got my vote ! From gambas at ...1... Tue Sep 19 22:42:16 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 19 Sep 2006 22:42:16 +0200 Subject: [Gambas-user] Problem with date chooser In-Reply-To: <200609191049.25332.rolf.frogs@...221...> References: <200609191049.25332.rolf.frogs@...221...> Message-ID: <200609192242.17299.gambas@...1...> On Tuesday 19 September 2006 10:49, rolf wrote: > Hi Benoit, hi everybody out there > > I use the date chooser from gambas 1.9.42 (running under debian testing) in > a project and find out, that the choosen value, if printed from within a > change event, alway is on day in the past. > > So is that a bug - so I have to wait for a fix - or is it a feature than I > have to correct the value by myself. > > Thanks in advance > Rolf > This is a stupid bug: Instead of using Date(), I used CInt() thinking that I will get the days only, without the time. But this is true only on GMT+0, because Gambas stores date in GMT+0 format internally. In other words, if you are in France, for example, 2006/09/19 is internally stored as 2006/09/18 23:00:00, and so using CInt() returns 2006/09/18. And so you lose on day. I will fix it in the next version. -- Benoit Minisini From mmorenog at ...626... Tue Sep 19 22:43:01 2006 From: mmorenog at ...626... (Montse Moreno) Date: Tue, 19 Sep 2006 22:43:01 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <6c73f7350609191343v6332fed7u3c01a52f2af318be@...627...> The second option, please! From bwells at ...475... Tue Sep 19 22:42:58 2006 From: bwells at ...475... (Brant Wells) Date: Tue, 19 Sep 2006 16:42:58 -0400 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> Message-ID: <039d01c6dc2c$30cef8a0$1600205a@...1585...> Second option sounds better to me too! We should appreciate the support of non-subscribers, but they should subscribe to the list! :-D ~Brant -----Original Message----- From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of Benoit Minisini Sent: Tuesday, September 19, 2006 2:26 PM To: gambas-devel at lists.sourceforge.net; gambas-user at lists.sourceforge.net Subject: [Gambas-user] Mailing-list filtering Hi everybody, I have set the mailing-list option that automatically discards posts that comes from addresses that are not member of the mailing-list. This way, I prevent spam from being post on the mailing-lists. I noticed that some valid post were sent to the mailing-list by non-members, so I'd like to know: * Do you prefer being able to post without being member, but having spam? * Or do you prefer not having spam, but having to subscribe to post. I should have asked that before, but I wanted to see if this option works. -- Benoit Minisini ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- This message has been scanned by the Securiant SpiderISA for spam and viruses, and is believed to be safe and clean. -- This message has been scanned by the Securiant SpiderISA for spam and viruses, and is believed to be safe and clean. From Karl.Reinl at ...9... Tue Sep 19 23:24:54 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 19 Sep 2006 23:24:54 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <1158701095.5326.3.camel@...40...> Salut, I think, spam is a problem for everybody, so I vote for the seconde. Amicalment Charlie From sourceforge-raindog2 at ...94... Tue Sep 19 23:54:40 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 19 Sep 2006 17:54:40 -0400 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <200609191754.40570.sourceforge-raindog2@...94...> On Tuesday 19 September 2006 14:26, Benoit Minisini wrote: > * Or do you prefer not having spam, but having to subscribe to > post. Definitely this. Spammers are becoming increasingly aggressive about targeting open lists as anti-spam tools become more effective, so we need to defend ourselves. Rob From hscast at ...407... Wed Sep 20 03:08:46 2006 From: hscast at ...407... (Scott Castaline) Date: Tue, 19 Sep 2006 21:08:46 -0400 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609191754.40570.sourceforge-raindog2@...94...> References: <200609192026.08721.gambas@...1...> <200609191754.40570.sourceforge-raindog2@...94...> Message-ID: <1158714527.20689.10.camel@...40...> On Tue, 2006-09-19 at 17:54 -0400, Rob wrote: > On Tuesday 19 September 2006 14:26, Benoit Minisini wrote: > > * Or do you prefer not having spam, but having to subscribe to > > post. > > Definitely this. Spammers are becoming increasingly aggressive > about targeting open lists as anti-spam tools become more > effective, so we need to defend ourselves. > > Rob > In the last few months I have seen this occur on several lists that I belong to, it is definitely a growing problem. I have no problem with using option #2. > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Scott Castaline aka Bad2theBone Hey! I was born crazy, what's your excuse? From timothy.marshal-nichols at ...247... Wed Sep 20 08:38:26 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Wed, 20 Sep 2006 07:38:26 +0100 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> Message-ID: > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net]On Behalf Of Benoit > Minisini > Sent: Tuesday, 19 September 2006 19:26 > To: gambas-devel at lists.sourceforge.net; > gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Mailing-list filtering > > > Hi everybody, > > I have set the mailing-list option that automatically discards posts that > comes from addresses that are not member of the mailing-list. > > This way, I prevent spam from being post on the mailing-lists. > > I noticed that some valid post were sent to the mailing-list by > non-members, > so I'd like to know: > > * Do you prefer being able to post without being member, but having spam? > > * Or do you prefer not having spam, but having to subscribe to post. > > I should have asked that before, but I wanted to see if this option works. > > -- > Benoit Minisini > > I know some people have voted for the first option but I should like to vote for the first. 1. I do not think you should place to many obstacles in the way on new users getting information about Gambas. For experienced users it is not a problem signing up. But if you know little about mailing lists or Gambas you might think twice before signing up. You want to make it as easy as possible to get involved. 2. I think keeping the mailing list as free and open as possible fits in more with the philosophy of the internet and open source software. If the price we have to pay for this is a bit of Spam getting through then so be it. So far it has not been that bad. 3. Never reply or respond to Spam. In know it sounds a little utopian, but if the spammers gain nothing from their actions they will stop. So, on principle, never ever, ever buy anything from cold calls, junk mail or Spam. Thanks 8-{)} Timothy Marshal-Nichols From linux at ...1581... Wed Sep 20 10:05:19 2006 From: linux at ...1581... (DivTech) Date: Wed, 20 Sep 2006 01:05:19 -0700 (PDT) Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <6403261.post@...1379...> Hi, I prefer no spam and having to subscribe. Thank You. -- View this message in context: http://www.nabble.com/Mailing-list-filtering-tf2300704.html#a6403261 Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed Sep 20 10:51:41 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 20 Sep 2006 10:51:41 +0200 Subject: [Gambas-user] the other side of Completion In-Reply-To: <200609192210.34965.ronstk@...239...> References: <200609192043.16544.Karl.Reinl@...9...> <200609192210.34965.ronstk@...239...> Message-ID: <200609201051.41531.gambas@...1...> On Tuesday 19 September 2006 22:10, Ron Onstenk wrote: > On Tuesday 19 September 2006 20:43, Charlie Reinl wrote: > > Salut Beno?t, > > > > on gambas2-1.9.42 > > --8<-- > > > PRIVATE SUB Test_Element(sVar > > '------------------------------------------------------------------- > > > > My Problem is minior, but try to finish the last line. > > > > PRIVATE SUB Test_Element(sVar > > > > The name of the passed Variable should NOT be 'sVarName' > > If I try to set a SPACE after sVar, I get 'sVarName'. > > > > I found the only way is, to ignore that, finish my line with ' AS > > String)' and then go back and change the variable name. > > > > NOT realy confortable. > > > > Amicalment > > Charlie > > Confirm, I have that same effect seen here to. Already happen in 1.9.35/.39 > Same solution :) > > Ron > At the moment, pressing space during a completion has the same effect as pressing '(', '[', '!' or '.'. I can remove this behaviour. -- Benoit Minisini From rolf.frogs at ...221... Wed Sep 20 11:05:08 2006 From: rolf.frogs at ...221... (rolf) Date: Wed, 20 Sep 2006 11:05:08 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <200609201105.08341.rolf.frogs@...221...> Hi Benoit > * Or do you prefer not having spam, but having to subscribe to post. I have enough spam from others. I don't need more spam from the gambas list. So I vote for NO SPAM and subscrition. Rolf From akang.fauzan at ...626... Wed Sep 20 11:42:51 2006 From: akang.fauzan at ...626... (Fauzan) Date: Wed, 20 Sep 2006 16:42:51 +0700 Subject: [Gambas-user] crystal report in gambas Message-ID: <64357b3c0609200242r4c44b469o7b0e8a1e0a7882ff@...627...> how about crystal report in gambas.....??? -- Fauzan From rospolosco at ...152... Wed Sep 20 13:10:05 2006 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 20 Sep 2006 13:10:05 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609201213.37877.benoit.minisini@...2...> References: <200609192026.08721.gambas@...1...> <200609201200.46969.stefanopalmeri@...152...> <200609201213.37877.benoit.minisini@...2...> Message-ID: <200609201310.06083.rospolosco@...152...> Alle 12:13, mercoled? 20 settembre 2006, hai scritto: > On Wednesday 20 September 2006 12:00, you wrote: > > Alle 23:24, marted? 19 settembre 2006, Charlie Reinl ha scritto: > > > Salut, > > > > > > I think, spam is a problem for everybody, so I vote for the seconde. > > > > > > > > > Amicalment > > > Charlie > > > > It's my opinion too. > > > > Regards, > > > > Stefano Palmeri > > So you should subscribe to the user mailing-list if you want to see your > answer :-) > > Apparently, you are not a member! > > -- > Benoit Minisini > I did't remember which was my subscription e-mail. This shoud work... Regards, Stefano Palmeri From d.paleino at ...626... Wed Sep 20 18:09:25 2006 From: d.paleino at ...626... (David Paleino) Date: Wed, 20 Sep 2006 18:09:25 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609201310.06083.rospolosco@...152...> References: <200609192026.08721.gambas@...1...> <200609201200.46969.stefanopalmeri@...152...> <200609201213.37877.benoit.minisini@...2...> <200609201310.06083.rospolosco@...152...> Message-ID: <451167B5.3060904@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stefano Palmeri wrote: > I did't remember which was my subscription e-mail. > This shoud work... > > Regards, > > Stefano Palmeri S?, funziona :) Yes, it works :) David - -- Linux Registered User #334216 Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 Staff >> http://www.debianizzati.org << -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFEWe15sXXcRsFI+cRArAKAKC1FA2z1LBGM/5VxxqqVTvaOS6BRACfVtWU 8BwzLCI96QPLpdbTirQcgIc= =CLxC -----END PGP SIGNATURE----- From ronstk at ...239... Wed Sep 20 18:48:00 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 20 Sep 2006 18:48:00 +0200 Subject: [Gambas-user] the other side of Completion In-Reply-To: <200609201051.41531.gambas@...1...> References: <200609192043.16544.Karl.Reinl@...9...> <200609192210.34965.ronstk@...239...> <200609201051.41531.gambas@...1...> Message-ID: <200609201848.00758.ronstk@...239...> On Wednesday 20 September 2006 10:51, Benoit Minisini wrote: > On Tuesday 19 September 2006 22:10, Ron Onstenk wrote: > > On Tuesday 19 September 2006 20:43, Charlie Reinl wrote: > > > Salut Beno?t, > > > > > > on gambas2-1.9.42 > > > > --8<-- > > > > > PRIVATE SUB Test_Element(sVar > > > '------------------------------------------------------------------- > > > > > > My Problem is minior, but try to finish the last line. > > > > > > PRIVATE SUB Test_Element(sVar > > > > > > The name of the passed Variable should NOT be 'sVarName' > > > If I try to set a SPACE after sVar, I get 'sVarName'. > > > > > > I found the only way is, to ignore that, finish my line with ' AS > > > String)' and then go back and change the variable name. > > > > > > NOT realy confortable. > > > > > > Amicalment > > > Charlie > > > > Confirm, I have that same effect seen here to. Already happen in 1.9.35/.39 > > Same solution :) > > > > Ron > > > > At the moment, pressing space during a completion has the same effect as > pressing '(', '[', '!' or '.'. I can remove this behaviour. > Charlie/I want to add the line below PRIVATE SUB Test_Element(sVar AS String) After he typed the space after the 'sVar' to continue with 'as String' it is completed to 'sVarName' which is before used/declared in the code. The completion can be abort by pressing the 'Esc' key (i guess) but the space should automagic do that 'Esc'. Same did happen to me with dim sVarName as string dim sVar as string pressing the space after 'sVar' should NOT expand to sVarName Hope this explains it more :) Ron From ronstk at ...239... Wed Sep 20 18:55:03 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 20 Sep 2006 18:55:03 +0200 Subject: [Gambas-user] crystal report in gambas In-Reply-To: <64357b3c0609200242r4c44b469o7b0e8a1e0a7882ff@...627...> References: <64357b3c0609200242r4c44b469o7b0e8a1e0a7882ff@...627...> Message-ID: <200609201855.03125.ronstk@...239...> On Wednesday 20 September 2006 11:42, Fauzan wrote: > how about crystal report in gambas.....??? > No problem. If Crystal report is made to run without VB then with Wine it should almost work. :) This piece of cake is not a very simple program. You better look to some equivalent running with GNU/Linux. Kugar is one of them. If somebody try to make it as gambas application it will always missing the advanced tricks of CR and has a long time to develop before it got it all as good as CR. Ron From brian at ...1334... Wed Sep 20 18:58:00 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Wed, 20 Sep 2006 09:58:00 -0700 (PDT) Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <20060920094529.G53149@...1337...> References: <200609192026.08721.gambas@...1...> <200609201200.46969.stefanopalmeri@...152...> <200609201213.37877.benoit.minisini@...2...> <200609201310.06083.rospolosco@...152...> <451167B5.3060904@...626...> <20060920094529.G53149@...1337...> Message-ID: <20060920095651.S53149@...1337...> On Wed, 20 Sep 2006, Christopher Brian Jack wrote: > Date: Wed, 20 Sep 2006 09:48:14 -0700 (PDT) > From: Christopher Brian Jack > To: mailing list for gambas users > Subject: Re: [Gambas-user] Mailing-list filtering > > On Wed, 20 Sep 2006, David Paleino wrote: > > > Stefano Palmeri wrote: > > > I did't remember which was my subscription e-mail. > > > This shoud work... > > I'd best make sure mine is correct as well. It's troublesome because my > server runs on two domains (and many more if I count all the CNAMEs for > virtually named WWW sites) and I can't subscribe them all without getting > duplicate emails from the list. If this gets moderated can someone tell me what address I'm showing up as so I can adjust my list settings appropriately? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From brian at ...1334... Wed Sep 20 18:48:14 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Wed, 20 Sep 2006 09:48:14 -0700 (PDT) Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <451167B5.3060904@...626...> References: <200609192026.08721.gambas@...1...> <200609201200.46969.stefanopalmeri@...152...> <200609201213.37877.benoit.minisini@...2...> <200609201310.06083.rospolosco@...152...> <451167B5.3060904@...626...> Message-ID: <20060920094529.G53149@...1337...> On Wed, 20 Sep 2006, David Paleino wrote: > Stefano Palmeri wrote: > > I did't remember which was my subscription e-mail. > > This shoud work... I'd best make sure mine is correct as well. It's troublesome because my server runs on two domains (and many more if I count all the CNAMEs for virtually named WWW sites) and I can't subscribe them all without getting duplicate emails from the list. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | oevna at ...1544... `=================================================- Hi Spambots, my email address is sputnik at ...1334... Hi Humans, my email address uses rot13 cipher From sourceforge-raindog2 at ...94... Wed Sep 20 19:40:09 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 20 Sep 2006 13:40:09 -0400 Subject: [Gambas-user] crystal report in gambas In-Reply-To: <200609201855.03125.ronstk@...239...> References: <64357b3c0609200242r4c44b469o7b0e8a1e0a7882ff@...627...> <200609201855.03125.ronstk@...239...> Message-ID: <200609201340.09592.sourceforge-raindog2@...94...> On Wednesday 20 September 2006 12:55, Ron Onstenk wrote: > If somebody try to make it as gambas application it will > always missing the advanced tricks of CR and has a long time > to develop before it got it all as good as CR. Considering that back in my Windows days, every single client who migrated an Access app to VB and needed reports reimplemented in Crystal ended up needing features Crystal doesn't have (due to code in the header or footer sections, etc.), I'm pretty happy just writing my Gambas reports in code. But I agree it would be nice to have an easy interface for creating fairly simple reports. Rob From fidojones at ...805... Wed Sep 20 20:37:35 2006 From: fidojones at ...805... (Lorenzo Tejera) Date: Wed, 20 Sep 2006 19:37:35 +0100 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <20060920095651.S53149@...1337...> References: <200609192026.08721.gambas@...1...> <200609201200.46969.stefanopalmeri@...152...> <200609201213.37877.benoit.minisini@...2...> <200609201310.06083.rospolosco@...152...> <451167B5.3060904@...626...> <20060920094529.G53149@...1337...> <20060920095651.S53149@...1337...> Message-ID: <19cca6e50609201137i73157fd4t3daa2a35f2e010cd@...627...> second one for me And I need a MDI with movable windows if it's posible :D (this is for Benoit) 2006/9/20, Christopher Brian Jack : > > On Wed, 20 Sep 2006, Christopher Brian Jack wrote: > > > Date: Wed, 20 Sep 2006 09:48:14 -0700 (PDT) > > From: Christopher Brian Jack > > To: mailing list for gambas users > > Subject: Re: [Gambas-user] Mailing-list filtering > > > > On Wed, 20 Sep 2006, David Paleino wrote: > > > > > Stefano Palmeri wrote: > > > > I did't remember which was my subscription e-mail. > > > > This shoud work... > > > > I'd best make sure mine is correct as well. It's troublesome because my > > server runs on two domains (and many more if I count all the CNAMEs for > > virtually named WWW sites) and I can't subscribe them all without > getting > > duplicate emails from the list. > > If this gets moderated can someone tell me what address I'm showing up as > so I can adjust my list settings appropriately? > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | oevna at ...1544... > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > Hi Humans, my email address uses rot13 cipher > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...9... Wed Sep 20 21:24:13 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 20 Sep 2006 21:24:13 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <19cca6e50609201137i73157fd4t3daa2a35f2e010cd@...627...> References: <200609192026.08721.gambas@...1...> <200609201200.46969.stefanopalmeri@...152...> <200609201213.37877.benoit.minisini@...2...> <200609201310.06083.rospolosco@...152...> <451167B5.3060904@...626...> <20060920094529.G53149@...1337...> <20060920095651.S53149@...1337...> <19cca6e50609201137i73157fd4t3daa2a35f2e010cd@...627...> Message-ID: <1158780254.5670.2.camel@...40...> Am Mittwoch, den 20.09.2006, 19:37 +0100 schrieb Lorenzo Tejera: > second one for me I also voted for the second. > > And I need a MDI with movable windows if it's posible :D (this is for > Benoit) Outing me as a SDI fan, your Idea would be a enclosed SDI for me, and so better for me. I vote for!! Beno?t hear us ! > > 2006/9/20, Christopher Brian Jack : > > > > On Wed, 20 Sep 2006, Christopher Brian Jack wrote: > > > > > Date: Wed, 20 Sep 2006 09:48:14 -0700 (PDT) > > > From: Christopher Brian Jack > > > To: mailing list for gambas users > > > Subject: Re: [Gambas-user] Mailing-list filtering > > > > > > On Wed, 20 Sep 2006, David Paleino wrote: > > > > > > > Stefano Palmeri wrote: > > > > > I did't remember which was my subscription e-mail. > > > > > This shoud work... > > > > > > I'd best make sure mine is correct as well. It's troublesome because my > > > server runs on two domains (and many more if I count all the CNAMEs for > > > virtually named WWW sites) and I can't subscribe them all without > > getting > > > duplicate emails from the list. > > > > If this gets moderated can someone tell me what address I'm showing up as > > so I can adjust my list settings appropriately? > > > > .=================================================. > > | Christopher BRIAN Jack aka "Gau of the Veldt" | > > +=================================================' > > | oevna at ...1544... > > `=================================================- > > Hi Spambots, my email address is sputnik at ...1334... > > Hi Humans, my email address uses rot13 cipher > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From k-p.richter at ...20... Wed Sep 20 22:14:17 2006 From: k-p.richter at ...20... (K-P.Richter) Date: Wed, 20 Sep 2006 22:14:17 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <200609202214.17673.k-p.richter@...20...> Am Dienstag, 19. September 2006 20:26 schrieb Benoit Minisini: > > I noticed that some valid post were sent to the mailing-list by > non-members, so I'd like to know: > > * Do you prefer being able to post without being member, but having spam? > > * Or do you prefer not having spam, but having to subscribe to post. > > I should have asked that before, but I wanted to see if this option works. Please, the second option ! Peter From gambas at ...1... Wed Sep 20 22:43:09 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 20 Sep 2006 22:43:09 +0200 Subject: [Gambas-user] crystal report in gambas In-Reply-To: <200609201340.09592.sourceforge-raindog2@...94...> References: <64357b3c0609200242r4c44b469o7b0e8a1e0a7882ff@...627...> <200609201855.03125.ronstk@...239...> <200609201340.09592.sourceforge-raindog2@...94...> Message-ID: <200609202243.10107.gambas@...1...> On Wednesday 20 September 2006 19:40, Rob wrote: > On Wednesday 20 September 2006 12:55, Ron Onstenk wrote: > > If somebody try to make it as gambas application it will > > always missing the advanced tricks of CR and has a long time > > to develop before it got it all as good as CR. > > Considering that back in my Windows days, every single client who > migrated an Access app to VB and needed reports reimplemented in > Crystal ended up needing features Crystal doesn't have (due to > code in the header or footer sections, etc.), I'm pretty happy > just writing my Gambas reports in code. But I agree it would be > nice to have an easy interface for creating fairly simple > reports. > > Rob > Fabien Bodard works on this in its spare time, with my help. -- Benoit Minisini From joe1962 at ...626... Thu Sep 21 01:19:57 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 20 Sep 2006 19:19:57 -0400 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <200609192026.08721.gambas@...1...> References: <200609192026.08721.gambas@...1...> Message-ID: <6c208f950609201619r19cf3eech18cb925efd7a2eb@...627...> On 9/19/06, Benoit Minisini wrote: > Hi everybody, > > I have set the mailing-list option that automatically discards posts that > comes from addresses that are not member of the mailing-list. > > This way, I prevent spam from being post on the mailing-lists. > > I noticed that some valid post were sent to the mailing-list by non-members, > so I'd like to know: > > * Do you prefer being able to post without being member, but having spam? > > * Or do you prefer not having spam, but having to subscribe to post. > > I should have asked that before, but I wanted to see if this option works. > No spam for me, please... ;). I daren't even mark them as SPAM in gmail, for fear it will decide to spam all messages from the gambas list! They were increasing (and would surely have continued to do so) and getting to be bothersome already. Anybody knows how to sign up for a mailing list these days, they are totally ubiquitous by now, everywhere you surf the web. Even if you just want the daily news... Regards, Joe1962 From ronstk at ...239... Thu Sep 21 08:42:46 2006 From: ronstk at ...239... (Ron Onstenk) Date: Thu, 21 Sep 2006 08:42:46 +0200 Subject: [Gambas-user] Mailing-list filtering In-Reply-To: <19cca6e50609201137i73157fd4t3daa2a35f2e010cd@...627...> References: <200609192026.08721.gambas@...1...> <20060920095651.S53149@...1337...> <19cca6e50609201137i73157fd4t3daa2a35f2e010cd@...627...> Message-ID: <200609210842.47528.ronstk@...239...> On Wednesday 20 September 2006 20:37, Lorenzo Tejera wrote: > second one for me > > And I need a MDI with movable windows if it's posible :D (this is for > Benoit) > > 2006/9/20, Christopher Brian Jack : This is a pre release of it. It is at the moment for gambas 1.9.41 and I haven't test it on .42 It may work or not on 1.9.42 Unpack the tar and read the 'howto_install' Realize it is in this release mean as demo !!! Comments are welkom. -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.form.mda.41.01.tar.gz Type: application/x-tgz Size: 67119 bytes Desc: not available URL: From wdahn at ...1000... Fri Sep 22 10:17:11 2006 From: wdahn at ...1000... (Werner) Date: Fri, 22 Sep 2006 16:17:11 +0800 Subject: [Gambas-user] is endif optional? Message-ID: <45139C07.5030007@...1000...> For some reason unremembered the code snippet below was in some software I wrote a while ago and it all worked. ' Gambas module file PUBLIC SUB Main() DIM hConn AS NEW Connection 'fill this in to suit your situation WITH hConn .Type = "mysql" .Host = "localhost" .Login = "" .Password = "" .Name = "test" END WITH TRY hConn.Open IF ERROR THEN PRINT "Can't open db. Reason: " & ERROR.Text 'I cut the real code out. 'ISTR that when the opening of the connection failed (ie wrong user) the error cropped up further down when using the connection. 'Nevertheless, the absence of ENDIF was never complained about. PRINT "yabadoo" END Best Regards Werner Dahn From dcamposf at ...626... Fri Sep 22 10:27:17 2006 From: dcamposf at ...626... (Daniel Campos) Date: Fri, 22 Sep 2006 10:27:17 +0200 Subject: [Gambas-user] is endif optional? In-Reply-To: <45139C07.5030007@...1000...> References: <45139C07.5030007@...1000...> Message-ID: <7259b5ae0609220127r38094302j5ef77ae4ab9f024a@...627...> If you use the: IF [CHECK] THEN [COMMAND] syntax, Gambas and all the rest of BASIC interpreters I know, understand that there's only a command to perform after the condition, end END IF is not needed. END IF is used only if you have to concatenate some commands after a condition, or use the ELSE keyword. Daniel 2006/9/22, Werner : > For some reason unremembered the code snippet below was in some software > I wrote a while ago and it all worked. > > ' Gambas module file > > PUBLIC SUB Main() > DIM hConn AS NEW Connection > > 'fill this in to suit your situation > WITH hConn > .Type = "mysql" > .Host = "localhost" > .Login = "" > .Password = "" > .Name = "test" > END WITH > > TRY hConn.Open > IF ERROR THEN PRINT "Can't open db. Reason: " & ERROR.Text > > 'I cut the real code out. > 'ISTR that when the opening of the connection failed (ie wrong user) the > error cropped up further down when using the connection. > 'Nevertheless, the absence of ENDIF was never complained about. > PRINT "yabadoo" > > > END > > Best Regards > Werner Dahn > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rohnny at ...1248... Sat Sep 23 09:28:49 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 23 Sep 2006 00:28:49 -0700 (PDT) Subject: [Gambas-user] runtime problem Message-ID: <6459543.post@...1379...> I have tried to copy all the needed files to destination computer , but when I run my prosject is says /usr/bin/env : gbr2: No sutch file or directory Running Ubuntu Dapper with Gambas 1.9.42 These files are copyed usr/ usr/local/ usr/local/lib/ usr/local/lib/gambas2/ usr/local/lib/gambas2/gb.so.0.0.0 usr/local/lib/gambas2/gb.so.0 usr/local/lib/gambas2/gb.so usr/local/lib/gambas2/gb.qt.so.0.0.0 usr/local/lib/gambas2/gb.qt.so.0 usr/local/lib/gambas2/gb.qt.so usr/local/lib/gambas2/gb.qt.gambas usr/local/lib/gambas2/gb.qt.component usr/local/lib/gambas2/gb.form.gambas usr/local/lib/gambas2/gb.form.component usr/local/lib/gambas2/gb.vb.component usr/local/bin/ usr/local/bin/gbi2 usr/local/bin/gbx2 usr/local/bin/gbx usr/local/bin/gbr2 usr/bin/ usr/bin/gbx2 I have also made the ~/.gambas/lib/gambas2 folder that was a problem c couple of versions ago. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/runtime-problem-tf2321768.html#a6459543 Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Sep 23 09:56:41 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 09:56:41 +0200 Subject: [Gambas-user] Signal #6 example In-Reply-To: <20060901111307.M75799@...1382...> References: <20060901111307.M75799@...1382...> Message-ID: <200609230956.41370.gambas@...1...> On Friday 01 September 2006 13:16, nando wrote: > I was assuming .CLEAR could be used with a global static string array > but perhaps not. > > Version 1.0.17 > > 'global string array > DIM terminals[10000] AS STRING > > > > sub config() > > terminals.clear <---raised signal #6 > > end > I fixed it for the 1.0.18 release. Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 23 10:01:48 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 10:01:48 +0200 Subject: [Gambas-user] Return values from (PostgreSQL) Database In-Reply-To: <200609061243.46178.rolf.frogs@...221...> References: <200609060839.13123.rolf.frogs@...221...> <200609060850.11083.ronstk@...239...> <200609061243.46178.rolf.frogs@...221...> Message-ID: <200609231001.48776.gambas@...1...> On Wednesday 06 September 2006 12:43, rolf wrote: > Hi Ron > > > > how can I get every messages the postgresql database sent, especially > > > when I ask the database to "EXPLAIN some query..." to evaluate if a > > > statement is valid. > > > > Good question, > > > > It would be a good thing to have 2 types of Result. > > The first one as is now a record type and the second > > one simple the text as is returned by the sql server. > > > > This would be the result i.e. returned by MySQL with > > all the '-' and '|' to represent the table grid. > > > > Could be named as .Responce and is just the responce > > which is already internal available. > > > > After all not every responce is a table as with > > 'Explain' is the case. :) > > So until now there is no way to get the (not table) results ;) > > So: Hello Benoit can you hear us? > > Bye > Rolf > I'm not sure it is possible in a database-agnostic way, or not... What you get by using database command-line tools is not what you get by using the client libraries. Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 23 10:34:17 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 10:34:17 +0200 Subject: [Gambas-user] runtime problem In-Reply-To: <6459543.post@...1379...> References: <6459543.post@...1379...> Message-ID: <200609231034.17607.gambas@...1...> On Saturday 23 September 2006 09:28, R. Stormo wrote: > I have tried to copy all the needed files to destination computer , but > when I run my prosject is says > /usr/bin/env : gbr2: No sutch file or directory > It means that gbr2 must be in the PATH. Be careful that gambas installation path is hard-encoded inside the interpreter, unless a /usr/bin/gbx2 symbolic link is defined. In that case, the gambas installation path is the directory of the symbolic link target. Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 23 11:01:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 11:01:34 +0200 Subject: [Gambas-user] Release of gambas 1.9.42 In-Reply-To: References: Message-ID: <200609231101.34472.gambas@...1...> On Friday 15 September 2006 10:20, Timothy Marshal-Nichols wrote: > Hello, > > A little bug a appears to have crept in with the setting of the > Form.BackColor property. Possibly also the Form.ForeColor. (Using the gb.qt > controls.) > > I have a couple of projects that use this properties to ensure the > background color is the same as the form when drawing. > > Take the following code: > > PUBLIC SUB Timer1_Timer() > Draw.Begin(ME) > Draw.FillStyle = Fill.Solid > Draw.ForeColor = ME.ForeColor > Draw.FillColor = ME.ForeColor > Draw.BackColor = ME.ForeColor > Draw.Rect(10, 10, 210, 210) > Draw.ForeColor = ME.BackColor > Draw.FillColor = ME.BackColor > Draw.BackColor = ME.BackColor > Draw.Rect(110, 110, 310, 310) > Draw.End > END > > Using the default values (empty) in the properties toolbox. It now draws > two squares both are white with a black border. > > If you set the Form.BackColor or Form.ForeColor property at design time > this appears to be set these values correctly. It is just if you use the > Form.BackColor at its default value. > > Thanks > > 8-{)} Timothy Marshal-Nichols > > Actually the previous behaviour was unspecified. Now if you don't specify any color for Form.Background or Form.Foreground, they take the special Color.Default value. But settings Color.Default to Draw.Foreground or Draw.Background sets Black & White, unless you draw directly on a widget. Then the default colors should be the colors of the widget. So if you set Draw.ForeColor = Me.BackColor, and if Me.BackColor = Color.Default, then you just set Draw.ForeColor to the default color, not to the real color of Me.BackColor! When you need the real color, you must use the static properties Color.Background to get the real color of the default background, and Color.Foreground for the default foreground. So to set the form background to the draw foreground, you need to do something like: IF ME.Background = Color.Default THEN Draw.Foreground = Color.Background ELSE Draw.Foreground = ME.Background ENDIF Regards, -- Benoit Minisini From gambas at ...1... Sat Sep 23 16:01:00 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 16:01:00 +0200 Subject: [Gambas-user] Release of gambas 1.9.43 Message-ID: <200609231601.00302.gambas@...1...> Hi guys, The main changes of this version are: * A new project selection dialog. * A better file creation dialog. * The fix of Dialog.Filter syntax nightmare. * The support for bookmarks in DirChooser and FileChooser controls. * An updated gb.gtk component. * The QUIT bug has been fixed. * You can open hundreds of Sockets without crashing. Now I will try to put the Gambas source on sourceforge SVN! Here is the full ChangeLog: ------------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * NEW: Some little enhancements in automatic completion. * NEW: The file creation dialog is better now. * NEW: Importing a form now automatically copies form pictures. * NEW: Pressing F2 on a NEW expression now brings to the constructor function. * NEW: The project tree now arrange classes according to their inheritance relationships. * NEW: The open project dialog has been redesigned. * NEW: Opening a project does not refresh the project tree twice anymore. * NEW: There is option to select the browser used by the IDE. The default is using the BROWSER environment variable. * BUG: The editor function combo-box now only displays the function defined in the module or class, not the inherited ones. * BUG: Replace function does not modify read-only module or classes anymore. * BUG: You cannot drop controls from the toolbox in read-only editer form. * BUG: Renaming a form does not set the 'modified' flag anymore. * BUG: Icon editor and text editor now can be in read-only mode. * BUG: Symbolic links support has been fixed and enhanced. * BUG: You cannot modify a read-only form from the property sheet anymore. * BUG: The project property dialog now displays the stack size correctly. EXAMPLES * NEW: Printing example has been updated. INTERPRETER * NEW: Component[] now returns NULL if a component is not loaded. It does not raise an error anymore. * BUG: The QUIT instruction works again. * BUG: The stack defined in the .project file is really used now. * BUG: Watching or stopping watching file descriptors during an event handler raised by a watched file descriptor does not crash the interpreter event loop anymore. * BUG: Exist() does not follow symbolic links anymore. COMPILER * BUG: Useless external class references are not inserted anymore in the bytecode output. GB.QT COMPONENT * NEW: ComboBox.Popup() is a new method that popups the combo-box list. * NEW: Window.Stacking is a new property that defines the stacking group of the window: Window.Normal, Window.Above or Window.Below. This property replaces the TopOnly property that has been removed. * NEW: Window.Sticky is a new property that sticks a window on all virtual desktops. * BUG: Dialog.Filter syntax has been fixed. * BUG: Draw.Picture and Draw.Image now behave correctly when drawing on a masked Picture. * BUG: UserControl and UserContainer are not creatable anymore. * BUG: Setting ComboBox.Text now raises the Click event. GB.QT.EXT COMPONENT * BUG: TableView Select event is now deferred only in multiple selection mode. GB.QT.KDE COMPONENT * BUG: Dialog.Filter syntax has been fixed. GB.FORM COMPONENT * NEW: DirChooser and FileChooser got support for bookmarks. These bookmarks are displayed in a panel, are shared by all instances of these controls, and are automatically saved in the '~/.config/gambas/gb.form.conf' configuration file. * NEW: DirChooser and FileChooser got two new properties for managing bookmarks: ShowBookmark, that let displaying the bookmark panel, and Bookmarks, that allows to add transient bookmarks. These transient bookmarks are not automatically saved. * NEW: FileChooser.Settings and DirChooser.Settings are new properties that return the state of the control in a string array. * NEW: ListContainer.Clear() is a new method to clear * BUG: DirChooser got support for Icon event. * BUG: DateChooser.Value returns the correct date now. * BUG: ListContainer.Background has been fixed. GB.SETTINGS * NEW: Settings can save string arrays in a configuration file. GB.GTK COMPONENT * Updated. ------------------------------------------------------------------------------- Regards, -- Benoit Minisini From ronstk at ...239... Sat Sep 23 16:17:09 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sat, 23 Sep 2006 16:17:09 +0200 Subject: [Gambas-user] Return values from (PostgreSQL) Database In-Reply-To: <200609231001.48776.gambas@...1...> References: <200609060839.13123.rolf.frogs@...221...> <200609061243.46178.rolf.frogs@...221...> <200609231001.48776.gambas@...1...> Message-ID: <200609231617.10163.ronstk@...239...> On Saturday 23 September 2006 10:01, Benoit Minisini wrote: > > So until now there is no way to get the (not table) results ;) > > > > So: Hello Benoit can you hear us? > > > > Bye > > Rolf > > > > I'm not sure it is possible in a database-agnostic way, or not... What you get > by using database command-line tools is not what you get by using the client > libraries. > > Regards, > > -- > Benoit Minisini > I'm thinking that after a database request send to the server there is a response interpreted by the gb.db and/or gb.db.mysql library. Is it not possible to make that response from the server as a property avaliable? -- The only bug free software from MickySoft is still shrink-wrapped in their warehouse... From fidojones at ...805... Sat Sep 23 16:19:14 2006 From: fidojones at ...805... (Lorenzo Tejera) Date: Sat, 23 Sep 2006 15:19:14 +0100 Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <200609231601.00302.gambas@...1...> References: <200609231601.00302.gambas@...1...> Message-ID: <19cca6e50609230719p9791589sa90ee69e30ff7e56@...627...> SVN Hurrayyyyy, and a gambas official Forum???? When? From gambas at ...1... Sat Sep 23 16:34:02 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 16:34:02 +0200 Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <19cca6e50609230719p9791589sa90ee69e30ff7e56@...627...> References: <200609231601.00302.gambas@...1...> <19cca6e50609230719p9791589sa90ee69e30ff7e56@...627...> Message-ID: <200609231634.02415.gambas@...1...> On Saturday 23 September 2006 16:19, Lorenzo Tejera wrote: > SVN Hurrayyyyy, and a gambas official Forum???? When? There are already two or three gambas forums. There is no need of an "official" one, what for? Personally, I only use mailing-list. Regards, -- Benoit Minisini From fidojones at ...805... Sat Sep 23 16:39:30 2006 From: fidojones at ...805... (Lorenzo Tejera) Date: Sat, 23 Sep 2006 15:39:30 +0100 Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <200609231634.02415.gambas@...1...> References: <200609231601.00302.gambas@...1...> <19cca6e50609230719p9791589sa90ee69e30ff7e56@...627...> <200609231634.02415.gambas@...1...> Message-ID: <19cca6e50609230739n3e5535d6x9920d00fc3298009@...627...> It was only an idea, to store better the information of this list, forums are more realiable to find codes, and structure information. 2006/9/23, Benoit Minisini : > > On Saturday 23 September 2006 16:19, Lorenzo Tejera wrote: > > SVN Hurrayyyyy, and a gambas official Forum???? When? > > There are already two or three gambas forums. There is no need of an > "official" one, what for? Personally, I only use mailing-list. > > Regards, > > -- > Benoit Minisini > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From comisat at ...1569... Sat Sep 23 17:20:31 2006 From: comisat at ...1569... (comisat at ...1569...) Date: Sat, 23 Sep 2006 17:20:31 +0200 (CEST) Subject: [Gambas-user] from 1.9.40 to 1.9.43 Problem with qt.kde Message-ID: <1320.87.4.92.26.1159024831.squirrel@...1570...> Hi all On 1.9.43 i have a problem when i use qt.kde and/or qt.kde.html: when a program runs it quit with signal#11. The same problem if i run the webBrowser example. Suggestions ? thanks :) comisat _________________________________________________ * GPG/PGP public key-id: 0xB703A9E2 * http://comisat-games.sourceforge.net * rfc.altervista.org aspetta il tuo contributo * USE=-brain emerge win * "Sulla confezione c'era scritto: necessita' di win9x, winXP o superiore.. ...cosi' ho installato linux" _________________________________________________ From rohnny at ...1248... Sat Sep 23 18:53:14 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 23 Sep 2006 09:53:14 -0700 (PDT) Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <19cca6e50609230739n3e5535d6x9920d00fc3298009@...627...> References: <200609231601.00302.gambas@...1...> <19cca6e50609230719p9791589sa90ee69e30ff7e56@...627...> <200609231634.02415.gambas@...1...> <19cca6e50609230739n3e5535d6x9920d00fc3298009@...627...> Message-ID: <6464242.post@...1379...> Lorenzo Tejera wrote: > > It was only an idea, to store better the information of this list, forums > are more realiable to find codes, and structure information. > > 2006/9/23, Benoit Minisini : >> >> On Saturday 23 September 2006 16:19, Lorenzo Tejera wrote: >> > SVN Hurrayyyyy, and a gambas official Forum???? When? >> >> There are already two or three gambas forums. There is no need of an >> "official" one, what for? Personally, I only use mailing-list. >> >> Regards, >> >> -- >> Benoit Minisini >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > You are welcome at http://forum.stormweb.no . As user there are code snippets and small applications area. All contribution are welcome. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.43-tf2322878.html#a6464242 Sent from the gambas-user mailing list archive at Nabble.com. From sourceforge-raindog2 at ...94... Sat Sep 23 19:33:43 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 23 Sep 2006 13:33:43 -0400 Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <19cca6e50609230739n3e5535d6x9920d00fc3298009@...627...> References: <200609231601.00302.gambas@...1...> <200609231634.02415.gambas@...1...> <19cca6e50609230739n3e5535d6x9920d00fc3298009@...627...> Message-ID: <200609231333.43522.sourceforge-raindog2@...94...> On Saturday 23 September 2006 10:39, Lorenzo Tejera wrote: > It was only an idea, to store better the information of this > list, forums are more realiable to find codes, and structure > information. I disagree; I have 4 years of Gambas user and devel mailing list archives at my fingertips in my kmail "gambas" folder, all easily searchable. If kmail's search doesn't do it for me I have grep available to me. Can't do that with a web forum.... I also like that mailing lists are a "push" medium, whereas I have to manually go to a web forum periodically to see what's new, and I'll forget to do that. In any case, I have participated in the Linuxbasic forums in the past, and Rohnny's stormweb forum looked like it was getting off to a pretty good start.... Rob From gambas at ...1... Sat Sep 23 20:52:49 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 20:52:49 +0200 Subject: [Gambas-user] Problems with subversion Message-ID: <200609232052.49975.gambas@...1...> I tried to import gambas sources inside sourceforge subversion: $ svn import -m "Initial import" --username "gambas" . https://svn.sourceforge.net/svnroot/gambas After sending files for three hours, it stopped with: svn: MERGE request failed on '/svnroot/gambas' svn: MERGE of '/svnroot/gambas': 500 Internal Server Error (https://svn.sourceforge.net) All files were sent, but everything was lost. I will try again, but if somebody can tell me why this error, and how to import gambas reliably in sourceforge svn... -- Benoit Minisini From jredrejo at ...626... Sat Sep 23 21:08:11 2006 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Sat, 23 Sep 2006 21:08:11 +0200 Subject: [Gambas-user] [Gambas-devel] Release of gambas 1.9.43 In-Reply-To: <200609231601.00302.gambas@...1...> References: <200609231601.00302.gambas@...1...> Message-ID: <8eb28a500609231208s1367c73haaf024bec73c772d@...627...> Hi, Debian packages for Sid and linex(sarge compatibility) are already built and tested in the usual place as described at http://gambas.sourceforge.net/download.html Enjoy them. Jos? L. 2006/9/23, Benoit Minisini : > Hi guys, > > The main changes of this version are: > * A new project selection dialog. > * A better file creation dialog. > * The fix of Dialog.Filter syntax nightmare. > * The support for bookmarks in DirChooser and FileChooser controls. > * An updated gb.gtk component. > * The QUIT bug has been fixed. > * You can open hundreds of Sockets without crashing. > > Now I will try to put the Gambas source on sourceforge SVN! > > Here is the full ChangeLog: > > ------------------------------------------------------------------------------- > > DEVELOPMENT ENVIRONMENT > > * NEW: Some little enhancements in automatic completion. > * NEW: The file creation dialog is better now. > * NEW: Importing a form now automatically copies form pictures. > * NEW: Pressing F2 on a NEW expression now brings to the constructor > function. > * NEW: The project tree now arrange classes according to their inheritance > relationships. > * NEW: The open project dialog has been redesigned. > * NEW: Opening a project does not refresh the project tree twice anymore. > * NEW: There is option to select the browser used by the IDE. The default > is using the BROWSER environment variable. > * BUG: The editor function combo-box now only displays the function defined > in the module or class, not the inherited ones. > * BUG: Replace function does not modify read-only module or classes > anymore. > * BUG: You cannot drop controls from the toolbox in read-only editer form. > * BUG: Renaming a form does not set the 'modified' flag anymore. > * BUG: Icon editor and text editor now can be in read-only mode. > * BUG: Symbolic links support has been fixed and enhanced. > * BUG: You cannot modify a read-only form from the property sheet anymore. > * BUG: The project property dialog now displays the stack size correctly. > > EXAMPLES > > * NEW: Printing example has been updated. > > INTERPRETER > > * NEW: Component[] now returns NULL if a component is not loaded. It does > not raise an error anymore. > * BUG: The QUIT instruction works again. > * BUG: The stack defined in the .project file is really used now. > * BUG: Watching or stopping watching file descriptors during an event > handler raised by a watched file descriptor does not crash the > interpreter event loop anymore. > * BUG: Exist() does not follow symbolic links anymore. > > COMPILER > > * BUG: Useless external class references are not inserted anymore in the > bytecode output. > > GB.QT COMPONENT > > * NEW: ComboBox.Popup() is a new method that popups the combo-box list. > * NEW: Window.Stacking is a new property that defines the stacking group of > the window: Window.Normal, Window.Above or Window.Below. This property > replaces the TopOnly property that has been removed. > * NEW: Window.Sticky is a new property that sticks a window on all virtual > desktops. > * BUG: Dialog.Filter syntax has been fixed. > * BUG: Draw.Picture and Draw.Image now behave correctly when drawing > on a masked Picture. > * BUG: UserControl and UserContainer are not creatable anymore. > * BUG: Setting ComboBox.Text now raises the Click event. > > GB.QT.EXT COMPONENT > > * BUG: TableView Select event is now deferred only in multiple selection > mode. > > GB.QT.KDE COMPONENT > > * BUG: Dialog.Filter syntax has been fixed. > > GB.FORM COMPONENT > > * NEW: DirChooser and FileChooser got support for bookmarks. These > bookmarks are displayed in a panel, are shared by all instances of > these controls, and are automatically saved in the > '~/.config/gambas/gb.form.conf' configuration file. > * NEW: DirChooser and FileChooser got two new properties for managing > bookmarks: ShowBookmark, that let displaying the bookmark panel, and > Bookmarks, that allows to add transient bookmarks. These transient > bookmarks are not automatically saved. > * NEW: FileChooser.Settings and DirChooser.Settings are new properties > that return the state of the control in a string array. > * NEW: ListContainer.Clear() is a new method to clear > * BUG: DirChooser got support for Icon event. > * BUG: DateChooser.Value returns the correct date now. > * BUG: ListContainer.Background has been fixed. > > GB.SETTINGS > > * NEW: Settings can save string arrays in a configuration file. > > GB.GTK COMPONENT > > * Updated. > > ------------------------------------------------------------------------------- > > Regards, > > -- > Benoit Minisini > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From rohnny at ...1248... Sat Sep 23 22:10:57 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 23 Sep 2006 13:10:57 -0700 (PDT) Subject: [Gambas-user] runtime problem In-Reply-To: <200609231034.17607.gambas@...1...> References: <6459543.post@...1379...> <200609231034.17607.gambas@...1...> Message-ID: <6466106.post@...1379...> Benoit Minisini wrote: > > On Saturday 23 September 2006 09:28, R. Stormo wrote: >> I have tried to copy all the needed files to destination computer , but >> when I run my prosject is says >> /usr/bin/env : gbr2: No sutch file or directory >> > > It means that gbr2 must be in the PATH. > > Be careful that gambas installation path is hard-encoded inside the > interpreter, unless a /usr/bin/gbx2 symbolic link is defined. In that > case, > the gambas installation path is the directory of the symbolic link target. > > Regards, > > -- > Benoit Minisini > > > Thanks for the tip, I went trough the files and I saw that I had 2 spaces after my gbr2 files so ofcourse it did not find it. The gbi2 files looks like not are needed, what is this file needed for.? I have now made a small software to publish the runtime files at http://forum.stormweb.no/index.php/topic,166.0.html It do read the project file and include the components that project need. Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/runtime-problem-tf2321768.html#a6466106 Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Sep 23 22:37:51 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 22:37:51 +0200 Subject: [Gambas-user] Problems with subversion In-Reply-To: <200609232052.49975.gambas@...1...> References: <200609232052.49975.gambas@...1...> Message-ID: <200609232237.51830.gambas@...1...> On Saturday 23 September 2006 20:52, Benoit Minisini wrote: > I tried to import gambas sources inside sourceforge subversion: > > $ svn import -m "Initial import" --username "gambas" . > https://svn.sourceforge.net/svnroot/gambas > > After sending files for three hours, it stopped with: > > svn: MERGE request failed on '/svnroot/gambas' > svn: MERGE of '/svnroot/gambas': 500 Internal Server Error > (https://svn.sourceforge.net) > > All files were sent, but everything was lost. > > I will try again, but if somebody can tell me why this error, and how to > import gambas reliably in sourceforge svn... I finally succeeded in importing gambas2 sources inside the sourceforge subversion repository, by splitting the process in smaller parts. The only difference with 1.9.43 is the help directory: I compressed the ~3000 help files in a help.tar.bz2 file, to speed up the import. Now I just have to change the help/Makefile.am file so that this archive is uncompressed at installation time. You can checkout now! -- Benoit Minisini From gambas at ...1... Sat Sep 23 22:53:07 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 23 Sep 2006 22:53:07 +0200 Subject: [Gambas-user] Problems with subversion In-Reply-To: <200609232052.49975.gambas@...1...> References: <200609232052.49975.gambas@...1...> Message-ID: <200609232253.07307.gambas@...1...> On Saturday 23 September 2006 20:52, Benoit Minisini wrote: > I tried to import gambas sources inside sourceforge subversion: > > $ svn import -m "Initial import" --username "gambas" . > https://svn.sourceforge.net/svnroot/gambas > > After sending files for three hours, it stopped with: > > svn: MERGE request failed on '/svnroot/gambas' > svn: MERGE of '/svnroot/gambas': 500 Internal Server Error > (https://svn.sourceforge.net) > > All files were sent, but everything was lost. > > I will try again, but if somebody can tell me why this error, and how to > import gambas reliably in sourceforge svn... I fixed the installation ofthe help files and comitted it. So by doing: $ svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk ...you will get the last snapshot of the development version, that is now fully compilable for now. -- Benoit Minisini From ronstk at ...239... Sun Sep 24 03:13:31 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 24 Sep 2006 03:13:31 +0200 Subject: [Gambas-user] Problems with subversion In-Reply-To: <200609232253.07307.gambas@...1...> References: <200609232052.49975.gambas@...1...> <200609232253.07307.gambas@...1...> Message-ID: <200609240313.32058.ronstk@...239...> On Saturday 23 September 2006 22:53, Benoit Minisini wrote: > > I will try again, but if somebody can tell me why this error, and how to > > import gambas reliably in sourceforge svn... > > I fixed the installation ofthe help files and comitted it. > > So by doing: > > $ svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk > > ...you will get the last snapshot of the development version, that is now > fully compilable for now. > > -- > Benoit Minisini > yum, yum mkdir /home/ron/src/svn cd /home/ron/src/svn svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk chown -R ron:users trunk cd trunk ./configure --prefix=/opt/gb terminator:/home/ron/src/svn/trunk # ./configure -C --prefix=/opt/gb configure: creating cache config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu updating cache config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged configure: configuring in main configure: running /bin/sh './configure' --prefix=/opt/gb '-C' '--prefix=/opt/gb' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes link: too few arguments Try `link --help' for more information. configure: WARNING: `missing' script is too old or missing checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes configure: error: cannot run /bin/sh ./config.sub configure: error: /bin/sh './configure' failed for main above is second trial with adding the -C to configure. Ron From gambas at ...1... Sun Sep 24 10:22:07 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Sep 2006 10:22:07 +0200 Subject: [Gambas-user] Problems with subversion In-Reply-To: <200609240313.32058.ronstk@...239...> References: <200609232052.49975.gambas@...1...> <200609232253.07307.gambas@...1...> <200609240313.32058.ronstk@...239...> Message-ID: <200609241022.07920.gambas@...1...> On Sunday 24 September 2006 03:13, Ron Onstenk wrote: > On Saturday 23 September 2006 22:53, Benoit Minisini wrote: > > > I will try again, but if somebody can tell me why this error, and how > > > to import gambas reliably in sourceforge svn... > > > > I fixed the installation ofthe help files and comitted it. > > > > So by doing: > > > > $ svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk > > > > ...you will get the last snapshot of the development version, that is now > > fully compilable for now. > > > > -- > > Benoit Minisini > > yum, yum > > mkdir /home/ron/src/svn > cd /home/ron/src/svn > svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk > chown -R ron:users trunk > cd trunk > ./configure --prefix=/opt/gb > > > terminator:/home/ron/src/svn/trunk # ./configure -C --prefix=/opt/gb > configure: creating cache config.cache > checking whether to enable maintainer-specific portions of Makefiles... no > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > updating cache config.cache > configure: creating ./config.status > config.status: creating Makefile > config.status: creating config.h > config.status: config.h is unchanged > configure: configuring in main > configure: running /bin/sh './configure' --prefix=/opt/gb '-C' > '--prefix=/opt/gb' --cache-file=../config.cache --srcdir=. configure: > loading cache ../config.cache > checking for a BSD-compatible install... (cached) /usr/bin/install -c > checking whether build environment is sane... yes > link: too few arguments > Try `link --help' for more information. > configure: WARNING: `missing' script is too old or missing > checking for gawk... (cached) gawk > checking whether make sets $(MAKE)... (cached) yes > configure: error: cannot run /bin/sh ./config.sub > configure: error: /bin/sh './configure' failed for main > > > above is second trial with adding the -C to configure. > > Ron > Try to do a ./reconf before, maybe it will work. -- Benoit Minisini From rohnny at ...1248... Sun Sep 24 10:19:05 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 24 Sep 2006 01:19:05 -0700 (PDT) Subject: [Gambas-user] Bug: gtk ? Message-ID: <6470142.post@...1379...> Running Gambas 1.9.43 on Ubuntu Dapper. If I have a button that execute ME.delete it only exit without entring the Form_Close() sub. With gb.qt it do go trough the Form_Close() and execute the code here. My form_close to prevent window from beeing closed. PUBLIC SUB Form_Close() IF module1.ShallClose THEN STOP EVENT END Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Bug%3A-gtk---tf2325678.html#a6470142 Sent from the gambas-user mailing list archive at Nabble.com. From d.paleino at ...626... Sun Sep 24 11:38:06 2006 From: d.paleino at ...626... (David Paleino) Date: Sun, 24 Sep 2006 11:38:06 +0200 Subject: [Gambas-user] Cannot open old project with 1.9.43 (from apt.linex.org) Message-ID: <451651FE.6080100@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 o/ * ! This morning I've switched from the 1.9.39 repository to the 1.9.43 one of apt.linex.org. Suddenly a problem came! ( :( ) In fact, when opening an old project, made with gambas1, an error dialog appears telling me: Cannot open project file : /home/neo/code/gambas/gamkpkg Null object Project.GetFileIcon.479 Clicking on "OK", it goes back to Gambas' main screen, where you can choose whether starting a new project or opening an existing one. Starting it via shell, the error messages I get are a bunch of: Stock._get.220: Cannot find: directory And, when I close gambas: WARNING: circular references detected CClassInfo (139) CSymbolInfo (1993) CPropertyInfo (743) CComponent (28) Any idea on this? David - -- Linux Registered User #334216 Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 Staff >> http://www.debianizzati.org << -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFFlH+5sXXcRsFI+cRAjKHAKCURqn5/n4YMlAd2M8b3Aom9+dnNgCgu8Dx B2kGY9ogtXXu1ft5m/hyJ5M= =Ierl -----END PGP SIGNATURE----- From henrique.ulbrich at ...626... Sun Sep 24 19:16:44 2006 From: henrique.ulbrich at ...626... (Henrique Cesar Ulbrich) Date: Sun, 24 Sep 2006 14:16:44 -0300 Subject: [Gambas-user] runtime problem In-Reply-To: <200609231034.17607.gambas@...1...> References: <6459543.post@...1379...> <200609231034.17607.gambas@...1...> Message-ID: <200609241416.50129.henrique.ulbrich@...626...> Hello. That's my first post in here. I'm routeing the message through Benoit and Rob because SourceForge seems to be denying my gmail account. Historians believe that, Sat 23 Sep 2006 05:34, Benoit Minisini said: > Be careful that gambas installation path is hard-encoded inside the > interpreter, Why, may I ask? Hardcoded things never seem to be a good idea in any way. -- Henrique Cesar Ulbrich henrique.ulbrich at ...626... Este email est? assinado digitalmente (PGP). -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available URL: From ronstk at ...239... Sun Sep 24 19:58:14 2006 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 24 Sep 2006 19:58:14 +0200 Subject: [Gambas-user] Problems with subversion In-Reply-To: <200609241022.07920.gambas@...1...> References: <200609232052.49975.gambas@...1...> <200609240313.32058.ronstk@...239...> <200609241022.07920.gambas@...1...> Message-ID: <200609241958.15026.ronstk@...239...> On Sunday 24 September 2006 10:22, Benoit Minisini wrote: > On Sunday 24 September 2006 03:13, Ron Onstenk wrote: --8<-- > > Ron > > > > Try to do a ./reconf before, maybe it will work. > To be safe I started again getting the source. At the end it say A trunk/examples/examples/Games/BeastScroll/sprite_nuages3.png A trunk/examples/install-sh A trunk/install-sh Checked out revision 41. <============ aclocal (GNU automake) 1.9.5 automake (GNU automake) 1.9.5 autoreconf (GNU Autoconf) 2.59 autoconf (GNU Autoconf) 2.59 autom4te (GNU Autoconf) 2.59 # cd trunk/ #./reconf /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/avifile.m4:21: warning: underquoted definition of AM_PATH_AVIFILE /usr/local/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT /usr/local/share/aclocal/avifile.m4:21: warning: underquoted definition of AM_PATH_AVIFILE *** note: has something to do with SuSE distro (i could ignore it always) # ./configure --prefix=/opt/gbsvn same result about 'missing to old' ... link: too few arguments Try `link --help' for more information. configure: WARNING: `missing' script is too old or missing ... *** note: the file 'missing' is not missing :) With diff: the aclocal.m4 differs in version: tar=1.9.4 svn=1.9.5 makefile.in: tar=1.9.4 svn=1.9.5 *** note: unknown it is now because of the reconf from config.log on tarbal: config.status:700: creating Makefile config.status:804: creating config.h configure:3750: configuring in main configure:3867: running /bin/sh './configure' --prefix=/opt/gb '-C' '--prefix=/opt/gb' --cache-file=../config.cache --srcdir=. configure:3750: configuring in gb.compress.bzlib2 configure:3867: running /bin/sh './configure' --prefix=/opt/gb '-C' '--prefix=/opt/gb' --cache-file=../config.cache --srcdir=. configure:3750: configuring in gb.compress.zlib same config.log on svn: config.status:700: creating Makefile config.status:804: creating config.h configure:3750: configuring in main configure:3867: running /bin/sh './configure' --prefix=/opt/gbsvn '--prefix=/opt/gbsvn' --cache-file=/dev/null --srcdir=. configure:3872: error: /bin/sh './configure' failed for main *** note: some problen in the 'main' directory? from config.log in /main on tarbal: ## ----------- ## ## Core tests. ## ## ----------- ## configure:1425: loading cache ../config.cache configure:1556: checking for a BSD-compatible install configure:1611: result: /usr/bin/install -c configure:1622: checking whether build environment is sane configure:1665: result: yes configure:1730: checking for gawk configure:1756: result: gawk configure:1766: checking whether make sets $(MAKE) configure:1786: result: yes configure:1810: checking build system type configure:1828: result: i686-pc-linux-gnu same config.log in /main on svn: ## ----------- ## ## Core tests. ## ## ----------- ## configure:1556: checking for a BSD-compatible install configure:1611: result: /usr/bin/install -c configure:1622: checking whether build environment is sane configure:1665: result: yes configure:1689: WARNING: `missing' script is too old or missing configure:1730: checking for gawk configure:1746: found /usr/bin/gawk configure:1756: result: gawk configure:1766: checking whether make sets $(MAKE) configure:1786: result: yes configure:1806: error: cannot run /bin/sh ./config.sub *** note: Bingo? look in trunk/main/config.sub !! file exist, content 'link ../config.sub' found same in trunk/gb.xml *** note: in the tarbal it is a symlink I suppose the config.sub is stored as file describing a link instead real symlink. Replace it by real symlink retry ./configure -C --prefix=/opt/gbsvn It goes much far now configure: error: cannot run /bin/sh ./config.sub configure: error: /bin/sh './configure' failed for gb.compress.bzlib2 Same replace done and OK Sorry for the long report but it is to know my way of check is correct. Ron From d.paleino at ...626... Sun Sep 24 21:59:57 2006 From: d.paleino at ...626... (David Paleino) Date: Sun, 24 Sep 2006 21:59:57 +0200 Subject: [Gambas-user] Introduction + Problems with Qt In-Reply-To: <200609161721.47474.sourceforge-raindog2@...94...> References: <450C4A93.1080601@...626...> <200609162154.52051.gambas@...1...> <450C5F0F.7000105@...626...> <200609161721.47474.sourceforge-raindog2@...94...> Message-ID: <4516E3BD.8070708@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rob wrote: > > ... > Some updates: with some things installed (for instance, the QtCurve theme for KDE and some KDE development libraries, needed to compile the former), qt3 looks better. Not as I'd expect, but better than before. I also noticed that qt4 apps (for clarity, I've only tried running `qtconfig-qt4`, which is obviously a qt4 app) looks far better than qt3. Is there any possibility to let Gambas IDE use qt4 instead of qt3? I'm looking at `qt3to4`, which is an app I currently have on my Debian (libqt4-dev package). Cheers, David - -- Linux Registered User #334216 Get FireFox! >> http://www.spreadfirefox.com/?q=affiliates&id=48183&t=1 Staff >> http://www.debianizzati.org << -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.20 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFFuO85sXXcRsFI+cRAiCUAJ9+r73fU0MZ63TLNIMSkBN0hJJ5CACgpUmi u2o4QQiKybNUveU7D3u3LLU= =Eyix -----END PGP SIGNATURE----- From dcamposf at ...626... Sun Sep 24 23:03:20 2006 From: dcamposf at ...626... (Daniel Campos) Date: Sun, 24 Sep 2006 23:03:20 +0200 Subject: [Gambas-user] Bug: gtk ? In-Reply-To: <6470142.post@...1379...> References: <6470142.post@...1379...> Message-ID: <7259b5ae0609241403s5e85354ds1e344763c42ffccf@...627...> I'd need the source code to test that. Regards, Daniel 2006/9/24, R. Stormo : > > Running Gambas 1.9.43 on Ubuntu Dapper. > > If I have a button that execute > ME.delete > > it only exit without entring the Form_Close() sub. With gb.qt it do go > trough the Form_Close() and execute the > code here. > > My form_close to prevent window from beeing closed. > PUBLIC SUB Form_Close() > IF module1.ShallClose THEN STOP EVENT > END > > > Regards Rohnny > http://forum.stormweb.no > -- > View this message in context: http://www.nabble.com/Bug%3A-gtk---tf2325678.html#a6470142 > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...9... Sun Sep 24 23:12:45 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 24 Sep 2006 23:12:45 +0200 Subject: [Gambas-user] subversion problems Message-ID: <200609242312.45560.Karl.Reinl@...9...> Salut, after newly installed subversion 1.3.2 on gentoo stable svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk (saw it in Ron mail) get : svn: PROPFIND Anfrage fehlgeschlagen auf '/svnroot/gambas/2.0/trunk' svn: PROPFIND von '/svnroot/gambas/2.0/trunk': SSL negotiation failed: SSL disabled due to library version mismatch (https://svn.sourceforge.net) a https://svn.sourceforge.net/svnroot/gambas/2.0/trunk in browser connects. Amicalment Charlie From gambas at ...1... Sun Sep 24 23:37:14 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Sep 2006 23:37:14 +0200 Subject: [Gambas-user] subversion problems In-Reply-To: <200609242312.45560.Karl.Reinl@...9...> References: <200609242312.45560.Karl.Reinl@...9...> Message-ID: <200609242337.15099.gambas@...1...> On Sunday 24 September 2006 23:12, Charlie Reinl wrote: > Salut, > > after newly installed subversion 1.3.2 on gentoo stable > > svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk > (saw it in Ron mail) > get : > svn: PROPFIND Anfrage fehlgeschlagen auf '/svnroot/gambas/2.0/trunk' > svn: PROPFIND von '/svnroot/gambas/2.0/trunk': SSL negotiation failed: SSL > disabled due to library version mismatch (https://svn.sourceforge.net) > > a https://svn.sourceforge.net/svnroot/gambas/2.0/trunk in browser > connects. > > Amicalment > Charlie > I think you must use an older version of subversion. But I am not a specialist. Mine is 1.2.3 version. Regards, -- Benoit Minisini From Karl.Reinl at ...9... Sun Sep 24 23:28:01 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 24 Sep 2006 23:28:01 +0200 Subject: [Gambas-user] Fwd: subversion problems (SLOVED) Message-ID: <200609242328.01919.Karl.Reinl@...9...> Salut, neon and glibc differs, after compliling neon now the download works Amicalment Charlie ---------- Forwarded Message ---------- Subject: subversion problems Date: Sunday 24 September 2006 23:12 From: Charlie Reinl To: "gambas-user" , gambas-devel at lists.sourceforge.net Salut, after newly installed subversion 1.3.2 on gentoo stable svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk (saw it in Ron mail) get : svn: PROPFIND Anfrage fehlgeschlagen auf '/svnroot/gambas/2.0/trunk' svn: PROPFIND von '/svnroot/gambas/2.0/trunk': SSL negotiation failed: SSL disabled due to library version mismatch (https://svn.sourceforge.net) a https://svn.sourceforge.net/svnroot/gambas/2.0/trunk in browser connects. Amicalment Charlie ------------------------------------------------------- From lordheavy at ...512... Sun Sep 24 23:39:21 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 24 Sep 2006 23:39:21 +0200 Subject: [Gambas-user] subversion problems In-Reply-To: <200609242312.45560.Karl.Reinl@...9...> References: <200609242312.45560.Karl.Reinl@...9...> Message-ID: <200609242339.21990.lordheavy@...512...> Le dimanche 24 septembre 2006 23:12, Charlie Reinl a ?crit?: > Salut, > > after newly installed subversion 1.3.2 on gentoo stable > > svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk > (saw it in Ron mail) > get : > svn: PROPFIND Anfrage fehlgeschlagen auf '/svnroot/gambas/2.0/trunk' > svn: PROPFIND von '/svnroot/gambas/2.0/trunk': SSL negotiation failed: SSL > disabled due to library version mismatch (https://svn.sourceforge.net) > > a https://svn.sourceforge.net/svnroot/gambas/2.0/trunk in browser > connects. > > Amicalment > Charlie > I guess it's a problem with your ssl version library. Here (on ubuntu) i've got svn 1.3.1, libSSL 0.9.8 and it's working fine. after somme 'googling' i've find this : http://groups.google.com/group/google-code-hosting/browse_thread/thread/968e456496813c31/c5203fbaaac08a22#c5203fbaaac08a22 Regards, From Karl.Reinl at ...9... Sun Sep 24 23:49:41 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 24 Sep 2006 23:49:41 +0200 Subject: [Gambas-user] subversion problems In-Reply-To: <200609242339.21990.lordheavy@...512...> References: <200609242312.45560.Karl.Reinl@...9...> <200609242339.21990.lordheavy@...512...> Message-ID: <1159134582.5470.14.camel@...40...> Salut Laurent, found it also by googleing, somewher and a emerge subversion -e -p showed me also neon, I gave that a chance, while knowing, recently updateing glibc. Seams a blackhole at gentoo. Thanks Amicalment charlie Am Sonntag, den 24.09.2006, 23:39 +0200 schrieb Laurent Carlier: > Le dimanche 24 septembre 2006 23:12, Charlie Reinl a ?crit : > > Salut, > > > > after newly installed subversion 1.3.2 on gentoo stable > > > > svn checkout https://svn.sourceforge.net/svnroot/gambas/2.0/trunk > > (saw it in Ron mail) > > get : > > svn: PROPFIND Anfrage fehlgeschlagen auf '/svnroot/gambas/2.0/trunk' > > svn: PROPFIND von '/svnroot/gambas/2.0/trunk': SSL negotiation failed: SSL > > disabled due to library version mismatch (https://svn.sourceforge.net) > > > > a https://svn.sourceforge.net/svnroot/gambas/2.0/trunk in browser > > connects. > > > > Amicalment > > Charlie > > > > I guess it's a problem with your ssl version library. Here (on ubuntu) i've > got svn 1.3.1, libSSL 0.9.8 and it's working fine. > > after somme 'googling' i've find this : > http://groups.google.com/group/google-code-hosting/browse_thread/thread/968e456496813c31/c5203fbaaac08a22#c5203fbaaac08a22 > > Regards, > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rohnny at ...1248... Mon Sep 25 06:12:16 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 24 Sep 2006 21:12:16 -0700 (PDT) Subject: [Gambas-user] Bug: gtk ? In-Reply-To: <7259b5ae0609241403s5e85354ds1e344763c42ffccf@...627...> References: <6470142.post@...1379...> <7259b5ae0609241403s5e85354ds1e344763c42ffccf@...627...> Message-ID: <6480009.post@...1379...> Daniel Campos-3 wrote: > > I'd need the source code to test that. > > Regards, > > Daniel > > > 2006/9/24, R. Stormo : >> >> Running Gambas 1.9.43 on Ubuntu Dapper. >> >> If I have a button that execute >> ME.delete >> >> it only exit without entring the Form_Close() sub. With gb.qt it do go >> trough the Form_Close() and execute the >> code here. >> >> My form_close to prevent window from beeing closed. >> PUBLIC SUB Form_Close() >> IF module1.ShallClose THEN STOP EVENT >> END >> >> >> Regards Rohnny >> http://forum.stormweb.no >> -- >> View this message in context: >> http://www.nabble.com/Bug%3A-gtk---tf2325678.html#a6470142 >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > If the file does not go trough this is the project. 1 module with nothing in. 1 form called fform on this form there is a button and a textbox. with this code inside. ' Gambas class file PUBLIC SUB Form_Close() PRINT "close" END PUBLIC SUB KeyButton_Click() ME.delete END Switch between gtk and qt and you will see that it does not goto the form_close Regards Rohnny http://forum.stormweb.no http://www.nabble.com/file/124/test1-0.0.1.tar.gz test1-0.0.1.tar.gz -- View this message in context: http://www.nabble.com/Bug%3A-gtk---tf2325678.html#a6480009 Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Tue Sep 26 11:50:08 2006 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 26 Sep 2006 11:50:08 +0200 Subject: [Gambas-user] Problems with subversion In-Reply-To: <200609241958.15026.ronstk@...239...> References: <200609232052.49975.gambas@...1...> <200609240313.32058.ronstk@...239...> <200609241022.07920.gambas@...1...> <200609241958.15026.ronstk@...239...> Message-ID: <6324a42a0609260250m521a95c9qd4d0da1406d99073@...627...> using automake 1.7 and ./reconf-all seem to be ok 2006/9/24, Ron Onstenk : > > On Sunday 24 September 2006 10:22, Benoit Minisini wrote: > > On Sunday 24 September 2006 03:13, Ron Onstenk wrote: > > --8<-- > > > > Ron > > > > > > > Try to do a ./reconf before, maybe it will work. > > > > To be safe I started again getting the source. > At the end it say > > A trunk/examples/examples/Games/BeastScroll/sprite_nuages3.png > A trunk/examples/install-sh > A trunk/install-sh > Checked out revision 41. <============ > > > aclocal (GNU automake) 1.9.5 > automake (GNU automake) 1.9.5 > autoreconf (GNU Autoconf) 2.59 > autoconf (GNU Autoconf) 2.59 > autom4te (GNU Autoconf) 2.59 > > # cd trunk/ > > #./reconf > > /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of > AC_PATH_LQT > run info '(automake)Extending aclocal' > or see > http://sources.redhat.com/automake/automake.html#Extending-aclocal > /usr/share/aclocal/avifile.m4:21: warning: underquoted definition of > AM_PATH_AVIFILE > /usr/local/share/aclocal/lqt.m4:14: warning: underquoted definition of > AC_PATH_LQT > /usr/local/share/aclocal/avifile.m4:21: warning: underquoted definition of > AM_PATH_AVIFILE > > *** note: has something to do with SuSE distro (i could ignore it always) > > # ./configure --prefix=/opt/gbsvn > same result about 'missing to old' > > ... > link: too few arguments > Try `link --help' for more information. > configure: WARNING: `missing' script is too old or missing > ... > > *** note: the file 'missing' is not missing :) > > With diff: > the aclocal.m4 differs in version: tar=1.9.4 svn=1.9.5 > makefile.in: tar=1.9.4 svn=1.9.5 > > *** note: unknown it is now because of the reconf > > > from config.log on tarbal: > > config.status:700: creating Makefile > config.status:804: creating config.h > configure:3750: configuring in main > configure:3867: running /bin/sh './configure' --prefix=/opt/gb '-C' > '--prefix=/opt/gb' --cache-file=../config.cache --srcdir=. > configure:3750: configuring in gb.compress.bzlib2 > configure:3867: running /bin/sh './configure' --prefix=/opt/gb '-C' > '--prefix=/opt/gb' --cache-file=../config.cache --srcdir=. > configure:3750: configuring in gb.compress.zlib > > same config.log on svn: > config.status:700: creating Makefile > config.status:804: creating config.h > configure:3750: configuring in main > configure:3867: running /bin/sh './configure' > --prefix=/opt/gbsvn '--prefix=/opt/gbsvn' --cache-file=/dev/null --srcdir=. > configure:3872: error: /bin/sh './configure' failed for main > > *** note: some problen in the 'main' directory? > > from config.log in /main on tarbal: > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1425: loading cache ../config.cache > configure:1556: checking for a BSD-compatible install > configure:1611: result: /usr/bin/install -c > configure:1622: checking whether build environment is sane > configure:1665: result: yes > configure:1730: checking for gawk > configure:1756: result: gawk > configure:1766: checking whether make sets $(MAKE) > configure:1786: result: yes > configure:1810: checking build system type > configure:1828: result: i686-pc-linux-gnu > > same config.log in /main on svn: > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1556: checking for a BSD-compatible install > configure:1611: result: /usr/bin/install -c > configure:1622: checking whether build environment is sane > configure:1665: result: yes > configure:1689: WARNING: `missing' script is too old or missing > configure:1730: checking for gawk > configure:1746: found /usr/bin/gawk > configure:1756: result: gawk > configure:1766: checking whether make sets $(MAKE) > configure:1786: result: yes > configure:1806: error: cannot run /bin/sh ./config.sub > > *** note: Bingo? > > look in trunk/main/config.sub > !! file exist, content 'link ../config.sub' > found same in trunk/gb.xml > *** note: in the tarbal it is a symlink > > I suppose the config.sub is stored as file describing a link instead real > symlink. > > Replace it by real symlink > retry ./configure -C --prefix=/opt/gbsvn > It goes much far now > > configure: error: cannot run /bin/sh ./config.sub > configure: error: /bin/sh './configure' failed for gb.compress.bzlib2 > > Same replace done and OK > > Sorry for the long report but it is to know my way of check is correct. > > > Ron > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From timothy.marshal-nichols at ...247... Tue Sep 26 14:07:50 2006 From: timothy.marshal-nichols at ...247... (Timothy Marshal-Nichols) Date: Tue, 26 Sep 2006 13:07:50 +0100 Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <200609231601.00302.gambas@...1...> Message-ID: <000001c6e164$65125fc0$423b1b52@...1587...> * BUG: Dialog.Filter syntax has been fixed. A new bug appears to have entered the file filter syntax with Gambas 1.9.43. If you enter the file filter: Dialog.Filter = ["*.htm;*.html", "HTML Files", "*", "All Files"] You get two "All Files" entries in the dialog. (The second one as "All files (*)") - lower case "f". I am sure the dialog did not behave like this before. Thanks 8-{)} Timothy Marshal-Nichols From gambas.fr at ...626... Tue Sep 26 14:47:09 2006 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 26 Sep 2006 14:47:09 +0200 Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <000001c6e164$65125fc0$423b1b52@...1587...> References: <200609231601.00302.gambas@...1...> <000001c6e164$65125fc0$423b1b52@...1587...> Message-ID: <6324a42a0609260547l1da60d63j5986f9686a180e33@...627...> it is feature ! it is by default added at the end of the combo filter list 2006/9/26, Timothy Marshal-Nichols : > > > * BUG: Dialog.Filter syntax has been fixed. > > A new bug appears to have entered the file filter syntax with Gambas > 1.9.43. If you enter the file filter: > > Dialog.Filter = ["*.htm;*.html", "HTML Files", "*", "All Files"] > > > You get two "All Files" entries in the dialog. (The second one as "All > files (*)") - lower case "f". I am sure the dialog did not behave like > this before. > > > Thanks > > 8-{)} Timothy Marshal-Nichols > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From wspinto at ...1405... Tue Sep 26 18:21:43 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Tue, 26 Sep 2006 13:21:43 -0300 Subject: [Gambas-user] Key.Code problems In-Reply-To: References: Message-ID: <1159287703.45195397afe83@...1418...> Hi! The Key.Code not work with latin caracteres. Example: (in my computer with gambas 1.9.43) Run the gambas2 show the console gambas with F11 type: ? Asc("A") => Return 65 ? Asc("E") => Return 69 ? Asc("?") => Return 195 ? Asc("?") => Return too 195 if Asc("any acentued character (?????...)" => Return too 195 Reguards, Souza, Wellington ___________________________________________________________________________________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu telefone de casa ou celular. Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! From gambas at ...1... Tue Sep 26 18:40:49 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Sep 2006 18:40:49 +0200 Subject: [Gambas-user] Release of gambas 1.9.43 In-Reply-To: <000001c6e164$65125fc0$423b1b52@...1587...> References: <000001c6e164$65125fc0$423b1b52@...1587...> Message-ID: <200609261840.49713.gambas@...1...> On Tuesday 26 September 2006 14:07, Timothy Marshal-Nichols wrote: > * BUG: Dialog.Filter syntax has been fixed. > > A new bug appears to have entered the file filter syntax with Gambas > 1.9.43. If you enter the file filter: > > Dialog.Filter = ["*.htm;*.html", "HTML Files", "*", "All Files"] > > > You get two "All Files" entries in the dialog. (The second one as "All > files (*)") - lower case "f". I am sure the dialog did not behave like > this before. > > > Thanks > > 8-{)} Timothy Marshal-Nichols > > Dialog.Filter property could detect that "*" filter was specified, and don't add it automatically then. I will do that... -- Benoit Minisini From gambas at ...1... Tue Sep 26 18:42:29 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Sep 2006 18:42:29 +0200 Subject: [Gambas-user] Key.Code problems In-Reply-To: <1159287703.45195397afe83@...1418...> References: <1159287703.45195397afe83@...1418...> Message-ID: <200609261842.29586.gambas@...1...> On Tuesday 26 September 2006 18:21, wspinto at ...1405... wrote: > Hi! > > The Key.Code not work with latin caracteres. > > Example: (in my computer with gambas 1.9.43) > > Run the gambas2 > show the console gambas with F11 > type: > > ? Asc("A") => Return 65 > ? Asc("E") => Return 69 > > ? Asc("?") => Return 195 > ? Asc("?") => Return too 195 > if Asc("any acentued character (?????...)" => Return too 195 > > Reguards, > > Souza, Wellington Asc() is for ASCII, and Gambas uses UTF-8 encoding. You must use the String class to deal with non-ASCII character. The equivalent of Asc() is String.Code(). Regards, -- Benoit Minisini From gambas at ...1... Tue Sep 26 20:44:25 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Sep 2006 20:44:25 +0200 Subject: [Gambas-user] Changes in subversion repository Message-ID: <200609262044.25587.gambas@...1...> Hi, The files that are automatically generated were removed from the repository. So, now, when you do a checkout for the first time, you have to do a './reconf-all' to generate all the configure files, before doing a './configure -C'. Regards, -- Benoit Minisini From serge.bouc at ...402... Wed Sep 27 01:53:09 2006 From: serge.bouc at ...402... (serge bouc) Date: Wed, 27 Sep 2006 01:53:09 +0200 Subject: [Gambas-user] Grabing an image from a drawingarea ? Message-ID: <4519BD65.8030503@...402...> Hello everybody, I am trying to use gambas to create a drawing software for some mathematical objects. My problem is the following : I can create images in large drawingareas (I mean larger than the screen), and view them in a scrollview. This works fine. The problem is now to save these images to disk : for this, I have to create an *image* in Gambas, but all I can do is "grab" a *picture* from the drawing area, and then convert it to an image. And when I do this, the image is clipped to the part of the drawingarea which is actually drawn on the screen, so I don't recover the whole image present on the drawingarea. And this seems to be a normal behaviour, since if I understand the documentation correctly, a "picture" in Gambas is drawn on the screen, whereas an "image" is in memory. So is there a way to recover the image directly from the memory of a drawingarea, without drawing it to the screen, to avoid clipping ? Thanks for any suggestion. Serge. From joe1962 at ...626... Wed Sep 27 08:11:06 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 27 Sep 2006 02:11:06 -0400 Subject: [Gambas-user] Running Gambas without KDE Message-ID: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> Gambas 1.0.17 builds and runs fine with QT and GTK+2 on XFCE (no KDE or Gnome), 1.9.43 builds ok, but when run gives the following error: ERROR: #2: Cannot load class 'Stock': Unable to load class file Is there a ./configure --disable that will help (couldn't find any with "./configure --help"), or is the Stock class absolutely neccessary, meaning KDE or Gnome are a must now? Regards, Joe1962 From gambas at ...1... Wed Sep 27 08:42:38 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Sep 2006 08:42:38 +0200 Subject: [Gambas-user] Running Gambas without KDE In-Reply-To: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> References: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> Message-ID: <200609270842.38793.gambas@...1...> On Wednesday 27 September 2006 08:11, Jose J. Rodriguez wrote: > Gambas 1.0.17 builds and runs fine with QT and GTK+2 on XFCE (no KDE > or Gnome), 1.9.43 builds ok, but when run gives the following error: > > ERROR: #2: Cannot load class 'Stock': Unable to load class file > > Is there a ./configure --disable that will help (couldn't find any > with "./configure --help"), or is the Stock class absolutely > neccessary, meaning KDE or Gnome are a must now? > > Regards, > Joe1962 > The Stock class is part of the gb.qt component. If you have this error, then something went wrong in you compilation and/or installation. Check that you have a 'gb.qt.gambas' file in the same place as 'gb.qt.so' and 'gb.qt.component'. Regards, -- Benoit Minisini From gambas at ...1... Wed Sep 27 08:45:56 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 27 Sep 2006 08:45:56 +0200 Subject: [Gambas-user] Grabing an image from a drawingarea ? In-Reply-To: <4519BD65.8030503@...402...> References: <4519BD65.8030503@...402...> Message-ID: <200609270845.56230.gambas@...1...> On Wednesday 27 September 2006 01:53, serge bouc wrote: > Hello everybody, > > I am trying to use gambas to create a drawing software for some > mathematical objects. My problem is the following : I can create > images in large drawingareas (I mean larger than the screen), > and view them in a scrollview. This works fine. > The problem is now to save these images to disk : for this, I have > to create an *image* in Gambas, but all I can do is "grab" a *picture* > from the drawing area, and then convert it to an image. And when > I do this, the image is clipped to the part of the drawingarea which > is actually drawn on the screen, so I don't recover the whole image > present on the drawingarea. > And this seems to be a normal behaviour, since if I understand the > documentation correctly, a "picture" in Gambas is drawn on the screen, > whereas an "image" is in memory. Grab() just returns what is visible on the screen. > So is there a way to recover the image directly from the memory of > a drawingarea, without drawing it to the screen, to avoid clipping ? > I think you use a cached DrawingArea. To be able to control the picture you display, you must used an uncached DrawingArea, have the Picture you display in a variable, and display it in the Draw event of the DrawingArea. Then you will be able to save the Picture easily. Regards, -- Benoit Minisini From sourceforge-raindog2 at ...94... Wed Sep 27 08:44:14 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 27 Sep 2006 02:44:14 -0400 Subject: [Gambas-user] Running Gambas without KDE In-Reply-To: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> References: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> Message-ID: <200609270244.15141.sourceforge-raindog2@...94...> On Wednesday 27 September 2006 02:11, Jose J. Rodriguez wrote: > Is there a ./configure --disable that will help (couldn't find > any with "./configure --help"), or is the Stock class > absolutely neccessary, meaning KDE or Gnome are a must now? The Stock class is implemented in Gambas, so the configure script shouldn't affect it at all unless you disable gb.qt and gb.gtk. Its .project file only seems to require gb.qt for the Qt one, which is used in the IDE, so I'm not sure why it's not building for you. The code does try to autodetect whether you're running KDE or GNOME and has no "else" condition (which should return blank icons? or the original ones from Gambas 1.x?), but I can't see why it wouldn't compile. Could you go into the Gambas source directory, cd gb.qt/src/gb.qt and run gbc2 and then gbx2 and report any errors you get? Rob From joe1962 at ...626... Wed Sep 27 08:53:42 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 27 Sep 2006 02:53:42 -0400 Subject: [Gambas-user] Running Gambas without KDE In-Reply-To: <200609270842.38793.gambas@...1...> References: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> <200609270842.38793.gambas@...1...> Message-ID: <6c208f950609262353v3ca19693t4ac45e0b580a8199@...627...> On 9/27/06, Benoit Minisini wrote: > On Wednesday 27 September 2006 08:11, Jose J. Rodriguez wrote: > > Gambas 1.0.17 builds and runs fine with QT and GTK+2 on XFCE (no KDE > > or Gnome), 1.9.43 builds ok, but when run gives the following error: > > > > ERROR: #2: Cannot load class 'Stock': Unable to load class file > > > > Is there a ./configure --disable that will help (couldn't find any > > with "./configure --help"), or is the Stock class absolutely > > neccessary, meaning KDE or Gnome are a must now? > > > > Regards, > > Joe1962 > > > > The Stock class is part of the gb.qt component. If you have this error, then > something went wrong in you compilation and/or installation. > > Check that you have a 'gb.qt.gambas' file in the same place as 'gb.qt.so' and > 'gb.qt.component'. > dynamite://usr/lib/gambas2 joe1962:$ ls -l gb.qt* -rw-r--r-- 1 root root 2072 2006-09-27 01:46 gb.qt.component -rw-r--r-- 1 root root 368 2006-09-27 01:46 gb.qt.ext.component -rwxr-xr-x 1 root root 1209 2006-09-27 01:46 gb.qt.ext.la* lrwxrwxrwx 1 root root 18 2006-09-27 02:48 gb.qt.ext.so -> gb.qt.ext.so.0.0.0* lrwxrwxrwx 1 root root 18 2006-09-27 02:48 gb.qt.ext.so.0 -> gb.qt.ext.so.0.0.0* -rwxr-xr-x 1 root root 1419318 2006-09-27 01:46 gb.qt.ext.so.0.0.0* -rwxr-xr-x 1 root root 221863 2006-09-27 01:46 gb.qt.gambas* -rwxr-xr-x 1 root root 1185 2006-09-27 01:46 gb.qt.la* -rw-r--r-- 1 root root 271 2006-09-27 01:46 gb.qt.opengl.component -rwxr-xr-x 1 root root 1233 2006-09-27 01:46 gb.qt.opengl.la* lrwxrwxrwx 1 root root 21 2006-09-27 02:48 gb.qt.opengl.so -> gb.qt.opengl.so.0.0.0* lrwxrwxrwx 1 root root 21 2006-09-27 02:48 gb.qt.opengl.so.0 -> gb.qt.opengl.so.0.0.0* -rwxr-xr-x 1 root root 287529 2006-09-27 01:46 gb.qt.opengl.so.0.0.0* lrwxrwxrwx 1 root root 14 2006-09-27 02:48 gb.qt.so -> gb.qt.so.0.0.0* lrwxrwxrwx 1 root root 14 2006-09-27 02:48 gb.qt.so.0 -> gb.qt.so.0.0.0* -rwxr-xr-x 1 root root 6748176 2006-09-27 01:46 gb.qt.so.0.0.0* That's what I have. Regards, Joe1962 From joe1962 at ...626... Wed Sep 27 08:55:02 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 27 Sep 2006 02:55:02 -0400 Subject: [Gambas-user] Running Gambas without KDE In-Reply-To: <200609270244.15141.sourceforge-raindog2@...94...> References: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> <200609270244.15141.sourceforge-raindog2@...94...> Message-ID: <6c208f950609262355q32cf4b91oa5c12c19c14a204f@...627...> On 9/27/06, Rob wrote: > On Wednesday 27 September 2006 02:11, Jose J. Rodriguez wrote: > > Is there a ./configure --disable that will help (couldn't find > > any with "./configure --help"), or is the Stock class > > absolutely neccessary, meaning KDE or Gnome are a must now? > > The Stock class is implemented in Gambas, so the configure script > shouldn't affect it at all unless you disable gb.qt and gb.gtk. > Its .project file only seems to require gb.qt for the Qt one, > which is used in the IDE, so I'm not sure why it's not building > for you. The code does try to autodetect whether you're running > KDE or GNOME and has no "else" condition (which should return > blank icons? or the original ones from Gambas 1.x?), but I can't > see why it wouldn't compile. > > Could you go into the Gambas source directory, cd gb.qt/src/gb.qt > and run gbc2 and then gbx2 and report any errors you get? > It does complie ok, AFAICT. Just gives that error when trying to run it. Regards, Joe1962 From sourceforge-raindog2 at ...94... Wed Sep 27 09:05:12 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 27 Sep 2006 03:05:12 -0400 Subject: [Gambas-user] Running Gambas without KDE In-Reply-To: <6c208f950609262355q32cf4b91oa5c12c19c14a204f@...627...> References: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> <200609270244.15141.sourceforge-raindog2@...94...> <6c208f950609262355q32cf4b91oa5c12c19c14a204f@...627...> Message-ID: <200609270305.12639.sourceforge-raindog2@...94...> On Wednesday 27 September 2006 02:55, Jose J. Rodriguez wrote: > It does complie ok, AFAICT. Just gives that error when trying > to run it. How about that gb.qt.gambas file Benoit asked you to look for.... when you execute it, does it error out or does a little form pop up? Rob From joe1962 at ...626... Wed Sep 27 09:09:14 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 27 Sep 2006 03:09:14 -0400 Subject: [Gambas-user] Running Gambas without KDE In-Reply-To: <200609270305.12639.sourceforge-raindog2@...94...> References: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> <200609270244.15141.sourceforge-raindog2@...94...> <6c208f950609262355q32cf4b91oa5c12c19c14a204f@...627...> <200609270305.12639.sourceforge-raindog2@...94...> Message-ID: <6c208f950609270009h467fe018ye1ea59feab7bffe9@...627...> On 9/27/06, Rob wrote: > On Wednesday 27 September 2006 02:55, Jose J. Rodriguez wrote: > > It does complie ok, AFAICT. Just gives that error when trying > > to run it. > > How about that gb.qt.gambas file Benoit asked you to look for.... > when you execute it, does it error out or does a little form pop > up? > joe1962:$ ./gb.qt.gambas ERROR: #2: Cannot load class 'Stock': Unable to load class file Regards, Joe1962 From ronstk at ...239... Wed Sep 27 09:26:36 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 27 Sep 2006 09:26:36 +0200 Subject: [Gambas-user] Problems with subversion In-Reply-To: <6324a42a0609260250m521a95c9qd4d0da1406d99073@...627...> References: <200609232052.49975.gambas@...1...> <200609241958.15026.ronstk@...239...> <6324a42a0609260250m521a95c9qd4d0da1406d99073@...627...> Message-ID: <200609270926.36904.ronstk@...239...> On Tuesday 26 September 2006 11:50, Fabien Bodard wrote: > using automake 1.7 > and ./reconf-all seem to be ok > > 2006/9/24, Ron Onstenk : > > > > On Sunday 24 September 2006 10:22, Benoit Minisini wrote: > > > On Sunday 24 September 2006 03:13, Ron Onstenk wrote: > > > > --8<-- > > > > > > Ron > > > > > > > thanks Fabien, Got the news it is changed in svn repo. I will retry later today. Ron From _root at ...324... Wed Sep 27 10:10:30 2006 From: _root at ...324... (_root at ...324...) Date: Wed, 27 Sep 2006 10:10:30 +0200 Subject: [Gambas-user] Bug? Message-ID: <451A31F6.9050307@...324...> Hi, i have updated Gambas at version 1.43 (debian sid) and i've noticed that the help doesn't work :-( and sometimes, for strange reason, binding a button as: PUBLIC SUB Button1_Click() Mywindow.ShowModal() END generate an error like this: Type mismatch: wanted String[], got String instead String !!?? What can i do ? Thankyou in advance Fox -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Refill s.r.l. - Prodotti per TUTTE le stampanti sul mercato a prezzi sempre convenienti. Dal 1993, leader nel compatibile di qualit? in Italia. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5188&d=27-9 From aendeuryu at ...43... Wed Sep 27 11:27:49 2006 From: aendeuryu at ...43... (AenDeuRyu) Date: Wed, 27 Sep 2006 05:27:49 -0400 (EDT) Subject: [Gambas-user] unsubscribe In-Reply-To: Message-ID: <20060927092749.15882.qmail@...1588...> gambas-user-request at lists.sourceforge.net wrote: Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Grabing an image from a drawingarea ? (serge bouc) 2. Running Gambas without KDE (Jose J. Rodriguez) 3. Re: Running Gambas without KDE (Benoit Minisini) 4. Re: Grabing an image from a drawingarea ? (Benoit Minisini) 5. Re: Running Gambas without KDE (Rob) 6. Re: Running Gambas without KDE (Jose J. Rodriguez) 7. Re: Running Gambas without KDE (Jose J. Rodriguez) 8. Re: Running Gambas without KDE (Rob) 9. Re: Running Gambas without KDE (Jose J. Rodriguez) 10. Re: Problems with subversion (Ron Onstenk) ---------------------------------------------------------------------- Message: 1 Date: Wed, 27 Sep 2006 01:53:09 +0200 From: serge bouc Subject: [Gambas-user] Grabing an image from a drawingarea ? To: gambas-user at lists.sourceforge.net Message-ID: <4519BD65.8030503 at ...402...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello everybody, I am trying to use gambas to create a drawing software for some mathematical objects. My problem is the following : I can create images in large drawingareas (I mean larger than the screen), and view them in a scrollview. This works fine. The problem is now to save these images to disk : for this, I have to create an *image* in Gambas, but all I can do is "grab" a *picture* from the drawing area, and then convert it to an image. And when I do this, the image is clipped to the part of the drawingarea which is actually drawn on the screen, so I don't recover the whole image present on the drawingarea. And this seems to be a normal behaviour, since if I understand the documentation correctly, a "picture" in Gambas is drawn on the screen, whereas an "image" is in memory. So is there a way to recover the image directly from the memory of a drawingarea, without drawing it to the screen, to avoid clipping ? Thanks for any suggestion. Serge. ------------------------------ Message: 2 Date: Wed, 27 Sep 2006 02:11:06 -0400 From: "Jose J. Rodriguez" Subject: [Gambas-user] Running Gambas without KDE To: "mailing list for gambas users" Message-ID: <6c208f950609262311l177d8596o61dc104f89c24a7b at ...627...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Gambas 1.0.17 builds and runs fine with QT and GTK+2 on XFCE (no KDE or Gnome), 1.9.43 builds ok, but when run gives the following error: ERROR: #2: Cannot load class 'Stock': Unable to load class file Is there a ./configure --disable that will help (couldn't find any with "./configure --help"), or is the Stock class absolutely neccessary, meaning KDE or Gnome are a must now? Regards, Joe1962 ------------------------------ Message: 3 Date: Wed, 27 Sep 2006 08:42:38 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] Running Gambas without KDE To: mailing list for gambas users Message-ID: <200609270842.38793.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On Wednesday 27 September 2006 08:11, Jose J. Rodriguez wrote: > Gambas 1.0.17 builds and runs fine with QT and GTK+2 on XFCE (no KDE > or Gnome), 1.9.43 builds ok, but when run gives the following error: > > ERROR: #2: Cannot load class 'Stock': Unable to load class file > > Is there a ./configure --disable that will help (couldn't find any > with "./configure --help"), or is the Stock class absolutely > neccessary, meaning KDE or Gnome are a must now? > > Regards, > Joe1962 > The Stock class is part of the gb.qt component. If you have this error, then something went wrong in you compilation and/or installation. Check that you have a 'gb.qt.gambas' file in the same place as 'gb.qt.so' and 'gb.qt.component'. Regards, -- Benoit Minisini ------------------------------ Message: 4 Date: Wed, 27 Sep 2006 08:45:56 +0200 From: Benoit Minisini Subject: Re: [Gambas-user] Grabing an image from a drawingarea ? To: mailing list for gambas users Message-ID: <200609270845.56230.gambas at ...1...> Content-Type: text/plain; charset="iso-8859-1" On Wednesday 27 September 2006 01:53, serge bouc wrote: > Hello everybody, > > I am trying to use gambas to create a drawing software for some > mathematical objects. My problem is the following : I can create > images in large drawingareas (I mean larger than the screen), > and view them in a scrollview. This works fine. > The problem is now to save these images to disk : for this, I have > to create an *image* in Gambas, but all I can do is "grab" a *picture* > from the drawing area, and then convert it to an image. And when > I do this, the image is clipped to the part of the drawingarea which > is actually drawn on the screen, so I don't recover the whole image > present on the drawingarea. > And this seems to be a normal behaviour, since if I understand the > documentation correctly, a "picture" in Gambas is drawn on the screen, > whereas an "image" is in memory. Grab() just returns what is visible on the screen. > So is there a way to recover the image directly from the memory of > a drawingarea, without drawing it to the screen, to avoid clipping ? > I think you use a cached DrawingArea. To be able to control the picture you display, you must used an uncached DrawingArea, have the Picture you display in a variable, and display it in the Draw event of the DrawingArea. Then you will be able to save the Picture easily. Regards, -- Benoit Minisini ------------------------------ Message: 5 Date: Wed, 27 Sep 2006 02:44:14 -0400 From: Rob Subject: Re: [Gambas-user] Running Gambas without KDE To: gambas-user at lists.sourceforge.net Message-ID: <200609270244.15141.sourceforge-raindog2 at ...94...> Content-Type: text/plain; charset="iso-8859-1" On Wednesday 27 September 2006 02:11, Jose J. Rodriguez wrote: > Is there a ./configure --disable that will help (couldn't find > any with "./configure --help"), or is the Stock class > absolutely neccessary, meaning KDE or Gnome are a must now? The Stock class is implemented in Gambas, so the configure script shouldn't affect it at all unless you disable gb.qt and gb.gtk. Its .project file only seems to require gb.qt for the Qt one, which is used in the IDE, so I'm not sure why it's not building for you. The code does try to autodetect whether you're running KDE or GNOME and has no "else" condition (which should return blank icons? or the original ones from Gambas 1.x?), but I can't see why it wouldn't compile. Could you go into the Gambas source directory, cd gb.qt/src/gb.qt and run gbc2 and then gbx2 and report any errors you get? Rob ------------------------------ Message: 6 Date: Wed, 27 Sep 2006 02:53:42 -0400 From: "Jose J. Rodriguez" Subject: Re: [Gambas-user] Running Gambas without KDE To: "mailing list for gambas users" Message-ID: <6c208f950609262353v3ca19693t4ac45e0b580a8199 at ...627...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 9/27/06, Benoit Minisini wrote: > On Wednesday 27 September 2006 08:11, Jose J. Rodriguez wrote: > > Gambas 1.0.17 builds and runs fine with QT and GTK+2 on XFCE (no KDE > > or Gnome), 1.9.43 builds ok, but when run gives the following error: > > > > ERROR: #2: Cannot load class 'Stock': Unable to load class file > > > > Is there a ./configure --disable that will help (couldn't find any > > with "./configure --help"), or is the Stock class absolutely > > neccessary, meaning KDE or Gnome are a must now? > > > > Regards, > > Joe1962 > > > > The Stock class is part of the gb.qt component. If you have this error, then > something went wrong in you compilation and/or installation. > > Check that you have a 'gb.qt.gambas' file in the same place as 'gb.qt.so' and > 'gb.qt.component'. > dynamite://usr/lib/gambas2 joe1962:$ ls -l gb.qt* -rw-r--r-- 1 root root 2072 2006-09-27 01:46 gb.qt.component -rw-r--r-- 1 root root 368 2006-09-27 01:46 gb.qt.ext.component -rwxr-xr-x 1 root root 1209 2006-09-27 01:46 gb.qt.ext.la* lrwxrwxrwx 1 root root 18 2006-09-27 02:48 gb.qt.ext.so -> gb.qt.ext.so.0.0.0* lrwxrwxrwx 1 root root 18 2006-09-27 02:48 gb.qt.ext.so.0 -> gb.qt.ext.so.0.0.0* -rwxr-xr-x 1 root root 1419318 2006-09-27 01:46 gb.qt.ext.so.0.0.0* -rwxr-xr-x 1 root root 221863 2006-09-27 01:46 gb.qt.gambas* -rwxr-xr-x 1 root root 1185 2006-09-27 01:46 gb.qt.la* -rw-r--r-- 1 root root 271 2006-09-27 01:46 gb.qt.opengl.component -rwxr-xr-x 1 root root 1233 2006-09-27 01:46 gb.qt.opengl.la* lrwxrwxrwx 1 root root 21 2006-09-27 02:48 gb.qt.opengl.so -> gb.qt.opengl.so.0.0.0* lrwxrwxrwx 1 root root 21 2006-09-27 02:48 gb.qt.opengl.so.0 -> gb.qt.opengl.so.0.0.0* -rwxr-xr-x 1 root root 287529 2006-09-27 01:46 gb.qt.opengl.so.0.0.0* lrwxrwxrwx 1 root root 14 2006-09-27 02:48 gb.qt.so -> gb.qt.so.0.0.0* lrwxrwxrwx 1 root root 14 2006-09-27 02:48 gb.qt.so.0 -> gb.qt.so.0.0.0* -rwxr-xr-x 1 root root 6748176 2006-09-27 01:46 gb.qt.so.0.0.0* That's what I have. Regards, Joe1962 ------------------------------ Message: 7 Date: Wed, 27 Sep 2006 02:55:02 -0400 From: "Jose J. Rodriguez" Subject: Re: [Gambas-user] Running Gambas without KDE To: "mailing list for gambas users" Message-ID: <6c208f950609262355q32cf4b91oa5c12c19c14a204f at ...627...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 9/27/06, Rob wrote: > On Wednesday 27 September 2006 02:11, Jose J. Rodriguez wrote: > > Is there a ./configure --disable that will help (couldn't find > > any with "./configure --help"), or is the Stock class > > absolutely neccessary, meaning KDE or Gnome are a must now? > > The Stock class is implemented in Gambas, so the configure script > shouldn't affect it at all unless you disable gb.qt and gb.gtk. > Its .project file only seems to require gb.qt for the Qt one, > which is used in the IDE, so I'm not sure why it's not building > for you. The code does try to autodetect whether you're running > KDE or GNOME and has no "else" condition (which should return > blank icons? or the original ones from Gambas 1.x?), but I can't > see why it wouldn't compile. > > Could you go into the Gambas source directory, cd gb.qt/src/gb.qt > and run gbc2 and then gbx2 and report any errors you get? > It does complie ok, AFAICT. Just gives that error when trying to run it. Regards, Joe1962 ------------------------------ Message: 8 Date: Wed, 27 Sep 2006 03:05:12 -0400 From: Rob Subject: Re: [Gambas-user] Running Gambas without KDE To: gambas-user at lists.sourceforge.net Message-ID: <200609270305.12639.sourceforge-raindog2 at ...94...> Content-Type: text/plain; charset="iso-8859-1" On Wednesday 27 September 2006 02:55, Jose J. Rodriguez wrote: > It does complie ok, AFAICT. Just gives that error when trying > to run it. How about that gb.qt.gambas file Benoit asked you to look for.... when you execute it, does it error out or does a little form pop up? Rob ------------------------------ Message: 9 Date: Wed, 27 Sep 2006 03:09:14 -0400 From: "Jose J. Rodriguez" Subject: Re: [Gambas-user] Running Gambas without KDE To: "mailing list for gambas users" Message-ID: <6c208f950609270009h467fe018ye1ea59feab7bffe9 at ...627...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 9/27/06, Rob wrote: > On Wednesday 27 September 2006 02:55, Jose J. Rodriguez wrote: > > It does complie ok, AFAICT. Just gives that error when trying > > to run it. > > How about that gb.qt.gambas file Benoit asked you to look for.... > when you execute it, does it error out or does a little form pop > up? > joe1962:$ ./gb.qt.gambas ERROR: #2: Cannot load class 'Stock': Unable to load class file Regards, Joe1962 ------------------------------ Message: 10 Date: Wed, 27 Sep 2006 09:26:36 +0200 From: Ron Onstenk Subject: Re: [Gambas-user] Problems with subversion To: mailing list for gambas users Message-ID: <200609270926.36904.ronstk at ...239...> Content-Type: text/plain; charset="iso-8859-1" On Tuesday 26 September 2006 11:50, Fabien Bodard wrote: > using automake 1.7 > and ./reconf-all seem to be ok > > 2006/9/24, Ron Onstenk : > > > > On Sunday 24 September 2006 10:22, Benoit Minisini wrote: > > > On Sunday 24 September 2006 03:13, Ron Onstenk wrote: > > > > --8<-- > > > > > > Ron > > > > > > > thanks Fabien, Got the news it is changed in svn repo. I will retry later today. Ron ------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 4, Issue 32 ****************************************** --------------------------------- Make free worldwide PC-to-PC calls. Try the new Yahoo! Canada Messenger with Voice From rospolosco at ...152... Wed Sep 27 12:06:08 2006 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 27 Sep 2006 12:06:08 +0200 Subject: [Gambas-user] Bug? In-Reply-To: <451A31F6.9050307@...324...> References: <451A31F6.9050307@...324...> Message-ID: <200609271206.08603.rospolosco@...152...> Alle 10:10, mercoled? 27 settembre 2006, _root at ...324... ha scritto: > Hi, i have updated Gambas at version 1.43 (debian sid) and i've noticed > that the help doesn't work :-( There's now an option in Gambas IDE to set your favourite browser for reading help pages. Anyway, Gambas takes the environment variable BROWSER as first choise. So, you can type on console (or create a shortcut): export BROWSER="path_to_your_browser"; gambas2 This will help you to test which browser works. Regards, Stefano Palmeri From joe1962 at ...626... Wed Sep 27 12:39:09 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Wed, 27 Sep 2006 06:39:09 -0400 Subject: [Gambas-user] Running Gambas without KDE In-Reply-To: <6c208f950609270009h467fe018ye1ea59feab7bffe9@...627...> References: <6c208f950609262311l177d8596o61dc104f89c24a7b@...627...> <200609270244.15141.sourceforge-raindog2@...94...> <6c208f950609262355q32cf4b91oa5c12c19c14a204f@...627...> <200609270305.12639.sourceforge-raindog2@...94...> <6c208f950609270009h467fe018ye1ea59feab7bffe9@...627...> Message-ID: <6c208f950609270339m353ed919i4cde43707cf29332@...627...> Well, I found a workaround, I'll leave it to Benoit to find the cause... lol. I installed kdelibs, to get the KDE component built so I could package gambas and gambas2 for Vector Linux. After that and rebuilding and packaging both of them, gambas2-1.9.43 worked. So just to test, I removed kdelibs and gambas2 still works. Go figure... Regards, Joe1962 From ronstk at ...239... Wed Sep 27 17:23:17 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 27 Sep 2006 17:23:17 +0200 Subject: [Gambas-user] Grabing an image from a drawingarea ? In-Reply-To: <200609270845.56230.gambas@...1...> References: <4519BD65.8030503@...402...> <200609270845.56230.gambas@...1...> Message-ID: <200609271723.17664.ronstk@...239...> On Wednesday 27 September 2006 08:45, Benoit Minisini wrote: > I think you use a cached DrawingArea. To be able to control the picture you > display, you must used an uncached DrawingArea, have the Picture you display > in a variable, and display it in the Draw event of the DrawingArea. > Then you will be able to save the Picture easily. > > Regards, > Thanks, I had same problem with offscreen garbage and I'm not the only one. By security reason I did drop using the method totally. Vertical size of picture is bigger then screen height in my case. Using grab() shows random data from memory. It returns a memory block with size of the control the .grab() is done and not the partial size that is really visible and in users context. In fact it is a security bug if the grab() shows more then the visible size of the window/component used for grab(). !!! And I mean the real visible part at most. I could see in the garbage at the bottom of the picture some private information about the bank another user had visit on my box (with permission). Ron From ronstk at ...239... Wed Sep 27 17:59:29 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 27 Sep 2006 17:59:29 +0200 Subject: [Gambas-user] Changes in subversion repository In-Reply-To: <200609262044.25587.gambas@...1...> References: <200609262044.25587.gambas@...1...> Message-ID: <200609271759.29771.ronstk@...239...> On Tuesday 26 September 2006 20:44, Benoit Minisini wrote: > Hi, > > The files that are automatically generated were removed from the repository. > > So, now, when you do a checkout for the first time, you have to do a > './reconf-all' to generate all the configure files, before doing a > './configure -C'. > > Regards, > Just won't work. configure:1766: checking whether make sets $(MAKE) configure:1786: result: yes configure:1806: error: cannot run /bin/sh ./config.sub When I'm right this mean /bin/sh should execute the script content of config.sub When I look in trunk/main/config.sub I see: link ../config.sub Typing by hand '/bin/sh config.sub' gives ron at ...1311...:~/src/svn/trunk/main> /bin/sh config.sub link: too few arguments Try `link --help' for more information. ron at ...1311...:~/src/svn/trunk/main> link --help Usage: link FILE1 FILE2 or: link OPTION Call the link function to create a link named FILE2 to an existing FILE1. --help display this help and exit --version output version information and exit Report bugs to . On SuSE it wants 'both' parameters ? ron at ...1311...:~/src/svn/trunk/main> link ../config.sub config.sub.ron ron at ...1311...:~/src/svn/trunk/main> l config.su* -rw-r--r-- 1 ron users 18 2006-09-27 17:26 config.sub -rwxr-xr-x 2 ron users 31552 2006-09-27 17:26 config.sub.ron* ron at ...1311...:~/src/svn/trunk/main> ron at ...1311...:~/src/svn/trunk/main> link ../config.sub config.sub link: cannot create link `config.sub' to `../config.sub': File exists maybe : (rm ./config.sub;link ../config.sub config.sub) ? ron at ...1311...:~/src/svn/trunk/main> (rm config.sub;link ../config.sub config.sub) ron at ...1311...:~/src/svn/trunk/main> l config.su* -rwxr-xr-x 3 ron users 31552 2006-09-27 17:26 config.sub* -rwxr-xr-x 3 ron users 31552 2006-09-27 17:26 config.sub.ron* ron at ...1311...:~/src/svn/trunk/main> This does work: (rm ./config.sub;link ../config.sub config.sub) The second parameter for FILE2 is required (on SuSE) Ron From ronstk at ...239... Wed Sep 27 18:04:55 2006 From: ronstk at ...239... (Ron Onstenk) Date: Wed, 27 Sep 2006 18:04:55 +0200 Subject: [Gambas-user] Changes in subversion repository In-Reply-To: <200609262044.25587.gambas@...1...> References: <200609262044.25587.gambas@...1...> Message-ID: <200609271804.56083.ronstk@...239...> On Tuesday 26 September 2006 20:44, Benoit Minisini wrote: > Hi, > > The files that are automatically generated were removed from the repository. > > So, now, when you do a checkout for the first time, you have to do a > './reconf-all' to generate all the configure files, before doing a > './configure -C'. > > Regards, > Maybe a bash script that loops all directories and check for files < 50bytes and have 1 line start with 'link' that does the job before configure. Ron From serge.bouc at ...402... Wed Sep 27 18:43:19 2006 From: serge.bouc at ...402... (serge bouc) Date: Wed, 27 Sep 2006 18:43:19 +0200 Subject: [Gambas-user] Grabing an image from a drawingarea ? (Benoit Minisini) Message-ID: <451AAA27.7000201@...402...> > > On Wednesday 27 September 2006 01:53, serge bouc wrote: >> > Hello everybody, >> > >> > I am trying to use gambas to create a drawing software for some >> > mathematical objects. My problem is the following : I can create >> > images in large drawingareas (I mean larger than the screen), >> > and view them in a scrollview. This works fine. >> > The problem is now to save these images to disk : for this, I have >> > to create an *image* in Gambas, but all I can do is "grab" a *picture* >> > from the drawing area, and then convert it to an image. And when >> > I do this, the image is clipped to the part of the drawingarea which >> > is actually drawn on the screen, so I don't recover the whole image >> > present on the drawingarea. >> > And this seems to be a normal behaviour, since if I understand the >> > documentation correctly, a "picture" in Gambas is drawn on the screen, >> > whereas an "image" is in memory. >> > > Grab() just returns what is visible on the screen. > > >> > So is there a way to recover the image directly from the memory of >> > a drawingarea, without drawing it to the screen, to avoid clipping ? >> > >> > > I think you use a cached DrawingArea. To be able to control the picture you > display, you must used an uncached DrawingArea, have the Picture you display > in a variable, and display it in the Draw event of the DrawingArea. Then you > will be able to save the Picture easily. > > Regards, > > -- Benoit Minisini Thanks for this suggestion. I am not sure if this is exactly what you meant, but I did the following, which at least seems to solve my problem : - create a new picture called say, "mondessin". - draw the figures I want with e.g. draw.begin(mondessin) draw.line(x,y,z,t) ... draw.end - and then show the figure on the dawing area called "graphe" with draw.begin(graphe) draw.picture(mondessin,0,0) draw.end It works : now I can easily save "mondessin" to disk. It stills seems to me that this is a waste of time and memory, since the drawingarea "graphe" has its own memory area (maybe not ?), and since it is possible to draw the figure directly in *this* memory, with draw.begin(graphe) draw.line(...) draw.end The above procedure amounts to drawing the figure *somewhere else in memory* (in the new picture "mondessin"), and next copy it where I want. It would be easier and faster to have the possibility of accessing directly to the memory area used by "graphe". But I am far from a specialist of computer programming, so maybe the way I imagine these objects is completely wrong. Anyway, thanks again for this quick answer. Best regards. Serge. From Karl.Reinl at ...9... Wed Sep 27 21:23:24 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 27 Sep 2006 21:23:24 +0200 Subject: [Gambas-user] Changes in subversion repository In-Reply-To: <200609271759.29771.ronstk@...239...> References: <200609262044.25587.gambas@...1...> <200609271759.29771.ronstk@...239...> Message-ID: <1159385005.5331.1.camel@...40...> Am Mittwoch, den 27.09.2006, 17:59 +0200 schrieb Ron Onstenk: > On Tuesday 26 September 2006 20:44, Benoit Minisini wrote: > > Hi, > > > > The files that are automatically generated were removed from the repository. > > > > So, now, when you do a checkout for the first time, you have to do a > > './reconf-all' to generate all the configure files, before doing a > > './configure -C'. > > > > Regards, > > > > Just won't work. > > > configure:1766: checking whether make sets $(MAKE) > configure:1786: result: yes > configure:1806: error: cannot run /bin/sh ./config.sub > > When I'm right this mean > /bin/sh should execute the script content of config.sub > > When I look in trunk/main/config.sub I see: > link ../config.sub > > Typing by hand '/bin/sh config.sub' gives > ron at ...1311...:~/src/svn/trunk/main> /bin/sh config.sub > link: too few arguments > Try `link --help' for more information. > > ron at ...1311...:~/src/svn/trunk/main> link --help > Usage: link FILE1 FILE2 > or: link OPTION > Call the link function to create a link named FILE2 to an existing FILE1. > > --help display this help and exit > --version output version information and exit > > Report bugs to . > > On SuSE it wants 'both' parameters ? > > ron at ...1311...:~/src/svn/trunk/main> link ../config.sub config.sub.ron > ron at ...1311...:~/src/svn/trunk/main> l config.su* > -rw-r--r-- 1 ron users 18 2006-09-27 17:26 config.sub > -rwxr-xr-x 2 ron users 31552 2006-09-27 17:26 config.sub.ron* > ron at ...1311...:~/src/svn/trunk/main> > > ron at ...1311...:~/src/svn/trunk/main> link ../config.sub config.sub > link: cannot create link `config.sub' to `../config.sub': File exists > > maybe : (rm ./config.sub;link ../config.sub config.sub) ? > > ron at ...1311...:~/src/svn/trunk/main> (rm config.sub;link ../config.sub config.sub) > ron at ...1311...:~/src/svn/trunk/main> l config.su* > -rwxr-xr-x 3 ron users 31552 2006-09-27 17:26 config.sub* > -rwxr-xr-x 3 ron users 31552 2006-09-27 17:26 config.sub.ron* > ron at ...1311...:~/src/svn/trunk/main> > > This does work: > (rm ./config.sub;link ../config.sub config.sub) > The second parameter for FILE2 is required (on SuSE) > > > Ron > Salut Ron, started with your script, send you my one, I make after download all by hand. had an error at make, something with 'help', but installation works. !!!??? as far as I know. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: get_Gambas_subversion Type: application/x-shellscript Size: 170 bytes Desc: not available URL: From lordheavy at ...512... Thu Sep 28 00:29:21 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 28 Sep 2006 00:29:21 +0200 Subject: [Gambas-user] Changes in subversion repository In-Reply-To: <1159385005.5331.1.camel@...40...> References: <200609262044.25587.gambas@...1...> <200609271759.29771.ronstk@...239...> <1159385005.5331.1.camel@...40...> Message-ID: <200609280029.21772.lordheavy@...512...> Le mercredi 27 septembre 2006 21:23, Charlie Reinl a ?crit?: > had an error at make, something with 'help', but installation > works. !!!??? as far as I know. > > Amicalment > Charlie Help compilation (i hope ;-) ) fixed in svn. Thanks for the report. Regards, From serge.bouc at ...402... Thu Sep 28 14:02:47 2006 From: serge.bouc at ...402... (serge bouc) Date: Thu, 28 Sep 2006 14:02:47 +0200 Subject: [Gambas-user] How to interrupt a loop ? Message-ID: <451BB9E7.2080909@...402...> Hello everybody, My problem is now the following : I have a form in Gambas, with a button called "compute". When this button is clicked, the program executes "compute_click()", which is essentially a loop where a computation is done, which may be rather long, depending on some other parameters of the program. So I would like to have the possibility of interrupting this computation, with a click, or a keypress, or whatever. But it seems that once the computation loop has started, all the events I could use are inactive (the mouse clicks are no longer seen, nor the keys pressed, even the timer events), until the loop has terminated. I imagine I am missing something here. I have tried to define a new EVENT I could RAISE at some point in the loop, but I didn't succeed, and I confess I don't understand Gambas documentation on this subject. So the only thing I can do at the moment is stop the program by closing its window, and waiting for KDE to kill the application. Of course, this is definitely not a good solution... :-( Thanks for any suggestion. Serge. From comisat at ...1569... Thu Sep 28 14:14:33 2006 From: comisat at ...1569... (comisat at ...1569...) Date: Thu, 28 Sep 2006 14:14:33 +0200 (CEST) Subject: [Gambas-user] How to interrupt a loop ? In-Reply-To: <451BB9E7.2080909@...402...> References: <451BB9E7.2080909@...402...> Message-ID: <1842.82.56.30.135.1159445673.squirrel@...1570...> hi if i've understood the question, try this way.. ------------- private blnStop as boolean public sub btnStopLoop_click() blnStop=true end sub public sub Compute() if blnStop=true then return compute code end sub ------------- bye :) comisat > Hello everybody, > > My problem is now the following : I have a form in Gambas, > with a button called "compute". When this button is clicked, > the program executes "compute_click()", which is essentially > a loop where a computation is done, which may be rather long, > depending on some other parameters of the program. > > So I would like to have the possibility of interrupting this computation, > with a click, or a keypress, or whatever. But it seems that once > the computation loop has started, all the events I could use > are inactive (the mouse clicks are no longer seen, nor the keys > pressed, even the timer events), until the loop has terminated. > > I imagine I am missing something here. I have tried to define > a new EVENT I could RAISE at some point in the loop, but > I didn't succeed, and I confess I don't understand Gambas > documentation on this subject. > > So the only thing I can do at the moment is stop the program by > closing its window, and waiting for KDE to kill the application. > Of course, this is definitely not a good solution... :-( > > Thanks for any suggestion. > Serge. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > _________________________________________________ * GPG/PGP public key-id: 0xB703A9E2 * http://comisat-games.sourceforge.net * rfc.altervista.org aspetta il tuo contributo * USE=-brain emerge win * "Sulla confezione c'era scritto: necessita' di win9x, winXP o superiore.. ...cosi' ho installato linux" _________________________________________________ From nando_f at ...1382... Thu Sep 28 14:21:13 2006 From: nando_f at ...1382... (nando) Date: Thu, 28 Sep 2006 08:21:13 -0400 Subject: [Gambas-user] How to interrupt a loop ? In-Reply-To: <451BB9E7.2080909@...402...> References: <451BB9E7.2080909@...402...> Message-ID: <20060928120816.M88256@...1382...> I had the same problem...here's how I did it I wanted as much CPU for the processing minimize event processing and only to test the STOP button occasionally (example may not sytatically correct) 1) Have a global boolean 2) Have a click button to 'stop' 3) Inside your computations Increment an integer and every million increments perform a WAIT 4) The WAIT will let the interpreter catch events and if the stop button was pressed ACTIVE is set TRUE 5) somewhere else in you computations look for ACTIVE = TRUE to quit. -Fernando DIM active AS BOOLEAN 'this is a global var 'gets set TRUE when the click button pressed - - - - - - - SUB STOP_CLICKBUTTON() active = TRUE END sub - - - - - - - - - - sub compute() dim i as integer ' you want to increment i often inside inner loops 'at some part of the code loops that is executed less frequently (like after NEXT statements) IF i > 1000000 THEN 'only when i reached 1 million (pick a number you like) i=0 WAIT 0.1 'this will see if STOP is being pressed IF ACTIVE = TRUE then GOTO abort_mission 'I used a goto in some programs or BREAK ENDIF abort_mission: end sub - - - - - - - ---------- Original Message ----------- From: serge bouc To: gambas-user at lists.sourceforge.net Sent: Thu, 28 Sep 2006 14:02:47 +0200 Subject: [Gambas-user] How to interrupt a loop ? > Hello everybody, > > My problem is now the following : I have a form in Gambas, > with a button called "compute". When this button is clicked, > the program executes "compute_click()", which is essentially > a loop where a computation is done, which may be rather long, > depending on some other parameters of the program. > > So I would like to have the possibility of interrupting this computation, > with a click, or a keypress, or whatever. But it seems that once > the computation loop has started, all the events I could use > are inactive (the mouse clicks are no longer seen, nor the keys > pressed, even the timer events), until the loop has terminated. > > I imagine I am missing something here. I have tried to define > a new EVENT I could RAISE at some point in the loop, but > I didn't succeed, and I confess I don't understand Gambas > documentation on this subject. > > So the only thing I can do at the moment is stop the program by > closing its window, and waiting for KDE to kill the application. > Of course, this is definitely not a good solution... :-( > > Thanks for any suggestion. > Serge. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From _root at ...324... Thu Sep 28 16:45:39 2006 From: _root at ...324... (_root at ...324...) Date: Thu, 28 Sep 2006 16:45:39 +0200 Subject: [Gambas-user] Bug? In-Reply-To: <200609271206.08603.rospolosco@...152...> References: <451A31F6.9050307@...324...> <200609271206.08603.rospolosco@...152...> Message-ID: <451BE013.7030706@...324...> Stefano Palmeri wrote: > export BROWSER="path_to_your_browser"; gambas2 > > This will help you to test which browser works. Ty! I've found the option! Tools -> Options -> Browser -> Firefox Great! Now i have the other problem... "type mismatch..." my old projects give me the same errors :-( (Grazie mille; a te non e' successo lo stesso problema con la nuova versione? A me su 2 pc diversi, stesso identico problema, e non ne capisco il motivo, non raggiungo nemmeno la finestra che tento di aprire! si inchioda prima!) -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Refill s.r.l. - Prodotti per TUTTE le stampanti sul mercato a prezzi sempre convenienti. Dal 1993, leader nel compatibile di qualit? in Italia. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5188&d=28-9 From wspinto at ...1405... Thu Sep 28 15:09:59 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Thu, 28 Sep 2006 10:09:59 -0300 Subject: [Gambas-user] bug In-Reply-To: References: Message-ID: <1159448999.451bc9a72ea59@...1589...> (gdb) run Starting program: /usr/local/bin/gbx2 -p [Thread debugging using libthread_db enabled] [New Thread -1210558784 (LWP 15693)] Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210558784 (LWP 15693)] 0x08065a5b in string_code (_object=0x0, _param=0xb7d0f028) at gbx_c_string.c:313 313 GB_ReturnInteger(*((long *)temp)); (gdb) bt #0 0x08065a5b in string_code (_object=0x0, _param=0xb7d0f028) at gbx_c_string.c:313 #1 0x0804db05 in EXEC_call_native (exec=0x80659d0 , object=0x0, type=4, param=0xb7d0f028) at gbx_exec.c:783 #2 0x0804e200 in EXEC_native () at gbx_exec.c:901 #3 0x080505ed in EXEC_loop () at gbx_exec_loop.c:1091 #4 0x0804e4e4 in EXEC_function_real (keep_ret_value=1 '\001') at gbx_exec.c:652 #5 0x0805b3b6 in call_method (object=, desc=0x8069018, nparam=134654801) at gbx_api.c:398 ---Type to continue, or q to quit--- #6 0x0805b75c in GB_Raise (object=0x8121ea0, event_id=3, nparam=0) at gbx_api.c:512 #7 0xb7cb60c3 in CWidget::eventFilter (this=0xb7d0dba0, widget=0x8124990, event=0xbfa10564) at CWidget.cpp:1746 #8 0xb771066c in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #9 0xb7710c0d in QApplication::notify () from /usr/lib/libqt-mt.so.3 #10 0xb76a206f in QApplication::sendSpontaneousEvent () from /usr/lib/libqt-mt.so.3 #11 0xb7695daf in QETWidget::translateKeyEvent () ---Type to continue, or q to quit--- from /usr/lib/libqt-mt.so.3 #12 0xb769bd07 in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #13 0xb76b52a2 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #14 0xb7cafe1a in MyEventLoop::processEvents (this=0x8074290, flags=4) at main.cpp:240 #15 0xb7729255 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #16 0xb772917a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #17 0xb770f38d in QApplication::exec () from /usr/lib/libqt-mt.so.3 ---Type to continue, or q to quit--- #18 0xb7caf6ac in hook_loop () at main.cpp:444 #19 0x0805ecf4 in main (argc=1, argv=0xbfa10b64) at gbx.c:324 (gdb) ___________________________________________________________________________________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu telefone de casa ou celular. Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! From gambas at ...1... Thu Sep 28 16:26:46 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Sep 2006 16:26:46 +0200 Subject: [Gambas-user] Bug? In-Reply-To: <451BE013.7030706@...324...> References: <451A31F6.9050307@...324...> <200609271206.08603.rospolosco@...152...> <451BE013.7030706@...324...> Message-ID: <200609281626.46984.gambas@...1...> On Thursday 28 September 2006 16:45, _root at ...324... wrote: > Stefano Palmeri wrote: > > export BROWSER="path_to_your_browser"; gambas2 > > > > This will help you to test which browser works. > > Ty! > I've found the option! > Tools -> Options -> Browser -> Firefox > Great! > > Now i have the other problem... > "type mismatch..." > my old projects give me the same errors :-( > > Try to use the "update all form" menu entry and recompile your project. You should read the ChangeLog to know all changes betwenn the old version you used and the new one. Regards, -- Benoit Minisini From gambas at ...1... Thu Sep 28 16:28:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Sep 2006 16:28:34 +0200 Subject: [Gambas-user] bug In-Reply-To: <1159448999.451bc9a72ea59@...1589...> References: <1159448999.451bc9a72ea59@...1589...> Message-ID: <200609281628.35011.gambas@...1...> On Thursday 28 September 2006 15:09, wspinto at ...1405... wrote: > (gdb) run > Starting program: /usr/local/bin/gbx2 -p > [Thread debugging using libthread_db enabled] > [New Thread -1210558784 (LWP 15693)] > Qt: gdb: -nograb added to command-line options. > Use the -dograb option to enforce grabbing. > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1210558784 (LWP 15693)] > 0x08065a5b in string_code (_object=0x0, _param=0xb7d0f028) > at gbx_c_string.c:313 > 313 GB_ReturnInteger(*((long *)temp)); > (gdb) bt > #0 0x08065a5b in string_code (_object=0x0, _param=0xb7d0f028) > at gbx_c_string.c:313 > #1 0x0804db05 in EXEC_call_native (exec=0x80659d0 , > object=0x0, type=4, param=0xb7d0f028) at gbx_exec.c:783 > #2 0x0804e200 in EXEC_native () at gbx_exec.c:901 > #3 0x080505ed in EXEC_loop () at gbx_exec_loop.c:1091 > #4 0x0804e4e4 in EXEC_function_real (keep_ret_value=1 '\001') > at gbx_exec.c:652 > #5 0x0805b3b6 in call_method (object=, > desc=0x8069018, nparam=134654801) at gbx_api.c:398 > ---Type to continue, or q to quit--- > #6 0x0805b75c in GB_Raise (object=0x8121ea0, event_id=3, nparam=0) > at gbx_api.c:512 > #7 0xb7cb60c3 in CWidget::eventFilter (this=0xb7d0dba0, > widget=0x8124990, event=0xbfa10564) at CWidget.cpp:1746 > #8 0xb771066c in QApplication::internalNotify () > from /usr/lib/libqt-mt.so.3 > #9 0xb7710c0d in QApplication::notify () from /usr/lib/libqt-mt.so.3 > #10 0xb76a206f in QApplication::sendSpontaneousEvent () > from /usr/lib/libqt-mt.so.3 > #11 0xb7695daf in QETWidget::translateKeyEvent () > ---Type to continue, or q to quit--- > from /usr/lib/libqt-mt.so.3 > #12 0xb769bd07 in QApplication::x11ProcessEvent () > from /usr/lib/libqt-mt.so.3 > #13 0xb76b52a2 in QEventLoop::processEvents () > from /usr/lib/libqt-mt.so.3 > #14 0xb7cafe1a in MyEventLoop::processEvents (this=0x8074290, flags=4) > at main.cpp:240 > #15 0xb7729255 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 > #16 0xb772917a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 > #17 0xb770f38d in QApplication::exec () from /usr/lib/libqt-mt.so.3 > ---Type to continue, or q to quit--- > #18 0xb7caf6ac in hook_loop () at main.cpp:444 > #19 0x0805ecf4 in main (argc=1, argv=0xbfa10b64) at gbx.c:324 > (gdb) > ___________________________________________________________________________ >________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a > conta do seu telefone de casa ou celular. > Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! > > Can you tell which version you use and send me your project? -- Benoit Minisini From rospolosco at ...152... Thu Sep 28 16:23:27 2006 From: rospolosco at ...152... (Stefano Palmeri) Date: Thu, 28 Sep 2006 16:23:27 +0200 Subject: [Gambas-user] Bug? In-Reply-To: <451BE013.7030706@...324...> References: <451A31F6.9050307@...324...> <200609271206.08603.rospolosco@...152...> <451BE013.7030706@...324...> Message-ID: <200609281623.27960.rospolosco@...152...> Alle 16:45, gioved? 28 settembre 2006, _root at ...324... ha scritto: > Ty! > I've found the option! > Tools -> Options -> Browser -> Firefox > Great! > > Now i have the other problem... > "type mismatch..." > my old projects give me the same errors :-( > > > (Grazie mille; a te non e' successo lo stesso problema con la nuova > versione? A me su 2 pc diversi, stesso identico problema, e non ne > capisco il motivo, non raggiungo nemmeno la finestra che tento di > aprire! si inchioda prima!) > No. Try to recompile your projects. If the problem still remains, write a little example to reproduce the bug and post it here. Saluti, Stefano Palmeri From serge.bouc at ...402... Thu Sep 28 17:38:02 2006 From: serge.bouc at ...402... (serge bouc) Date: Thu, 28 Sep 2006 17:38:02 +0200 Subject: [Gambas-user] Re : How to interrupt a loop ? Message-ID: <451BEC5A.6010409@...402...> comisat wrote : > hi > if i've understood the question, > try this way.. > ------------- > private blnStop as boolean > > public sub btnStopLoop_click() > blnStop=true > end sub > > public sub Compute() > if blnStop=true then return > > compute code > > end sub > ------------- > bye :) > > comisat Thanks for the idea. It does'nt work, since the click event on "btnStopLoop" is not recognized while inside the compute loop. So nothing happens when I click on the stop button during the computation. Thanks anyway. Serge. From serge.bouc at ...402... Thu Sep 28 17:54:21 2006 From: serge.bouc at ...402... (serge bouc) Date: Thu, 28 Sep 2006 17:54:21 +0200 Subject: [Gambas-user] Re : How to interrupt a loop ? Message-ID: <451BF02D.30001@...402...> nando wrote : > I had the same problem...here's how I did it > > I wanted as much CPU for the processing > minimize event processing > and only to test the STOP button occasionally > > (example may not sytatically correct) > > > 1) Have a global boolean > 2) Have a click button to 'stop' > 3) Inside your computations Increment an integer > and every million increments perform a WAIT > 4) The WAIT will let the interpreter catch events > and if the stop button was pressed ACTIVE is set TRUE > 5) somewhere else in you computations look for ACTIVE = TRUE to quit. > > -Fernando > > It works ! The key was to use "WAIT" to catch events... (once again, the Gambas documentation is rather obscure on this subject...) Many thanks for this idea ! Serge. From comisat at ...1569... Thu Sep 28 18:01:13 2006 From: comisat at ...1569... (comisat at ...1569...) Date: Thu, 28 Sep 2006 18:01:13 +0200 (CEST) Subject: [Gambas-user] Re : How to interrupt a loop ? In-Reply-To: <451BF02D.30001@...402...> References: <451BF02D.30001@...402...> Message-ID: <1741.87.28.144.55.1159459273.squirrel@...1570...> i'm sorry, i supposed you let events in your compute code with WAIT The documentation is clear on it WAIT without delay let events (think DoEvents on VB) WAIT with delay get a pause (think sleep call on VB) comisat >> comisat > Thanks for the idea. It does'nt work, since the > click event on "btnStopLoop" is not recognized while > inside the compute loop. _________________________________________________ * GPG/PGP public key-id: 0xB703A9E2 * http://comisat-games.sourceforge.net * rfc.altervista.org aspetta il tuo contributo * USE=-brain emerge win * "Sulla confezione c'era scritto: necessita' di win9x, winXP o superiore.. ...cosi' ho installato linux" _________________________________________________ From wspinto at ...1405... Thu Sep 28 18:54:13 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Thu, 28 Sep 2006 13:54:13 -0300 Subject: [Gambas-user] Questions about function In-Reply-To: References: Message-ID: <1159462453.451bfe35d1d6d@...1540...> Hi! In VB the functions and Sub use MYSUBFUNCTION([ByRef | ByVal] myVariable as typeofvariable) as typeofreturn Example: SUB MYSub1(b as integer) b = b ^ 2 END SUB SUB MYSub2(ByRef b as integer) b = b ^ 2 END SUB a = 10 PRINT a <== Return 10 MYSub1(a) PRINT a <== Return 10 MySub2(a) PRINT a <== Return 100 Well! My problem... I'm have one variable named oTabIndex is Object[] and fill with this function PUBLIC FUNCTION MakeTabIndex(oForm AS Form) AS Object[] DIM sClass AS Object DIM cRetorno AS NEW Object[] FOR EACH sClass IN oForm.Controls IF sClass Is TEXTBOX or sClass Is COMBOBOX or sClass Is CHECKBOX or sClass Is LISTBOX THEN cRetorno.Add(sClass) NEXT RETURN cRetorno END PUBLIC SUB Form_Open() oTabIndex = mymodule.MakeTabIndex(ME) END PUBLIC SUB loc_KeyPress() '* loc is group of my form objects If Key.Code = Key.Enter or Key.Code = Key.Return then FtabIndex(oTabIndex,LAST,0) End If END FUNCTION FTabIndex(oTabIndex AS Object[], oCampo AS Object, OPTIONAL nOrdem AS Integer = 0) AS Boolean DIM nConta AS Integer DIM i AS Integer i = oTabIndex.Count - 1 nConta = oTabIndex.Find(oCampo) IF nConta < 0 THEN RETURN FALSE IF nOrdem = 0 THEN ' Verifica se o campo esta enable ou nao visible nConta += 1 IF nConta = i THEN nConta = 0 WHILE NOT oTabIndex[nConta].enabled OR NOT oTabIndex[nConta].visible nConta += 1 IF nConta = i THEN nConta = 0 WEND ELSE nConta -= 1 IF nConta <= 0 THEN nConta = i WHILE NOT oTabIndex[nConta].enabled OR NOT oTabIndex[nConta].visible nConta -= 1 IF nConta <= 0 THEN nConta = i WEND ENDIF oTabIndex[nConta].SetFocus RETURN TRUE END ************** In any moment the oTabIndex itens not exist example: For i = 0 to oTabIndex.Count - 1 Print oTabIndex[i].Tag Next first time the work fine. In second time in i = 5 the oTabIndex[5].Tag is invalid or any other: .Text, .X, etc... Why????????? Reguards, Wellington ___________________________________________________________________________________ Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu telefone de casa ou celular. Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! From serge.bouc at ...402... Thu Sep 28 21:55:28 2006 From: serge.bouc at ...402... (serge bouc) Date: Thu, 28 Sep 2006 21:55:28 +0200 Subject: [Gambas-user] Re : How to interrupt a loop ? Message-ID: <451C28B0.1000605@...402...> comisat wrote : > i'm sorry, i supposed you let events in your compute code with WAIT > The documentation is clear on it > WAIT without delay let events (think DoEvents on VB) > WAIT with delay get a pause (think sleep call on VB) > > comisat > > Here is what the documentation I have says : > WAIT [delay] : Calls the event loop. If Delay is specified, does not > return until Delay seconds elapse. > Delay is a floating point number. So, if you want to wait 100 ms, just > do: > WAIT 0.1 > During the wait, no keyboard or mouse events are processed. Only > drawing, timer and file descriptors events, like Process_Write. This is not so clear to me : apparently, you suggest that I should put a "WAIT" *without* delay in the loop I want to interrupt ? But I tried that, and it doesn't seem to work. The result is the same as with no "WAIT" at all. If I put a "WAIT 0.01" on the contrary, then the events (mouse clicks) *are* recognized. Probably what happens is that I don't understand enough of computer programmers language to see how this behaviour is explained by the above documentation. Once again, I am far from an expert. Best regards. Serge. From gambas at ...1... Thu Sep 28 22:06:45 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 28 Sep 2006 22:06:45 +0200 Subject: [Gambas-user] Re : How to interrupt a loop ? In-Reply-To: <451C28B0.1000605@...402...> References: <451C28B0.1000605@...402...> Message-ID: <200609282206.45884.gambas@...1...> On Thursday 28 September 2006 21:55, serge bouc wrote: > comisat wrote : > > i'm sorry, i supposed you let events in your compute code with WAIT > > The documentation is clear on it > > WAIT without delay let events (think DoEvents on VB) > > WAIT with delay get a pause (think sleep call on VB) > > > > comisat > > Here is what the documentation I have says : > > WAIT [delay] : Calls the event loop. If Delay is specified, does not > > return until Delay seconds elapse. > > Delay is a floating point number. So, if you want to wait 100 ms, just > > do: > > WAIT 0.1 > > During the wait, no keyboard or mouse events are processed. Only > > drawing, timer and file descriptors events, like Process_Write. > > This is not so clear to me : apparently, you suggest that I should put a > "WAIT" *without* delay > in the loop I want to interrupt ? But I tried that, and it doesn't seem > to work. The result is the same > as with no "WAIT" at all. If I put a "WAIT 0.01" on the contrary, then > the events (mouse clicks) *are* > recognized. > Probably what happens is that I don't understand enough of computer > programmers language > to see how this behaviour is explained by the above documentation. Once > again, I am far from an expert. > > Best regards. > Serge. > That's it. The documentation is right there. Sometimes it is. :-) You have a little information on event loop there: http://gambasdoc.org/help/cat/eventloop Regards, -- Benoit Minisini From Karl.Reinl at ...9... Thu Sep 28 22:55:29 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 28 Sep 2006 22:55:29 +0200 Subject: [Gambas-user] did you ever ..... Message-ID: <200609282255.29132.Karl.Reinl@...9...> Salut to all out there, did you ever get a stamp at Mc Donalds ? ? Why not, at the post office I can as much I want ? This kind of question I read to often here . This was my first reaction, to that type of question frequently arriving . OK. I stop my mail here, but I publish it. NO more further comments. Amicalment Charlie From sourceforge-raindog2 at ...94... Thu Sep 28 23:14:14 2006 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 28 Sep 2006 17:14:14 -0400 Subject: [Gambas-user] did you ever ..... In-Reply-To: <200609282255.29132.Karl.Reinl@...9...> References: <200609282255.29132.Karl.Reinl@...9...> Message-ID: <200609281714.14367.sourceforge-raindog2@...94...> On Thursday 28 September 2006 16:55, Charlie Reinl wrote: > did you ever get a stamp at Mc Donalds ? ? > Why not, at the post office I can as much I want ? > This kind of question I read to often here . I'm sorry, Charlie, but I have no idea what you're getting at with this metaphor. Rob From ronstk at ...239... Fri Sep 29 00:30:24 2006 From: ronstk at ...239... (Ron Onstenk) Date: Fri, 29 Sep 2006 00:30:24 +0200 Subject: [Gambas-user] did you ever ..... In-Reply-To: <200609281714.14367.sourceforge-raindog2@...94...> References: <200609282255.29132.Karl.Reinl@...9...> <200609281714.14367.sourceforge-raindog2@...94...> Message-ID: <200609290030.25465.ronstk@...239...> On Thursday 28 September 2006 23:14, Rob wrote: > On Thursday 28 September 2006 16:55, Charlie Reinl wrote: > > did you ever get a stamp at Mc Donalds ? ? > > Why not, at the post office I can as much I want ? > > This kind of question I read to often here . > > I'm sorry, Charlie, but I have no idea what you're getting at > with this metaphor. > > Rob > I have a small idea what he mean. Many times there are questions raised about how-to-do Can gambas have x, y, z while (you name it) does have. This could many times answered when reading the home site at sourceforge Reading the changelog is also informative. And do not forget the help documentation. Yes the last one is not complete or does not up to date with the lateast gambas version. The most important thing is you can read those stuff, no problem but understanding is something different, and that puzzles new users or even the old die hards. I understand when people complain about it but I confess, sometimes I do have the same problems with it. For me it is still expecting some things and behaviours from the VB time that influence me. Ron From Karl.Reinl at ...9... Fri Sep 29 01:53:08 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 29 Sep 2006 01:53:08 +0200 Subject: [Gambas-user] so I explain me Message-ID: <200609290153.08613.Karl.Reinl@...9...> RON said : 'Can gambas have x, y, z while (you name it) does have.' Better in that way : I'v used 'xyz' with 'tralala' , and it was sooooooooooooooo good, but it don't work with gambas. I stop, but I sended the mail, because: I couldn't take my knowleg on sinclair-basic, DBase, DBase II, Dbase III, DBASE IV, Clipper 86, 87 , Clipper 5.x , Turbo C and others, not directly use from one to the next, and even not on gambas. The way to write the code was at any time different, with the same result. LET a = 10 Dim a = 10 a = 10 a := 10 etc. So, sorry but If you change your car, the main functions are the same, but to switch on lights, open the doors etc.are always different. Have you ever written to BMW why they are different to your old Ford ? On Computers: But don't panic, one thing is (mostly) right on every maschine, a 'Syntax Error' is a Syntax Error (now is to find out) WHY The Software or my Software. On Cars: The wheels (mostly) touche the ground. But to balme it, that way: "I'v used to do 'xyz' with 'tralala', it don't work with gambas." Remember, that if ever you mean that the way you use the maschine is the right one, and the maschine don't like it, to blame it is not the solution, the maschine will not work with. Charlie From rohnny at ...1248... Fri Sep 29 10:05:05 2006 From: rohnny at ...1248... (R. Stormo) Date: Fri, 29 Sep 2006 01:05:05 -0700 (PDT) Subject: [Gambas-user] variable content as object referer Message-ID: <6560888.post@...1379...> Is it possible to use variable content as referer to a object? psudeo dim i as integer const s as string="TextBox" for i = 1 to 5 eval(`s`&i.text) = "something" next or If I have written text2 in textbox1 I would use the content eval('textbox1.text')="something" What it will execute is text2.text = "something" Hope someone understand what I mean. Reards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/variable-content-as-object-referer-tf2355532.html#a6560888 Sent from the gambas-user mailing list archive at Nabble.com. From _root at ...324... Fri Sep 29 11:10:11 2006 From: _root at ...324... (_root at ...324...) Date: Fri, 29 Sep 2006 11:10:11 +0200 Subject: [Gambas-user] Bug? In-Reply-To: <200609281626.46984.gambas@...1...> References: <451A31F6.9050307@...324...> <200609271206.08603.rospolosco@...152...> <451BE013.7030706@...324...> <200609281626.46984.gambas@...1...> Message-ID: <451CE2F3.9070308@...324...> Benoit Minisini wrote: > Try to use the "update all form" menu entry and recompile your project. it works! ty ;-) > You should read the ChangeLog to know all changes betwenn the old version you > used and the new one. I'm sorry :( -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Refill srl il paradiso della tua stampante - cartucce e toner compatibili, inchiostri e accessori per la ricarica, carta speciale. Tutto a prezzi scontatissimi! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5187&d=29-9 From rospolosco at ...152... Fri Sep 29 15:25:18 2006 From: rospolosco at ...152... (Stefano Palmeri) Date: Fri, 29 Sep 2006 15:25:18 +0200 Subject: [Gambas-user] new bug? in the IDE Message-ID: <200609291525.18820.rospolosco@...152...> Hi, all. Hi, Benoit. It seems that there is a little bug in the Gambas2 IDE. The bug: I added a ToolButton in a Form, inside an existing Frame; then I selected the ToolButton. In the properties panel, I selected Picture and clicked the button to choose the picture. An error message box pops up (see attached jpeg). Gambas2 1.9.43 KDE 3.4.2 Qt 3.3.2 Regards, Stefano Palmeri -------------- next part -------------- A non-text attachment was scrubbed... Name: IDE_bug.jpg Type: image/jpeg Size: 40499 bytes Desc: not available URL: From rohnny at ...1248... Fri Sep 29 16:00:14 2006 From: rohnny at ...1248... (R. Stormo) Date: Fri, 29 Sep 2006 07:00:14 -0700 (PDT) Subject: [Gambas-user] new bug? in the IDE In-Reply-To: <200609291525.18820.rospolosco@...152...> References: <200609291525.18820.rospolosco@...152...> Message-ID: <6565504.post@...1379...> Stefano Palmeri wrote: > > > Hi, all. Hi, Benoit. > > It seems that there is a little bug in the Gambas2 IDE. > > The bug: > > I added a ToolButton in a Form, inside an existing Frame; > then I selected the ToolButton. In the properties panel, > I selected Picture and clicked the button to choose > the picture. An error message box pops up (see attached > jpeg). > > Gambas2 1.9.43 > KDE 3.4.2 > Qt 3.3.2 > > Regards, > > Stefano Palmeri > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Got error her also. "This application raised and error and must abort" [3] Stack overflow FSelection .cmbsize_click.77 Gambas2 1.9.43 and Ubuntu Dapper Regards Rohnny http://forum.stormweb.no -- View this message in context: http://www.nabble.com/new-bug--in-the-IDE-tf2356873.html#a6565504 Sent from the gambas-user mailing list archive at Nabble.com. From comisat at ...1569... Fri Sep 29 16:14:38 2006 From: comisat at ...1569... (comisat at ...1569...) Date: Fri, 29 Sep 2006 16:14:38 +0200 (CEST) Subject: [Gambas-user] new bug? in the IDE In-Reply-To: <6565504.post@...1379...> References: <200609291525.18820.rospolosco@...152...> <6565504.post@...1379...> Message-ID: <1064.87.28.144.55.1159539278.squirrel@...1570...> the same on gambas 1.9.43 and gentoo comisat > "This application raised and error and must abort" > [3] Stack overflow > FSelection .cmbsize_click.77 > > > Gambas2 1.9.43 and Ubuntu Dapper _________________________________________________ * GPG/PGP public key-id: 0xB703A9E2 * http://comisat-games.sourceforge.net * rfc.altervista.org aspetta il tuo contributo * USE=-brain emerge win * "Sulla confezione c'era scritto: necessita' di win9x, winXP o superiore.. ...cosi' ho installato linux" _________________________________________________ From gambas at ...1... Fri Sep 29 16:39:17 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 29 Sep 2006 16:39:17 +0200 Subject: [Gambas-user] new bug? in the IDE In-Reply-To: <1064.87.28.144.55.1159539278.squirrel@...1570...> References: <200609291525.18820.rospolosco@...152...> <6565504.post@...1379...> <1064.87.28.144.55.1159539278.squirrel@...1570...> Message-ID: <200609291639.17620.gambas@...1...> On Friday 29 September 2006 16:14, comisat at ...1569... wrote: > the same on > gambas 1.9.43 and gentoo > > comisat > > > "This application raised and error and must abort" > > [3] Stack overflow > > FSelection .cmbsize_click.77 > > > > > > Gambas2 1.9.43 and Ubuntu Dapper > It is fixed in the svn repository. -- Benoit Minisini From serge.bouc at ...402... Fri Sep 29 17:01:44 2006 From: serge.bouc at ...402... (serge bouc) Date: Fri, 29 Sep 2006 17:01:44 +0200 Subject: [Gambas-user] Re : How to interrupt a loop ? Message-ID: <451D3558.5060104@...402...> Benoit Minisini wrote : > That's it. > > The documentation is right there. Sometimes it is. :-) > > You have a little information on event loop there: > http://gambasdoc.org/help/cat/eventloop > > Regards, Thanks for the link. I find the explanation on "wait" there much more clear than what I read before (from the documentation coming with gambas distribution). Just a quick comparison : Here is what the documentation I have says : > > > WAIT [delay] : Calls the event loop. If Delay is specified, does not > > > return until Delay seconds elapse. > > > Delay is a floating point number. So, if you want to wait 100 ms, just > > > do: > > > WAIT 0.1 > > > During the wait, no keyboard or mouse events are processed. Only > > > drawing, timer and file descriptors events, like Process_Write. > > Here is what the above link says : > * > * > WAIT [ _Delay_ ] > Calls recursively the event loop >> If _Delay_ is specified, the function does not return until _Delay_ >> seconds elapse. >> If _Delay_ is not specified, the functions processes every events and >> returns immediately. > In this case, keyboard and mouse events are ignored. > Example > **' **Waits a little, letting the user interacts with the GUI** > **WAIT 0.1** > > ' **Waits, but the user can just watch what happens...** > **WAIT** > ** The main differences that help me to understand this version are the words "In this case..." (when delay is not specified), and of course the example. Thanks again. Serge. * * -- Benoit Minisini From rohnny at ...1248... Fri Sep 29 20:21:16 2006 From: rohnny at ...1248... (R. Stormo) Date: Fri, 29 Sep 2006 11:21:16 -0700 (PDT) Subject: [Gambas-user] Subversion, howto Message-ID: <6570191.post@...1379...> How can I take usage og the files from subversion. Meaning compile and use it, Regards Rohnny http://forum.stormweb.nol -- View this message in context: http://www.nabble.com/Subversion%2C-howto-tf2358431.html#a6570191 Sent from the gambas-user mailing list archive at Nabble.com. From leonardo at ...1237... Fri Sep 29 22:41:12 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 29 Sep 2006 22:41:12 +0200 Subject: [Gambas-user] Questions about function In-Reply-To: <1159462453.451bfe35d1d6d@...1540...> References: <1159462453.451bfe35d1d6d@...1540...> Message-ID: <451D84E8.7070901@...1237...> wspinto at ...1405... ha scritto: > Hi! > > In VB the functions and Sub use MYSUBFUNCTION([ByRef | ByVal] myVariable as > typeofvariable) as typeofreturn > > Example: > SUB MYSub1(b as integer) > b = b ^ 2 > END SUB > > SUB MYSub2(ByRef b as integer) > b = b ^ 2 > END SUB > > a = 10 > PRINT a <== Return 10 > MYSub1(a) > PRINT a <== Return 10 > MySub2(a) > PRINT a <== Return 100 > > Well! My problem... > > I'm have one variable named oTabIndex is Object[] and fill with this function > > PUBLIC FUNCTION MakeTabIndex(oForm AS Form) AS Object[] > DIM sClass AS Object > DIM cRetorno AS NEW Object[] > > FOR EACH sClass IN oForm.Controls > IF sClass Is TEXTBOX or sClass Is COMBOBOX or sClass Is CHECKBOX or sClass > Is LISTBOX > THEN cRetorno.Add(sClass) > NEXT > > RETURN cRetorno > END > > PUBLIC SUB Form_Open() > oTabIndex = mymodule.MakeTabIndex(ME) > END > > PUBLIC SUB loc_KeyPress() '* loc is group of my form objects > If Key.Code = Key.Enter or Key.Code = Key.Return then > FtabIndex(oTabIndex,LAST,0) > End If > END > > FUNCTION FTabIndex(oTabIndex AS Object[], oCampo AS Object, OPTIONAL nOrdem AS > Integer = 0) AS Boolean > DIM nConta AS Integer > DIM i AS Integer > > i = oTabIndex.Count - 1 > nConta = oTabIndex.Find(oCampo) > IF nConta < 0 THEN RETURN FALSE > > IF nOrdem = 0 THEN > ' Verifica se o campo esta enable ou nao visible > nConta += 1 > IF nConta = i THEN nConta = 0 > WHILE NOT oTabIndex[nConta].enabled OR NOT oTabIndex[nConta].visible > nConta += 1 > IF nConta = i THEN nConta = 0 > WEND > ELSE > nConta -= 1 > IF nConta <= 0 THEN nConta = i > WHILE NOT oTabIndex[nConta].enabled OR NOT oTabIndex[nConta].visible > nConta -= 1 > IF nConta <= 0 THEN nConta = i > WEND > ENDIF > > oTabIndex[nConta].SetFocus > RETURN TRUE > END > > ************** > In any moment the oTabIndex itens not exist > example: > For i = 0 to oTabIndex.Count - 1 > Print oTabIndex[i].Tag > Next > > first time the work fine. In second time in i = 5 the oTabIndex[5].Tag is > invalid or any other: .Text, .X, etc... > > Why????????? > > > Reguards, > > Wellington > ___________________________________________________________________________________ > Agora todas as suas liga??es DDD e DDI com o 21 v?m junto com a conta do seu > telefone de casa ou celular. > Mais comodidade e praticidade para voc?. Faz um 21 e aproveite! > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I know that in Gambas a variable passed to a function/sub is used as "Byval" in VB. Instead, a dinamic array (variable[]) is used as "Byref" in VB, so if you change its value then the calling sub will see the new value. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From cperrin88 at ...467... Sat Sep 30 22:54:02 2006 From: cperrin88 at ...467... (Christopher Perrin) Date: Sat, 30 Sep 2006 22:54:02 +0200 Subject: [Gambas-user] TextArea Text Color Message-ID: <451ED96A.1090406@...467...> Hi, I have a problem with coloring only parts of my text. Can someone tell me how I can do this? I'm using Gambas 1.0.13 on Ubuntu Thanks for help Chris ___________________________________________________________ Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de