Re: [Gambas-user] collection of collection problem
2017-03-24 10:52 GMT-04:00 Fabien Bodard: > Sorry but despite your article ... that i've read all the content I > can't understand your need ... And I'm sur there is a way to do it > simpler with Gambas. > U'r code are correct, the problem is the understand for people that come from other programing languaje .. please dont pay attention to the "array" word, its only a reference Here some will ask it selft: "so then why Gambas? why not better php or java?" simple: once understand the code, as u said, will be then a better way and wil be easy to do! It is difficult to explain it for all of you because I do not see large projects made in Gambas beyond domotica project, and second because they do not understand when one should evaluate contracting expenses against quality of personnel .. A developer who understands at first sight your concept, it will cost me more than one who only has a simple analogy ...i mean we do not see the word "array" only, the equivalence of code are able to Understand it quickly Obviously there are better ways, if I must, i would implement Beans adapted from Java EE concepts and dynamic abstractions .. but I would get expensive at the contracting level .. an then gambas convert in a "basic" related languaje easy to learn > > What I've understand : > > ' Gambas module file > > Public Sub Main() > > Dim hCon As New Connection(Subst("mysql://&1@&2:3306/&3", > $servername, $username, $dbname)) > Dim $orders As String = "SELECT * FROM almorder WHERE cod_order = &1" > Dim $ordersproducts As String = "SELECT * FROM alorderproducts WHERE > cod_order = &1" > > Dim CurrentOrder As String = "001" > Dim cOrder as Collection > > hCon.Password = $password > hCon.Open > > 'refer to the first line of the returned collection to get a single > collection > cOrder = ResultToCollectionArray(db.Exec($orders, CurrentOrder))[0] > > cOrder!cod_contenido = > ResultToCollectionArray(db.Exec($ordersproducts, CurrentOrder) > > > 'So we can read : > > Print cOrder!cod_contenido[2]!can_product > > 'that refer To the Line 2 Of the array contained In column > "cod_contenido" Of cOrdercolumn "can_product" > > End > > > Private Function ResultToCollectionArray(hResult As Result) As > Collection[] > Dim a As New String[] > Dim f As ResultField > Dim C As Collection > Dim aC As New Collection[] > Dim s As String > > If Not hResult And If Not hResult.Available Then Return > > For Each f In ResultField > a.Add(f.Name) > Next > > For Each hResult > c = New Collection > For Each s In a > c[s] = hResult[s] > Next > aC.Add(c) > Next > Return aC > End > > > > > 2017-03-23 19:49 GMT+01:00 PICCORO McKAY Lenz : > > well, this its a funny case, the code of the firts mail are the correct > way > > , but one line are incorrect.. that's why not working > > > > in any case i put how must be done in this article: > > http://qgqlochekone.blogspot.com/2017/03/gambas3- > collections-of-collections-as.html > > > > my error, a typo in the line: > > filasdet.Add(columnas, rsetd!cod_contenido) > > must be: > > filasdet.Add(columnasdet, rsetd!cod_contenido) > > > > and in the article i try to explain why i done that > > > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-03-23 8:25 GMT-04:00 Fabien Bodard : > > > >> Please tel me how you make the array in php. And in java. Or give me a > >> link. > >> I'll try to answer this evening > >> For me you need arrays of collections. > >> Array are the lines storage and collection the line itself. > >> > >> Colresult[2]!storage[3]!article > >> > >> -- > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> ___ > >> Gambas-user mailing list > >> Gambas-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > -- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user >
Re: [Gambas-user] how to know when a form runnig was invoked from another or not?
jajajaj Fabian, thanks! its a "all-in-one" project! umm interesting using the run! passing a instance of the parent.. thanks for the tip! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-03-24 11:06 GMT-04:00 Fabien Bodard: > So it's to the form to say ... I'm the parent. > > > > > 2017-03-24 15:41 GMT+01:00 PICCORO McKAY Lenz : > > the problem its not property a value to pass.. > > > > the problem its that the parent could be "any", not only a named > "myform" o > > "fatherform" > > > > i mean, i dont nkow what form was the parent > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-03-24 10:20 GMT-04:00 Jussi Lahtinen : > > > >> Or you need to make wrapper class that requires show method to take > >> parameter. > >> > >> > >> Jussi > >> > >> On Fri, Mar 24, 2017 at 4:08 PM, Fabien Bodard > >> wrote: > >> > >> > Hey Lenz... Indirectly the value is passed, if it's not by you , it's > >> > by the interpreter or class. There is no sorcery. > >> > > >> > well then when you read the code ... it's not the parent that show the > >> > form but the form itself. > >> > > >> > MyForm . ShowModal > >> > > >> > Where showmodal is the function from MyForm. > >> > > >> > The only way is to pass the value via a Static Function. Or/and via an > >> > extend on the _New function (the constructor) > >> > > >> > > >> > > >> > 2017-03-24 14:58 GMT+01:00 Jussi Lahtinen : > >> > > I don't understand why it is bad to pass value to indicate where the > >> form > >> > > was invoked..? > >> > > > >> > > > >> > > Jussi > >> > > > >> > > On Fri, Mar 24, 2017 at 3:41 PM, PICCORO McKAY Lenz < > >> > mckaygerh...@gmail.com> > >> > > wrote: > >> > > > >> > >> arrgg fatherform way and "bambino" flag way are in fact same.. > >> > >> > >> > >> both suggestions need a value to pass and already know was the form > >> > father! > >> > >> i need a way that i dont know the name of the "father form".. only > >> that > >> > the > >> > >> parent will raise if any.. > >> > >> > >> > >> Lenz McKAY Gerardo (PICCORO) > >> > >> http://qgqlochekone.blogspot.com > >> > >> > >> > >> 2017-03-16 7:59 GMT-04:00 PICCORO McKAY Lenz < > mckaygerh...@gmail.com > >> >: > >> > >> > >> > >> > like it more the "FatherForm" way, many thanks! > >> > >> > > >> > >> > Lenz McKAY Gerardo (PICCORO) > >> > >> > http://qgqlochekone.blogspot.com > >> > >> > > >> > >> > 2017-03-16 6:56 GMT-04:00 Gianluigi : > >> > >> > > >> > >> >> And do such a thing? > >> > >> >> > >> > >> >> Regards > >> > >> >> Gianluigi > >> > >> >> > >> > >> >> 2017-03-16 4:32 GMT+01:00 adamn...@gmail.com < > adamn...@gmail.com>: > >> > >> >> > >> > >> >> > On Wed, 15 Mar 2017 17:32:08 -0400 > >> > >> >> > PICCORO McKAY Lenz wrote: > >> > >> >> > > >> > >> >> > > how to know when a form runnig was invoked from another or > not? > >> > >> >> > > > >> > >> >> > > i mean: > >> > >> >> > > > >> > >> >> > > case1: > >> > >> >> > > > >> > >> >> > > form1 have a click and inside invoke form2.show() > >> > >> >> > > > >> > >> >> > > case2: > >> > >> >> > > > >> > >> >> > > only form2 are lauch > >> > >> >> > > > >> > >> >> > > now in form2 i have a button with a event Click: > >> > >> >> > > > >> > >> >> > > if are invoked from form1 i need to show anagin form1 and > close > >> > >> form2 > >> > >> >> > > if not, onlt close form2 and terminate program > >> > >> >> > > > >> > >> >> > > i' was lookin for ojbect management on gambas wiki and only > >> found > >> > >> Me;; > >> > >> >> > > Last;; and Me.Parent but none of them helpme... > >> > >> >> > > > >> > >> >> > > Lenz McKAY Gerardo (PICCORO) > >> > >> >> > > http://qgqlochekone.blogspot.com > >> > >> >> > > -- > -- > >> > >> >> > -- > >> > >> >> > > Check out the vibrant tech community on one of the world's > most > >> > >> >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> > >> >> > > ___ > >> > >> >> > > Gambas-user mailing list > >> > >> >> > > Gambas-user@lists.sourceforge.net > >> > >> >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> >> > > >> > >> >> > Surely this is as simple as using Run() instead of show in the > >> > >> "parent" > >> > >> >> > form? Set a flag in the Run method to indicate that the > "child" > >> was > >> > >> >> invoked > >> > >> >> > from the "parent" and react accordingly. > >> > >> >> > e.g. > >> > >> >> > CHILD FORM > >> > >> >> > Public Sub Run() > >> > >> >> > $bIamBambino=true > >> > >> >> > Me.show() ' or ShowModal or whatever... > >> > >> >> > End > >> > >> >> > > >> > >> >> > Public Form_Close() > >> > >> >> > If $bIamBambino then > >> > >> >> > ' do whatever > >> > >> >> > Else > >> > >> >> >' close the application > >> > >> >>
Re: [Gambas-user] how to know when a form runnig was invoked from another or not?
So it's to the form to say ... I'm the parent. 2017-03-24 15:41 GMT+01:00 PICCORO McKAY Lenz: > the problem its not property a value to pass.. > > the problem its that the parent could be "any", not only a named "myform" o > "fatherform" > > i mean, i dont nkow what form was the parent > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-03-24 10:20 GMT-04:00 Jussi Lahtinen : > >> Or you need to make wrapper class that requires show method to take >> parameter. >> >> >> Jussi >> >> On Fri, Mar 24, 2017 at 4:08 PM, Fabien Bodard >> wrote: >> >> > Hey Lenz... Indirectly the value is passed, if it's not by you , it's >> > by the interpreter or class. There is no sorcery. >> > >> > well then when you read the code ... it's not the parent that show the >> > form but the form itself. >> > >> > MyForm . ShowModal >> > >> > Where showmodal is the function from MyForm. >> > >> > The only way is to pass the value via a Static Function. Or/and via an >> > extend on the _New function (the constructor) >> > >> > >> > >> > 2017-03-24 14:58 GMT+01:00 Jussi Lahtinen : >> > > I don't understand why it is bad to pass value to indicate where the >> form >> > > was invoked..? >> > > >> > > >> > > Jussi >> > > >> > > On Fri, Mar 24, 2017 at 3:41 PM, PICCORO McKAY Lenz < >> > mckaygerh...@gmail.com> >> > > wrote: >> > > >> > >> arrgg fatherform way and "bambino" flag way are in fact same.. >> > >> >> > >> both suggestions need a value to pass and already know was the form >> > father! >> > >> i need a way that i dont know the name of the "father form".. only >> that >> > the >> > >> parent will raise if any.. >> > >> >> > >> Lenz McKAY Gerardo (PICCORO) >> > >> http://qgqlochekone.blogspot.com >> > >> >> > >> 2017-03-16 7:59 GMT-04:00 PICCORO McKAY Lenz > >: >> > >> >> > >> > like it more the "FatherForm" way, many thanks! >> > >> > >> > >> > Lenz McKAY Gerardo (PICCORO) >> > >> > http://qgqlochekone.blogspot.com >> > >> > >> > >> > 2017-03-16 6:56 GMT-04:00 Gianluigi : >> > >> > >> > >> >> And do such a thing? >> > >> >> >> > >> >> Regards >> > >> >> Gianluigi >> > >> >> >> > >> >> 2017-03-16 4:32 GMT+01:00 adamn...@gmail.com : >> > >> >> >> > >> >> > On Wed, 15 Mar 2017 17:32:08 -0400 >> > >> >> > PICCORO McKAY Lenz wrote: >> > >> >> > >> > >> >> > > how to know when a form runnig was invoked from another or not? >> > >> >> > > >> > >> >> > > i mean: >> > >> >> > > >> > >> >> > > case1: >> > >> >> > > >> > >> >> > > form1 have a click and inside invoke form2.show() >> > >> >> > > >> > >> >> > > case2: >> > >> >> > > >> > >> >> > > only form2 are lauch >> > >> >> > > >> > >> >> > > now in form2 i have a button with a event Click: >> > >> >> > > >> > >> >> > > if are invoked from form1 i need to show anagin form1 and close >> > >> form2 >> > >> >> > > if not, onlt close form2 and terminate program >> > >> >> > > >> > >> >> > > i' was lookin for ojbect management on gambas wiki and only >> found >> > >> Me;; >> > >> >> > > Last;; and Me.Parent but none of them helpme... >> > >> >> > > >> > >> >> > > Lenz McKAY Gerardo (PICCORO) >> > >> >> > > http://qgqlochekone.blogspot.com >> > >> >> > > >> > >> >> > -- >> > >> >> > > Check out the vibrant tech community on one of the world's most >> > >> >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > >> >> > > ___ >> > >> >> > > Gambas-user mailing list >> > >> >> > > Gambas-user@lists.sourceforge.net >> > >> >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> > >> > >> >> > Surely this is as simple as using Run() instead of show in the >> > >> "parent" >> > >> >> > form? Set a flag in the Run method to indicate that the "child" >> was >> > >> >> invoked >> > >> >> > from the "parent" and react accordingly. >> > >> >> > e.g. >> > >> >> > CHILD FORM >> > >> >> > Public Sub Run() >> > >> >> > $bIamBambino=true >> > >> >> > Me.show() ' or ShowModal or whatever... >> > >> >> > End >> > >> >> > >> > >> >> > Public Form_Close() >> > >> >> > If $bIamBambino then >> > >> >> > ' do whatever >> > >> >> > Else >> > >> >> >' close the application >> > >> >> > EndIF >> > >> >> > >> > >> >> > PARENT FORM >> > >> >> > Public Sub SomeButton_Click() >> > >> >> > Dim fBambono as New FWhatever >> > >> >> > fBambino.Run() >> > >> >> > End >> > >> >> > >> > >> >> > >> > >> >> > >> > >> >> > bb >> > >> >> > >> > >> >> > -- >> > >> >> > B Bruen >> > >> >> > >> > >> >> > >> > >> >> > -- >> > >> >> > Check out the vibrant tech community on one of the world's most >> > >> >> > engaging tech
Re: [Gambas-user] collection of collection problem
Sorry but despite your article ... that i've read all the content I can't understand your need ... And I'm sur there is a way to do it simpler with Gambas. What I've understand : ' Gambas module file Public Sub Main() Dim hCon As New Connection(Subst("mysql://&1@&2:3306/&3", $servername, $username, $dbname)) Dim $orders As String = "SELECT * FROM almorder WHERE cod_order = &1" Dim $ordersproducts As String = "SELECT * FROM alorderproducts WHERE cod_order = &1" Dim CurrentOrder As String = "001" Dim cOrder as Collection hCon.Password = $password hCon.Open 'refer to the first line of the returned collection to get a single collection cOrder = ResultToCollectionArray(db.Exec($orders, CurrentOrder))[0] cOrder!cod_contenido = ResultToCollectionArray(db.Exec($ordersproducts, CurrentOrder) 'So we can read : Print cOrder!cod_contenido[2]!can_product 'that refer To the Line 2 Of the array contained In column "cod_contenido" Of cOrdercolumn "can_product" End Private Function ResultToCollectionArray(hResult As Result) As Collection[] Dim a As New String[] Dim f As ResultField Dim C As Collection Dim aC As New Collection[] Dim s As String If Not hResult And If Not hResult.Available Then Return For Each f In ResultField a.Add(f.Name) Next For Each hResult c = New Collection For Each s In a c[s] = hResult[s] Next aC.Add(c) Next Return aC End 2017-03-23 19:49 GMT+01:00 PICCORO McKAY Lenz: > well, this its a funny case, the code of the firts mail are the correct way > , but one line are incorrect.. that's why not working > > in any case i put how must be done in this article: > http://qgqlochekone.blogspot.com/2017/03/gambas3-collections-of-collections-as.html > > my error, a typo in the line: > filasdet.Add(columnas, rsetd!cod_contenido) > must be: > filasdet.Add(columnasdet, rsetd!cod_contenido) > > and in the article i try to explain why i done that > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-03-23 8:25 GMT-04:00 Fabien Bodard : > >> Please tel me how you make the array in php. And in java. Or give me a >> link. >> I'll try to answer this evening >> For me you need arrays of collections. >> Array are the lines storage and collection the line itself. >> >> Colresult[2]!storage[3]!article >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] how to know when a form runnig was invoked from another or not?
the problem its not property a value to pass.. the problem its that the parent could be "any", not only a named "myform" o "fatherform" i mean, i dont nkow what form was the parent Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-03-24 10:20 GMT-04:00 Jussi Lahtinen: > Or you need to make wrapper class that requires show method to take > parameter. > > > Jussi > > On Fri, Mar 24, 2017 at 4:08 PM, Fabien Bodard > wrote: > > > Hey Lenz... Indirectly the value is passed, if it's not by you , it's > > by the interpreter or class. There is no sorcery. > > > > well then when you read the code ... it's not the parent that show the > > form but the form itself. > > > > MyForm . ShowModal > > > > Where showmodal is the function from MyForm. > > > > The only way is to pass the value via a Static Function. Or/and via an > > extend on the _New function (the constructor) > > > > > > > > 2017-03-24 14:58 GMT+01:00 Jussi Lahtinen : > > > I don't understand why it is bad to pass value to indicate where the > form > > > was invoked..? > > > > > > > > > Jussi > > > > > > On Fri, Mar 24, 2017 at 3:41 PM, PICCORO McKAY Lenz < > > mckaygerh...@gmail.com> > > > wrote: > > > > > >> arrgg fatherform way and "bambino" flag way are in fact same.. > > >> > > >> both suggestions need a value to pass and already know was the form > > father! > > >> i need a way that i dont know the name of the "father form".. only > that > > the > > >> parent will raise if any.. > > >> > > >> Lenz McKAY Gerardo (PICCORO) > > >> http://qgqlochekone.blogspot.com > > >> > > >> 2017-03-16 7:59 GMT-04:00 PICCORO McKAY Lenz >: > > >> > > >> > like it more the "FatherForm" way, many thanks! > > >> > > > >> > Lenz McKAY Gerardo (PICCORO) > > >> > http://qgqlochekone.blogspot.com > > >> > > > >> > 2017-03-16 6:56 GMT-04:00 Gianluigi : > > >> > > > >> >> And do such a thing? > > >> >> > > >> >> Regards > > >> >> Gianluigi > > >> >> > > >> >> 2017-03-16 4:32 GMT+01:00 adamn...@gmail.com : > > >> >> > > >> >> > On Wed, 15 Mar 2017 17:32:08 -0400 > > >> >> > PICCORO McKAY Lenz wrote: > > >> >> > > > >> >> > > how to know when a form runnig was invoked from another or not? > > >> >> > > > > >> >> > > i mean: > > >> >> > > > > >> >> > > case1: > > >> >> > > > > >> >> > > form1 have a click and inside invoke form2.show() > > >> >> > > > > >> >> > > case2: > > >> >> > > > > >> >> > > only form2 are lauch > > >> >> > > > > >> >> > > now in form2 i have a button with a event Click: > > >> >> > > > > >> >> > > if are invoked from form1 i need to show anagin form1 and close > > >> form2 > > >> >> > > if not, onlt close form2 and terminate program > > >> >> > > > > >> >> > > i' was lookin for ojbect management on gambas wiki and only > found > > >> Me;; > > >> >> > > Last;; and Me.Parent but none of them helpme... > > >> >> > > > > >> >> > > Lenz McKAY Gerardo (PICCORO) > > >> >> > > http://qgqlochekone.blogspot.com > > >> >> > > > > >> >> > -- > > >> >> > > Check out the vibrant tech community on one of the world's most > > >> >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > >> >> > > ___ > > >> >> > > Gambas-user mailing list > > >> >> > > Gambas-user@lists.sourceforge.net > > >> >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> >> > > > >> >> > Surely this is as simple as using Run() instead of show in the > > >> "parent" > > >> >> > form? Set a flag in the Run method to indicate that the "child" > was > > >> >> invoked > > >> >> > from the "parent" and react accordingly. > > >> >> > e.g. > > >> >> > CHILD FORM > > >> >> > Public Sub Run() > > >> >> > $bIamBambino=true > > >> >> > Me.show() ' or ShowModal or whatever... > > >> >> > End > > >> >> > > > >> >> > Public Form_Close() > > >> >> > If $bIamBambino then > > >> >> > ' do whatever > > >> >> > Else > > >> >> >' close the application > > >> >> > EndIF > > >> >> > > > >> >> > PARENT FORM > > >> >> > Public Sub SomeButton_Click() > > >> >> > Dim fBambono as New FWhatever > > >> >> > fBambino.Run() > > >> >> > End > > >> >> > > > >> >> > > > >> >> > > > >> >> > bb > > >> >> > > > >> >> > -- > > >> >> > B Bruen > > >> >> > > > >> >> > > > >> >> > -- > > >> >> > Check out the vibrant tech community on one of the world's most > > >> >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > >> >> > ___ > > >> >> > Gambas-user mailing list > > >> >> > Gambas-user@lists.sourceforge.net > > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> >> > > > >> >> > > >>
Re: [Gambas-user] how to know when a form runnig was invoked from another or not?
Or you need to make wrapper class that requires show method to take parameter. Jussi On Fri, Mar 24, 2017 at 4:08 PM, Fabien Bodardwrote: > Hey Lenz... Indirectly the value is passed, if it's not by you , it's > by the interpreter or class. There is no sorcery. > > well then when you read the code ... it's not the parent that show the > form but the form itself. > > MyForm . ShowModal > > Where showmodal is the function from MyForm. > > The only way is to pass the value via a Static Function. Or/and via an > extend on the _New function (the constructor) > > > > 2017-03-24 14:58 GMT+01:00 Jussi Lahtinen : > > I don't understand why it is bad to pass value to indicate where the form > > was invoked..? > > > > > > Jussi > > > > On Fri, Mar 24, 2017 at 3:41 PM, PICCORO McKAY Lenz < > mckaygerh...@gmail.com> > > wrote: > > > >> arrgg fatherform way and "bambino" flag way are in fact same.. > >> > >> both suggestions need a value to pass and already know was the form > father! > >> i need a way that i dont know the name of the "father form".. only that > the > >> parent will raise if any.. > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> 2017-03-16 7:59 GMT-04:00 PICCORO McKAY Lenz : > >> > >> > like it more the "FatherForm" way, many thanks! > >> > > >> > Lenz McKAY Gerardo (PICCORO) > >> > http://qgqlochekone.blogspot.com > >> > > >> > 2017-03-16 6:56 GMT-04:00 Gianluigi : > >> > > >> >> And do such a thing? > >> >> > >> >> Regards > >> >> Gianluigi > >> >> > >> >> 2017-03-16 4:32 GMT+01:00 adamn...@gmail.com : > >> >> > >> >> > On Wed, 15 Mar 2017 17:32:08 -0400 > >> >> > PICCORO McKAY Lenz wrote: > >> >> > > >> >> > > how to know when a form runnig was invoked from another or not? > >> >> > > > >> >> > > i mean: > >> >> > > > >> >> > > case1: > >> >> > > > >> >> > > form1 have a click and inside invoke form2.show() > >> >> > > > >> >> > > case2: > >> >> > > > >> >> > > only form2 are lauch > >> >> > > > >> >> > > now in form2 i have a button with a event Click: > >> >> > > > >> >> > > if are invoked from form1 i need to show anagin form1 and close > >> form2 > >> >> > > if not, onlt close form2 and terminate program > >> >> > > > >> >> > > i' was lookin for ojbect management on gambas wiki and only found > >> Me;; > >> >> > > Last;; and Me.Parent but none of them helpme... > >> >> > > > >> >> > > Lenz McKAY Gerardo (PICCORO) > >> >> > > http://qgqlochekone.blogspot.com > >> >> > > > >> >> > -- > >> >> > > Check out the vibrant tech community on one of the world's most > >> >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> >> > > ___ > >> >> > > Gambas-user mailing list > >> >> > > Gambas-user@lists.sourceforge.net > >> >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > > >> >> > Surely this is as simple as using Run() instead of show in the > >> "parent" > >> >> > form? Set a flag in the Run method to indicate that the "child" was > >> >> invoked > >> >> > from the "parent" and react accordingly. > >> >> > e.g. > >> >> > CHILD FORM > >> >> > Public Sub Run() > >> >> > $bIamBambino=true > >> >> > Me.show() ' or ShowModal or whatever... > >> >> > End > >> >> > > >> >> > Public Form_Close() > >> >> > If $bIamBambino then > >> >> > ' do whatever > >> >> > Else > >> >> >' close the application > >> >> > EndIF > >> >> > > >> >> > PARENT FORM > >> >> > Public Sub SomeButton_Click() > >> >> > Dim fBambono as New FWhatever > >> >> > fBambino.Run() > >> >> > End > >> >> > > >> >> > > >> >> > > >> >> > bb > >> >> > > >> >> > -- > >> >> > B Bruen > >> >> > > >> >> > > >> >> > -- > >> >> > Check out the vibrant tech community on one of the world's most > >> >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> >> > ___ > >> >> > Gambas-user mailing list > >> >> > Gambas-user@lists.sourceforge.net > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > > >> >> > >> >> > >> >> -- > >> >> Check out the vibrant tech community on one of the world's most > >> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> >> ___ > >> >> Gambas-user mailing list > >> >> Gambas-user@lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> >> > >> > > >> > >> -- > >> Check out the vibrant tech community on one of the world's
Re: [Gambas-user] how to know when a form runnig was invoked from another or not?
Hey Lenz... Indirectly the value is passed, if it's not by you , it's by the interpreter or class. There is no sorcery. well then when you read the code ... it's not the parent that show the form but the form itself. MyForm . ShowModal Where showmodal is the function from MyForm. The only way is to pass the value via a Static Function. Or/and via an extend on the _New function (the constructor) 2017-03-24 14:58 GMT+01:00 Jussi Lahtinen: > I don't understand why it is bad to pass value to indicate where the form > was invoked..? > > > Jussi > > On Fri, Mar 24, 2017 at 3:41 PM, PICCORO McKAY Lenz > wrote: > >> arrgg fatherform way and "bambino" flag way are in fact same.. >> >> both suggestions need a value to pass and already know was the form father! >> i need a way that i dont know the name of the "father form".. only that the >> parent will raise if any.. >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2017-03-16 7:59 GMT-04:00 PICCORO McKAY Lenz : >> >> > like it more the "FatherForm" way, many thanks! >> > >> > Lenz McKAY Gerardo (PICCORO) >> > http://qgqlochekone.blogspot.com >> > >> > 2017-03-16 6:56 GMT-04:00 Gianluigi : >> > >> >> And do such a thing? >> >> >> >> Regards >> >> Gianluigi >> >> >> >> 2017-03-16 4:32 GMT+01:00 adamn...@gmail.com : >> >> >> >> > On Wed, 15 Mar 2017 17:32:08 -0400 >> >> > PICCORO McKAY Lenz wrote: >> >> > >> >> > > how to know when a form runnig was invoked from another or not? >> >> > > >> >> > > i mean: >> >> > > >> >> > > case1: >> >> > > >> >> > > form1 have a click and inside invoke form2.show() >> >> > > >> >> > > case2: >> >> > > >> >> > > only form2 are lauch >> >> > > >> >> > > now in form2 i have a button with a event Click: >> >> > > >> >> > > if are invoked from form1 i need to show anagin form1 and close >> form2 >> >> > > if not, onlt close form2 and terminate program >> >> > > >> >> > > i' was lookin for ojbect management on gambas wiki and only found >> Me;; >> >> > > Last;; and Me.Parent but none of them helpme... >> >> > > >> >> > > Lenz McKAY Gerardo (PICCORO) >> >> > > http://qgqlochekone.blogspot.com >> >> > > >> >> > -- >> >> > > Check out the vibrant tech community on one of the world's most >> >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >> > > ___ >> >> > > Gambas-user mailing list >> >> > > Gambas-user@lists.sourceforge.net >> >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > >> >> > Surely this is as simple as using Run() instead of show in the >> "parent" >> >> > form? Set a flag in the Run method to indicate that the "child" was >> >> invoked >> >> > from the "parent" and react accordingly. >> >> > e.g. >> >> > CHILD FORM >> >> > Public Sub Run() >> >> > $bIamBambino=true >> >> > Me.show() ' or ShowModal or whatever... >> >> > End >> >> > >> >> > Public Form_Close() >> >> > If $bIamBambino then >> >> > ' do whatever >> >> > Else >> >> >' close the application >> >> > EndIF >> >> > >> >> > PARENT FORM >> >> > Public Sub SomeButton_Click() >> >> > Dim fBambono as New FWhatever >> >> > fBambino.Run() >> >> > End >> >> > >> >> > >> >> > >> >> > bb >> >> > >> >> > -- >> >> > B Bruen >> >> > >> >> > >> >> > -- >> >> > Check out the vibrant tech community on one of the world's most >> >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >> > ___ >> >> > Gambas-user mailing list >> >> > Gambas-user@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > >> >> >> >> >> >> -- >> >> Check out the vibrant tech community on one of the world's most >> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >> ___ >> >> Gambas-user mailing list >> >> Gambas-user@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> > >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org!
Re: [Gambas-user] how to know when a form runnig was invoked from another or not?
I don't understand why it is bad to pass value to indicate where the form was invoked..? Jussi On Fri, Mar 24, 2017 at 3:41 PM, PICCORO McKAY Lenzwrote: > arrgg fatherform way and "bambino" flag way are in fact same.. > > both suggestions need a value to pass and already know was the form father! > i need a way that i dont know the name of the "father form".. only that the > parent will raise if any.. > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-03-16 7:59 GMT-04:00 PICCORO McKAY Lenz : > > > like it more the "FatherForm" way, many thanks! > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-03-16 6:56 GMT-04:00 Gianluigi : > > > >> And do such a thing? > >> > >> Regards > >> Gianluigi > >> > >> 2017-03-16 4:32 GMT+01:00 adamn...@gmail.com : > >> > >> > On Wed, 15 Mar 2017 17:32:08 -0400 > >> > PICCORO McKAY Lenz wrote: > >> > > >> > > how to know when a form runnig was invoked from another or not? > >> > > > >> > > i mean: > >> > > > >> > > case1: > >> > > > >> > > form1 have a click and inside invoke form2.show() > >> > > > >> > > case2: > >> > > > >> > > only form2 are lauch > >> > > > >> > > now in form2 i have a button with a event Click: > >> > > > >> > > if are invoked from form1 i need to show anagin form1 and close > form2 > >> > > if not, onlt close form2 and terminate program > >> > > > >> > > i' was lookin for ojbect management on gambas wiki and only found > Me;; > >> > > Last;; and Me.Parent but none of them helpme... > >> > > > >> > > Lenz McKAY Gerardo (PICCORO) > >> > > http://qgqlochekone.blogspot.com > >> > > > >> > -- > >> > > Check out the vibrant tech community on one of the world's most > >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> > > ___ > >> > > Gambas-user mailing list > >> > > Gambas-user@lists.sourceforge.net > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > >> > Surely this is as simple as using Run() instead of show in the > "parent" > >> > form? Set a flag in the Run method to indicate that the "child" was > >> invoked > >> > from the "parent" and react accordingly. > >> > e.g. > >> > CHILD FORM > >> > Public Sub Run() > >> > $bIamBambino=true > >> > Me.show() ' or ShowModal or whatever... > >> > End > >> > > >> > Public Form_Close() > >> > If $bIamBambino then > >> > ' do whatever > >> > Else > >> >' close the application > >> > EndIF > >> > > >> > PARENT FORM > >> > Public Sub SomeButton_Click() > >> > Dim fBambono as New FWhatever > >> > fBambino.Run() > >> > End > >> > > >> > > >> > > >> > bb > >> > > >> > -- > >> > B Bruen > >> > > >> > > >> > -- > >> > Check out the vibrant tech community on one of the world's most > >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> > ___ > >> > Gambas-user mailing list > >> > Gambas-user@lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > >> > >> > >> -- > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> ___ > >> Gambas-user mailing list > >> Gambas-user@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] how to know when a form runnig was invoked from another or not?
arrgg fatherform way and "bambino" flag way are in fact same.. both suggestions need a value to pass and already know was the form father! i need a way that i dont know the name of the "father form".. only that the parent will raise if any.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-03-16 7:59 GMT-04:00 PICCORO McKAY Lenz: > like it more the "FatherForm" way, many thanks! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-03-16 6:56 GMT-04:00 Gianluigi : > >> And do such a thing? >> >> Regards >> Gianluigi >> >> 2017-03-16 4:32 GMT+01:00 adamn...@gmail.com : >> >> > On Wed, 15 Mar 2017 17:32:08 -0400 >> > PICCORO McKAY Lenz wrote: >> > >> > > how to know when a form runnig was invoked from another or not? >> > > >> > > i mean: >> > > >> > > case1: >> > > >> > > form1 have a click and inside invoke form2.show() >> > > >> > > case2: >> > > >> > > only form2 are lauch >> > > >> > > now in form2 i have a button with a event Click: >> > > >> > > if are invoked from form1 i need to show anagin form1 and close form2 >> > > if not, onlt close form2 and terminate program >> > > >> > > i' was lookin for ojbect management on gambas wiki and only found Me;; >> > > Last;; and Me.Parent but none of them helpme... >> > > >> > > Lenz McKAY Gerardo (PICCORO) >> > > http://qgqlochekone.blogspot.com >> > > >> > -- >> > > Check out the vibrant tech community on one of the world's most >> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > > ___ >> > > Gambas-user mailing list >> > > Gambas-user@lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > Surely this is as simple as using Run() instead of show in the "parent" >> > form? Set a flag in the Run method to indicate that the "child" was >> invoked >> > from the "parent" and react accordingly. >> > e.g. >> > CHILD FORM >> > Public Sub Run() >> > $bIamBambino=true >> > Me.show() ' or ShowModal or whatever... >> > End >> > >> > Public Form_Close() >> > If $bIamBambino then >> > ' do whatever >> > Else >> >' close the application >> > EndIF >> > >> > PARENT FORM >> > Public Sub SomeButton_Click() >> > Dim fBambono as New FWhatever >> > fBambino.Run() >> > End >> > >> > >> > >> > bb >> > >> > -- >> > B Bruen >> > >> > >> > -- >> > Check out the vibrant tech community on one of the world's most >> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> > ___ >> > Gambas-user mailing list >> > Gambas-user@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1093: Short cut keys not working for gb.qt5 menu if parent menu caption is blank
http://gambaswiki.org/bugtracker/edit?object=BUG.1093=L21haW4- Safiur RAHMAN added an attachment: menuform.tar.gz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1093: Short cut keys not working for gb.qt5 menu if parent menu caption is blank
http://gambaswiki.org/bugtracker/edit?object=BUG.1093=L21haW4- Safiur RAHMAN added an attachment: menuform.tar.gz -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] webtable Data event, get text from a specific row
i reading .. and makes sense due its a web filosofy (request/response), due its a rendered task, make it on the fly.. but by now its quite complicated translate to spanish.. in the mail linked, u paste an example, i'll try to do that and then try to explain in spanish .. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-03-23 18:35 GMT-04:00 Tobias Boege: > On Thu, 23 Mar 2017, PICCORO McKAY Lenz wrote: > > i try to iterate in a row from a webtable event DATA, but i noted that in > > svn the class seems are not develop > > > > this based on documentation that said "this wymbol has not found" when i > > visit the wiki for it! > > > > https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/ > trunk/comp/src/gb.web.form/.src/WebTable/WebTableData.class > > > > the event and related are not comlete develop or how i can get text of a > > specific row? > > > > I don't know for sure what Benoit intends to do with it, but in its current > scope the file you linked is completely developed. You get the "symbol not > found" error because it is not documented (yet). WebTableData is a class > used in only one direction: for the WebTable to query *you* for the data > it is going to display. > > As for > > > how i can get text of a specific row? > > You can't. WebTable does not store any data. It feels like I just explained > this last week [1]. Virtually all widgets in gb.web.form do only two > things: > they render themselves as HTML and handle user interaction by receiving > messages and sending responses in Javascript. When the WebTable is > rendered, > it determines which rows and columns it needs to show (depending on the > current state of its scrollbars) and raises a series of Data events to ask > you for the data you want to put into these cells. The data you provide is > then baked into an HTML and sent to the browser. It is not saved > and > there is no way for you to get it back out of the WebTable. But since you > should have a method to answer the WebTable's Data queries, you should be > able to get your row data the same way, no? > > If you want to get anyhwere with gb.web.form I strongly advise to read its > source code. > > Regards, > Tobi > > [1] https://sourceforge.net/p/gambas/mailman/message/35732049/ > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1093: Short cut keys not working for gb.qt5 menu if parent menu caption is blank
http://gambaswiki.org/bugtracker/edit?object=BUG.1093=L21haW4- Safiur RAHMAN reported a new bug. Summary --- Short cut keys not working for gb.qt5 menu if parent menu caption is blank Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description --- Create a menu and a submenu in gb.qt5. Put shortcut key (eg. Ctrl + S ) to submenu. If main menu caption is not empty then pressing shortcut key produces associated Click event. If main menu caption is blank then pressing short cut does not produce Click event. System information -- [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.8.0-41-generic Architecture=x86_64 Distribution=Ubuntu 16.04.2 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=3883M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-AKAWaABNeq DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=8488 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=ne_NP.UTF-8 LC_IDENTIFICATION=ne_NP.UTF-8 LC_MEASUREMENT=ne_NP.UTF-8 LC_MONETARY=ne_NP.UTF-8 LC_NAME=ne_NP.UTF-8 LC_NUMERIC=ne_NP.UTF-8 LC_PAPER=ne_NP.UTF-8 LC_TELEPHONE=ne_NP.UTF-8 LC_TIME=ne_NP.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PAPERSIZE=a4 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/2051,unix/:/tmp/.ICE-unix/2051 SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1793 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@im=ibus -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user