From bagoneo at ...69... Wed Apr 1 13:49:01 2015 From: bagoneo at ...69... (Gian) Date: Wed, 01 Apr 2015 13:49:01 +0200 Subject: [Gambas-user] A Gambas 3.7.1 question. Message-ID: <551BDB2D.5090705@...69...> But now 3.7.1 it should be the stable version. ?In the title forgotten the written of version Trunk.? So mine was an omen. :) Regards Gianluigi From abbat.81 at ...787... Wed Apr 1 16:06:53 2015 From: abbat.81 at ...787... (abbat81) Date: Wed, 1 Apr 2015 07:06:53 -0700 (MST) Subject: [Gambas-user] How to get back my Gbr3 3.5.4 after updated Message-ID: <1427897213105-51216.post@...3046...> How to install Gambas current ver? I get (Depends): gambas3-gb-jit (>= 3.7.0-51.33~ubuntu12.04.1) Is there any way to get .deb package of gambas version I need? -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-get-back-my-Gbr3-3-5-4-after-updated-tp51216.html Sent from the gambas-user mailing list archive at Nabble.com. From bagoneo at ...69... Wed Apr 1 18:07:09 2015 From: bagoneo at ...69... (Gian) Date: Wed, 01 Apr 2015 18:07:09 +0200 Subject: [Gambas-user] How to get back my Gbr3 3.5.4 after updated In-Reply-To: <1427897213105-51216.post@...3046...> References: <1427897213105-51216.post@...3046...> Message-ID: <551C17AD.90402@...69...> Il 01/04/2015 16:06, abbat81 ha scritto: > How to install Gambas current ver? > I get > (Depends): gambas3-gb-jit (>= 3.7.0-51.33~ubuntu12.04.1) > > Is there any way to get .deb package of gambas version I need? > > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/How-to-get-back-my-Gbr3-3-5-4-after-updated-tp51216.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Have you installed the Trunk librarys plus llvm-3.4-dev? Take a look here (my answer to Lewis Balentine): http://gambas.8142.n7.nabble.com/Release-of-Gambas-3-7-td50952.html Regards Gianluigi From lewis at ...3412... Wed Apr 1 22:09:15 2015 From: lewis at ...3412... (Lewis Balentine) Date: Wed, 01 Apr 2015 15:09:15 -0500 Subject: [Gambas-user] How to get back my Gbr3 3.5.4 after updated In-Reply-To: <551C17AD.90402@...69...> References: <1427897213105-51216.post@...3046...> <551C17AD.90402@...69...> Message-ID: <551C506B.1030901@...3412...> See attached script file ... (it is what I used). Lewis On 04/01/2015 11:07 AM, Gian wrote: > Il 01/04/2015 16:06, abbat81 ha scritto: >> How to install Gambas current ver? >> I get >> (Depends): gambas3-gb-jit (>= 3.7.0-51.33~ubuntu12.04.1) >> >> Is there any way to get .deb package of gambas version I need? >> >> >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble.com/How-to-get-back-my-Gbr3-3-5-4-after-updated-tp51216.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > Have you installed the Trunk librarys plus llvm-3.4-dev? > Take a look here (my answer to Lewis Balentine): > http://gambas.8142.n7.nabble.com/Release-of-Gambas-3-7-td50952.html > > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: getlibs.tar.gz Type: application/gzip Size: 686 bytes Desc: not available URL: From adamnt42 at ...626... Sat Apr 4 05:49:22 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 4 Apr 2015 14:19:22 +1030 Subject: [Gambas-user] WebView - override the current page stylesheet Message-ID: <20150404141922.b40e4b861c60e719d3b4a64d@...626...> Is there a way to direct a Webview control to use a specific (local) css stylesheet? tia bruce -- B Bruen From fgores at ...174... Sat Apr 4 12:44:24 2015 From: fgores at ...174... (Frank) Date: Sat, 04 Apr 2015 12:44:24 +0200 Subject: [Gambas-user] Gb.Report2 Message-ID: <551FC088.8050402@...174...> Hello Everybody, I've seen that the new gb.report component uses now documentviewer as where I until now could use "report.preview()" it now fails. As I have made a few reports in my application I would appreciate a working method to produce a preview and where I can save this preview as .PDF (like I did sofar) As I amquit new to Gambas but still learning, I am now lost again a bit. btw, I have looked at the example of Fabien but is this more for excisting .PDF files or can I use this as well to generate for my reports? Kind regards, Swissgamba From bagoneo at ...69... Sat Apr 4 16:41:34 2015 From: bagoneo at ...69... (Gian) Date: Sat, 04 Apr 2015 16:41:34 +0200 Subject: [Gambas-user] Differences between Compile and Compile all Message-ID: <551FF81E.5090606@...69...> Hello everyone I can not understand the difference between the commands *Compile* and *Compile all* of the *Project menu*. I thought that with Compile I compiles the current module and with Compile all I have the possibility to compile the entire project. Using these commands on the attached project of a single class and leaving commented fillRecord in Form_Open() I obtain the Warning ?Unused function: fillRecord" only if use Compile all. Thanks in advance Gianluigi From bagoneo at ...69... Sat Apr 4 16:44:41 2015 From: bagoneo at ...69... (Gian) Date: Sat, 04 Apr 2015 16:44:41 +0200 Subject: [Gambas-user] Differences between Compile and Compile all In-Reply-To: <551FF81E.5090606@...69...> References: <551FF81E.5090606@...69...> Message-ID: <551FF8D9.7010708@...69...> Il 04/04/2015 16:41, Gian ha scritto: > Hello everyone > I can not understand the difference between the commands *Compile* and > *Compile all* of the *Project menu*. > I thought that with Compile I compiles the current module and with > Compile all I have the possibility to compile the entire project. > Using these commands on the attached project of a single class and > leaving commented fillRecord in Form_Open() I obtain the Warning > ?Unused function: fillRecord" only if use Compile all. > Thanks in advance > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Sorry, see project attached Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: MyStruct-DB-SAVE-0.0.1.tar.gz Type: application/gzip Size: 8662 bytes Desc: not available URL: From johny.provoost at ...27... Sat Apr 4 17:49:48 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Sat, 04 Apr 2015 17:49:48 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: <551FC088.8050402@...174...> References: <551FC088.8050402@...174...> Message-ID: <5520081C.1070103@...27...> Op 04-04-15 om 12:44 schreef Frank: > Hello Everybody, > > I've seen that the new gb.report component uses now documentviewer as > where I until now could use "report.preview()" it now fails. As I have > made a few reports in my application I would appreciate a working method > to produce a preview and where I can save this preview as .PDF (like I > did sofar) As I amquit new to Gambas but still learning, I am now lost > again a bit. > btw, I have looked at the example of Fabien but is this more for > excisting .PDF files or can I use this as well to generate for my reports? > > Kind regards, > > Swissgamba > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Don't you have a second TAB (first is print, second is File) in the preview window? There you normally can Print the file as pdf. -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From fgores at ...174... Sat Apr 4 17:54:07 2015 From: fgores at ...174... (Frank) Date: Sat, 04 Apr 2015 17:54:07 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: <5520081C.1070103@...27...> References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> Message-ID: <5520091F.80603@...174...> On 04.04.2015 17:49, Johny Provoost wrote: > > Op 04-04-15 om 12:44 schreef Frank: >> Hello Everybody, >> >> I've seen that the new gb.report component uses now documentviewer as >> where I until now could use "report.preview()" it now fails. As I have >> made a few reports in my application I would appreciate a working method >> to produce a preview and where I can save this preview as .PDF (like I >> did sofar) As I amquit new to Gambas but still learning, I am now lost >> again a bit. >> btw, I have looked at the example of Fabien but is this more for >> excisting .PDF files or can I use this as well to generate for my reports? >> >> Kind regards, >> >> Swissgamba >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > Don't you have a second TAB (first is print, second is File) in the > preview window? There you normally can Print the file as pdf. I Use to have that, but with gb.report2 enabled en gb.report disabled as component the program stops at codeline reportx.preview() groet, Frank From fgores at ...174... Sat Apr 4 17:58:46 2015 From: fgores at ...174... (Frank) Date: Sat, 04 Apr 2015 17:58:46 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: <5520081C.1070103@...27...> References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> Message-ID: <55200A36.3010803@...174...> On 04.04.2015 17:49, Johny Provoost wrote: > > Op 04-04-15 om 12:44 schreef Frank: >> Hello Everybody, >> >> I've seen that the new gb.report component uses now documentviewer as >> where I until now could use "report.preview()" it now fails. As I have >> made a few reports in my application I would appreciate a working method >> to produce a preview and where I can save this preview as .PDF (like I >> did sofar) As I amquit new to Gambas but still learning, I am now lost >> again a bit. >> btw, I have looked at the example of Fabien but is this more for >> excisting .PDF files or can I use this as well to generate for my reports? >> >> Kind regards, >> >> Swissgamba >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > Don't you have a second TAB (first is print, second is File) in the > preview window? There you normally can Print the file as pdf. btw these are the lines: reportor = New Rptoffenerechnung reportor.preview() the error is: Error: Wanted picture, got function instead From johny.provoost at ...27... Sat Apr 4 18:51:00 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Sat, 04 Apr 2015 18:51:00 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: <55200A36.3010803@...174...> References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> Message-ID: <55201674.8@...27...> Op 04-04-15 om 17:58 schreef Frank: > On 04.04.2015 17:49, Johny Provoost wrote: >> Op 04-04-15 om 12:44 schreef Frank: >>> Hello Everybody, >>> >>> I've seen that the new gb.report component uses now documentviewer as >>> where I until now could use "report.preview()" it now fails. As I have >>> made a few reports in my application I would appreciate a working method >>> to produce a preview and where I can save this preview as .PDF (like I >>> did sofar) As I amquit new to Gambas but still learning, I am now lost >>> again a bit. >>> btw, I have looked at the example of Fabien but is this more for >>> excisting .PDF files or can I use this as well to generate for my reports? >>> >>> Kind regards, >>> >>> Swissgamba >>> >>> >> Don't you have a second TAB (first is print, second is File) in the >> preview window? There you normally can Print the file as pdf. > btw these are the lines: > > reportor = New Rptoffenerechnung > reportor.preview() > > the error is: Error: Wanted picture, got function instead > ------------------------------------------------------------------------------ > > Sorry, can't help you with that. Think we have to wait for Fabian. -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From gambas.fr at ...626... Sat Apr 4 21:24:00 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 4 Apr 2015 21:24:00 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: <55201674.8@...27...> References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> <55201674.8@...27...> Message-ID: Hum, if i remember well i have corrected this bug. So in version 3.7.1 or .2 it will be ok 2015-04-04 18:51 GMT+02:00 Johny Provoost : > > > Op 04-04-15 om 17:58 schreef Frank: >> On 04.04.2015 17:49, Johny Provoost wrote: >>> Op 04-04-15 om 12:44 schreef Frank: >>>> Hello Everybody, >>>> >>>> I've seen that the new gb.report component uses now documentviewer as >>>> where I until now could use "report.preview()" it now fails. As I have >>>> made a few reports in my application I would appreciate a working method >>>> to produce a preview and where I can save this preview as .PDF (like I >>>> did sofar) As I amquit new to Gambas but still learning, I am now lost >>>> again a bit. >>>> btw, I have looked at the example of Fabien but is this more for >>>> excisting .PDF files or can I use this as well to generate for my reports? >>>> >>>> Kind regards, >>>> >>>> Swissgamba >>>> >>>> >>> Don't you have a second TAB (first is print, second is File) in the >>> preview window? There you normally can Print the file as pdf. >> btw these are the lines: >> >> reportor = New Rptoffenerechnung >> reportor.preview() >> >> the error is: Error: Wanted picture, got function instead >> ------------------------------------------------------------------------------ >> >> > Sorry, can't help you with that. Think we have to wait for Fabian. > -- > > > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: johny.provoost at ...27... * > > *mailto: johny.provoost at ...626... * > > *Website:* *http://www.johnyprovoost.net* > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From fgores at ...174... Sat Apr 4 21:27:58 2015 From: fgores at ...174... (Frank) Date: Sat, 04 Apr 2015 21:27:58 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> <55201674.8@...27...> Message-ID: <55203B3E.7000607@...174...> OK, I have 3.7.0 currently running, so will update and report. Many thanks for your quick reply. Frank On 04.04.2015 21:24, Fabien Bodard wrote: > Hum, if i remember well i have corrected this bug. So in version 3.7.1 > or .2 it will be ok > > 2015-04-04 18:51 GMT+02:00 Johny Provoost : >> >> Op 04-04-15 om 17:58 schreef Frank: >>> On 04.04.2015 17:49, Johny Provoost wrote: >>>> Op 04-04-15 om 12:44 schreef Frank: >>>>> Hello Everybody, >>>>> >>>>> I've seen that the new gb.report component uses now documentviewer as >>>>> where I until now could use "report.preview()" it now fails. As I have >>>>> made a few reports in my application I would appreciate a working method >>>>> to produce a preview and where I can save this preview as .PDF (like I >>>>> did sofar) As I amquit new to Gambas but still learning, I am now lost >>>>> again a bit. >>>>> btw, I have looked at the example of Fabien but is this more for >>>>> excisting .PDF files or can I use this as well to generate for my reports? >>>>> >>>>> Kind regards, >>>>> >>>>> Swissgamba >>>>> >>>>> >>>> Don't you have a second TAB (first is print, second is File) in the >>>> preview window? There you normally can Print the file as pdf. >>> btw these are the lines: >>> >>> reportor = New Rptoffenerechnung >>> reportor.preview() >>> >>> the error is: Error: Wanted picture, got function instead >>> ------------------------------------------------------------------------------ >>> >>> >> Sorry, can't help you with that. Think we have to wait for Fabian. >> -- >> >> >> >> *Vriendelijke Groeten* >> >> *Johny Provoost* >> >> *mailto: johny.provoost at ...27... * >> >> *mailto: johny.provoost at ...626... * >> >> *Website:* *http://www.johnyprovoost.net* >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Sat Apr 4 21:53:31 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 4 Apr 2015 21:53:31 +0200 Subject: [Gambas-user] WebView - override the current page stylesheet In-Reply-To: <20150404141922.b40e4b861c60e719d3b4a64d@...626...> References: <20150404141922.b40e4b861c60e719d3b4a64d@...626...> Message-ID: By modifying the code html ?... you can use replace. 2015-04-04 5:49 GMT+02:00 adamnt42 at ...626... : > Is there a way to direct a Webview control to use a specific (local) css stylesheet? > > tia > bruce > > -- > B Bruen > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From adamnt42 at ...626... Sun Apr 5 02:00:40 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 5 Apr 2015 09:30:40 +0930 Subject: [Gambas-user] WebView - override the current page stylesheet In-Reply-To: References: <20150404141922.b40e4b861c60e719d3b4a64d@...626...> Message-ID: <20150405093040.11f844305d07c6e6e873aff2@...626...> On Sat, 4 Apr 2015 21:53:31 +0200 Fabien Bodard wrote: > By modifying the code html ?... you can use replace. > > 2015-04-04 5:49 GMT+02:00 adamnt42 at ...626... : > > Is there a way to direct a Webview control to use a specific (local) css stylesheet? > > > > tia > > bruce > > > > -- > > B Bruen > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub for all > > things parallel software development, from weekly thought leadership blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Thanks Fabien. (Doh!) bruce -- B Bruen From adamnt42 at ...626... Sun Apr 5 04:58:05 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 5 Apr 2015 12:28:05 +0930 Subject: [Gambas-user] gb.xml feature request Message-ID: <20150405122805.ea0b841b08a868cd05e905e7@...626...> @Adrien Prokopowicz ? I ask for an enhancement to XMLNode (and descendants). Currently the TextContent property returns the concatenated text of the currenode and all child nodes thereof. What I want to get is the text of the current node only, ignoring any child nodes. Dim sText as String Dim hElt as XMLElement ' = some node sText = hElt.GetLocalTextContent() i.e. a new method to return just the local node text. I think this requires modifying the serializer class GBGetXMLTextContent() method to avoid descending in to the child nodes but it is far beyond my C++ abilities and the attempts I made are too embarrassing to reveal. :-( tia bruce -- B Bruen From n.rogozarski at ...626... Sun Apr 5 15:04:58 2015 From: n.rogozarski at ...626... (Roki) Date: Sun, 05 Apr 2015 15:04:58 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> <55201674.8@...27...> Message-ID: <552132FA.1080003@...626...> I apologize that I enter in your topic, but my question is also related to gb.report2. I have a problem with the panel, although its arrangement properties set to None, its child controls are grouped in the upper left corner. Is this a bug, or am I doing something wrong ? I'm currently using the Gambas 3.7 On 04.04.2015 21:24, Fabien Bodard wrote: > Hum, if i remember well i have corrected this bug. So in version 3.7.1 > or .2 it will be ok > > 2015-04-04 18:51 GMT+02:00 Johny Provoost : >> >> Op 04-04-15 om 17:58 schreef Frank: >>> On 04.04.2015 17:49, Johny Provoost wrote: >>>> Op 04-04-15 om 12:44 schreef Frank: >>>>> Hello Everybody, >>>>> >>>>> I've seen that the new gb.report component uses now documentviewer as >>>>> where I until now could use "report.preview()" it now fails. As I have >>>>> made a few reports in my application I would appreciate a working method >>>>> to produce a preview and where I can save this preview as .PDF (like I >>>>> did sofar) As I amquit new to Gambas but still learning, I am now lost >>>>> again a bit. >>>>> btw, I have looked at the example of Fabien but is this more for >>>>> excisting .PDF files or can I use this as well to generate for my reports? >>>>> >>>>> Kind regards, >>>>> >>>>> Swissgamba >>>>> >>>>> >>>> Don't you have a second TAB (first is print, second is File) in the >>>> preview window? There you normally can Print the file as pdf. >>> btw these are the lines: >>> >>> reportor = New Rptoffenerechnung >>> reportor.preview() >>> >>> the error is: Error: Wanted picture, got function instead >>> ------------------------------------------------------------------------------ >>> >>> >> Sorry, can't help you with that. Think we have to wait for Fabian. >> -- >> >> >> >> *Vriendelijke Groeten* >> >> *Johny Provoost* >> >> *mailto: johny.provoost at ...27... * >> >> *mailto: johny.provoost at ...626... * >> >> *Website:* *http://www.johnyprovoost.net* >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From Karl.Reinl at ...2345... Sun Apr 5 17:42:45 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 05 Apr 2015 17:42:45 +0200 Subject: [Gambas-user] Question about libraries and components In-Reply-To: <5501FD93.8060702@...1...> References: <1426193462.3596.13.camel@...40...> <5501FD93.8060702@...1...> Message-ID: <1428248565.7003.12.camel@...40...> Am Donnerstag, den 12.03.2015, 21:56 +0100 schrieb Beno?t Minisini: > Le 12/03/2015 21:51, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > I have a library where I use the ToolBar and ToolButtons, now the > > project which uses this library claims "the class ToolBar could not be > > loaded" if I call the form with the toolbar. > > > > Q: is that behave normal? > > > > Sorry, I posted the same mail with a wrong subject. > > > > Give more details please. > Salut Beno?t, ok, very late, (comme on dit, vieux motard....) but didn't take the time to make an example.Here it is. LETS_see is a library which uses the ToolBar. Works pretty well. LEST_Start use that library and I can't open the window with the ToolBar. I think, because the components from LETS_see are not used. happy Easter -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: LETS_see-0.0.8.tar.gz Type: application/x-compressed-tar Size: 5615 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: LETS_Start-0.0.2.tar.gz Type: application/x-compressed-tar Size: 9071 bytes Desc: not available URL: From Karl.Reinl at ...2345... Sun Apr 5 18:53:53 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 05 Apr 2015 18:53:53 +0200 Subject: [Gambas-user] another Question about libraries and components In-Reply-To: <5501FD93.8060702@...1...> References: <1426193462.3596.13.camel@...40...> <5501FD93.8060702@...1...> Message-ID: <1428252833.7003.17.camel@...40...> Salut Beno?t, now I find the library LETS_see.gambas in Components , but if I try to check it in, the IDE crash. (see attachment) -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-04-05 18:48:07.png Type: image/png Size: 59695 bytes Desc: not available URL: From adamnt42 at ...626... Mon Apr 6 00:04:17 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 6 Apr 2015 07:34:17 +0930 Subject: [Gambas-user] Question about libraries and components In-Reply-To: <1428248565.7003.12.camel@...40...> References: <1426193462.3596.13.camel@...40...> <5501FD93.8060702@...1...> <1428248565.7003.12.camel@...40...> Message-ID: <20150406073417.b0a352740dd522484bef3bfd@...626...> On Sun, 05 Apr 2015 17:42:45 +0200 Charlie Reinl wrote: > Am Donnerstag, den 12.03.2015, 21:56 +0100 schrieb Beno?t Minisini: > > Le 12/03/2015 21:51, Charlie Reinl a ?crit : > > > Salut Beno?t, > > > > > > I have a library where I use the ToolBar and ToolButtons, now the > > > project which uses this library claims "the class ToolBar could not be > > > loaded" if I call the form with the toolbar. > > > > > > Q: is that behave normal? > > > > > > Sorry, I posted the same mail with a wrong subject. > > > > > > > Give more details please. > > > > Salut Beno?t, > > ok, very late, (comme on dit, vieux motard....) but didn't take the time > to make an example.Here it is. > LETS_see is a library which uses the ToolBar. Works pretty well. > LEST_Start use that library and I can't open the window with the > ToolBar. > I think, because the components from LETS_see are not used. > > happy Easter > -- > Amicalement > Charlie You need to include gb.form.mdi in LETS_start project components. regards bruce -- B Bruen From fgores at ...174... Mon Apr 6 10:52:15 2015 From: fgores at ...174... (Frank) Date: Mon, 06 Apr 2015 10:52:15 +0200 Subject: [Gambas-user] Gb.Report2 (and printing .pdf) In-Reply-To: <552132FA.1080003@...626...> References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> <55201674.8@...27...> <552132FA.1080003@...626...> Message-ID: <5522493F.8060706@...174...> With repect to printing in Gambas, I have the following (unfinished) code a FMain with two buttons, Btprint which prints the report hReport1 as it should, and a button Brprintpdf which should print the same hReport to file as .pdf. I know there is code to print to .pdf missing as it saves a blank pdf, but as a newbee I have no clue what is missing I suspect it must be something with draw and a event with a printer component on hReport1, right? Public Sub _new() End Public Sub Form_Open() Me.Center End Public Sub Btprint_Click() Dim hReport1 As New Report1 hreport1 = New Report1 hreport1.paper = Printer.A4 hreport1.Orientation = Printer.Landscape hreport1.Print End Public Sub Btprintpdf_Click() Dim hprinter As New Printer With hPrinter .Configure .Orientation = Printer.Landscape .Resolution = Desktop.Resolution .Paper = 2 .OutputFile = "/home/frank/test999.pdf" .Print End With End On 05.04.2015 15:04, Roki wrote: > I apologize that I enter in your topic, but my question is also related > to gb.report2. I have a problem with the panel, although its arrangement > properties set to None, its child controls are grouped in the upper left > corner. > > Is this a bug, or am I doing something wrong ? > > I'm currently using the Gambas 3.7 > > On 04.04.2015 21:24, Fabien Bodard wrote: >> Hum, if i remember well i have corrected this bug. So in version 3.7.1 >> or .2 it will be ok >> >> 2015-04-04 18:51 GMT+02:00 Johny Provoost : >>> Op 04-04-15 om 17:58 schreef Frank: >>>> On 04.04.2015 17:49, Johny Provoost wrote: >>>>> Op 04-04-15 om 12:44 schreef Frank: >>>>>> Hello Everybody, >>>>>> >>>>>> I've seen that the new gb.report component uses now documentviewer as >>>>>> where I until now could use "report.preview()" it now fails. As I have >>>>>> made a few reports in my application I would appreciate a working method >>>>>> to produce a preview and where I can save this preview as .PDF (like I >>>>>> did sofar) As I amquit new to Gambas but still learning, I am now lost >>>>>> again a bit. >>>>>> btw, I have looked at the example of Fabien but is this more for >>>>>> excisting .PDF files or can I use this as well to generate for my reports? >>>>>> >>>>>> Kind regards, >>>>>> >>>>>> Swissgamba >>>>>> >>>>>> >>>>> Don't you have a second TAB (first is print, second is File) in the >>>>> preview window? There you normally can Print the file as pdf. >>>> btw these are the lines: >>>> >>>> reportor = New Rptoffenerechnung >>>> reportor.preview() >>>> >>>> the error is: Error: Wanted picture, got function instead >>>> ------------------------------------------------------------------------------ >>>> >>>> >>> Sorry, can't help you with that. Think we have to wait for Fabian. >>> -- >>> >>> >>> >>> *Vriendelijke Groeten* >>> >>> *Johny Provoost* >>> >>> *mailto: johny.provoost at ...27... * >>> >>> *mailto: johny.provoost at ...626... * >>> >>> *Website:* *http://www.johnyprovoost.net* >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>> things parallel software development, from weekly thought leadership blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Mon Apr 6 11:30:05 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 06 Apr 2015 11:30:05 +0200 Subject: [Gambas-user] Question about libraries and components In-Reply-To: <20150406073417.b0a352740dd522484bef3bfd@...626...> References: <1426193462.3596.13.camel@...40...> <5501FD93.8060702@...1...> <1428248565.7003.12.camel@...40...> <20150406073417.b0a352740dd522484bef3bfd@...626...> Message-ID: <1428312605.7346.2.camel@...40...> Am Montag, den 06.04.2015, 07:34 +0930 schrieb adamnt42 at ...626...: > On Sun, 05 Apr 2015 17:42:45 +0200 > Charlie Reinl wrote: > > > Am Donnerstag, den 12.03.2015, 21:56 +0100 schrieb Beno?t Minisini: > > > Le 12/03/2015 21:51, Charlie Reinl a ?crit : > > > > Salut Beno?t, > > > > > > > > I have a library where I use the ToolBar and ToolButtons, now the > > > > project which uses this library claims "the class ToolBar could not be > > > > loaded" if I call the form with the toolbar. > > > > > > > > Q: is that behave normal? > > > > > > > > Sorry, I posted the same mail with a wrong subject. > > > > > > > > > > Give more details please. > > > > > > > Salut Beno?t, > > > > ok, very late, (comme on dit, vieux motard....) but didn't take the time > > to make an example.Here it is. > > LETS_see is a library which uses the ToolBar. Works pretty well. > > LEST_Start use that library and I can't open the window with the > > ToolBar. > > I think, because the components from LETS_see are not used. > > > > happy Easter > > -- > > Amicalement > > Charlie > > You need to include gb.form.mdi in LETS_start project components. > > regards > bruce > Salut Bruce, thanks, yes I know, but I think that is a bug, or something like that. -- Amicalement Charlie From gambas.fr at ...626... Mon Apr 6 12:52:03 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 6 Apr 2015 12:52:03 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: <552132FA.1080003@...626...> References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> <55201674.8@...27...> <552132FA.1080003@...626...> Message-ID: Le 5 avr. 2015 15:06, "Roki" a ?crit : > > > I apologize that I enter in your topic, but my question is also related > to gb.report2. I have a problem with the panel, although its arrangement > properties set to None, its child controls are grouped in the upper left > corner. > > Is this a bug, or am I doing something wrong ? Arf it look like a bug > I'm currently using the Gambas 3.7 > > On 04.04.2015 21:24, Fabien Bodard wrote: > > Hum, if i remember well i have corrected this bug. So in version 3.7.1 > > or .2 it will be ok > > > > 2015-04-04 18:51 GMT+02:00 Johny Provoost : > >> > >> Op 04-04-15 om 17:58 schreef Frank: > >>> On 04.04.2015 17:49, Johny Provoost wrote: > >>>> Op 04-04-15 om 12:44 schreef Frank: > >>>>> Hello Everybody, > >>>>> > >>>>> I've seen that the new gb.report component uses now documentviewer as > >>>>> where I until now could use "report.preview()" it now fails. As I have > >>>>> made a few reports in my application I would appreciate a working method > >>>>> to produce a preview and where I can save this preview as .PDF (like I > >>>>> did sofar) As I amquit new to Gambas but still learning, I am now lost > >>>>> again a bit. > >>>>> btw, I have looked at the example of Fabien but is this more for > >>>>> excisting .PDF files or can I use this as well to generate for my reports? > >>>>> > >>>>> Kind regards, > >>>>> > >>>>> Swissgamba > >>>>> > >>>>> > >>>> Don't you have a second TAB (first is print, second is File) in the > >>>> preview window? There you normally can Print the file as pdf. > >>> btw these are the lines: > >>> > >>> reportor = New Rptoffenerechnung > >>> reportor.preview() > >>> > >>> the error is: Error: Wanted picture, got function instead > >>> ------------------------------------------------------------------------------ > >>> > >>> > >> Sorry, can't help you with that. Think we have to wait for Fabian. > >> -- > >> > >> > >> > >> *Vriendelijke Groeten* > >> > >> *Johny Provoost* > >> > >> *mailto: johny.provoost at ...27... * > >> > >> *mailto: johny.provoost at ...626... * > >> > >> *Website:* *http://www.johnyprovoost.net* < http://www.johnyprovoost.net/> > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored > >> by Intel and developed in partnership with Slashdot Media, is your hub for all > >> things parallel software development, from weekly thought leadership blogs to > >> news, videos, case studies, tutorials and more. Take a look and join the > >> conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Mon Apr 6 19:48:07 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 6 Apr 2015 19:48:07 +0200 Subject: [Gambas-user] Gb.Report2 (and printing .pdf) In-Reply-To: <5522493F.8060706@...174...> References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> <55201674.8@...27...> <552132FA.1080003@...626...> <5522493F.8060706@...174...> Message-ID: 2015-04-06 10:52 GMT+02:00 Frank : > With repect to printing in Gambas, I have the following (unfinished) code > > a FMain with two buttons, Btprint which prints the report hReport1 as it should, and a button Brprintpdf which should print the same hReport to file as .pdf. I know there is code to print to .pdf missing as it saves a blank pdf, but as a newbee I have no clue what is missing > I suspect it must be something with draw and a event with a printer component on hReport1, right? > > Public Sub _new() > > End > > Public Sub Form_Open() > Me.Center > End > > Public Sub Btprint_Click() > > Dim hReport1 As New Reuse thatport1 > > hreport1 = New Report1 > hreport1.paper = Printer.A4 > hreport1.Orientation = Printer.Landscape > hreport1.Print > > End > > > Public Sub Btprintpdf_Click() > Dim hprinter As New Printer > 'hprinter.Configure don't use that ! hprinter.Orientation = Printer.Landscape hprinter.Resolution = Desktop.Resolution hprinter.Paper = Printer.A4 hprinter.OutputFile = "/home/frank/test999.pdf" hReport1.Print(hprinter) But for all of that ou can use directly hReport1.Preview... And please use a new thread next time > End With > End > From gambas.fr at ...626... Mon Apr 6 23:54:04 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 6 Apr 2015 23:54:04 +0200 Subject: [Gambas-user] Gb.Report2 In-Reply-To: References: <551FC088.8050402@...174...> <5520081C.1070103@...27...> <55200A36.3010803@...174...> <55201674.8@...27...> <552132FA.1080003@...626...> Message-ID: Fixed on rev 7022 2015-04-06 12:52 GMT+02:00 Fabien Bodard : > > Le 5 avr. 2015 15:06, "Roki" a ?crit : >> >> >> I apologize that I enter in your topic, but my question is also related >> to gb.report2. I have a problem with the panel, although its arrangement >> properties set to None, its child controls are grouped in the upper left >> corner. >> >> Is this a bug, or am I doing something wrong ? > Arf it look like a bug > > >> I'm currently using the Gambas 3.7 >> >> On 04.04.2015 21:24, Fabien Bodard wrote: >> > Hum, if i remember well i have corrected this bug. So in version 3.7.1 >> > or .2 it will be ok >> > >> > 2015-04-04 18:51 GMT+02:00 Johny Provoost : >> >> >> >> Op 04-04-15 om 17:58 schreef Frank: >> >>> On 04.04.2015 17:49, Johny Provoost wrote: >> >>>> Op 04-04-15 om 12:44 schreef Frank: >> >>>>> Hello Everybody, >> >>>>> >> >>>>> I've seen that the new gb.report component uses now documentviewer >> >>>>> as >> >>>>> where I until now could use "report.preview()" it now fails. As I >> >>>>> have >> >>>>> made a few reports in my application I would appreciate a working >> >>>>> method >> >>>>> to produce a preview and where I can save this preview as .PDF (like >> >>>>> I >> >>>>> did sofar) As I amquit new to Gambas but still learning, I am now >> >>>>> lost >> >>>>> again a bit. >> >>>>> btw, I have looked at the example of Fabien but is this more for >> >>>>> excisting .PDF files or can I use this as well to generate for my >> >>>>> reports? >> >>>>> >> >>>>> Kind regards, >> >>>>> >> >>>>> Swissgamba >> >>>>> >> >>>>> >> >>>> Don't you have a second TAB (first is print, second is File) in the >> >>>> preview window? There you normally can Print the file as pdf. >> >>> btw these are the lines: >> >>> >> >>> reportor = New Rptoffenerechnung >> >>> reportor.preview() >> >>> >> >>> the error is: Error: Wanted picture, got function instead >> >>> >> >>> ------------------------------------------------------------------------------ >> >>> >> >>> >> >> Sorry, can't help you with that. Think we have to wait for Fabian. >> >> -- >> >> >> >> >> >> >> >> *Vriendelijke Groeten* >> >> >> >> *Johny Provoost* >> >> >> >> *mailto: johny.provoost at ...27... * >> >> >> >> *mailto: johny.provoost at ...626... * >> >> >> >> *Website:* *http://www.johnyprovoost.net* >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Dive into the World of Parallel Programming The Go Parallel Website, >> >> sponsored >> >> by Intel and developed in partnership with Slashdot Media, is your hub >> >> for all >> >> things parallel software development, from weekly thought leadership >> >> blogs to >> >> news, videos, case studies, tutorials and more. Take a look and join >> >> the >> >> conversation now. http://goparallel.sourceforge.net/ >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...2524... Tue Apr 7 00:00:44 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Apr 2015 22:00:44 +0000 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #5 on issue 612 by benoit.m... at ...626...: BUG Cannot browse more of 128 records on tables "No current connection" https://code.google.com/p/gambas/issues/detail?id=612 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From adrien.prokopowicz at ...626... Tue Apr 7 00:01:02 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 07 Apr 2015 00:01:02 +0200 Subject: [Gambas-user] gb.xml feature request In-Reply-To: <20150405122805.ea0b841b08a868cd05e905e7@...626...> References: <20150405122805.ea0b841b08a868cd05e905e7@...626...> Message-ID: Le Sun, 05 Apr 2015 04:58:05 +0200, adamnt42 at ...626... a ?crit: > @Adrien Prokopowicz ? > > I ask for an enhancement to XMLNode (and descendants). Currently the > TextContent property returns the concatenated text of the currenode and > all child nodes thereof. What I want to get is the text of the current > node only, ignoring any child nodes. > > Dim sText as String > Dim hElt as XMLElement ' = some node > sText = hElt.GetLocalTextContent() > > i.e. a new method to return just the local node text. > > I think this requires modifying the serializer class > GBGetXMLTextContent() method to avoid descending in to the child nodes > but it is far beyond my C++ abilities and the attempts I made are too > embarrassing to reveal. :-( > > tia > bruce > XML elements do not actually have text. All they have are child nodes, that can be XML text nodes (represented by the XmlTextNode class). Let's say you have the following XML structure :

Hello world ! :-)

| ^ | ^ | ^ | | | | XmlText | | | | XmlText|=XmlElement=| XmlText | | | |========= XmlElement ==========| (XmlText should be XmlTextNode, but it doesn't fit on the diagram) By definition (according to the W3C), the TextContent property of an XML element contains the text content of all the child nodes (and therefore all descendants if some child nodes are elements). If I understood correctly, you would like to only retreive the text "Hello ! :-)" in the case of the above structure. What you should do is iterating over the element's nodes, and retreiving only the text content of the XmlTextNodes, which is easily feasible in pure Gambas, like so : Dim hElement As XmlElement '= some element Dim hNode As XmlNode Dim sText As String For Each hNode In hElement.ChildNodes If hNode Is XmlTextNode Then sText &= hNode.TextContent Next Print sText 'Prints : "Hello ! :-)" Regards, -- Adrien Prokopowicz From adamnt42 at ...626... Tue Apr 7 01:24:12 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Tue, 7 Apr 2015 08:54:12 +0930 Subject: [Gambas-user] gb.xml feature request In-Reply-To: References: <20150405122805.ea0b841b08a868cd05e905e7@...626...> Message-ID: <20150407085412.54504741adf9103a7f8ea900@...626...> On Tue, 07 Apr 2015 00:01:02 +0200 "Adrien Prokopowicz" wrote: > Le Sun, 05 Apr 2015 04:58:05 +0200, adamnt42 at ...626... > a ?crit: > > > @Adrien Prokopowicz ? > > > > I ask for an enhancement to XMLNode (and descendants). Currently the > > TextContent property returns the concatenated text of the currenode and > > all child nodes thereof. What I want to get is the text of the current > > node only, ignoring any child nodes. > > > > Dim sText as String > > Dim hElt as XMLElement ' = some node > > sText = hElt.GetLocalTextContent() > > > > i.e. a new method to return just the local node text. > > > > I think this requires modifying the serializer class > > GBGetXMLTextContent() method to avoid descending in to the child nodes > > but it is far beyond my C++ abilities and the attempts I made are too > > embarrassing to reveal. :-( > > > > tia > > bruce > > > > XML elements do not actually have text. All they have are child nodes, > that can be XML text nodes (represented by the XmlTextNode class). > > Let's say you have the following XML structure : > >

Hello world ! :-)

> | ^ | ^ | ^ | > | | | XmlText | | | > | XmlText|=XmlElement=| XmlText | > | | > |========= XmlElement ==========| > > (XmlText should be XmlTextNode, but it doesn't fit on the diagram) > > By definition (according to the W3C), the TextContent property of > an XML element contains the text content of all the child nodes > (and therefore all descendants if some child nodes are elements). > > If I understood correctly, you would like to only retreive the text > "Hello ! :-)" in the case of the above structure. > What you should do is iterating over the element's nodes, and > retreiving only the text content of the XmlTextNodes, which is easily > feasible in pure Gambas, like so : > > Dim hElement As XmlElement '= some element > Dim hNode As XmlNode > Dim sText As String > > For Each hNode In hElement.ChildNodes > If hNode Is XmlTextNode Then sText &= hNode.TextContent > Next > > Print sText 'Prints : "Hello ! :-)" > > Regards, > -- > Adrien Prokopowicz > Aaah! Thanks Adrien (doubly)! First, that is the solution. Secondly, your example highlighted a condition that I haven't encountered / envisaged. regards bruce -- B Bruen From karl.reinl at ...9... Tue Apr 7 19:14:42 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 07 Apr 2015 19:14:42 +0200 Subject: [Gambas-user] Icons Message-ID: <1428426882.3686.5.camel@...40...> Salut, I didn't remark before but Picture["icon:/16/warning"] and Picture["icon:/16/important"] are the same Icon. I checked "icon:/16/" to "icon:/48/" Why, or is it by mistake? -- Amicalement Charlie [System] Gambas=3.7.90 rev 7023 OperatingSystem=Linux Kernel=3.2.0-79-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 From gambas.fr at ...626... Tue Apr 7 23:03:44 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 7 Apr 2015 23:03:44 +0200 Subject: [Gambas-user] Icons In-Reply-To: <1428426882.3686.5.camel@...40...> References: <1428426882.3686.5.camel@...40...> Message-ID: It's the case only with the intenal stock... On my box /kde it work properly. 2015-04-07 19:14 GMT+02:00 Karl Reinl : > Salut, > > I didn't remark before but Picture["icon:/16/warning"] and > Picture["icon:/16/important"] are the same Icon. > I checked "icon:/16/" to "icon:/48/" > Why, or is it by mistake? > -- > Amicalement > Charlie > > [System] > Gambas=3.7.90 rev 7023 > OperatingSystem=Linux > Kernel=3.2.0-79-generic > Architecture=x86 > Distribution=Ubuntu 12.04.5 LTS > Desktop=GNOME > Theme=QPlastique > Language=de_DE.UTF-8 > Memory=3025M > [Libraries] > Cairo=libcairo.so.2.11000.2 > Curl=libcurl.so.4.2.0 > DBus=libdbus-1.so.3.5.8 > GStreamer=libgstreamer-0.10.so.0.30.0 > GTK+3=libgtk-3.so.0.400.2 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Poppler=libpoppler.so.19.0.0 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From mmcg29440 at ...3163... Wed Apr 8 15:01:50 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Wed, 8 Apr 2015 09:01:50 -0400 Subject: [Gambas-user] Errors in project made under 3.6.2 running in 3.7 Message-ID: Hello, I have a large database project that was about 80% debugged on Gambas 3.6.2. I'm running Mint 17.1 and the underlying database is MySQL. Some of the basic functions no longer work. I know that they had been working before the upgrade. Before I spend a lot of time debugging this project is there some simple fix I can use to get it going again? I've put a lot of hours into this project and now seem to be back at the beginning having to fix code that worked before. Hard to believe that coding under 3.7 could be that different. All suggestions welcome. Thanks, Marty From gambas at ...1... Wed Apr 8 15:13:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Apr 2015 15:13:29 +0200 Subject: [Gambas-user] Errors in project made under 3.6.2 running in 3.7 In-Reply-To: References: Message-ID: <55252979.2000801@...1...> Le 08/04/2015 15:01, Martin McGlensey a ?crit : > Hello, > > > > I have a large database project that was about 80% debugged on Gambas 3.6.2. > I'm running Mint 17.1 and the underlying database is MySQL. Some of the > basic functions no longer work. I know that they had been working before the > upgrade. Before I spend a lot of time debugging this project is there some > simple fix I can use to get it going again? I've put a lot of hours into > this project and now seem to be back at the beginning having to fix code > that worked before. Hard to believe that coding under 3.7 could be that > different. All suggestions welcome. > > > > Thanks, > > Marty > It should work. Without any details, I can't say more. Check the Gambas 3.7 changelog and see if you see a change related to a specific feature that you are using, it will give you a clue. Regards, -- Beno?t Minisini From dl7nb at ...17... Wed Apr 8 15:42:44 2015 From: dl7nb at ...17... (Wolfgang (DL7NB)) Date: Wed, 08 Apr 2015 15:42:44 +0200 Subject: [Gambas-user] Errors in project made under 3.6.2 running in 3.7 In-Reply-To: <55252979.2000801@...1...> References: <55252979.2000801@...1...> Message-ID: <6ed3079f-b020-444d-8126-8085ec19c4bb@...2550...> Hello Marty, Had some bad minutes with the new Gambas and databases. In the old Version some operations worked without opening the database seperately. After I have changed the code ( inserted some databasename.open, which I forgot earlier) everything was fine. So don't panic, but be sure that your code is correct. (Have no code here but it solved the problem.) Wolfgang Mobile sent... On 8. April 2015 15:13:29 MESZ, "Beno?t Minisini" wrote: >Le 08/04/2015 15:01, Martin McGlensey a ?crit : >> Hello, >> >> >> >> I have a large database project that was about 80% debugged on Gambas >3.6.2. >> I'm running Mint 17.1 and the underlying database is MySQL. Some of >the >> basic functions no longer work. I know that they had been working >before the >> upgrade. Before I spend a lot of time debugging this project is there >some >> simple fix I can use to get it going again? I've put a lot of hours >into >> this project and now seem to be back at the beginning having to fix >code >> that worked before. Hard to believe that coding under 3.7 could be >that >> different. All suggestions welcome. >> >> >> >> Thanks, >> >> Marty >> > >It should work. Without any details, I can't say more. > >Check the Gambas 3.7 changelog and see if you see a change related to a > >specific feature that you are using, it will give you a clue. > >Regards, > >-- >Beno?t Minisini > >------------------------------------------------------------------------------ >BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >Develop your own process in accordance with the BPMN 2 standard >Learn Process modeling best practices with Bonita BPM through live >exercises >http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- >event?utm_ >source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Fri Apr 10 08:16:20 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 10 Apr 2015 08:16:20 +0200 Subject: [Gambas-user] test Message-ID: -- Fabien Bodard From adamnt42 at ...626... Fri Apr 10 08:35:51 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 10 Apr 2015 16:05:51 +0930 Subject: [Gambas-user] test In-Reply-To: References: Message-ID: <20150410160551.394527057757d6881a921d9c@...626...> A+ On Fri, 10 Apr 2015 08:16:20 +0200 Fabien Bodard wrote: > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From lewis at ...3412... Fri Apr 10 09:18:03 2015 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 10 Apr 2015 02:18:03 -0500 Subject: [Gambas-user] test In-Reply-To: References: Message-ID: <5527792B.1040800@...3412...> ok On 04/10/2015 01:16 AM, Fabien Bodard wrote: From bagoneo at ...69... Fri Apr 10 10:20:08 2015 From: bagoneo at ...69... (Gian) Date: Fri, 10 Apr 2015 10:20:08 +0200 Subject: [Gambas-user] test In-Reply-To: References: Message-ID: <552787B8.5080500@...69...> Il 10/04/2015 08:16, Fabien Bodard ha scritto: Gianluigi From gambas at ...3466... Fri Apr 10 12:18:42 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Fri, 10 Apr 2015 12:18:42 +0200 Subject: [Gambas-user] Change font in datechooser Message-ID: <5527A382.9060108@...3466...> Hi all, I use a datechooser to show some info but I don't find a way to reduce the font used to draw day numbers and day names. I fount that the Font property of the control change only upper text , is there a way to have something more readable ? screenshot attacced. Thank's in advance, Marco. -------------- next part -------------- A non-text attachment was scrubbed... Name: cal.jpg Type: image/jpeg Size: 62804 bytes Desc: not available URL: From gambas at ...1... Fri Apr 10 12:22:58 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 10 Apr 2015 12:22:58 +0200 Subject: [Gambas-user] Change font in datechooser In-Reply-To: <5527A382.9060108@...3466...> References: <5527A382.9060108@...3466...> Message-ID: <5527A482.1010906@...1...> Le 10/04/2015 12:18, Marco Ancillotti a ?crit : > > Hi all, > > I use a datechooser to show some info but I don't find a way to reduce > the font used to draw day numbers and day names. > I fount that the Font property of the control change only upper text , > is there a way to have something more readable ? > > screenshot attacced. > > Thank's in advance, > Marco. > It's a bug, the font should adapt to the DateChooser size. Can you provide a little project that reproduces the bug ? And give me the details about your system. -- Beno?t Minisini From gambas at ...3466... Fri Apr 10 12:51:55 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Fri, 10 Apr 2015 12:51:55 +0200 Subject: [Gambas-user] Change font in datechooser In-Reply-To: <5527A482.1010906@...1...> References: <5527A382.9060108@...3466...> <5527A482.1010906@...1...> Message-ID: <5527AB4B.7090106@...3466...> ok, I've attach a little project that show the problem , system info are in a text file in the project. The only non standard feature of my developement system is that it have two monitor , o.s. is a mageia 4 x64 , gambas is compiled from source. Il 10/04/2015 12:22, Beno?t Minisini ha scritto: > Le 10/04/2015 12:18, Marco Ancillotti a ?crit : >> Hi all, >> >> I use a datechooser to show some info but I don't find a way to reduce >> the font used to draw day numbers and day names. >> I fount that the Font property of the control change only upper text , >> is there a way to have something more readable ? >> >> screenshot attacced. >> >> Thank's in advance, >> Marco. >> > It's a bug, the font should adapt to the DateChooser size. Can you > provide a little project that reproduces the bug ? And give me the > details about your system. > -------------- next part -------------- A non-text attachment was scrubbed... Name: testcal-0.0.1.tar.gz Type: application/gzip Size: 4589 bytes Desc: not available URL: From shordi at ...626... Sun Apr 12 10:49:08 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 12 Apr 2015 10:49:08 +0200 Subject: [Gambas-user] A little issue about datechooser Message-ID: When you change the datechooser month, the day with the same number than datechooser.Value is always highlighted. It's a bug o a expected behavior? Regards From gambas at ...1... Sun Apr 12 11:11:38 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Apr 2015 11:11:38 +0200 Subject: [Gambas-user] A little issue about datechooser In-Reply-To: References: Message-ID: <552A36CA.9060204@...1...> Le 12/04/2015 10:49, Jorge Carri?n a ?crit : > When you change the datechooser month, the day with the same number than > datechooser.Value is always highlighted. > > It's a bug o a expected behavior? > > > Regards The control always displays the selected date. So if another month has to be visible, the day must be in that month. It was not necessarily intented, it was just done like that. -- Beno?t Minisini From shordi at ...626... Sun Apr 12 11:14:55 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 12 Apr 2015 11:14:55 +0200 Subject: [Gambas-user] A little issue about datechooser In-Reply-To: <552A36CA.9060204@...1...> References: <552A36CA.9060204@...1...> Message-ID: Ok. I can live with that [?] Regards 2015-04-12 11:11 GMT+02:00 Beno?t Minisini : > Le 12/04/2015 10:49, Jorge Carri?n a ?crit : > > When you change the datechooser month, the day with the same number than > > datechooser.Value is always highlighted. > > > > It's a bug o a expected behavior? > > > > > > Regards > > The control always displays the selected date. So if another month has > to be visible, the day must be in that month. > > It was not necessarily intented, it was just done like that. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: 336.gif Type: image/gif Size: 201 bytes Desc: not available URL: From n.rogozarski at ...626... Sun Apr 12 11:28:03 2015 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Sun, 12 Apr 2015 11:28:03 +0200 Subject: [Gambas-user] IconPanel Message-ID: Hello everyone! I have a problem with the icon panel. If I add more than one tab in the property, I can not add controls in other tabs, it accepts controls only in the first tab. [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QPlastique Language=en_US.UTF-8 Memory=3701M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Sun Apr 12 11:39:16 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Apr 2015 11:39:16 +0200 Subject: [Gambas-user] IconPanel In-Reply-To: References: Message-ID: <552A3D44.8070209@...1...> Le 12/04/2015 11:28, Nikola Rogozarski a ?crit : > Hello everyone! I have a problem with the icon panel. If I add more than > one tab in the property, I can not add controls in other tabs, it accepts > controls only in the first tab. > I don't understand what you say, can you formulate it differently? -- Beno?t Minisini From n.rogozarski at ...626... Sun Apr 12 12:00:58 2015 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Sun, 12 Apr 2015 12:00:58 +0200 Subject: [Gambas-user] IconPanel In-Reply-To: <552A3D44.8070209@...1...> References: <552A3D44.8070209@...1...> Message-ID: oh! sorry for my english! This way, if the property count of iconpanel set to more than one, in IkonPanel I can put labels, text boxes and other controls, only the first tab. In other tabs, I can't put controls. On Sun, Apr 12, 2015 at 11:39 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 12/04/2015 11:28, Nikola Rogozarski a ?crit : > > Hello everyone! I have a problem with the icon panel. If I add more than > > one tab in the property, I can not add controls in other tabs, it accepts > > controls only in the first tab. > > > > I don't understand what you say, can you formulate it differently? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Sun Apr 12 12:04:55 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 12 Apr 2015 12:04:55 +0200 Subject: [Gambas-user] Another issue about datechooser Message-ID: The Double_click event is not raised when double clicking on a day. Regards [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=7968M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Sun Apr 12 12:34:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Apr 2015 12:34:00 +0200 Subject: [Gambas-user] Another issue about datechooser In-Reply-To: References: Message-ID: <552A4A18.5020305@...1...> Le 12/04/2015 12:04, Jorge Carri?n a ?crit : > The Double_click event is not raised when double clicking on a day. > > Regards > You must use the Activate event. DoubleClick event can be used reliably on native controls only, not on compound ones. -- Beno?t Minisini From shordi at ...626... Sun Apr 12 12:43:42 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 12 Apr 2015 12:43:42 +0200 Subject: [Gambas-user] Another issue about datechooser In-Reply-To: <552A4A18.5020305@...1...> References: <552A4A18.5020305@...1...> Message-ID: Ok. I'm doing so. Just think that the method shouldn' be exposed then, isn't it? Regards. 2015-04-12 12:34 GMT+02:00 Beno?t Minisini : > Le 12/04/2015 12:04, Jorge Carri?n a ?crit : > > The Double_click event is not raised when double clicking on a day. > > > > Regards > > > > You must use the Activate event. DoubleClick event can be used reliably > on native controls only, not on compound ones. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Apr 12 12:50:30 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 12 Apr 2015 12:50:30 +0200 Subject: [Gambas-user] Another issue about datechooser In-Reply-To: References: <552A4A18.5020305@...1...> Message-ID: <552A4DF6.5050508@...1...> Le 12/04/2015 12:43, Jorge Carri?n a ?crit : > Ok. I'm doing so. Just think that the method shouldn' be exposed then, > isn't it? > > Regards. DoubleClick is inherited from the Control class, and it is too complex to know if Control events are useful or not in an inherited class. Regards, -- Beno?t Minisini From shordi at ...626... Sun Apr 12 12:52:23 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 12 Apr 2015 12:52:23 +0200 Subject: [Gambas-user] Another issue about datechooser In-Reply-To: <552A4DF6.5050508@...1...> References: <552A4A18.5020305@...1...> <552A4DF6.5050508@...1...> Message-ID: I understand. Thank you Beno?t. Regards. 2015-04-12 12:50 GMT+02:00 Beno?t Minisini : > Le 12/04/2015 12:43, Jorge Carri?n a ?crit : > > Ok. I'm doing so. Just think that the method shouldn' be exposed then, > > isn't it? > > > > Regards. > > DoubleClick is inherited from the Control class, and it is too complex > to know if Control events are useful or not in an inherited class. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sun Apr 12 13:49:39 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 12 Apr 2015 13:49:39 +0200 Subject: [Gambas-user] IconPanel In-Reply-To: References: <552A3D44.8070209@...1...> Message-ID: <20150412114939.GA636@...2774...> On Sun, 12 Apr 2015, Nikola Rogozarski wrote: > oh! sorry for my english! This way, if the property count of iconpanel set > to more than one, in IkonPanel I can put labels, text boxes and other > controls, only the first tab. In other tabs, I can't put controls. > I can confirm that. It occured to me lately when I changed something in the IDE's option dialog which is an IconPanel. However, in my case the controls just weren't *visible* after I put them on a non-first tab, but they were present. If I put, say, a Label on the last tab, I couldn't see that Label anywhere but it was in the control hierarchy and after I saved and reopened the project, everything was there. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mmcg29440 at ...3163... Sun Apr 12 15:39:19 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sun, 12 Apr 2015 09:39:19 -0400 Subject: [Gambas-user] How do I left justify text in a DataControl Message-ID: How do I force a DataControl to display text, that is longer than the control, as left justified. That is if the control is sized to accept ten characters, on the form, and the text is twenty characters I want to see the first ten. Now I see the last ten. Want to see the first ten and be able to arrow over to see the next ten. Is there an align property to address this? All solutions are welcome. Thanks, Marty From taboege at ...626... Sun Apr 12 16:20:59 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 12 Apr 2015 16:20:59 +0200 Subject: [Gambas-user] How do I left justify text in a DataControl In-Reply-To: References: Message-ID: <20150412142059.GI3785@...2774...> On Sun, 12 Apr 2015, Martin McGlensey wrote: > How do I force a DataControl to display text, that is longer than the > control, as left justified. That is if the control is sized to accept ten > characters, on the form, and the text is twenty characters I want to see > the first ten. Now I see the last ten. Want to see the first ten and be able > to arrow over to see the next ten. Is there an align property to address > this? > > All solutions are welcome. > A DataControl can take the form of one of TextBox, DateBox, ComboBox, TextArea and ButtonBox, AFAICS. It's more difficult to find a general solution, so I'll restrict myself to the case that you are displaying an Integer, Long, Float or String (with less than 256 characters) field which are precisely the cases where the DataControl uses a TextBox to display the field. Then you get that internal TextBox via DataControl.Control. You just take this TextBox and go to cursor position zero: Dim hTextBox As TextBox = myDataControl.Control hTextBox.Pos = 0 This shows the left characters of the TextBox [ I have verified that it works out like this, on my system ]. The other cases may be similar, except DateBox which has no Pos property. If you have a DataSource -> DataBrowser -> DataControl in your project, the appropriate place to put the above code would be the DataSource_Change event handler. [ Also note that this is not about text alignment which you can control separately with a TextBox but simply about what part of the long text is displayed by the limited control. ] Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From n.rogozarski at ...626... Sun Apr 12 17:47:34 2015 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Sun, 12 Apr 2015 17:47:34 +0200 Subject: [Gambas-user] IconPanel In-Reply-To: <20150412114939.GA636@...2774...> References: <552A3D44.8070209@...1...> <20150412114939.GA636@...2774...> Message-ID: Thank you Tobi !!!, I did the same thing as you, and now everything is here On Sun, Apr 12, 2015 at 1:49 PM, Tobias Boege wrote: > On Sun, 12 Apr 2015, Nikola Rogozarski wrote: > > oh! sorry for my english! This way, if the property count of iconpanel > set > > to more than one, in IkonPanel I can put labels, text boxes and other > > controls, only the first tab. In other tabs, I can't put controls. > > > > I can confirm that. It occured to me lately when I changed something in the > IDE's option dialog which is an IconPanel. > > However, in my case the controls just weren't *visible* after I put them on > a non-first tab, but they were present. If I put, say, a Label on the last > tab, I couldn't see that Label anywhere but it was in the control hierarchy > and after I saved and reopened the project, everything was there. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Apr 12 22:21:38 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 12 Apr 2015 22:21:38 +0200 Subject: [Gambas-user] New Widget Message-ID: Hi this is a try for a new widget. Give me your opinion please. -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: SpinSlider-0.0.1.tar.gz Type: application/x-gzip Size: 6303 bytes Desc: not available URL: From shordi at ...626... Mon Apr 13 00:35:01 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 13 Apr 2015 00:35:01 +0200 Subject: [Gambas-user] New Widget In-Reply-To: References: Message-ID: It looks strange at open time...(see attached) After drag it with mouse it is showed right. I think is a useful widget, Fabian. Regards 2015-04-12 22:21 GMT+02:00 Fabien Bodard : > Hi this is a try for a new widget. > > Give me your opinion please. > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- A non-text attachment was scrubbed... Name: Captura de pantalla de 2015-04-13 00:32:59.png Type: image/png Size: 7149 bytes Desc: not available URL: From mmcg29440 at ...3163... Mon Apr 13 01:22:30 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sun, 12 Apr 2015 19:22:30 -0400 Subject: [Gambas-user] How do I left justify text in a DataControl Message-ID: Tobi, Thanks for your response. I have a form with one datasource and twenty two datacontrols within that datasource. They are used to display name, address, city, state and other data that fits together logically on one form. Now if I implement your solution I need to apply it to all of the datacontrols on the form that display text. Can I use a For each loop, with a test for type = datacontrol, to set the text position to 0? If that will not work do I have to set each datacontrol explicitly? Should I put the loop code in the datasource_Change event? Regards, Marty DataBrowser -> DataControl in your project, the appropriate place to put the above code would be the DataSource_Change event References: Message-ID: -----Original Message----- Message: 1 Date: Sun, 12 Apr 2015 16:20:59 +0200 From: Tobias Boege Subject: Re: [Gambas-user] How do I left justify text in a DataControl To: mailing list for gambas users Message-ID: <20150412142059.GI3785 at ...2774...> Content-Type: text/plain; charset=us-ascii On Sun, 12 Apr 2015, Martin McGlensey wrote: > How do I force a DataControl to display text, that is longer than the > control, as left justified. That is if the control is sized to accept > ten characters, on the form, and the text is twenty characters I want > to see the first ten. Now I see the last ten. Want to see the first > ten and be able to arrow over to see the next ten. Is there an align > property to address this? > > All solutions are welcome. > A DataControl can take the form of one of TextBox, DateBox, ComboBox, TextArea and ButtonBox, AFAICS. It's more difficult to find a general solution, so I'll restrict myself to the case that you are displaying an Integer, Long, Float or String (with less than 256 characters) field which are precisely the cases where the DataControl uses a TextBox to display the field. Then you get that internal TextBox via DataControl.Control. You just take this TextBox and go to cursor position zero: Dim hTextBox As TextBox = myDataControl.Control hTextBox.Pos = 0 This shows the left characters of the TextBox [ I have verified that it works out like this, on my system ]. The other cases may be similar, except DateBox which has no Pos property. If you have a DataSource -> DataBrowser -> DataControl in your project, the appropriate place to put the above code would be the DataSource_Change event handler. [ Also note that this is not about text alignment which you can control separately with a TextBox but simply about what part of the long text is displayed by the limited control. ] Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk Tobi, Dim hTextbox as TextBox = DataControl.Control does not appear to work. Error - Expecting number etc. Dim hTextArea as TextArea = DataControl.Controls does work without error. Is that expected with a datacontrol or have I made an error? Marty *************************************** From taboege at ...626... Mon Apr 13 08:57:26 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 13 Apr 2015 08:57:26 +0200 Subject: [Gambas-user] How do I left justify text in a DataControl In-Reply-To: References: Message-ID: <20150413065726.GA717@...2774...> On Sun, 12 Apr 2015, Martin McGlensey wrote: > Tobi, > > Thanks for your response. I have a form with one datasource and twenty two > datacontrols within that datasource. They are used to display name, address, > city, state and other data that fits together logically on one form. Now if > I implement your solution I need to apply it to all of the datacontrols on > the form that display text. Can I use a For each loop, with a test for type > = datacontrol, to set the text position to 0? If that will not work do I > have to set each datacontrol explicitly? > You can use Form.Controls as explained here in January[0], provided that your DataControls have an easily computable naming scheme, like DataControlX where X ranges through some numbers. Alternatively, you can put all your DataControls in an array once when your form opens and iterate through this array and apply your changes to each of the DataControls. > Should I put the loop code in the > datasource_Change event? > Yes. Regards, Tobi [0] http://sourceforge.net/p/gambas/mailman/message/33222709/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Mon Apr 13 09:09:04 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 13 Apr 2015 09:09:04 +0200 Subject: [Gambas-user] How do I left justify text in a DataControl In-Reply-To: References: Message-ID: <20150413070904.GB717@...2774...> On Sun, 12 Apr 2015, Martin McGlensey wrote: > -----Original Message----- > Message: 1 > Date: Sun, 12 Apr 2015 16:20:59 +0200 > From: Tobias Boege > Subject: Re: [Gambas-user] How do I left justify text in a DataControl > To: mailing list for gambas users > Message-ID: <20150412142059.GI3785 at ...2774...> > Content-Type: text/plain; charset=us-ascii > > On Sun, 12 Apr 2015, Martin McGlensey wrote: > > How do I force a DataControl to display text, that is longer than the > > control, as left justified. That is if the control is sized to accept > > ten characters, on the form, and the text is twenty characters I want > > to see the first ten. Now I see the last ten. Want to see the first > > ten and be able to arrow over to see the next ten. Is there an align > > property to address this? > > > > All solutions are welcome. > > > > A DataControl can take the form of one of TextBox, DateBox, ComboBox, > TextArea and ButtonBox, AFAICS. It's more difficult to find a general > solution, so I'll restrict myself to the case that you are displaying an > Integer, Long, Float or String (with less than 256 characters) field which > are precisely the cases where the DataControl uses a TextBox to display the > field. > > Then you get that internal TextBox via DataControl.Control. You just take > this TextBox and go to cursor position zero: > > Dim hTextBox As TextBox = myDataControl.Control > > hTextBox.Pos = 0 > > This shows the left characters of the TextBox [ I have verified that it > works out like this, on my system ]. The other cases may be similar, except > DateBox which has no Pos property. > > If you have a DataSource -> DataBrowser -> DataControl in your project, the > appropriate place to put the above code would be the DataSource_Change event > handler. > > [ Also note that this is not about text alignment which you can control > separately with a TextBox but simply about what part of the long text > is displayed by the limited control. ] > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > Tobi, > > Dim hTextbox as TextBox = DataControl.Control does not appear to work. Error > - Expecting number etc. Dim hTextArea as TextArea = DataControl.Controls > does work without error. Is that expected with a datacontrol or have I made > an error? > Likely but since I don't have access to your computer, I can't check your code. (Should it work like this?) Have you replaced the "DataControl" with your DataControl's name? Do you really use DataControl.Control*s* the second time? Are you sure your database field is a CHAR(N) where 0 < N < 256? If not, the DataControl becomes a TextArea instead of a TextBox. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagoneo at ...69... Mon Apr 13 15:21:42 2015 From: bagoneo at ...69... (Gian) Date: Mon, 13 Apr 2015 15:21:42 +0200 Subject: [Gambas-user] New Widget In-Reply-To: References: Message-ID: <552BC2E6.8010006@...69...> Il 13/04/2015 00:35, Jorge Carri?n ha scritto: > It looks strange at open time...(see attached) > After drag it with mouse it is showed right. > > I think is a useful widget, Fabian. > > Regards > > 2015-04-12 22:21 GMT+02:00 Fabien Bodard : > >> Hi this is a try for a new widget. >> >> Give me your opinion please. >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >> Develop your own process in accordance with the BPMN 2 standard >> Learn Process modeling best practices with Bonita BPM through live >> exercises >> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- >> event?utm_ >> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> ------------------------------------------------------------------------------ >> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >> Develop your own process in accordance with the BPMN 2 standard >> Learn Process modeling best practices with Bonita BPM through live exercises >> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ >> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user Yes, it is same also on Ubuntu Regards Gianluigi From mmcg29440 at ...3163... Tue Apr 14 16:00:26 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 14 Apr 2015 10:00:26 -0400 Subject: [Gambas-user] Reading control properties from a collection Message-ID: Hello, I have a form that contains a named datasource. I want to read the name and table properties of that datasource from another form. Both forms are visible. I've used the loop "For each hWindow in Windows" to test to see if the form is visible. If it is I cycle through the control collection for that form till I find an Object.Type = "DataSource". So far so good - I can find the datasource and assign it to a variant variable (DataTable). Now if I do strX = DataTable.Name it returns "DataSource1" instead of "Neighborhood" the name of the datasource on the form containing the collection. I want to get to the datasource name and table from the first form. They should be name=neighborhood and table=tblneighborhood. If I assign frmEntry.Neighborhood to datatable on the second form then I get the correct data returned. I think it should be possible to get this data from the forms collection but, I have not figured out how. So can it be done and if so how? Regards, Marty From d4t4full at ...626... Tue Apr 14 16:48:02 2015 From: d4t4full at ...626... (ML) Date: Tue, 14 Apr 2015 11:48:02 -0300 Subject: [Gambas-user] Reading control properties from a collection In-Reply-To: References: Message-ID: <552D28A2.8040305@...626...> Marty, Never a good idea to dirty your fingers poking a form's controls from another one. Been there, done that, regretted it for a looooong time. I'd do this instead, and it's a general-purpose approach that served me well for a long time, no matter the cross-forms (or even cross-class) data you need: In the form (call it *frmA*) that has the data the other form (call it *frmB*) needs, I'd publish the necessary data as appropriate type's *Public Property*(*ies*). I would also -if necessary- set up some kind of *Event* in *frmA* that triggers when the sought data changes. Then, in *frmB*, I'd *Dim* a *Private* *Object* of type *frmA* and instance and show it whenever necessary. In *frmB*'s event handler for *frmA*'s event -or in code, your call- I'd check the *Public Property*(*ies*) of *frmA*. Doing it this way not only isolates your data access from the underlying implementation, but also you can radically change HOW you access data to be published in *frmA* while not touching *frmB* at all. Then, you may fetch data in *frmA* from a database, flat file or TCP socket, and *frmB* will function the same, no code mods necessary. An additional advantage is no time wasted on for-loops. HTH, zxMarce. *On 14/Apr/2015 11:00, Martin McGlensey wrote:* Hello, I have a form that contains a named datasource. I want to read the name and table properties of that datasource from another form. Both forms are visible. I've used the loop "For each hWindow in Windows" to test to see if the form is visible. If it is I cycle through the control collection for that form till I find an Object.Type = "DataSource". So far so good - I can find the datasource and assign it to a variant variable (DataTable). Now if I do strX = DataTable.Name it returns "DataSource1" instead of "Neighborhood" the name of the datasource on the form containing the collection. I want to get to the datasource name and table from the first form. They should be name=neighborhood and table=tblneighborhood. If I assign frmEntry.Neighborhood to datatable on the second form then I get the correct data returned. I think it should be possible to get this data from the forms collection but, I have not figured out how. So can it be done and if so how? Regards, Marty ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Tue Apr 14 23:23:23 2015 From: bagoneo at ...69... (Gian) Date: Tue, 14 Apr 2015 23:23:23 +0200 Subject: [Gambas-user] Buttons: Background and Foreground colors do not work. Message-ID: <552D854B.1010307@...69...> With gb.qt4 and gb.qt4.ext components, Background and Foreground color of Buttons do not work. They work with Qt Configuration setting on Cleanlooks or Plastique. Regards Gianluigi [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.13.0-49-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=4961M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From jussi.lahtinen at ...626... Wed Apr 15 03:04:28 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 15 Apr 2015 04:04:28 +0300 Subject: [Gambas-user] GAlarm alternative for KAlarm Message-ID: Hi! I tired to fight with many little annoying incompatibility issues KAlarm have with non-KDE desktops. So, I wrote alternative for it. It doesn't have all the features KAlarm has, but it has what I need. If you need more features for it, you are welcome to add them (GPL3 license). Please try it and report possible bugs. Right now I'm using it parallel to KAlarm until I'm sure it is trustworthy. Don't want to be late and forget things... Here are the known issues: 1. No alarm sorting. Brain jam with the design... Not sure I miss this feature. 2. "Select all" button doesn't work when selecting days/months. Go to task list and click on the "fixme" item. This line doesn't do anything: Action[Last.Tag].Value = True I expect it to select the checkboxes, but it doesn't... maybe I implement it in other way. But I would like to know why it doesn't work. Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.tar.gz Type: application/x-gzip Size: 27359 bytes Desc: not available URL: From gambas at ...1... Wed Apr 15 07:20:32 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Apr 2015 07:20:32 +0200 Subject: [Gambas-user] GAlarm alternative for KAlarm In-Reply-To: References: Message-ID: <552DF520.9000508@...1...> Le 15/04/2015 03:04, Jussi Lahtinen a ?crit : > Hi! > I tired to fight with many little annoying incompatibility issues KAlarm > have with non-KDE desktops. > So, I wrote alternative for it. It doesn't have all the features KAlarm > has, but it has what I need. > If you need more features for it, you are welcome to add them (GPL3 > license). > > Please try it and report possible bugs. Right now I'm using it parallel to > KAlarm until I'm sure it is trustworthy. Don't want to be late and forget > things... > > Here are the known issues: > > 1. No alarm sorting. Brain jam with the design... Not sure I miss this > feature. > > 2. "Select all" button doesn't work when selecting days/months. > Go to task list and click on the "fixme" item. > > This line doesn't do anything: > Action[Last.Tag].Value = True > > I expect it to select the checkboxes, but it doesn't... maybe I implement > it in other way. > But I would like to know why it doesn't work. Apparently CheckBox controls were forgotten in the Action class code... No idea why! -- Beno?t Minisini From gambas at ...1... Wed Apr 15 07:24:49 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Apr 2015 07:24:49 +0200 Subject: [Gambas-user] GAlarm alternative for KAlarm In-Reply-To: <552DF520.9000508@...1...> References: <552DF520.9000508@...1...> Message-ID: <552DF621.7030801@...1...> Le 15/04/2015 07:20, Beno?t Minisini a ?crit : > Le 15/04/2015 03:04, Jussi Lahtinen a ?crit : >> Hi! >> I tired to fight with many little annoying incompatibility issues KAlarm >> have with non-KDE desktops. >> So, I wrote alternative for it. It doesn't have all the features KAlarm >> has, but it has what I need. >> If you need more features for it, you are welcome to add them (GPL3 >> license). >> >> Please try it and report possible bugs. Right now I'm using it >> parallel to >> KAlarm until I'm sure it is trustworthy. Don't want to be late and forget >> things... >> >> Here are the known issues: >> >> 1. No alarm sorting. Brain jam with the design... Not sure I miss this >> feature. >> >> 2. "Select all" button doesn't work when selecting days/months. >> Go to task list and click on the "fixme" item. >> >> This line doesn't do anything: >> Action[Last.Tag].Value = True >> >> I expect it to select the checkboxes, but it doesn't... maybe I implement >> it in other way. >> But I would like to know why it doesn't work. > > Apparently CheckBox controls were forgotten in the Action class code... > No idea why! > I added CheckBox support in revision #7037. Regards, -- Beno?t Minisini From chrisml at ...3340... Wed Apr 15 09:02:00 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 15 Apr 2015 09:02:00 +0200 Subject: [Gambas-user] Will Gambas 3.7.1 be in Launchpad? Message-ID: <552E0CE8.8050507@...3340...> Hi, Will Gambas 3.7.1 be in Launchpad Stable? And if, when? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From shordi at ...626... Wed Apr 15 10:07:21 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 15 Apr 2015 10:07:21 +0200 Subject: [Gambas-user] valuebox type numeric doesn't raise change event Message-ID: The subject says all. [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QGtk Language=es_ES.UTF-8 Memory=5934M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From girardhenri at ...67... Wed Apr 15 10:22:12 2015 From: girardhenri at ...67... (Girard Henri) Date: Wed, 15 Apr 2015 10:22:12 +0200 Subject: [Gambas-user] gambas 3 sur ubuntu-touch In-Reply-To: References: Message-ID: Hi, Ubuntu SDK can run gambas3 (I mean 'arm" ubuntu-touch )? is there any atempt for this ? Salut Henri From gambas at ...1... Wed Apr 15 10:25:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Apr 2015 10:25:29 +0200 Subject: [Gambas-user] valuebox type numeric doesn't raise change event In-Reply-To: References: Message-ID: <552E2079.8010207@...1...> Le 15/04/2015 10:07, Jorge Carri?n a ?crit : > The subject says all. > It should. Please a provide a little project that shows the bug. Regards, -- Beno?t Minisini From shordi at ...626... Wed Apr 15 10:51:42 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 15 Apr 2015 10:51:42 +0200 Subject: [Gambas-user] valuebox type numeric doesn't raise change event In-Reply-To: <552E2079.8010207@...1...> References: <552E2079.8010207@...1...> Message-ID: Here it is. 2015-04-15 10:25 GMT+02:00 Beno?t Minisini : > Le 15/04/2015 10:07, Jorge Carri?n a ?crit : > > The subject says all. > > > > It should. Please a provide a little project that shows the bug. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: valueboxIssue-0.0.1.tar.gz Type: application/x-gzip Size: 3902 bytes Desc: not available URL: From mmcg29440 at ...3163... Wed Apr 15 14:08:09 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Wed, 15 Apr 2015 08:08:09 -0400 Subject: [Gambas-user] Gambas-user Digest, Vol 107, Issue 12 In-Reply-To: References: Message-ID: <000001d07774$d6ea10c0$84be3240$@frontier.com> Marce, Appreciate your suggestion. But, I'm totally confused by your explanation. I do not know how to implement it. Could you provide an example? Send it as an attachment to N3MOW at ...3467... That way I'll get it. The intent is to read the datasource.table property on form A for use in form B and to assign the datasource to a datasource object on form B. No changes need be made to the datasource properties on form A. Marty Message: 1 Date: Tue, 14 Apr 2015 11:48:02 -0300 From: ML Subject: Re: [Gambas-user] Reading control properties from a collection To: mailing list for gambas users Message-ID: <552D28A2.8040305 at ...626...> Content-Type: text/plain; charset=windows-1252 Marty, Never a good idea to dirty your fingers poking a form's controls from another one. Been there, done that, regretted it for a looooong time. I'd do this instead, and it's a general-purpose approach that served me well for a long time, no matter the cross-forms (or even cross-class) data you need: In the form (call it *frmA*) that has the data the other form (call it *frmB*) needs, I'd publish the necessary data as appropriate type's *Public Property*(*ies*). I would also -if necessary- set up some kind of *Event* in *frmA* that triggers when the sought data changes. Then, in *frmB*, I'd *Dim* a *Private* *Object* of type *frmA* and instance and show it whenever necessary. In *frmB*'s event handler for *frmA*'s event -or in code, your call- I'd check the *Public Property*(*ies*) of *frmA*. Doing it this way not only isolates your data access from the underlying implementation, but also you can radically change HOW you access data to be published in *frmA* while not touching *frmB* at all. Then, you may fetch data in *frmA* from a database, flat file or TCP socket, and *frmB* will function the same, no code mods necessary. An additional advantage is no time wasted on for-loops. HTH, zxMarce. *On 14/Apr/2015 11:00, Martin McGlensey wrote:* Hello, I have a form that contains a named datasource. I want to read the name and table properties of that datasource from another form. Both forms are visible. I've used the loop "For each hWindow in Windows" to test to see if the form is visible. If it is I cycle through the control collection for that form till I find an Object.Type = "DataSource". So far so good - I can find the datasource and assign it to a variant variable (DataTable). Now if I do strX = DataTable.Name it returns "DataSource1" instead of "Neighborhood" the name of the datasource on the form containing the collection. I want to get to the datasource name and table from the first form. They should be name=neighborhood and table=tblneighborhood. If I assign frmEntry.Neighborhood to datatable on the second form then I get the correct data returned. I think it should be possible to get this data from the forms collection but, I have not figured out how. So can it be done and if so how? Regards, Marty ******************************************** From sebikul at ...626... Wed Apr 15 15:15:41 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 15 Apr 2015 10:15:41 -0300 Subject: [Gambas-user] Will Gambas 3.7.1 be in Launchpad? In-Reply-To: <552E0CE8.8050507@...3340...> References: <552E0CE8.8050507@...3340...> Message-ID: I'm really sorry for the delay. It will be pushed, but I'm under a lot of work and won't be able to do it until next Wednesday. On Apr 15, 2015 4:03 AM, "Christof Thalhofer" wrote: > Hi, > > Will Gambas 3.7.1 be in Launchpad Stable? And if, when? > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From jussi.lahtinen at ...626... Wed Apr 15 17:19:38 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 15 Apr 2015 18:19:38 +0300 Subject: [Gambas-user] GAlarm alternative for KAlarm In-Reply-To: <552DF621.7030801@...1...> References: <552DF520.9000508@...1...> <552DF621.7030801@...1...> Message-ID: Something went wrong... now I can't check single individual checkbox. Jussi On Wed, Apr 15, 2015 at 8:24 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 15/04/2015 07:20, Beno?t Minisini a ?crit : > > Le 15/04/2015 03:04, Jussi Lahtinen a ?crit : > >> Hi! > >> I tired to fight with many little annoying incompatibility issues KAlarm > >> have with non-KDE desktops. > >> So, I wrote alternative for it. It doesn't have all the features KAlarm > >> has, but it has what I need. > >> If you need more features for it, you are welcome to add them (GPL3 > >> license). > >> > >> Please try it and report possible bugs. Right now I'm using it > >> parallel to > >> KAlarm until I'm sure it is trustworthy. Don't want to be late and > forget > >> things... > >> > >> Here are the known issues: > >> > >> 1. No alarm sorting. Brain jam with the design... Not sure I miss this > >> feature. > >> > >> 2. "Select all" button doesn't work when selecting days/months. > >> Go to task list and click on the "fixme" item. > >> > >> This line doesn't do anything: > >> Action[Last.Tag].Value = True > >> > >> I expect it to select the checkboxes, but it doesn't... maybe I > implement > >> it in other way. > >> But I would like to know why it doesn't work. > > > > Apparently CheckBox controls were forgotten in the Action class code... > > No idea why! > > > > I added CheckBox support in revision #7037. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Apr 15 18:30:07 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 15 Apr 2015 19:30:07 +0300 Subject: [Gambas-user] Example for gb.signal? Message-ID: How to use gb.signal? I tried to use it but got: ** Oops! Internal error! ** ** Cannot install signal handler: Invalid argument ** Program aborting. Sorry! :-( ** Please send a bug report at gambas at ...1... See attachment. Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: SignalTest-0.0.1.tar.gz Type: application/x-gzip Size: 3786 bytes Desc: not available URL: From gambas at ...1... Wed Apr 15 19:06:58 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Apr 2015 19:06:58 +0200 Subject: [Gambas-user] valuebox type numeric doesn't raise change event In-Reply-To: References: <552E2079.8010207@...1...> Message-ID: <552E9AB2.9060504@...1...> Le 15/04/2015 10:51, Jorge Carri?n a ?crit : > Here it is. > Thanks. Fixed in revision #7038. Regards, -- Beno?t Minisini From gambas at ...1... Wed Apr 15 19:07:27 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Apr 2015 19:07:27 +0200 Subject: [Gambas-user] IconPanel In-Reply-To: References: <552A3D44.8070209@...1...> <20150412114939.GA636@...2774...> Message-ID: <552E9ACF.8000704@...1...> Le 12/04/2015 17:47, Nikola Rogozarski a ?crit : > Thank you Tobi !!!, I did the same thing as you, and now everything is here > The bug has been fixed in revision #7038. Regards, -- Beno?t Minisini From gambas at ...1... Wed Apr 15 19:13:45 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Apr 2015 19:13:45 +0200 Subject: [Gambas-user] Example for gb.signal? In-Reply-To: References: Message-ID: <552E9C49.6010500@...1...> Le 15/04/2015 18:30, Jussi Lahtinen a ?crit : > How to use gb.signal? > > I tried to use it but got: > ** Oops! Internal error! ** > ** Cannot install signal handler: Invalid argument > ** Program aborting. Sorry! :-( > ** Please send a bug report at gambas at ...1... > > See attachment. > > > Jussi > It's because SIGKILL and SIGSTOP behaviour cannot be altered. The kernel prevents that. Of course I should have raised a real error instead of panicking! -- Beno?t Minisini From shordi at ...626... Wed Apr 15 19:16:42 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 15 Apr 2015 19:16:42 +0200 Subject: [Gambas-user] valuebox type numeric doesn't raise change event In-Reply-To: <552E9AB2.9060504@...1...> References: <552E2079.8010207@...1...> <552E9AB2.9060504@...1...> Message-ID: Good work Beno?t. 2015-04-15 19:06 GMT+02:00 Beno?t Minisini : > Le 15/04/2015 10:51, Jorge Carri?n a ?crit : > > Here it is. > > > > Thanks. Fixed in revision #7038. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Apr 15 19:21:06 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Apr 2015 19:21:06 +0200 Subject: [Gambas-user] Example for gb.signal? In-Reply-To: <552E9C49.6010500@...1...> References: <552E9C49.6010500@...1...> Message-ID: <552E9E02.5010503@...1...> Le 15/04/2015 19:13, Beno?t Minisini a ?crit : > Le 15/04/2015 18:30, Jussi Lahtinen a ?crit : >> How to use gb.signal? >> >> I tried to use it but got: >> ** Oops! Internal error! ** >> ** Cannot install signal handler: Invalid argument >> ** Program aborting. Sorry! :-( >> ** Please send a bug report at gambas at ...1... >> >> See attachment. >> >> >> Jussi >> > > It's because SIGKILL and SIGSTOP behaviour cannot be altered. The kernel > prevents that. > > Of course I should have raised a real error instead of panicking! > Done in revision #7039. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Wed Apr 15 19:38:42 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 15 Apr 2015 20:38:42 +0300 Subject: [Gambas-user] GAlarm alternative for KAlarm In-Reply-To: References: Message-ID: OK, I needed the sorting feature, so, now the alarms are sorted by time left (no other options available). How the software farm works, do I need to host server for my software? Jussi On Wed, Apr 15, 2015 at 4:04 AM, Jussi Lahtinen wrote: > Hi! > I tired to fight with many little annoying incompatibility issues KAlarm > have with non-KDE desktops. > So, I wrote alternative for it. It doesn't have all the features KAlarm > has, but it has what I need. > If you need more features for it, you are welcome to add them (GPL3 > license). > > Please try it and report possible bugs. Right now I'm using it parallel to > KAlarm until I'm sure it is trustworthy. Don't want to be late and forget > things... > > Here are the known issues: > > 1. No alarm sorting. Brain jam with the design... Not sure I miss this > feature. > > 2. "Select all" button doesn't work when selecting days/months. > Go to task list and click on the "fixme" item. > > This line doesn't do anything: > Action[Last.Tag].Value = True > > I expect it to select the checkboxes, but it doesn't... maybe I implement > it in other way. > But I would like to know why it doesn't work. > > > > Jussi > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.11.tar.gz Type: application/x-gzip Size: 27452 bytes Desc: not available URL: From jussi.lahtinen at ...626... Wed Apr 15 20:22:05 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 15 Apr 2015 21:22:05 +0300 Subject: [Gambas-user] GAlarm alternative for KAlarm In-Reply-To: References: Message-ID: And now it is more reliable (flushes alarms on file immediately). So if you want to try it, use this version. Jussi On Wed, Apr 15, 2015 at 8:38 PM, Jussi Lahtinen wrote: > OK, I needed the sorting feature, so, now the alarms are sorted by time > left (no other options available). > How the software farm works, do I need to host server for my software? > > > Jussi > > On Wed, Apr 15, 2015 at 4:04 AM, Jussi Lahtinen > wrote: > >> Hi! >> I tired to fight with many little annoying incompatibility issues KAlarm >> have with non-KDE desktops. >> So, I wrote alternative for it. It doesn't have all the features KAlarm >> has, but it has what I need. >> If you need more features for it, you are welcome to add them (GPL3 >> license). >> >> Please try it and report possible bugs. Right now I'm using it parallel >> to KAlarm until I'm sure it is trustworthy. Don't want to be late and >> forget things... >> >> Here are the known issues: >> >> 1. No alarm sorting. Brain jam with the design... Not sure I miss this >> feature. >> >> 2. "Select all" button doesn't work when selecting days/months. >> Go to task list and click on the "fixme" item. >> >> This line doesn't do anything: >> Action[Last.Tag].Value = True >> >> I expect it to select the checkboxes, but it doesn't... maybe I implement >> it in other way. >> But I would like to know why it doesn't work. >> >> >> >> Jussi >> >> >> >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.17.tar.gz Type: application/x-gzip Size: 27616 bytes Desc: not available URL: From chrisml at ...3340... Thu Apr 16 13:31:39 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 16 Apr 2015 13:31:39 +0200 Subject: [Gambas-user] Will Gambas 3.7.1 be in Launchpad? In-Reply-To: (sfid-) References: <552E0CE8.8050507@...3340...> (sfid-) Message-ID: <552F9D9B.1050301@...3340...> Hi Sebastian, Am 15.04.2015 um 15:15 schrieb Sebastian Kulesz: > I'm really sorry for the delay. It will be pushed, but I'm under a lot of > work and won't be able to do it until next Wednesday. No Problem. For me it's not time-critical. Next week or so is wunderbar. :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From d4t4full at ...626... Thu Apr 16 15:21:51 2015 From: d4t4full at ...626... (ML) Date: Thu, 16 Apr 2015 10:21:51 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 107, Issue 12 In-Reply-To: <000001d07774$d6ea10c0$84be3240$@frontier.com> References: <000001d07774$d6ea10c0$84be3240$@frontier.com> Message-ID: <552FB76F.6010005@...626...> Marty, First off, sorry for the delay. I made a how-to example, but I'd prefer to also post it to the list so everybody else can benefit from it. Please find it attached. Loads of comments, little code. It's really surprising (and relieving) to see how easy it actually is! Please check not only the comments in code, but the project description as well. As a side note, I'd like to ask the mods -if appropriate- to include it in the How To wiki (or anywhere else they seem adequate). Inter-class data passing is easy to implement, but there is a lack of examples in the Wiki and Help. Moreover the event sink routine naming scheme is a bit obscure but obvious once you figure it out, yet no examples found in the official docs. HTH, zxMarce. *On 15/Apr/2015 09:08, Martin McGlensey wrote:* > Marce, > Appreciate your suggestion. But, I'm totally confused by your explanation. I do not know how to implement it. Could you provide an example? Send it as an attachment to N3MOW at ...3467... That way I'll get it. The intent is to read the datasource.table property on form A for use in form B and to assign the datasource to a datasource object on form B. No changes need be made to the datasource properties on form A. > Marty > > *Message: 1 > Date: Tue, 14 Apr 2015 11:48:02 -0300 > From: ML > Subject: Re: [Gambas-user] Reading control properties from a collection > To: mailing list for gambas users > Message-ID: <552D28A2.8040305 at ...626...> > Content-Type: text/plain; charset=windows-1252 > *Marty, > Never a good idea to dirty your fingers poking a form's controls from another one. Been there, done that, regretted it for a looooong time. > I'd do this instead, and it's a general-purpose approach that served me well for a long time, no matter the cross-forms (or even cross-class) data you need: > In the form (call it *frmA*) that has the data the other form (call it *frmB*) needs, I'd publish the necessary data as appropriate type's *Public Property*(*ies*). > I would also -if necessary- set up some kind of *Event* in *frmA* that triggers when the sought data changes. > Then, in *frmB*, I'd *Dim* a *Private* *Object* of type *frmA* and instance and show it whenever necessary. > In *frmB*'s event handler for *frmA*'s event -or in code, your call- I'd check the *Public Property*(*ies*) of *frmA*. Doing it this way not only isolates your data access from the underlying implementation, but also you can radically change HOW you access data to be published in *frmA* while not touching *frmB* at all. > Then, you may fetch data in *frmA* from a database, flat file or TCP socket, and *frmB* will function the same, no code mods necessary. An additional advantage is no time wasted on for-loops. > HTH, > zxMarce. > > *On 14/Apr/2015 11:00, Martin McGlensey wrote:* Hello, I have a form that contains a named datasource. I want to read the name and table properties of that datasource from another form. Both forms are visible. > I've used the loop "For each hWindow in Windows" to test to see if the form is visible. If it is I cycle through the control collection for that form till I find an Object.Type = "DataSource". So far so good - I can find the datasource and assign it to a variant variable (DataTable). > Now if I do strX = DataTable.Name it returns "DataSource1" instead of "Neighborhood" the name of the datasource on the form containing the collection. > I want to get to the datasource name and table from the first form. They should be name=neighborhood and table=tblneighborhood. If I assign frmEntry.Neighborhood to datatable on the second form then I get the correct > data returned. I think it should be possible to get this data from the forms collection but, I have not figured out how. > So can it be done and if so how? > Regards, > Marty -------------- next part -------------- A non-text attachment was scrubbed... Name: GetDataFromAnotherForm.tar.gz Type: application/gzip Size: 7463 bytes Desc: not available URL: From jussi.lahtinen at ...626... Thu Apr 16 17:01:20 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 16 Apr 2015 18:01:20 +0300 Subject: [Gambas-user] Some GTK+ bugs Message-ID: See attachments. 1. Tableview doesn't respect font colors (all are shown as black). Create alarm, click right mouse button on it in tableview, select "disable / enable". 2. Textarea is shown over other objects when placed on vsplit (see attached picture). Jussi PS. Did you get my mail about the problem caused by Action fix (r7037)? -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.21.tar.gz Type: application/x-gzip Size: 36525 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.jpg Type: image/jpeg Size: 46104 bytes Desc: not available URL: From gambas at ...2524... Fri Apr 17 19:54:15 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 17 Apr 2015 17:54:15 +0000 Subject: [Gambas-user] Issue 617 in gambas: DateBox doesn't work with Finnish language Message-ID: <0-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 617 by jussi.la... at ...626...: DateBox doesn't work with Finnish language https://code.google.com/p/gambas/issues/detail?id=617 1) Describe the problem. Datebox set to time only mode, doesn't give any value with Finnish language. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7985M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 4) Provide a little project that reproduces the bug or the crash. Attached. 6) Explain clearly how to reproduce the bug or the crash. Run the attached project. Choose any time and it should be printed on the textbox. Then run it with command: LANG=fi_FI.utf8 ./LocaleTest.gambas Now the datebox doesn't work. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Apr 17 22:36:16 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 17 Apr 2015 20:36:16 +0000 Subject: [Gambas-user] Issue 617 in gambas: DateBox doesn't work with Finnish language In-Reply-To: <0-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Comment #1 on issue 617 by benoit.m... at ...626...: DateBox doesn't work with Finnish language https://code.google.com/p/gambas/issues/detail?id=617 Where is the attachment? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Apr 17 22:41:52 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 17 Apr 2015 20:41:52 +0000 Subject: [Gambas-user] Issue 617 in gambas: DateBox doesn't work with Finnish language In-Reply-To: <1-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> <0-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Comment #2 on issue 617 by jussi.la... at ...626...: DateBox doesn't work with Finnish language https://code.google.com/p/gambas/issues/detail?id=617 Sorry... here. Attachments: LocaleTest-0.0.3.tar.gz 4.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Apr 17 23:37:01 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 17 Apr 2015 21:37:01 +0000 Subject: [Gambas-user] Issue 617 in gambas: DateBox doesn't work with Finnish language In-Reply-To: <2-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> <0-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #3 on issue 617 by benoit.m... at ...626...: DateBox doesn't work with Finnish language https://code.google.com/p/gambas/issues/detail?id=617 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Apr 18 00:09:18 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 17 Apr 2015 22:09:18 +0000 Subject: [Gambas-user] Issue 617 in gambas: DateBox doesn't work with Finnish language In-Reply-To: <3-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> <0-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-10867472850421337526-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 617 by benoit.m... at ...626...: DateBox doesn't work with Finnish language https://code.google.com/p/gambas/issues/detail?id=617 Fixed in revision #7040. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sat Apr 18 15:32:33 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Apr 2015 15:32:33 +0200 Subject: [Gambas-user] How do I left justify text in a DataControl In-Reply-To: References: Message-ID: <55325CF1.9030509@...1...> Le 12/04/2015 15:39, Martin McGlensey a ?crit : > How do I force a DataControl to display text, that is longer than the > control, as left justified. That is if the control is sized to accept ten > characters, on the form, and the text is twenty characters I want to see > the first ten. Now I see the last ten. Want to see the first ten and be able > to arrow over to see the next ten. Is there an align property to address > this? > > > > All solutions are welcome. > > > > Thanks, > > Marty > The DataControl has a Control property that returns the underlying control used. With it, you can cast it to a TextBox, and then use the Pos property to force the cursor to be at the beginning of the text. Regards, -- Beno?t Minisini From zerkowski at ...395... Sun Apr 19 11:44:13 2015 From: zerkowski at ...395... (zerkowski sur bouquiniste.biz) Date: Sun, 19 Apr 2015 11:44:13 +0200 Subject: [Gambas-user] gambasdoc Message-ID: <553378ED.4080306@...395...> gambasdoc.org est inaccessible ? Merci. C.Z. From taboege at ...626... Sun Apr 19 14:22:13 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 19 Apr 2015 14:22:13 +0200 Subject: [Gambas-user] gambasdoc In-Reply-To: <553378ED.4080306@...395...> References: <553378ED.4080306@...395...> Message-ID: <20150419122213.GA16018@...2774...> On Sun, 19 Apr 2015, zerkowski sur bouquiniste.biz wrote: > gambasdoc.org est inaccessible ? > Seems so. Benoit stated here[0] that the gambasdoc.org wiki would be accessible until at least Mar 2015. Maybe this "at least" bit of time has expired now? You should use gambaswiki.org. Regards, Tobi [0] http://sourceforge.net/p/gambas/mailman/message/32079744/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From zerkowski at ...395... Sun Apr 19 16:57:30 2015 From: zerkowski at ...395... (zerkowski sur bouquiniste.biz) Date: Sun, 19 Apr 2015 16:57:30 +0200 Subject: [Gambas-user] gambasdoc In-Reply-To: <20150419122213.GA16018@...2774...> References: <553378ED.4080306@...395...> <20150419122213.GA16018@...2774...> Message-ID: <5533C25A.7000709@...395...> thank you ! i find what i search in gambaswiki.org . C.Z. Le 19/04/2015 14:22, Tobias Boege a ?crit : > On Sun, 19 Apr 2015, zerkowski sur bouquiniste.biz wrote: >> gambasdoc.org est inaccessible ? >> > Seems so. Benoit stated here[0] that the gambasdoc.org wiki would be > accessible until at least Mar 2015. Maybe this "at least" bit of time > has expired now? You should use gambaswiki.org. > > Regards, > Tobi > > [0] http://sourceforge.net/p/gambas/mailman/message/32079744/ > From gambas at ...2524... Mon Apr 20 04:08:15 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Apr 2015 02:08:15 +0000 Subject: [Gambas-user] Issue 618 in gambas: Wrong/ignored translation Message-ID: <0-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Low OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 618 by jussi.la... at ...626...: Wrong/ignored translation https://code.google.com/p/gambas/issues/detail?id=618 1) Describe the problem. ("m/d/yyyy hh:nn") is translated as "d.m.yyyy hh:nn", but at runtime it is shown as "d.m.yyyy hh.nn". 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7985M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 4) Provide a little project that reproduces the bug or the crash. Attached. See translation from English to Finnish. 6) Explain clearly how to reproduce the bug or the crash. Run the project with: LANG=fi_FI.utf8 ./GAlarm.gambas Add alarm and watch how the times are showed in the tableview of the main form. Attachments: GAlarm-0.1.30.tar.gz 35.8 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From adamnt42 at ...626... Mon Apr 20 10:50:07 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 20 Apr 2015 18:20:07 +0930 Subject: [Gambas-user] Announcement: Gambas 3.7.1 available on pclinuxos Message-ID: <20150420182007.8de22cee4cb1d64957b28409@...626...> It is with some pleasure that I can relate that the 3.7.1 release [is in/is about to go into] the pclinuxos stable repostitory. It is also relevant that I would like to thank the pclos packager/tester "ghostbunny" for his work on this package. For any pclos fans out there - enjoy! regards bruce -- B Bruen From gambas at ...1... Mon Apr 20 21:35:16 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 20 Apr 2015 21:35:16 +0200 Subject: [Gambas-user] [CHRASH REPORT] Ligt Browser on webkit component In-Reply-To: <20150420183553.7c62b9f4@...3468...> References: <20150416162504.0e860c1f@...3468...> <55321C99.3000109@...1...> <20150418131215.5d3dc20f@...3468...> <5532468F.3070105@...1...> <20150418185208.1e9094e2@...3468...> <5533B779.7050101@...1...> <20150420183553.7c62b9f4@...3468...> Message-ID: <553554F4.3010704@...1...> Le 20/04/2015 18:35, Bj?rn B?chel a ?crit : > Thanks for the new Webkit Example. But wih the new one i have a new > Problem. > I will short tell You what i make. > 1 load Your webbrwser Example from the Software Farm. > then i start it with the Degugger (F5 key) > when i get the Gambas Page i click on the Button for the 3.7.1 Version > after Them i will the Error: out of Range from the array in Line 44 > Fbrowser > I think you das testet it in The englisch version. I habe a german > version > > Regards > buchel > > I just published a new version of the example that should be compatible with the stable version of Gambas. Regards, -- Beno?t Minisini From gambas at ...1... Mon Apr 20 21:54:01 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 20 Apr 2015 21:54:01 +0200 Subject: [Gambas-user] Some GTK+ bugs In-Reply-To: References: <55325C66.7090604@...1...> Message-ID: <55355959.8090105@...1...> Le 19/04/2015 15:58, Jussi Lahtinen a ?crit : > > 1. Tableview doesn't respect font colors (all are shown as black). > Create alarm, click right mouse button on it in tableview, select > "disable / enable". > > > You does not respect the syntax of rich text, which looks like HTML, > but *IS NOT* HTML! Don't use named colors, use explicit ones. > > > I cannot find working syntax for the color. Is it possible to give > examples in the documentation page? > http://gambaswiki.org/wiki/def/richtext Something like that should work with all GUI components: Red text > > > 2. Textarea is shown over other objects when placed on vsplit (see > attached picture). > > > I didn't have this problem. Anyway, your layouts are wrong, you must > fix them. > > > You mean the textarea should be shrinking instead of moving to solve > that problem? Indirectly yes. You put yout TextArea inside a panel with no layouting, so its size won't change while you resize the VSplit handle. Another point: closing all the windows don't stop the application, so you have a problem there to fix. > > > PS. Did you get my mail about the problem caused by Action fix > (r7037)? > > > I have no problem with checkbox with action. Please describe your > problem better. > > > OK, maybe I have misunderstand something. > But all controls having same action property cannot work as individual. > See the attachment. When I example click on one toggle button, all the > controls also change their value. > > I expected Action gives you possibility to treat the controls are a > group, instead of that forces them to be as "one" control. > No. Action is there to make several different controls act synchronously, because they represent the same action. It's usually a menu entry and a toolbar button, but it can be whatever you want. It's a standard concept that you find in every program having menus and toolbars. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Mon Apr 20 22:10:04 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 20 Apr 2015 23:10:04 +0300 Subject: [Gambas-user] Some GTK+ bugs In-Reply-To: <55355959.8090105@...1...> References: <55325C66.7090604@...1...> <55355959.8090105@...1...> Message-ID: > Another point: closing all the windows don't stop the application, so you > have a problem there to fix. > No that is by design. If you want to quit the program select menu; file --> quit. Or if you want to open the main window again click on the tray icon. > No. Action is there to make several different controls act synchronously, >> because they represent the same action. It's usually a menu entry and a >> toolbar button, but it can be whatever you want. It's a standard concept >> that you find in every program having menus and toolbars. >> > OK. My bad. Jussi From gambas at ...2524... Mon Apr 20 22:49:04 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Apr 2015 20:49:04 +0000 Subject: [Gambas-user] Issue 618 in gambas: Wrong/ignored translation In-Reply-To: <0-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #1 on issue 618 by benoit.m... at ...626...: Wrong/ignored translation https://code.google.com/p/gambas/issues/detail?id=618 Please read the documentation of Format$() carefully: the ':' character is replaced by the time separator which is a point in Finnish. If you want a ':' character, you have to quote it. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Mon Apr 20 23:28:41 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 20 Apr 2015 23:28:41 +0200 Subject: [Gambas-user] gb.util: Unit conversions Message-ID: <20150420212841.GE613@...2774...> Hi Benoit, I have a quick feature suggestion for gb.util: when working with components like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) to measure things, it would be nice to have a global module from somewhere official which implements those unit conversions. I am myself always uncertain with "graphical" units and if they could under any circumstances depend on resolutions or not. A bunch of working methods would be nice and gb.util is the right place for that it seems. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Mon Apr 20 23:52:53 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Apr 2015 21:52:53 +0000 Subject: [Gambas-user] Issue 618 in gambas: Wrong/ignored translation In-Reply-To: <1-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> <0-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-887334305823316448-gambas=googlecode.com@...2524...> Comment #2 on issue 618 by jussi.la... at ...626...: Wrong/ignored translation https://code.google.com/p/gambas/issues/detail?id=618 OK, thanks! Jussi -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Apr 21 00:21:29 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Apr 2015 22:21:29 +0000 Subject: [Gambas-user] Issue 619 in gambas: Translation is confused by single \ character Message-ID: <0-6813199134517018827-4702241384746455638-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 619 by jussi.la... at ...626...: Translation is confused by single \ character https://code.google.com/p/gambas/issues/detail?id=619 1) Describe the problem. IDE translation feature is confused by single \ character, when used in case "m/d/yyyy hh:nn" --> "d.m.yyyy hh\:nn". This can be fixed only by manually editing .po file. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7985M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 4) Provide a little project that reproduces the bug or the crash. Attached. 6) Explain clearly how to reproduce the bug or the crash. 1. Open translation feature from the IDE. 2. Select Finnish. 3. Put single \ character to the string, so that you have "d.m.yyyy hh\:nn". 4. Save and close. 5. Reopen the translation feature. 6. Select Finnish. Attachments: GAlarm-0.1.38.tar.gz 35.6 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas.fr at ...626... Tue Apr 21 07:09:46 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 21 Apr 2015 07:09:46 +0200 Subject: [Gambas-user] gb.util: Unit conversions In-Reply-To: <20150420212841.GE613@...2774...> References: <20150420212841.GE613@...2774...> Message-ID: Can it be based on report convertion tool ? Le 20 avr. 2015 23:33, "Tobias Boege" a ?crit : > Hi Benoit, > > I have a quick feature suggestion for gb.util: when working with components > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) > to measure things, it would be nice to have a global module from somewhere > official which implements those unit conversions. > > I am myself always uncertain with "graphical" units and if they could under > any circumstances depend on resolutions or not. A bunch of working methods > would be nice and gb.util is the right place for that it seems. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Tue Apr 21 09:55:17 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 21 Apr 2015 00:55:17 -0700 (MST) Subject: [Gambas-user] Entry value for gambas project Message-ID: <1429602917323-51346.post@...3046...> I want to start a Gambas programme from another Gambas programme. What would be the best way to pass a value to the programme? At the moment I write the value to a file from the first programme and read it in the second one. then open the ne prog with:- Exec [User.Home &/ "GambasFolder/GambasExec/MusicFiling.gambas"] where the executable version of the sencond programme resides. Perhaps gb.settings would be a bit more elegant but maybe the best would be to use the _new() sub in the second programme but how to call the second programme? -- View this message in context: http://gambas.8142.n7.nabble.com/Entry-value-for-gambas-project-tp51346.html Sent from the gambas-user mailing list archive at Nabble.com. From bagoneo at ...69... Tue Apr 21 10:56:19 2015 From: bagoneo at ...69... (Gian) Date: Tue, 21 Apr 2015 10:56:19 +0200 Subject: [Gambas-user] Entry value for gambas project In-Reply-To: <1429602917323-51346.post@...3046...> References: <1429602917323-51346.post@...3046...> Message-ID: <553610B3.20709@...69...> Il 21/04/2015 09:55, bill-lancaster ha scritto: > I want to start a Gambas programme from another Gambas programme. > What would be the best way to pass a value to the programme? > > At the moment I write the value to a file from the first programme and read > it in the second one. then open the ne prog with:- > Exec [User.Home &/ "GambasFolder/GambasExec/MusicFiling.gambas"] > where the executable version of the sencond programme resides. > > Perhaps gb.settings would be a bit more elegant but maybe the best would be > to use the _new() sub in the second programme but how to call the second > programme? AFAIK, to passing the parameters is correct to use Shell or Exec and go to the Program_2 with Path/Program_2 ?param_1, param_2, param_n?. In Program_2 you can read with Application.Args or gb.args. In IDE you can use the window ?Project>Arguments? to Write and Read. Regards Gianluigi From jusabejusabe at ...626... Tue Apr 21 11:42:48 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 21 Apr 2015 11:42:48 +0200 Subject: [Gambas-user] Entry value for gambas project In-Reply-To: <1429602917323-51346.post@...3046...> References: <1429602917323-51346.post@...3046...> Message-ID: Bill-lancaster: One way, would pass arguments to the program from the command line. To read must use Application.Args Here's an example (in Spanish) http://cursogambas.blogspot.com.es/2012/08/escribir-paramentros-inciales-para-el.html Regards Julio 2015-04-21 9:55 GMT+02:00 bill-lancaster : > I want to start a Gambas programme from another Gambas programme. > What would be the best way to pass a value to the programme? > > At the moment I write the value to a file from the first programme and read > it in the second one. then open the ne prog with:- > Exec [User.Home &/ "GambasFolder/GambasExec/MusicFiling.gambas"] > where the executable version of the sencond programme resides. > > Perhaps gb.settings would be a bit more elegant but maybe the best would be > to use the _new() sub in the second programme but how to call the second > programme? > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Entry-value-for-gambas-project-tp51346.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Tue Apr 21 13:24:46 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 21 Apr 2015 13:24:46 +0200 Subject: [Gambas-user] A issue with gbDesktop.open Message-ID: I have a project thas uses gbDesktop in order to open .odt documents and let users to modify them. In order to control if a document has changed after been closed the second parameter of desktop.open is setted to True. gbDesktop.Open(myfile,True) It seems work fine..but (allways there's a but) yesterday I find that in my Office development mahcine, executing the project from the IDE, that second parameter was ignored and the project does'nt wait for the end of launched Desktop application (LibreOffice). It drive me nut all the morning and I wrote a workaround... but (again) this morning the second parameter works fine. The same machine, the same project, the same gambas. Yesterday doesn't work, today works. There is some explanation? This point is very important to my project, if program doesn't wait all the sistem fails... The system info: [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=5934M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 The project uses qt4 and the Desktop Qt4 theme is cleanlooks I can't send a proyect reproducing the error: *Today* it works fine! Regards. From roel at ...3306... Tue Apr 21 14:51:35 2015 From: roel at ...3306... (Roel Touwen) Date: Tue, 21 Apr 2015 14:51:35 +0200 Subject: [Gambas-user] Filter on dir( Message-ID: <553647D7.2050603@...3306...> Hi All, I cannot find the explanation of the filter variable in dir (Path,Pattern,Filter). What I would like to do is filter only symlink files from a directory. Thanks Roel From corradoventu at ...69... Tue Apr 21 15:12:43 2015 From: corradoventu at ...69... (corradoventu at ...69...) Date: Tue, 21 Apr 2015 15:12:43 +0200 (CEST) Subject: [Gambas-user] Gambas stable builds Message-ID: <1744872093.2429261429621963596.JavaMail.httpd@...3469...> According page: https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 the current gambas version should be 3.7 but ubuntu 15.4 software center installs gambas3-ide 3.5.4-2ubuntu3 (here the lines from gambas system information) [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.19.0-14-generic Architecture=x86_64 Distribution=Ubuntu 15.04 Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=1929M I know I can install from PPA (in fact I'm using 3.7.90 from daily PPA) but I think this is a problem. Should I open the problem to Ubuntu? Or to Gambas? On none? Thanks for your attention Corrado From bill-lancaster at ...2231... Tue Apr 21 15:03:34 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 21 Apr 2015 06:03:34 -0700 (MST) Subject: [Gambas-user] Entry value for gambas project In-Reply-To: References: <1429602917323-51346.post@...3046...> Message-ID: <1429621414382-51352.post@...3046...> Thank you guys - it's just what I was looking for Bill -- View this message in context: http://gambas.8142.n7.nabble.com/Entry-value-for-gambas-project-tp51346p51352.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Tue Apr 21 16:19:48 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 21 Apr 2015 16:19:48 +0200 Subject: [Gambas-user] Filter on dir( In-Reply-To: <553647D7.2050603@...3306...> References: <553647D7.2050603@...3306...> Message-ID: Dir(path,"*",gb.link) http://gambaswiki.org/wiki/comp/gb/stat/type Le 21 avr. 2015 14:52, "Roel Touwen" a ?crit : > Hi All, > > I cannot find the explanation of the filter variable in dir > (Path,Pattern,Filter). > > What I would like to do is filter only symlink files from a directory. > > Thanks > > Roel > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Tue Apr 21 18:43:41 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 21 Apr 2015 13:43:41 -0300 Subject: [Gambas-user] Gambas stable builds In-Reply-To: <1744872093.2429261429621963596.JavaMail.httpd@...3469...> References: <1744872093.2429261429621963596.JavaMail.httpd@...3469...> Message-ID: On Apr 21, 2015 10:13 AM, "corradoventu at ...69..." wrote: > > > > > > > > According page: > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 > the current gambas version should be 3.7 > but ubuntu 15.4 software center installs gambas3-ide 3.5.4-2ubuntu3 > (here the lines from gambas system information) > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.19.0-14-generic > Architecture=x86_64 > Distribution=Ubuntu 15.04 > Desktop=GNOME > Theme=QGtk > Language=en_US.UTF-8 > Memory=1929M > > I know I can install from PPA (in fact I'm using 3.7.90 from daily PPA) > but I think this is a problem. > Should I open the problem to Ubuntu? Or to Gambas? On none? Actually, none of them. The problem is we can't find a Debian sponsor for the project, so Gambas packages remain outdated in Debian. Ubuntu syncs the packages from Debian in each release, so until we find a sponsor, it will remain outdated in Debian and, in consequence, in Ubuntu. I already tried and offered my help, but it got nowhere. If you want to reopen the issue in their mailing list and put some pressure, please do. Thanks for your interest! > Thanks for your attention > Corrado > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Tue Apr 21 19:59:22 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 21 Apr 2015 19:59:22 +0200 Subject: [Gambas-user] Gambas stable builds In-Reply-To: References: <1744872093.2429261429621963596.JavaMail.httpd@...3469...> Message-ID: 2015-04-21 18:43 GMT+02:00 Sebastian Kulesz : > On Apr 21, 2015 10:13 AM, "corradoventu at ...69..." > wrote: >> >> >> >> >> >> >> >> According page: >> https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 >> the current gambas version should be 3.7 >> but ubuntu 15.4 software center installs gambas3-ide 3.5.4-2ubuntu3 >> (here the lines from gambas system information) >> >> [System] >> Gambas=3.5.4 >> OperatingSystem=Linux >> Kernel=3.19.0-14-generic >> Architecture=x86_64 >> Distribution=Ubuntu 15.04 >> Desktop=GNOME >> Theme=QGtk >> Language=en_US.UTF-8 >> Memory=1929M >> >> I know I can install from PPA (in fact I'm using 3.7.90 from daily PPA) >> but I think this is a problem. >> Should I open the problem to Ubuntu? Or to Gambas? On none? > > Actually, none of them. The problem is we can't find a Debian sponsor for > the project, so Gambas packages remain outdated in Debian. Ubuntu syncs the > packages from Debian in each release, so until we find a sponsor, it will > remain outdated in Debian and, in consequence, in Ubuntu. I already tried > and offered my help, but it got nowhere. If you want to reopen the issue in > their mailing list and put some pressure, please do. > well ... bad philosophy... debian's people > Thanks for your interest! > >> Thanks for your attention >> Corrado >> > ------------------------------------------------------------------------------ >> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT >> Develop your own process in accordance with the BPMN 2 standard >> Learn Process modeling best practices with Bonita BPM through live > exercises >> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ >> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From roel at ...3306... Wed Apr 22 09:42:00 2015 From: roel at ...3306... (Roel Touwen) Date: Wed, 22 Apr 2015 09:42:00 +0200 Subject: [Gambas-user] File in clipboard Message-ID: <553750C8.4040107@...3306...> Hi All, I would like to copy a file to the clipboard. So not only text. When I browse to a file in the filesystem (Dolphin) and do a copy and after that I do clipboard.paste I get the filename with file:/// But when I do a clipboard.copy "file:///" with the filename. The Os only gets this as a string and not the filename. Anybody? Thanks. Roel From shordi at ...626... Wed Apr 22 11:01:42 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 22 Apr 2015 11:01:42 +0200 Subject: [Gambas-user] File in clipboard In-Reply-To: <553750C8.4040107@...3306...> References: <553750C8.4040107@...3306...> Message-ID: I think is a standard behaviour. The program that receives the clipboard must be able to search and copy it. Regards 2015-04-22 9:42 GMT+02:00 Roel Touwen : > Hi All, > > I would like to copy a file to the clipboard. So not only text. > > When I browse to a file in the filesystem (Dolphin) and do a copy and > after that I do clipboard.paste I get the filename with file:/// But > when I do a clipboard.copy "file:///" with the filename. The Os only > gets this as a string and not the filename. > > Anybody? > > Thanks. > > Roel > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From fgores at ...174... Wed Apr 22 11:18:41 2015 From: fgores at ...174... (Frank) Date: Wed, 22 Apr 2015 11:18:41 +0200 Subject: [Gambas-user] [CRASH REPORT] Database example Message-ID: <55376771.3010802@...174...> Hello, Damned, my program crashed Gambas that way : When I try to create a table with MySQL I get this error (Segmentationfault (11)) I tried the existing databaseexample of Gambas an got the same error. This worked fine in the past (Gambas 3.5.4) [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-51-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=16030M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: Database-3.6.2-crash-150422-111155.tar.bz2 Type: application/x-bzip Size: 882 bytes Desc: not available URL: From sebikul at ...626... Thu Apr 23 07:01:43 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 23 Apr 2015 02:01:43 -0300 Subject: [Gambas-user] Will Gambas 3.7.1 be in Launchpad? In-Reply-To: <552F9D9B.1050301@...3340...> References: <552E0CE8.8050507@...3340...> <552F9D9B.1050301@...3340...> Message-ID: As promised, you should be seeing the update in an hour or two! ;) On Thu, Apr 16, 2015 at 8:31 AM, Christof Thalhofer wrote: > Hi Sebastian, > > Am 15.04.2015 um 15:15 schrieb Sebastian Kulesz: > > I'm really sorry for the delay. It will be pushed, but I'm under a lot of > > work and won't be able to do it until next Wednesday. > > No Problem. For me it's not time-critical. Next week or so is wunderbar. > :-) > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From chrisml at ...3340... Thu Apr 23 07:59:04 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 23 Apr 2015 07:59:04 +0200 Subject: [Gambas-user] Will Gambas 3.7.1 be in Launchpad? In-Reply-To: (sfid-) References: <552E0CE8.8050507@...3340...> <552F9D9B.1050301@...3340...> (sfid-) Message-ID: <55388A28.1030805@...3340...> Am 23.04.2015 um 07:01 schrieb Sebastian Kulesz: > As promised, you should be seeing the update in an hour or two! ;) Thank you, Sebastian, Great! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jusabejusabe at ...626... Thu Apr 23 21:14:31 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 23 Apr 2015 21:14:31 +0200 Subject: [Gambas-user] Will Gambas 3.7.1 be in Launchpad? In-Reply-To: <55388A28.1030805@...3340...> References: <552E0CE8.8050507@...3340...> <552F9D9B.1050301@...3340...> <55388A28.1030805@...3340...> Message-ID: Gracias Sebantian !! 2015-04-23 7:59 GMT+02:00 Christof Thalhofer : > Am 23.04.2015 um 07:01 schrieb Sebastian Kulesz: > > > As promised, you should be seeing the update in an hour or two! ;) > > Thank you, Sebastian, Great! > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live > exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- > event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bagoneo at ...69... Thu Apr 23 21:58:28 2015 From: bagoneo at ...69... (Gian) Date: Thu, 23 Apr 2015 21:58:28 +0200 Subject: [Gambas-user] Possible malfunction 3.7.1 PPA & Trunk Message-ID: <55394EE4.3010203@...69...> Here's how the Phil NewProject, see attached image. [System] Gambas=3.7.1 COMPILATED OperatingSystem=Linux Kernel=3.13.0-51-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=4961M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.7.1 PPA OperatingSystem=Linux Kernel=3.13.0-38-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=15977M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 [System] Gambas=3.7.90 TRUNK OperatingSystem=Linux Kernel=3.13.0-51-generic Architecture=x86 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3020M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: NewProject.png Type: image/png Size: 56292 bytes Desc: not available URL: From shivajiva101 at ...67... Fri Apr 24 11:23:43 2015 From: shivajiva101 at ...67... (Shiva Jiva) Date: Fri, 24 Apr 2015 10:23:43 +0100 Subject: [Gambas-user] Icon behaviour in Cinnamon Message-ID: Hi Everyone, I have noticed when running software I created in Gambas that on Mint Cinnamon the application icons behaviour is not correct for child forms. If no icon is set on the child form when it is shown the parent form inherits the child icon instead of inheriting the parent icon. Same behaviour if a different icon from the parent is selected, the child form when shown, causes the parent form to inherits the child forms icon. Could anyone shed some light on this behaviour? Shivajva101 From bagoneo at ...69... Fri Apr 24 14:23:50 2015 From: bagoneo at ...69... (Gian) Date: Fri, 24 Apr 2015 14:23:50 +0200 Subject: [Gambas-user] A question on gb.gui Message-ID: <553A35D6.6000904@...69...> Hello Benoit, Sorry if I let some criticism on the strategy gb.gui in this email. I state to be old and ignorant (to 16 years (1963) already around the world to work) and that I admire very much you and your collaborators, otherwise I would be silent. Ubuntu can represent for free software that Windows is for closed software. Ubuntu uses GTK and you love QT and that's OK. Gb.gui never completely properly worked, why insist? Is not better to abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that manage to combine the GTK with QT, explaining well the use to all shrimps, maybe helping them for installation? Thanks for the attention. Gianluigi From jussi.lahtinen at ...626... Fri Apr 24 18:30:13 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 24 Apr 2015 19:30:13 +0300 Subject: [Gambas-user] Icon behaviour in Cinnamon In-Reply-To: References: Message-ID: I noticed same thing. Not sure if this is issue of Gambas, or issue of Cinnamon. This can be demonstrated with attached project (alarm form has different icon than main form). [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7985M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Jussi On Fri, Apr 24, 2015 at 12:23 PM, Shiva Jiva wrote: > > Hi Everyone, > I have noticed when running software I created in Gambas that on Mint > Cinnamon the application icons behaviour is not correct for child > forms. If > no icon is set on the child form when it is shown the parent form > inherits > the child icon instead of inheriting the parent icon. Same behaviour if > a > different icon from the parent is selected, the child form when shown, > causes the parent form to inherits the child forms icon. > Could anyone shed some light on this behaviour? > Shivajva101 > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.41.tar.gz Type: application/x-gzip Size: 42655 bytes Desc: not available URL: From gambas at ...1... Sat Apr 25 22:42:31 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Apr 2015 22:42:31 +0200 Subject: [Gambas-user] gb.util: Unit conversions In-Reply-To: <20150420212841.GE613@...2774...> References: <20150420212841.GE613@...2774...> Message-ID: <553BFC37.7010206@...1...> Le 20/04/2015 23:28, Tobias Boege a ?crit : > Hi Benoit, > > I have a quick feature suggestion for gb.util: when working with components > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) > to measure things, it would be nice to have a global module from somewhere > official which implements those unit conversions. > > I am myself always uncertain with "graphical" units and if they could under > any circumstances depend on resolutions or not. A bunch of working methods > would be nice and gb.util is the right place for that it seems. > > Regards, > Tobi > I don't see what conversion you need exactly. Can you be more precise? -- Beno?t Minisini From gambas at ...1... Sat Apr 25 23:06:25 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Apr 2015 23:06:25 +0200 Subject: [Gambas-user] A issue with gbDesktop.open In-Reply-To: References: Message-ID: <553C01D1.8030900@...1...> Le 21/04/2015 13:24, Jorge Carri?n a ?crit : > I have a project thas uses gbDesktop in order to open .odt documents and > let users to modify them. > In order to control if a document has changed after been closed the second > parameter of desktop.open is setted to True. > > gbDesktop.Open(myfile,True) > > It seems work fine..but (allways there's a but) yesterday I find that in my > Office development mahcine, executing the project from the IDE, that second > parameter was ignored and the project does'nt wait for the end of launched > Desktop application (LibreOffice). > > It drive me nut all the morning and I wrote a workaround... but (again) > this morning the second parameter works fine. > > The same machine, the same project, the same gambas. Yesterday doesn't > work, today works. > > There is some explanation? This point is very important to my project, if > program doesn't wait all the sistem fails... > > The system info: > [System] > Gambas=3.7.0 > OperatingSystem=Linux > Kernel=3.13.0-37-generic > Architecture=x86_64 > Distribution=Linux Mint 17.1 Rebecca > Desktop=GNOME > Theme=QCleanlooks > Language=es_ES.UTF-8 > Memory=5934M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > The project uses qt4 and the Desktop Qt4 theme is cleanlooks > > I can't send a proyect reproducing the error: *Today* it works fine! > > Regards. Desktop.Open() relies on an xdg-util shell script to open the file. When the Wait argument is True, Desktop.Open() just waits for the end of the xdg-util script. It does not know how to wait for the end of the program that will open the file for you. The Wait argument is mainly useful to catch a possible error when running a script. It is not reliable for doing what you want. Regards, -- Beno?t Minisini From jusabejusabe at ...626... Sat Apr 25 23:07:00 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sat, 25 Apr 2015 23:07:00 +0200 Subject: [Gambas-user] upgrade applications in farm Message-ID: Hello: I have uploaded several applications at the farm I have new versions of some of them, how upgrade ? Regards, Julio From gambas at ...2524... Sat Apr 25 23:11:34 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 25 Apr 2015 21:11:34 +0000 Subject: [Gambas-user] Issue 619 in gambas: Translation is confused by single \ character In-Reply-To: <0-6813199134517018827-4702241384746455638-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4702241384746455638-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4702241384746455638-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 619 by benoit.m... at ...626...: Translation is confused by single \ character https://code.google.com/p/gambas/issues/detail?id=619 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Sat Apr 25 23:13:23 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Apr 2015 23:13:23 +0200 Subject: [Gambas-user] gb.util: Unit conversions In-Reply-To: <553BFC37.7010206@...1...> References: <20150420212841.GE613@...2774...> <553BFC37.7010206@...1...> Message-ID: <20150425211323.GA564@...2774...> On Sat, 25 Apr 2015, Beno?t Minisini wrote: > Le 20/04/2015 23:28, Tobias Boege a ?crit : > > Hi Benoit, > > > > I have a quick feature suggestion for gb.util: when working with components > > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) > > to measure things, it would be nice to have a global module from somewhere > > official which implements those unit conversions. > > > > I am myself always uncertain with "graphical" units and if they could under > > any circumstances depend on resolutions or not. A bunch of working methods > > would be nice and gb.util is the right place for that it seems. > > > > Regards, > > Tobi > > > > I don't see what conversion you need exactly. Can you be more precise? > Things like px <-> mm <-> in. I'm sure there are a lot more unit conversions that people may find useful. Although I'm not sure anymore if it's a good idea to put those into a component, because it's basically multiplying by some constant... The thing is simply that these constants are not easy to memorise and sometimes they depend on some resolution or other factors of which people like me aren't aware. A conversion function in a component, once written by a clever person would come to the rescue then. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Sun Apr 26 09:34:42 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 26 Apr 2015 09:34:42 +0200 Subject: [Gambas-user] gb.util: Unit conversions In-Reply-To: <20150425211323.GA564@...2774...> References: <20150420212841.GE613@...2774...> <553BFC37.7010206@...1...> <20150425211323.GA564@...2774...> Message-ID: <1430033682.3557.4.camel@...40...> Am Samstag, den 25.04.2015, 23:13 +0200 schrieb Tobias Boege: > On Sat, 25 Apr 2015, Beno?t Minisini wrote: > > Le 20/04/2015 23:28, Tobias Boege a ?crit : > > > Hi Benoit, > > > > > > I have a quick feature suggestion for gb.util: when working with components > > > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) > > > to measure things, it would be nice to have a global module from somewhere > > > official which implements those unit conversions. > > > > > > I am myself always uncertain with "graphical" units and if they could under > > > any circumstances depend on resolutions or not. A bunch of working methods > > > would be nice and gb.util is the right place for that it seems. > > > > > > Regards, > > > Tobi > > > > > > > I don't see what conversion you need exactly. Can you be more precise? > > > > Things like px <-> mm <-> in. I'm sure there are a lot more unit conversions > that people may find useful. Although I'm not sure anymore if it's a good > idea to put those into a component, because it's basically multiplying by > some constant... The thing is simply that these constants are not easy to > memorise and sometimes they depend on some resolution or other factors of > which people like me aren't aware. A conversion function in a component, > once written by a clever person would come to the rescue then. > > Regards, > Tobi > Salut, what's about a conversions page on gambaswiki.org? That would be one page about measure conversion more in the net, but easy to find for gambas coder. -- Amicalement Charlie From shordi at ...626... Sun Apr 26 10:31:35 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 26 Apr 2015 10:31:35 +0200 Subject: [Gambas-user] A issue with gbDesktop.open In-Reply-To: <553C01D1.8030900@...1...> References: <553C01D1.8030900@...1...> Message-ID: Buff... I've based all my project on it!... I suppouse that I'll have to find a way to freeze the application based on the file itself... I can't imagine how in this moment. Thank you a lot, Benoit. Regards 2015-04-25 23:06 GMT+02:00 Beno?t Minisini : > Le 21/04/2015 13:24, Jorge Carri?n a ?crit : > > I have a project thas uses gbDesktop in order to open .odt documents and > > let users to modify them. > > In order to control if a document has changed after been closed the > second > > parameter of desktop.open is setted to True. > > > > gbDesktop.Open(myfile,True) > > > > It seems work fine..but (allways there's a but) yesterday I find that in > my > > Office development mahcine, executing the project from the IDE, that > second > > parameter was ignored and the project does'nt wait for the end of > launched > > Desktop application (LibreOffice). > > > > It drive me nut all the morning and I wrote a workaround... but (again) > > this morning the second parameter works fine. > > > > The same machine, the same project, the same gambas. Yesterday doesn't > > work, today works. > > > > There is some explanation? This point is very important to my project, if > > program doesn't wait all the sistem fails... > > > > The system info: > > [System] > > Gambas=3.7.0 > > OperatingSystem=Linux > > Kernel=3.13.0-37-generic > > Architecture=x86_64 > > Distribution=Linux Mint 17.1 Rebecca > > Desktop=GNOME > > Theme=QCleanlooks > > Language=es_ES.UTF-8 > > Memory=5934M > > [Libraries] > > Cairo=libcairo.so.2.11301.0 > > Curl=libcurl.so.4.3.0 > > DBus=libdbus-1.so.3.7.6 > > GStreamer=libgstreamer-0.10.so.0.30.0 > > GStreamer=libgstreamer-1.0.so.0.204.0 > > GTK+3=libgtk-3.so.0.1000.8 > > GTK+=libgtk-x11-2.0.so.0.2400.23 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.44.0.0 > > Qt4=libQtCore.so.4.8.6 > > SDL=libSDL-1.2.so.0.11.4 > > > > The project uses qt4 and the Desktop Qt4 theme is cleanlooks > > > > I can't send a proyect reproducing the error: *Today* it works fine! > > > > Regards. > > Desktop.Open() relies on an xdg-util shell script to open the file. > > When the Wait argument is True, Desktop.Open() just waits for the end of > the xdg-util script. It does not know how to wait for the end of the > program that will open the file for you. > > The Wait argument is mainly useful to catch a possible error when > running a script. It is not reliable for doing what you want. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From n.rogozarski at ...626... Sun Apr 26 12:39:22 2015 From: n.rogozarski at ...626... (n.rogozarski at ...626...) Date: Sun, 26 Apr 2015 12:39:22 +0200 Subject: [Gambas-user] Kubuntu 15.04 Message-ID: <1565505.Z2s3TXPzcW@...3359...> Since I have never used Kubuntu, I wanted to try it. I installed Kubuntu 15.04, it looks very modern and works well for now. I installed Gambas3.7.1, and noticed some problems. 1. If I want to use gb.raport2 in qt4 project comes to a conflict between qt4 and gb.gui component - (These components are incompatible:: gb.gui, gb.qt4.), If I want to remove gb.gui then appears: "This component is required by gb.report2 ". I have some previous projects using gb.report2 in qt project, and they work well, but the problem arises when I create a new project. The same problem occurs in GTK projects also, not only in qt projects. 2. Soon as I will run first form. In the console appears the following: "Bus::open: Can not get ibus-daemon's address. IBusInputContext :: createInputContext: no connection to ibus-daemon " Is there a solution for this problem, or I have to go back to another distro. From bagoneo at ...69... Sun Apr 26 14:39:02 2015 From: bagoneo at ...69... (Gian) Date: Sun, 26 Apr 2015 14:39:02 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <553A35D6.6000904@...69...> References: <553A35D6.6000904@...69...> Message-ID: <553CDC66.7070305@...69...> Il 24/04/2015 14:23, Gian ha scritto: > Hello Benoit, > Sorry if I let some criticism on the strategy gb.gui in this email. > I state to be old and ignorant (to 16 years (1963) already around the > world to work) and that I admire very much you and your collaborators, > otherwise I would be silent. > Ubuntu can represent for free software that Windows is for closed software. > Ubuntu uses GTK and you love QT and that's OK. > Gb.gui never completely properly worked, why insist? Is not better to > abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that > manage to combine the GTK with QT, explaining well the use to all > shrimps, maybe helping them for installation? > Thanks for the attention. > Gianluigi > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Hello Benoit, I'm sorry if I offended you, it was not my intention. Quite the contrary. I believe that the main feature of Gambas is the one that, with a few clicks, we can get a GUI very effective and pleasant. But if the GUI does not work... I note that no one has commented on what I have written here, me wonder why? Do not they want displease you? Do not they use gb.gui (gb.gtk +)? Do not they care if their code works with GTK? They use Gambas only for fun or theoretical study? They think that those who use Ubuntu is an idiot? But perhaps it is more likely that having fought with these malfunctions they have surrendered and now they use and do use a distro with KDE. I really hope you understand that I am writing to build and not to destroy. My best regards Gianluigi From shordi at ...626... Sun Apr 26 17:48:53 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 26 Apr 2015 17:48:53 +0200 Subject: [Gambas-user] A issue with gbDesktop.open In-Reply-To: References: <553C01D1.8030900@...1...> Message-ID: A question, Benoit, it's the same thing for Shell wait Is based in xdg-util script too? Regards 2015-04-26 10:31 GMT+02:00 Jorge Carri?n : > Buff... I've based all my project on it!... I suppouse that I'll have to > find a way to freeze the application based on the file itself... I can't > imagine how in this moment. > > Thank you a lot, Benoit. > > Regards > > 2015-04-25 23:06 GMT+02:00 Beno?t Minisini : > >> Le 21/04/2015 13:24, Jorge Carri?n a ?crit : >> > I have a project thas uses gbDesktop in order to open .odt documents and >> > let users to modify them. >> > In order to control if a document has changed after been closed the >> second >> > parameter of desktop.open is setted to True. >> > >> > gbDesktop.Open(myfile,True) >> > >> > It seems work fine..but (allways there's a but) yesterday I find that >> in my >> > Office development mahcine, executing the project from the IDE, that >> second >> > parameter was ignored and the project does'nt wait for the end of >> launched >> > Desktop application (LibreOffice). >> > >> > It drive me nut all the morning and I wrote a workaround... but (again) >> > this morning the second parameter works fine. >> > >> > The same machine, the same project, the same gambas. Yesterday doesn't >> > work, today works. >> > >> > There is some explanation? This point is very important to my project, >> if >> > program doesn't wait all the sistem fails... >> > >> > The system info: >> > [System] >> > Gambas=3.7.0 >> > OperatingSystem=Linux >> > Kernel=3.13.0-37-generic >> > Architecture=x86_64 >> > Distribution=Linux Mint 17.1 Rebecca >> > Desktop=GNOME >> > Theme=QCleanlooks >> > Language=es_ES.UTF-8 >> > Memory=5934M >> > [Libraries] >> > Cairo=libcairo.so.2.11301.0 >> > Curl=libcurl.so.4.3.0 >> > DBus=libdbus-1.so.3.7.6 >> > GStreamer=libgstreamer-0.10.so.0.30.0 >> > GStreamer=libgstreamer-1.0.so.0.204.0 >> > GTK+3=libgtk-3.so.0.1000.8 >> > GTK+=libgtk-x11-2.0.so.0.2400.23 >> > OpenGL=libGL.so.1.2.0 >> > Poppler=libpoppler.so.44.0.0 >> > Qt4=libQtCore.so.4.8.6 >> > SDL=libSDL-1.2.so.0.11.4 >> > >> > The project uses qt4 and the Desktop Qt4 theme is cleanlooks >> > >> > I can't send a proyect reproducing the error: *Today* it works fine! >> > >> > Regards. >> >> Desktop.Open() relies on an xdg-util shell script to open the file. >> >> When the Wait argument is True, Desktop.Open() just waits for the end of >> the xdg-util script. It does not know how to wait for the end of the >> program that will open the file for you. >> >> The Wait argument is mainly useful to catch a possible error when >> running a script. It is not reliable for doing what you want. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Sun Apr 26 18:38:58 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 26 Apr 2015 18:38:58 +0200 Subject: [Gambas-user] A issue with gbDesktop.open In-Reply-To: References: <553C01D1.8030900@...1...> Message-ID: <553D14A2.3090109@...1...> Le 26/04/2015 17:48, Jorge Carri?n a ?crit : > A question, Benoit, it's the same thing for > > Shell wait > > Is based in xdg-util script too? > > Regards > No, but there is an intermediate shell ('/bin/sh' by default) between your Gambas program and the executed process. -- Beno?t Minisini From shordi at ...626... Sun Apr 26 18:42:08 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 26 Apr 2015 18:42:08 +0200 Subject: [Gambas-user] A issue with gbDesktop.open In-Reply-To: <553D14A2.3090109@...1...> References: <553C01D1.8030900@...1...> <553D14A2.3090109@...1...> Message-ID: Ok. Thanks Benoit. 2015-04-26 18:38 GMT+02:00 Beno?t Minisini : > Le 26/04/2015 17:48, Jorge Carri?n a ?crit : > > A question, Benoit, it's the same thing for > > > > Shell wait > > > > Is based in xdg-util script too? > > > > Regards > > > > No, but there is an intermediate shell ('/bin/sh' by default) between > your Gambas program and the executed process. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Apr 26 18:47:25 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 26 Apr 2015 18:47:25 +0200 Subject: [Gambas-user] A issue with gbDesktop.open In-Reply-To: References: <553C01D1.8030900@...1...> <553D14A2.3090109@...1...> Message-ID: <553D169D.60103@...1...> Le 26/04/2015 18:42, Jorge Carri?n a ?crit : > Ok. Thanks Benoit. > If you don't want the intermediate shell, use EXEC. -- Beno?t Minisini From shordi at ...626... Sun Apr 26 18:50:43 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 26 Apr 2015 18:50:43 +0200 Subject: [Gambas-user] A issue with gbDesktop.open In-Reply-To: <553D169D.60103@...1...> References: <553C01D1.8030900@...1...> <553D14A2.3090109@...1...> <553D169D.60103@...1...> Message-ID: Of course. Thanks again. It's fine how you are there, working on sunday!! Regards 2015-04-26 18:47 GMT+02:00 Beno?t Minisini : > Le 26/04/2015 18:42, Jorge Carri?n a ?crit : > > Ok. Thanks Benoit. > > > > If you don't want the intermediate shell, use EXEC. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Apr 26 22:57:38 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 26 Apr 2015 22:57:38 +0200 Subject: [Gambas-user] gb.util: Unit conversions In-Reply-To: <1430033682.3557.4.camel@...40...> References: <20150420212841.GE613@...2774...> <553BFC37.7010206@...1...> <20150425211323.GA564@...2774...> <1430033682.3557.4.camel@...40...> Message-ID: This is an example with an usefull class from gb.report... i have modified it to be more generic. the pixel convertion use the desktop.resolution value. 2015-04-26 9:34 GMT+02:00 Charlie Reinl : > Am Samstag, den 25.04.2015, 23:13 +0200 schrieb Tobias Boege: >> On Sat, 25 Apr 2015, Beno?t Minisini wrote: >> > Le 20/04/2015 23:28, Tobias Boege a ?crit : >> > > Hi Benoit, >> > > >> > > I have a quick feature suggestion for gb.util: when working with components >> > > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) >> > > to measure things, it would be nice to have a global module from somewhere >> > > official which implements those unit conversions. >> > > >> > > I am myself always uncertain with "graphical" units and if they could under >> > > any circumstances depend on resolutions or not. A bunch of working methods >> > > would be nice and gb.util is the right place for that it seems. >> > > >> > > Regards, >> > > Tobi >> > > >> > >> > I don't see what conversion you need exactly. Can you be more precise? >> > >> >> Things like px <-> mm <-> in. I'm sure there are a lot more unit conversions >> that people may find useful. Although I'm not sure anymore if it's a good >> idea to put those into a component, because it's basically multiplying by >> some constant... The thing is simply that these constants are not easy to >> memorise and sometimes they depend on some resolution or other factors of >> which people like me aren't aware. A conversion function in a component, >> once written by a clever person would come to the rescue then. >> >> Regards, >> Tobi >> > > Salut, > > what's about a conversions page on gambaswiki.org? > That would be one page about measure conversion more in the net, but > easy to find for gambas coder. > > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: SizeUnitConverterDemo-0.0.1.tar.gz Type: application/x-gzip Size: 6859 bytes Desc: not available URL: From adamnt42 at ...626... Mon Apr 27 00:45:36 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 27 Apr 2015 08:15:36 +0930 Subject: [Gambas-user] gb.util: Unit conversions In-Reply-To: <1430033682.3557.4.camel@...40...> References: <20150420212841.GE613@...2774...> <553BFC37.7010206@...1...> <20150425211323.GA564@...2774...> <1430033682.3557.4.camel@...40...> Message-ID: <20150427081536.84eb51ee33019441049fa12c@...626...> On Sun, 26 Apr 2015 09:34:42 +0200 Charlie Reinl wrote: > Am Samstag, den 25.04.2015, 23:13 +0200 schrieb Tobias Boege: > > On Sat, 25 Apr 2015, Beno?t Minisini wrote: > > > Le 20/04/2015 23:28, Tobias Boege a ?crit : > > > > Hi Benoit, > > > > > > > > I have a quick feature suggestion for gb.util: when working with components > > > > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) > > > > to measure things, it would be nice to have a global module from somewhere > > > > official which implements those unit conversions. > > > > > > > > I am myself always uncertain with "graphical" units and if they could under > > > > any circumstances depend on resolutions or not. A bunch of working methods > > > > would be nice and gb.util is the right place for that it seems. > > > > > > > > Regards, > > > > Tobi > > > > > > > > > > I don't see what conversion you need exactly. Can you be more precise? > > > > > > > Things like px <-> mm <-> in. I'm sure there are a lot more unit conversions > > that people may find useful. Although I'm not sure anymore if it's a good > > idea to put those into a component, because it's basically multiplying by > > some constant... The thing is simply that these constants are not easy to > > memorise and sometimes they depend on some resolution or other factors of > > which people like me aren't aware. A conversion function in a component, > > once written by a clever person would come to the rescue then. > > > > Regards, > > Tobi > > > > Salut, > > what's about a conversions page on gambaswiki.org? > That would be one page about measure conversion more in the net, but > easy to find for gambas coder. > > -- > Amicalement > Charlie > > Conversely, why re-invent the wheel? http://www.unitconversion.org/index.html hth bruce -- B Bruen From taboege at ...626... Mon Apr 27 07:45:22 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 27 Apr 2015 07:45:22 +0200 Subject: [Gambas-user] gb.util: Unit conversions In-Reply-To: <20150427081536.84eb51ee33019441049fa12c@...626...> References: <20150420212841.GE613@...2774...> <553BFC37.7010206@...1...> <20150425211323.GA564@...2774...> <1430033682.3557.4.camel@...40...> <20150427081536.84eb51ee33019441049fa12c@...626...> Message-ID: <20150427054522.GA626@...2774...> On Mon, 27 Apr 2015, adamnt42 at ...626... wrote: > On Sun, 26 Apr 2015 09:34:42 +0200 > Charlie Reinl wrote: > > > Am Samstag, den 25.04.2015, 23:13 +0200 schrieb Tobias Boege: > > > On Sat, 25 Apr 2015, Beno?t Minisini wrote: > > > > Le 20/04/2015 23:28, Tobias Boege a ?crit : > > > > > Hi Benoit, > > > > > > > > > > I have a quick feature suggestion for gb.util: when working with components > > > > > like gb.cairo which partially uses millimeters (e.g. CairoPdfSurface._new) > > > > > to measure things, it would be nice to have a global module from somewhere > > > > > official which implements those unit conversions. > > > > > > > > > > I am myself always uncertain with "graphical" units and if they could under > > > > > any circumstances depend on resolutions or not. A bunch of working methods > > > > > would be nice and gb.util is the right place for that it seems. > > > > > > > > > > Regards, > > > > > Tobi > > > > > > > > > > > > > I don't see what conversion you need exactly. Can you be more precise? > > > > > > > > > > Things like px <-> mm <-> in. I'm sure there are a lot more unit conversions > > > that people may find useful. Although I'm not sure anymore if it's a good > > > idea to put those into a component, because it's basically multiplying by > > > some constant... The thing is simply that these constants are not easy to > > > memorise and sometimes they depend on some resolution or other factors of > > > which people like me aren't aware. A conversion function in a component, > > > once written by a clever person would come to the rescue then. > > > > > > > Salut, > > > > what's about a conversions page on gambaswiki.org? > > That would be one page about measure conversion more in the net, but > > easy to find for gambas coder. > > > Conversely, why re-invent the wheel? > > http://www.unitconversion.org/index.html > Yes, I think I was being too lazy. Thanks Fabien for the project. The Convert class looks exactly like what I had in mind. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Apr 27 12:36:10 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 27 Apr 2015 12:36:10 +0200 Subject: [Gambas-user] Kubuntu 15.04 In-Reply-To: <1565505.Z2s3TXPzcW@...3359...> References: <1565505.Z2s3TXPzcW@...3359...> Message-ID: <553E111A.9000209@...1...> Le 26/04/2015 12:39, n.rogozarski at ...626... a ?crit : > Since I have never used Kubuntu, I wanted to try it. I installed Kubuntu > 15.04, it looks very modern and works well for now. I installed Gambas3.7.1, > and noticed some problems. > > 1. If I want to use gb.raport2 in qt4 project comes to a conflict between qt4 > and gb.gui component - (These components are incompatible:: gb.gui, gb.qt4.), > If I want to remove gb.gui then appears: "This component is required by > gb.report2 ". I have some previous projects using gb.report2 in qt project, > and they work well, but the problem arises when I create a new project. > The same problem occurs in GTK projects also, not only in qt projects. This is a bug in gb.report2. > > 2. Soon as I will run first form. In the console appears the following: > "Bus::open: Can not get ibus-daemon's address. > IBusInputContext :: createInputContext: no connection to ibus-daemon " > > Is there a solution for this problem, or I have to go back to another distro. This is not a gambas problem here. I have the same message sometimes with Ubuntu 14.10. I don't know if it is important. Regards, -- Beno?t Minisini From n.rogozarski at ...626... Mon Apr 27 18:30:46 2015 From: n.rogozarski at ...626... (n.rogozarski at ...626...) Date: Mon, 27 Apr 2015 18:30:46 +0200 Subject: [Gambas-user] Kubuntu 15.04 In-Reply-To: <553E111A.9000209@...1...> References: <1565505.Z2s3TXPzcW@...3359...> <553E111A.9000209@...1...> Message-ID: <1438389.h6CHm0XC9E@...3359...> On Monday, April 27, 2015 12:36:10 PM Beno?t Minisini wrote: > Le 26/04/2015 12:39, n.rogozarski at ...626... a ?crit : > > Since I have never used Kubuntu, I wanted to try it. I installed Kubuntu > > 15.04, it looks very modern and works well for now. I installed > > Gambas3.7.1, and noticed some problems. > > > > 1. If I want to use gb.raport2 in qt4 project comes to a conflict between > > qt4 and gb.gui component - (These components are incompatible:: gb.gui, > > gb.qt4.), If I want to remove gb.gui then appears: "This component is > > required by gb.report2 ". I have some previous projects using gb.report2 > > in qt project, and they work well, but the problem arises when I create a > > new project. The same problem occurs in GTK projects also, not only in qt > > projects. > This is a bug in gb.report2. > > > 2. Soon as I will run first form. In the console appears the following: > > "Bus::open: Can not get ibus-daemon's address. > > IBusInputContext :: createInputContext: no connection to ibus-daemon " > > > > Is there a solution for this problem, or I have to go back to another > > distro. > This is not a gambas problem here. I have the same message sometimes > with Ubuntu 14.10. I don't know if it is important. > > Regards, Benoit! Thanks for your response! From Karl.Reinl at ...2345... Mon Apr 27 19:41:11 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 27 Apr 2015 19:41:11 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <553CDC66.7070305@...69...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> Message-ID: <1430156471.4264.14.camel@...40...> Am Sonntag, den 26.04.2015, 14:39 +0200 schrieb Gian: > Il 24/04/2015 14:23, Gian ha scritto: > > Hello Benoit, > > Sorry if I let some criticism on the strategy gb.gui in this email. > > I state to be old and ignorant (to 16 years (1963) already around the > > world to work) and that I admire very much you and your collaborators, > > otherwise I would be silent. > > Ubuntu can represent for free software that Windows is for closed software. > > Ubuntu uses GTK and you love QT and that's OK. > > Gb.gui never completely properly worked, why insist? Is not better to > > abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that > > manage to combine the GTK with QT, explaining well the use to all > > shrimps, maybe helping them for installation? > > Thanks for the attention. > > Gianluigi > > > Hello Benoit, > I'm sorry if I offended you, it was not my intention. Quite the contrary. > I believe that the main feature of Gambas is the one that, with a few > clicks, we can get a GUI very effective and pleasant. > But if the GUI does not work... > I note that no one has commented on what I have written here, me wonder why? > Do not they want displease you? > Do not they use gb.gui (gb.gtk +)? > Do not they care if their code works with GTK? > They use Gambas only for fun or theoretical study? > They think that those who use Ubuntu is an idiot? > But perhaps it is more likely that having fought with these malfunctions > they have surrendered and now they use and do use a distro with KDE. > I really hope you understand that I am writing to build and not to destroy. > My best regards > Gianluigi > Salut Gianluigi, I stopped to use gtk/gui in my projects, because of these known problems. Sometimes for small test apps with a quick clicked new project I finish with a gui, but on the first problem I switch to qt. And I do not care at all, if my code works with GTK, yes! And actually I work with Ubuntu since 04.10 and with 06.06 I changed to LTS. -- Amicalement Charlie From gambas at ...1... Mon Apr 27 19:51:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 27 Apr 2015 19:51:00 +0200 Subject: [Gambas-user] upgrade applications in farm In-Reply-To: References: Message-ID: <553E7704.4000501@...1...> Le 25/04/2015 23:07, Julio Sanchez a ?crit : > Hello: > > I have uploaded several applications at the farm > I have new versions of some of them, how upgrade ? > > Regards, > > Julio Just publish them with their new version number. If the minor version is the same, then the new version will replace the old one. If the minor version is not the same, the farm server will keep the two versions. In other words, a software is identified by its name, its major version and its minor version. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Mon Apr 27 20:00:14 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 27 Apr 2015 21:00:14 +0300 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <553CDC66.7070305@...69...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> Message-ID: What does not work with GTK? Jussi On Sun, Apr 26, 2015 at 3:39 PM, Gian wrote: > Il 24/04/2015 14:23, Gian ha scritto: > > Hello Benoit, > > Sorry if I let some criticism on the strategy gb.gui in this email. > > I state to be old and ignorant (to 16 years (1963) already around the > > world to work) and that I admire very much you and your collaborators, > > otherwise I would be silent. > > Ubuntu can represent for free software that Windows is for closed > software. > > Ubuntu uses GTK and you love QT and that's OK. > > Gb.gui never completely properly worked, why insist? Is not better to > > abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that > > manage to combine the GTK with QT, explaining well the use to all > > shrimps, maybe helping them for installation? > > Thanks for the attention. > > Gianluigi > > > > > ------------------------------------------------------------------------------ > > One dashboard for servers and applications across Physical-Virtual-Cloud > > Widest out-of-the-box monitoring support with 50+ applications > > Performance metrics, stats and reports that give you Actionable Insights > > Deep dive visibility with transaction tracing using APM Insight. > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > Hello Benoit, > I'm sorry if I offended you, it was not my intention. Quite the contrary. > I believe that the main feature of Gambas is the one that, with a few > clicks, we can get a GUI very effective and pleasant. > But if the GUI does not work... > I note that no one has commented on what I have written here, me wonder > why? > Do not they want displease you? > Do not they use gb.gui (gb.gtk +)? > Do not they care if their code works with GTK? > They use Gambas only for fun or theoretical study? > They think that those who use Ubuntu is an idiot? > But perhaps it is more likely that having fought with these malfunctions > they have surrendered and now they use and do use a distro with KDE. > I really hope you understand that I am writing to build and not to destroy. > My best regards > Gianluigi > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Mon Apr 27 20:08:32 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 27 Apr 2015 20:08:32 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <1430156471.4264.14.camel@...40...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <1430156471.4264.14.camel@...40...> Message-ID: <20150427180832.GB626@...2774...> On Mon, 27 Apr 2015, Charlie Reinl wrote: > Am Sonntag, den 26.04.2015, 14:39 +0200 schrieb Gian: > > Il 24/04/2015 14:23, Gian ha scritto: > > > Hello Benoit, > > > Sorry if I let some criticism on the strategy gb.gui in this email. > > > I state to be old and ignorant (to 16 years (1963) already around the > > > world to work) and that I admire very much you and your collaborators, > > > otherwise I would be silent. > > > Ubuntu can represent for free software that Windows is for closed software. > > > Ubuntu uses GTK and you love QT and that's OK. > > > Gb.gui never completely properly worked, why insist? Is not better to > > > abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that > > > manage to combine the GTK with QT, explaining well the use to all > > > shrimps, maybe helping them for installation? > > > Thanks for the attention. > > > Gianluigi > > > > > > Hello Benoit, > > I'm sorry if I offended you, it was not my intention. Quite the contrary. > > I believe that the main feature of Gambas is the one that, with a few > > clicks, we can get a GUI very effective and pleasant. > > But if the GUI does not work... > > I note that no one has commented on what I have written here, me wonder why? I, for one, have not received your messages. I only saw them now, cited by Charlie. (?) > > Do not they use gb.gui (gb.gtk +)? > > Do not they care if their code works with GTK? I stopped caring about Gambas + GTK back in 2009 when I, as a 14 year old, simply found GTK to look bad on that old Ubuntu 9.04 -- and I remember that it was not as complete as gb.qt4 on some things. I have seldom touched the combination since then because I was never disappointed with gb.qt4. When I ran gb.gtk, it was (almost?) always only to inspect incompatibilities others found with gb.qt4. I don't use gb.gui at all. I always tick "Qt project" explicitly. Hans, whom I and two others write a book about Gambas with, quickly got on the same track. Actually one of the first sentences a reader would see on the front page of the book web site is that we consequently use gb.qt4 in all the projects. The only shame is that we never get around to report and fix the incompatibilities between gb.gtk(3) and gb.qt4 if everyone shut in before gb.gtk like me... > > They use Gambas only for fun or theoretical study? > > Yes, I do both and almost nothing except them. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagoneo at ...69... Mon Apr 27 20:30:33 2015 From: bagoneo at ...69... (Gian) Date: Mon, 27 Apr 2015 20:30:33 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <1430156471.4264.14.camel@...40...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <1430156471.4264.14.camel@...40...> Message-ID: <553E8049.1010801@...69...> Il 27/04/2015 19:41, Charlie Reinl ha scritto: > Am Sonntag, den 26.04.2015, 14:39 +0200 schrieb Gian: >> Il 24/04/2015 14:23, Gian ha scritto: >>> Hello Benoit, >>> Sorry if I let some criticism on the strategy gb.gui in this email. >>> I state to be old and ignorant (to 16 years (1963) already around the >>> world to work) and that I admire very much you and your collaborators, >>> otherwise I would be silent. >>> Ubuntu can represent for free software that Windows is for closed software. >>> Ubuntu uses GTK and you love QT and that's OK. >>> Gb.gui never completely properly worked, why insist? Is not better to >>> abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that >>> manage to combine the GTK with QT, explaining well the use to all >>> shrimps, maybe helping them for installation? >>> Thanks for the attention. >>> Gianluigi >>> > >> Hello Benoit, >> I'm sorry if I offended you, it was not my intention. Quite the contrary. >> I believe that the main feature of Gambas is the one that, with a few >> clicks, we can get a GUI very effective and pleasant. >> But if the GUI does not work... >> I note that no one has commented on what I have written here, me wonder why? >> Do not they want displease you? >> Do not they use gb.gui (gb.gtk +)? >> Do not they care if their code works with GTK? >> They use Gambas only for fun or theoretical study? >> They think that those who use Ubuntu is an idiot? >> But perhaps it is more likely that having fought with these malfunctions >> they have surrendered and now they use and do use a distro with KDE. >> I really hope you understand that I am writing to build and not to destroy. >> My best regards >> Gianluigi >> > Salut Gianluigi, > > I stopped to use gtk/gui in my projects, because of these known > problems. Sometimes for small test apps with a quick clicked new project > I finish with a gui, but on the first problem I switch to qt. > And I do not care at all, if my code works with GTK, yes! > And actually I work with Ubuntu since 04.10 and with 06.06 I changed to > LTS. > Hello Charlie, Also I do so, I use exclusively Qt and I do the test on Ubuntu with installed Qt Configurations and two simple settings: Tab Appearance on Plastique and Tab Fonts on Ubuntu 11 Regular. Phil's application appears correctly colored as attached. Thanks to the precious suggestion of Ron Klinkien after a year I also see the Gambas warning :) Even you are using Qt Configuration or use another strategy? Regards Gianluigi From bagoneo at ...69... Mon Apr 27 21:22:23 2015 From: bagoneo at ...69... (Gian) Date: Mon, 27 Apr 2015 21:22:23 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> Message-ID: <553E8C6F.4000107@...69...> Il 27/04/2015 20:00, Jussi Lahtinen ha scritto: > What does not work with GTK? > > > Jussi Let's say a little all, see attached, forgotten before Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Trittico.png Type: image/png Size: 57011 bytes Desc: not available URL: From bagoneo at ...69... Mon Apr 27 21:23:40 2015 From: bagoneo at ...69... (Gian) Date: Mon, 27 Apr 2015 21:23:40 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <20150427180832.GB626@...2774...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <1430156471.4264.14.camel@...40...> <20150427180832.GB626@...2774...> Message-ID: <553E8CBC.5050406@...69...> Il 27/04/2015 20:08, Tobias Boege ha scritto: > On Mon, 27 Apr 2015, Charlie Reinl wrote: >> Am Sonntag, den 26.04.2015, 14:39 +0200 schrieb Gian: >>> Il 24/04/2015 14:23, Gian ha scritto: >>>> Hello Benoit, >>>> Sorry if I let some criticism on the strategy gb.gui in this email. >>>> I state to be old and ignorant (to 16 years (1963) already around the >>>> world to work) and that I admire very much you and your collaborators, >>>> otherwise I would be silent. >>>> Ubuntu can represent for free software that Windows is for closed software. >>>> Ubuntu uses GTK and you love QT and that's OK. >>>> Gb.gui never completely properly worked, why insist? Is not better to >>>> abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that >>>> manage to combine the GTK with QT, explaining well the use to all >>>> shrimps, maybe helping them for installation? >>>> Thanks for the attention. >>>> Gianluigi >>>> >> >>> Hello Benoit, >>> I'm sorry if I offended you, it was not my intention. Quite the contrary. >>> I believe that the main feature of Gambas is the one that, with a few >>> clicks, we can get a GUI very effective and pleasant. >>> But if the GUI does not work... >>> I note that no one has commented on what I have written here, me wonder why? > > I, for one, have not received your messages. I only saw them now, cited by > Charlie. (?) > >>> Do not they use gb.gui (gb.gtk +)? >>> Do not they care if their code works with GTK? > > I stopped caring about Gambas + GTK back in 2009 when I, as a 14 year old, > simply found GTK to look bad on that old Ubuntu 9.04 -- and I remember that > it was not as complete as gb.qt4 on some things. > > I have seldom touched the combination since then because I was never > disappointed with gb.qt4. When I ran gb.gtk, it was (almost?) always only to > inspect incompatibilities others found with gb.qt4. I don't use gb.gui at > all. I always tick "Qt project" explicitly. > > Hans, whom I and two others write a book about Gambas with, quickly got on > the same track. Actually one of the first sentences a reader would see on > the front page of the book web site is that we consequently use gb.qt4 in > all the projects. > > The only shame is that we never get around to report and fix the > incompatibilities between gb.gtk(3) and gb.qt4 if everyone shut in before > gb.gtk like me... > >>> They use Gambas only for fun or theoretical study? >>> > > Yes, I do both and almost nothing except them. > > Regards, > Tobi > Sorry Tobias I understand correctly? You're only 20 years? But you're very good my warmest congratulations. I know the German book despite the difficulties thanks to Google, I learned something. You who uses tricks to show good Qt in desktop Gtk? Regards Gianluigi From Karl.Reinl at ...2345... Mon Apr 27 22:16:37 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 27 Apr 2015 22:16:37 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <553E8049.1010801@...69...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <1430156471.4264.14.camel@...40...> <553E8049.1010801@...69...> Message-ID: <1430165797.4264.25.camel@...40...> Am Montag, den 27.04.2015, 20:30 +0200 schrieb Gian: > Il 27/04/2015 19:41, Charlie Reinl ha scritto: > > Am Sonntag, den 26.04.2015, 14:39 +0200 schrieb Gian: > >> Il 24/04/2015 14:23, Gian ha scritto: > >>> Hello Benoit, > >>> Sorry if I let some criticism on the strategy gb.gui in this email. > >>> I state to be old and ignorant (to 16 years (1963) already around the > >>> world to work) and that I admire very much you and your collaborators, > >>> otherwise I would be silent. > >>> Ubuntu can represent for free software that Windows is for closed software. > >>> Ubuntu uses GTK and you love QT and that's OK. > >>> Gb.gui never completely properly worked, why insist? Is not better to > >>> abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that > >>> manage to combine the GTK with QT, explaining well the use to all > >>> shrimps, maybe helping them for installation? > >>> Thanks for the attention. > >>> Gianluigi > >>> > > > >> Hello Benoit, > >> I'm sorry if I offended you, it was not my intention. Quite the contrary. > >> I believe that the main feature of Gambas is the one that, with a few > >> clicks, we can get a GUI very effective and pleasant. > >> But if the GUI does not work... > >> I note that no one has commented on what I have written here, me wonder why? > >> Do not they want displease you? > >> Do not they use gb.gui (gb.gtk +)? > >> Do not they care if their code works with GTK? > >> They use Gambas only for fun or theoretical study? > >> They think that those who use Ubuntu is an idiot? > >> But perhaps it is more likely that having fought with these malfunctions > >> they have surrendered and now they use and do use a distro with KDE. > >> I really hope you understand that I am writing to build and not to destroy. > >> My best regards > >> Gianluigi > >> > > Salut Gianluigi, > > > > I stopped to use gtk/gui in my projects, because of these known > > problems. Sometimes for small test apps with a quick clicked new project > > I finish with a gui, but on the first problem I switch to qt. > > And I do not care at all, if my code works with GTK, yes! > > And actually I work with Ubuntu since 04.10 and with 06.06 I changed to > > LTS. > > > > Hello Charlie, > Also I do so, I use exclusively Qt and I do the test on Ubuntu with > installed Qt Configurations and two simple settings: Tab Appearance on > Plastique and Tab Fonts on Ubuntu 11 Regular. > Phil's application appears correctly colored as attached. > Thanks to the precious suggestion of Ron Klinkien after a year I also > see the Gambas warning :) > Even you are using Qt Configuration or use another strategy? > Regards > Gianluigi Salut Gianluigi, yes, I use Qt Configuration, but for nice screenshuts I use a KDE distro, mostly a SuSE. -- Amicalement Charlie From jusabejusabe at ...626... Mon Apr 27 22:30:31 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Mon, 27 Apr 2015 22:30:31 +0200 Subject: [Gambas-user] upgrade applications in farm In-Reply-To: <553E7704.4000501@...1...> References: <553E7704.4000501@...1...> Message-ID: Beno?t Minisini: ok, thanks Regards, Julio 2015-04-27 19:51 GMT+02:00 Beno?t Minisini : > Le 25/04/2015 23:07, Julio Sanchez a ?crit : > > Hello: > > > > I have uploaded several applications at the farm > > I have new versions of some of them, how upgrade ? > > > > Regards, > > > > Julio > > Just publish them with their new version number. > > If the minor version is the same, then the new version will replace the > old one. If the minor version is not the same, the farm server will keep > the two versions. > > In other words, a software is identified by its name, its major version > and its minor version. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Mon Apr 27 22:49:52 2015 From: bagoneo at ...69... (Gian) Date: Mon, 27 Apr 2015 22:49:52 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <20150427180832.GB626@...2774...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <1430156471.4264.14.camel@...40...> <20150427180832.GB626@...2774...> Message-ID: <553EA0F0.3020808@...69...> Il 27/04/2015 20:08, Tobias Boege ha scritto: > Yes, I do both and almost nothing except them. > > Regards, > Tobi Hello Tobias, Gambas, as VB, is able to aid the work of very small and micro enterprises if Benoit solves these little problems that afflict it. All programming languages have bugs. Maintain gb.gui for me it's too complicated, dispersive. Regards Gianluigi From bagoneo at ...69... Mon Apr 27 22:53:07 2015 From: bagoneo at ...69... (Gian) Date: Mon, 27 Apr 2015 22:53:07 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <1430165797.4264.25.camel@...40...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <1430156471.4264.14.camel@...40...> <553E8049.1010801@...69...> <1430165797.4264.25.camel@...40...> Message-ID: <553EA1B3.1070106@...69...> Il 27/04/2015 22:16, Charlie Reinl ha scritto: > Am Montag, den 27.04.2015, 20:30 +0200 schrieb Gian: >> Il 27/04/2015 19:41, Charlie Reinl ha scritto: >>> Am Sonntag, den 26.04.2015, 14:39 +0200 schrieb Gian: >>>> Il 24/04/2015 14:23, Gian ha scritto: >>>>> Hello Benoit, >>>>> Sorry if I let some criticism on the strategy gb.gui in this email. >>>>> I state to be old and ignorant (to 16 years (1963) already around the >>>>> world to work) and that I admire very much you and your collaborators, >>>>> otherwise I would be silent. >>>>> Ubuntu can represent for free software that Windows is for closed software. >>>>> Ubuntu uses GTK and you love QT and that's OK. >>>>> Gb.gui never completely properly worked, why insist? Is not better to >>>>> abandon gb.gui, gb.gtk2, gb.gtk3 and focusing on those software that >>>>> manage to combine the GTK with QT, explaining well the use to all >>>>> shrimps, maybe helping them for installation? >>>>> Thanks for the attention. >>>>> Gianluigi >>>>> >>> >>>> Hello Benoit, >>>> I'm sorry if I offended you, it was not my intention. Quite the contrary. >>>> I believe that the main feature of Gambas is the one that, with a few >>>> clicks, we can get a GUI very effective and pleasant. >>>> But if the GUI does not work... >>>> I note that no one has commented on what I have written here, me wonder why? >>>> Do not they want displease you? >>>> Do not they use gb.gui (gb.gtk +)? >>>> Do not they care if their code works with GTK? >>>> They use Gambas only for fun or theoretical study? >>>> They think that those who use Ubuntu is an idiot? >>>> But perhaps it is more likely that having fought with these malfunctions >>>> they have surrendered and now they use and do use a distro with KDE. >>>> I really hope you understand that I am writing to build and not to destroy. >>>> My best regards >>>> Gianluigi >>>> >>> Salut Gianluigi, >>> >>> I stopped to use gtk/gui in my projects, because of these known >>> problems. Sometimes for small test apps with a quick clicked new project >>> I finish with a gui, but on the first problem I switch to qt. >>> And I do not care at all, if my code works with GTK, yes! >>> And actually I work with Ubuntu since 04.10 and with 06.06 I changed to >>> LTS. >>> >> >> Hello Charlie, >> Also I do so, I use exclusively Qt and I do the test on Ubuntu with >> installed Qt Configurations and two simple settings: Tab Appearance on >> Plastique and Tab Fonts on Ubuntu 11 Regular. >> Phil's application appears correctly colored as attached. >> Thanks to the precious suggestion of Ron Klinkien after a year I also >> see the Gambas warning :) >> Even you are using Qt Configuration or use another strategy? >> Regards >> Gianluigi > > Salut Gianluigi, > > yes, I use Qt Configuration, but for nice screenshuts I use a KDE > distro, mostly a SuSE. > Hello Charlie, You're right KDE is more beautiful, but Ubuntu with Unity is easy to use and you must find the right way to work with it. Regards (and Good Night) Gianluigi From jussi.lahtinen at ...626... Mon Apr 27 23:42:18 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 28 Apr 2015 00:42:18 +0300 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <553E8C6F.4000107@...69...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> Message-ID: Can you send the source codes, so I could test this on my computer? Jussi On Mon, Apr 27, 2015 at 10:22 PM, Gian wrote: > Il 27/04/2015 20:00, Jussi Lahtinen ha scritto: > >> What does not work with GTK? >> >> >> Jussi >> > > Let's say a little all, see attached, forgotten before > Regards > Gianluigi > > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From fmfdario at ...626... Tue Apr 28 01:03:13 2015 From: fmfdario at ...626... (Francisco Martinez) Date: Tue, 28 Apr 2015 01:03:13 +0200 Subject: [Gambas-user] Gambas, Lubuntu 15.04, problem with language in the IDE. Message-ID: <553EC031.7050007@...626...> Hello. Sorry if I had duplicate this message. O:-) I have a problem with the language in Gambas3.I can not see the language of the IDE in spanish of Spain, but i can see the help in spanish. I've been doing various tests. And I've managed to see language in italian and spanish of Mexico, without problems. [System] gambas =3.7.1 OperatingSystem=Linux Kernel=3.19.0-15-generic Architecture=x86 Distribution=Ubuntu 15.04 Desktop=LXDE Theme=QGtk Language=it_IT.UTF-8 Memory=1001M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+3=libgtk-3.so.0.1400.12 GTK+=libgtk-x11-2.0.so.0.2400.27 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Poppler=libpoppler.so.49.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Locales: LANG=es_ES.UTF-8 LANGUAGE=es_ES:en_GB:en LC_CTYPE="es_ES.UTF-8" LC_NUMERIC=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 LC_COLLATE="es_ES.UTF-8" LC_MONETARY=es_ES.UTF-8 LC_MESSAGES="es_ES.UTF-8" LC_PAPER=es_ES.UTF-8 LC_NAME=es_ES.UTF-8 LC_ADDRESS=es_ES.UTF-8 LC_TELEPHONE=es_ES.UTF-8 LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=es_ES.UTF-8 LC_ALL= I think it's a problem on Ubuntu,Lubuntu, but in Linux Mint there isn't problem. This problem does not happen if I install gambas from Lubuntu 15.04. (Gambas 3.5) Best regards. From bagoneo at ...69... Tue Apr 28 09:50:34 2015 From: bagoneo at ...69... (Gian) Date: Tue, 28 Apr 2015 09:50:34 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> Message-ID: <553F3BCA.3070200@...69...> Il 27/04/2015 23:42, Jussi Lahtinen ha scritto: > Can you send the source codes, so I could test this on my computer? > > > Jussi > > On Mon, Apr 27, 2015 at 10:22 PM, Gian wrote: > >> Il 27/04/2015 20:00, Jussi Lahtinen ha scritto: >> >>> What does not work with GTK? >>> >>> >>> Jussi >>> >> >> Let's say a little all, see attached, forgotten before >> Regards >> Gianluigi >> >> >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hello Jussi, sorry for the delay in the response but the old shrimp go to sleep early :) and apologize even if I assumed you knew that NewProject Phil is in the Software Farm. It is an example for shrimp's start, there is not much code is used to show the features of the GUI. Regards Gianluigi From jussi.lahtinen at ...626... Tue Apr 28 16:39:33 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 28 Apr 2015 17:39:33 +0300 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <553F3BCA.3070200@...69...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> <553F3BCA.3070200@...69...> Message-ID: OK, I tested it with revision 7046. See attached screenshots. I don't see any problems! The form color is bit different, but that is because it is set as "TooltipBackground", which I think is defined differently in Qt4 and GTK+. Not bug, it only follows the used theme. I think there is some messed up theme in your computer. Jussi On Tue, Apr 28, 2015 at 10:50 AM, Gian wrote: > Il 27/04/2015 23:42, Jussi Lahtinen ha scritto: > > Can you send the source codes, so I could test this on my computer? > > > > > > Jussi > > > > On Mon, Apr 27, 2015 at 10:22 PM, Gian wrote: > > > >> Il 27/04/2015 20:00, Jussi Lahtinen ha scritto: > >> > >>> What does not work with GTK? > >>> > >>> > >>> Jussi > >>> > >> > >> Let's say a little all, see attached, forgotten before > >> Regards > >> Gianluigi > >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> One dashboard for servers and applications across Physical-Virtual-Cloud > >> Widest out-of-the-box monitoring support with 50+ applications > >> Performance metrics, stats and reports that give you Actionable Insights > >> Deep dive visibility with transaction tracing using APM Insight. > >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > ------------------------------------------------------------------------------ > > One dashboard for servers and applications across Physical-Virtual-Cloud > > Widest out-of-the-box monitoring support with 50+ applications > > Performance metrics, stats and reports that give you Actionable Insights > > Deep dive visibility with transaction tracing using APM Insight. > > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Hello Jussi, > sorry for the delay in the response but the old shrimp go to sleep early > :) and apologize even if I assumed you knew that NewProject Phil is in > the Software Farm. > It is an example for shrimp's start, there is not much code is used to > show the features of the GUI. > Regards > Gianluigi > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot-gtk.png Type: image/png Size: 36190 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot-qt4.png Type: image/png Size: 39122 bytes Desc: not available URL: From bagoneo at ...69... Tue Apr 28 17:39:37 2015 From: bagoneo at ...69... (Gian) Date: Tue, 28 Apr 2015 17:39:37 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> <553F3BCA.3070200@...69...> Message-ID: <553FA9B9.9010005@...69...> Il 28/04/2015 16:39, Jussi Lahtinen ha scritto: > OK, I tested it with revision 7046. See attached screenshots. I don't see > any problems! > The form color is bit different, but that is because it is set as > "TooltipBackground", which I think is defined differently in Qt4 and GTK+. > Not bug, it only follows the used theme. > > I think there is some messed up theme in your computer. > > > Jussi I see no original Ubuntu Unity Ambiance in your images. I do not think that my Ubuntu is messed up because three different operating systems on three different computers all messed seems unrealistic. Here the previous post[0] Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Possible-malfunction-3-7-1-PPA-amp-Trunk-td51362.html From nigelverity at ...67... Wed Apr 29 09:34:08 2015 From: nigelverity at ...67... (Nigel Verity) Date: Wed, 29 Apr 2015 08:34:08 +0100 Subject: [Gambas-user] Buffer Monitoring Message-ID: Hi I'm planning to write an application in Gambas to support a study of the efficiency of various user interface designs. To do that I will need to monitor mouse clicks in conjunction with the mouse position, and keyboard inputs. This is, of course, simple within a Gambas application but what about when another application has focus? Is there any way to have a Gambas application running minimised but monitoring the keyboard buffer and mouse events regardless of which application has focus? Thanks Nige From taboege at ...626... Wed Apr 29 09:35:51 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Apr 2015 09:35:51 +0200 Subject: [Gambas-user] Buffer Monitoring In-Reply-To: References: Message-ID: <20150429073551.GA574@...2774...> On Wed, 29 Apr 2015, Nigel Verity wrote: > Hi > > I'm planning to write an application in Gambas to support a study of the efficiency of various user interface designs. To do that I will need to monitor mouse clicks in conjunction with the mouse position, and keyboard inputs. This is, of course, simple within a Gambas application but what about when another application has focus? > > Is there any way to have a Gambas application running minimised but monitoring the keyboard buffer and mouse events regardless of which application has focus? > I don't think there is something built-in for this. You can look at how keyloggers monitor the keyboard. Maybe something similar exists for the mouse. Needless to say that your application will have to run with root privileges. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Apr 29 10:04:45 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Apr 2015 10:04:45 +0200 Subject: [Gambas-user] Buffer Monitoring In-Reply-To: <20150429073551.GA574@...2774...> References: <20150429073551.GA574@...2774...> Message-ID: <5540909D.7060302@...1...> Le 29/04/2015 09:35, Tobias Boege a ?crit : > On Wed, 29 Apr 2015, Nigel Verity wrote: >> Hi >> >> I'm planning to write an application in Gambas to support a study of the efficiency of various user interface designs. To do that I will need to monitor mouse clicks in conjunction with the mouse position, and keyboard inputs. This is, of course, simple within a Gambas application but what about when another application has focus? >> >> Is there any way to have a Gambas application running minimised but monitoring the keyboard buffer and mouse events regardless of which application has focus? >> > > I don't think there is something built-in for this. You can look at how > keyloggers monitor the keyboard. Maybe something similar exists for the > mouse. Needless to say that your application will have to run with root > privileges. > > Regards, > Tobi > Not with X11, where any application can catch all events on its display! But this will change with Wayland... -- Beno?t Minisini From jussi.lahtinen at ...626... Wed Apr 29 16:00:40 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 29 Apr 2015 17:00:40 +0300 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <553FA9B9.9010005@...69...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> <553F3BCA.3070200@...69...> <553FA9B9.9010005@...69...> Message-ID: So, maybe there are incompatibilities with the Ambiance theme. Can you see this problem with any other theme? Jussi On Tue, Apr 28, 2015 at 6:39 PM, Gian wrote: > Il 28/04/2015 16:39, Jussi Lahtinen ha scritto: > > OK, I tested it with revision 7046. See attached screenshots. I don't see > > any problems! > > The form color is bit different, but that is because it is set as > > "TooltipBackground", which I think is defined differently in Qt4 and > GTK+. > > Not bug, it only follows the used theme. > > > > I think there is some messed up theme in your computer. > > > > > > Jussi > > I see no original Ubuntu Unity Ambiance in your images. > I do not think that my Ubuntu is messed up because three different > operating systems on three different computers all messed seems > unrealistic. > Here the previous post[0] > > Regards > Gianluigi > > [0] > > http://gambas.8142.n7.nabble.com/Possible-malfunction-3-7-1-PPA-amp-Trunk-td51362.html > > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Wed Apr 29 17:28:23 2015 From: bagoneo at ...69... (Gian) Date: Wed, 29 Apr 2015 17:28:23 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> <553F3BCA.3070200@...69...> <553FA9B9.9010005@...69...> Message-ID: <5540F897.6050204@...69...> Il 29/04/2015 16:00, Jussi Lahtinen ha scritto: > So, maybe there are incompatibilities with the Ambiance theme. Can you see > this problem with any other theme? > > > Jussi Hello Jussi, Ubuntu does not have pre-installed themes on which to play, since there is Unity *the* theme is Ambiance. So if we want to give at Ubuntu's user our application we have to choose other ways different from the Gnome's themes. As said I choose this system: I use only QT and then install in the Ubuntu of the user the Qt Configuration and choose a theme that I like (Plastique). As you can see from the answers I am not the only one who abandoned gb.gui. I try just for the spirit of service otherwise no one would talk more malfunctions. I can understand that to many people the policy of Canonical does not go well, and I understand those love KDE but Ubuntu is too widespread, especially in businesses to disregard it. With Mir to play on the themes in Ubuntu is impassable at the moment but I think in the future too. Regards Gianluigi From jussi.lahtinen at ...626... Wed Apr 29 20:03:46 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 29 Apr 2015 21:03:46 +0300 Subject: [Gambas-user] A question on gb.gui In-Reply-To: <5540F897.6050204@...69...> References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> <553F3BCA.3070200@...69...> <553FA9B9.9010005@...69...> <5540F897.6050204@...69...> Message-ID: OK, I installed Ubuntu 14.04.2 LTS to virtualbox, and now I understand the "issue". The form color you have chosen makes the controls seems broken, but actually they all work perfectly. Ubuntu default scrollbar is pretty weird, but it works. So I changed the form color. See screenshot 2. But Ubuntu does have three pre-installed themes (Ambiance, Radiance and High-Contrast)! Here is your original project without modifications with High-contrast theme, see screenshot 3. The "Button 1" text is not completely visible, because you made the label bit too small, also different themes use different font sizes. So. There doesn't seem to be absolutely anything wrong with Gambas. Jussi On Wed, Apr 29, 2015 at 6:28 PM, Gian wrote: > Il 29/04/2015 16:00, Jussi Lahtinen ha scritto: > > So, maybe there are incompatibilities with the Ambiance theme. Can you > see > > this problem with any other theme? > > > > > > Jussi > > Hello Jussi, > Ubuntu does not have pre-installed themes on which to play, since there > is Unity *the* theme is Ambiance. > So if we want to give at Ubuntu's user our application we have to choose > other ways different from the Gnome's themes. > As said I choose this system: I use only QT and then install in the > Ubuntu of the user the Qt Configuration and choose a theme that I like > (Plastique). > As you can see from the answers I am not the only one who abandoned gb.gui. > I try just for the spirit of service otherwise no one would talk more > malfunctions. > I can understand that to many people the policy of Canonical does not go > well, and I understand those love KDE but Ubuntu is too widespread, > especially in businesses to disregard it. > With Mir to play on the themes in Ubuntu is impassable at the moment but > I think in the future too. > > Regards > Gianluigi > > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot2-gtk.jpg Type: image/jpeg Size: 112773 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot3-gtk.jpg Type: image/jpeg Size: 117973 bytes Desc: not available URL: From bagoneo at ...69... Wed Apr 29 21:11:33 2015 From: bagoneo at ...69... (Gian) Date: Wed, 29 Apr 2015 21:11:33 +0200 Subject: [Gambas-user] A question on gb.gui In-Reply-To: References: <553A35D6.6000904@...69...> <553CDC66.7070305@...69...> <553E8C6F.4000107@...69...> <553F3BCA.3070200@...69...> <553FA9B9.9010005@...69...> <5540F897.6050204@...69...> Message-ID: <55412CE5.3090605@...69...> Il 29/04/2015 20:03, Jussi Lahtinen ha scritto: > OK, I installed Ubuntu 14.04.2 LTS to virtualbox, and now I understand the > "issue". > The form color you have chosen makes the controls seems broken, but > actually they all work perfectly. > Ubuntu default scrollbar is pretty weird, but it works. So I changed the > form color. See screenshot 2. > > But Ubuntu does have three pre-installed themes (Ambiance, Radiance and > High-Contrast)! > Here is your original project without modifications with High-contrast > theme, see screenshot 3. > > The "Button 1" text is not completely visible, because you made the label > bit too small, also different themes use different font sizes. > > So. There doesn't seem to be absolutely anything wrong with Gambas. > > > Jussi > > > > On Wed, Apr 29, 2015 at 6:28 PM, Gian wrote: > >> Il 29/04/2015 16:00, Jussi Lahtinen ha scritto: >>> So, maybe there are incompatibilities with the Ambiance theme. Can you >> see >>> this problem with any other theme? >>> >>> >>> Jussi >> >> Hello Jussi, >> Ubuntu does not have pre-installed themes on which to play, since there >> is Unity *the* theme is Ambiance. >> So if we want to give at Ubuntu's user our application we have to choose >> other ways different from the Gnome's themes. >> As said I choose this system: I use only QT and then install in the >> Ubuntu of the user the Qt Configuration and choose a theme that I like >> (Plastique). >> As you can see from the answers I am not the only one who abandoned gb.gui. >> I try just for the spirit of service otherwise no one would talk more >> malfunctions. >> I can understand that to many people the policy of Canonical does not go >> well, and I understand those love KDE but Ubuntu is too widespread, >> especially in businesses to disregard it. >> With Mir to play on the themes in Ubuntu is impassable at the moment but >> I think in the future too. >> >> Regards >> Gianluigi >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user Hello Jussi, I apologize for all the work caused, I apologize also not be visually impaired or I would have noticed immediately that gb.gui works well. Only I'd like to clarify this, the project FirstProject not mine, is of Mr. Phil I found in the Software Farm and I limited myself to look at him. Regards Gianluigi From n.rogozarski at ...626... Thu Apr 30 15:53:59 2015 From: n.rogozarski at ...626... (n.rogozarski at ...626...) Date: Thu, 30 Apr 2015 15:53:59 +0200 Subject: [Gambas-user] Problem with gb.report2 Message-ID: <9055676.LeplZCYSXz@...3359...> In one of my previous email, Benoit replied that in gb.report2 has Bug. *_Indeed, gb.report2 only works with gb.gui._* Will there be a solution to the problem. ??? I have several *qt projects *that use gb.report. Previously they work great, and I would like to continue to use it for my reports. From gambas at ...1... Thu Apr 30 16:05:51 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Apr 2015 16:05:51 +0200 Subject: [Gambas-user] Problem with gb.report2 In-Reply-To: <9055676.LeplZCYSXz@...3359...> References: <9055676.LeplZCYSXz@...3359...> Message-ID: <554236BF.6010009@...1...> Le 30/04/2015 15:53, n.rogozarski at ...626... a ?crit : > In one of my previous email, Benoit replied that in > gb.report2 has Bug. *_Indeed, gb.report2 only works > with gb.gui._* > Will there be a solution to the problem. ??? > I have several *qt projects *that use gb.report. > Previously they work great, and I would like to continue > to use it for my reports. The component dependencies have been fixed with in revison #7408, and the fix will backported in a future 3.7.2 release as soon as possible. Regards, -- Beno?t Minisini From gambas at ...1... Thu Apr 30 16:10:49 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Apr 2015 16:10:49 +0200 Subject: [Gambas-user] Problem with gb.report2 In-Reply-To: <554236BF.6010009@...1...> References: <9055676.LeplZCYSXz@...3359...> <554236BF.6010009@...1...> Message-ID: <554237E9.6010409@...1...> Le 30/04/2015 16:05, Beno?t Minisini a ?crit : > Le 30/04/2015 15:53, n.rogozarski at ...626... a ?crit : >> In one of my previous email, Benoit replied that in >> gb.report2 has Bug. *_Indeed, gb.report2 only works >> with gb.gui._* >> Will there be a solution to the problem. ??? >> I have several *qt projects *that use gb.report. >> Previously they work great, and I would like to continue >> to use it for my reports. > > The component dependencies have been fixed with in revison #7408, and > the fix will backported in a future 3.7.2 release as soon as possible. . /|\ | be -----------' > > Regards, > -- Beno?t Minisini From n.rogozarski at ...626... Thu Apr 30 16:13:03 2015 From: n.rogozarski at ...626... (n.rogozarski at ...626...) Date: Thu, 30 Apr 2015 16:13:03 +0200 Subject: [Gambas-user] Problem with gb.report2 In-Reply-To: <554236BF.6010009@...1...> References: <9055676.LeplZCYSXz@...3359...> <554236BF.6010009@...1...> Message-ID: <2642350.05ZMf4a737@...3359...> On Thursday, April 30, 2015 04:05:51 PM Beno?t Minisini wrote: > Le 30/04/2015 15:53, n.rogozarski at ...626... a ?crit : > > In one of my previous email, Benoit replied that in > > gb.report2 has Bug. *_Indeed, gb.report2 only works > > with gb.gui._* > > Will there be a solution to the problem. ??? > > I have several *qt projects *that use gb.report. > > Previously they work great, and I would like to continue > > to use it for my reports. > > The component dependencies have been fixed with in revison #7408, and > the fix will backported in a future 3.7.2 release as soon as possible. > > Regards, Thanks Benoit for your quick response, I will be patient From filipsnew at ...626... Thu Apr 30 22:06:05 2015 From: filipsnew at ...626... (Filippo Casati) Date: Thu, 30 Apr 2015 22:06:05 +0200 Subject: [Gambas-user] Packaging problem: as freely distribute a GB program? Message-ID: Hi, I have the latest version Gambas. I would like to create a package to deploy a program (having selected as Project Type the type Graphical Application) on platforms with Ubuntu 14.04. Currently, I have Gambas on Xubuntu 14.04, and I created here the package automatically via the Gambas widget. In the end, I am informed that the creation was successful, then going to the folder where the package files are present, I see that these are three .deb files, four .gz files, and further text files (with extensions .dsc, .changes). When I right-click and choose "Open With Gdebi" on the .deb, it happens at the end this error *Error: Dependency is not satisfiable: gambas3-runtime(>=3.7)* Same thing if I choose to go through the Ubuntu repositories (Ubuntu Software Center). Can you tell me what it depends on this issue? Currently I cannot package applications written in Gambas, but only run them through the "Create executable" menu, that requires the presence of Gambas in the system. Best regards, Fabiano *MY SYSTEM + GAMBAS VERSION INFORMATIONS * [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-30-generic Architecture=x86 Distribution=Ubuntu 14.04.2 LTS Desktop=XFCE Theme=QGtk Language=it_IT.UTF-8 Memory=2010M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From bagoneo at ...69... Thu Apr 30 22:28:58 2015 From: bagoneo at ...69... (Gian) Date: Thu, 30 Apr 2015 22:28:58 +0200 Subject: [Gambas-user] Packaging problem: as freely distribute a GB program? In-Reply-To: References: Message-ID: <5542908A.1000802@...69...> Il 30/04/2015 22:06, Filippo Casati ha scritto: > Hi, I have the latest version Gambas. I would like to create a package to > deploy a program (having selected as Project Type the type Graphical > Application) on platforms with Ubuntu 14.04. Currently, I have Gambas on > Xubuntu 14.04, and I created here the package automatically via the Gambas > widget. In the end, I am informed that the creation was successful, then > going to the folder where the package files are present, I see that these are > three .deb files, four .gz files, and further text files (with extensions > .dsc, .changes). When I right-click and choose "Open With Gdebi" on the > .deb, it happens at the end this error > > *Error: Dependency is not satisfiable: gambas3-runtime(>=3.7)* > > Same thing if I choose to go through the Ubuntu repositories (Ubuntu > Software Center). > Can you tell me what it depends on this issue? Currently I cannot > package applications > written in Gambas, but only run them through the "Create executable" menu, > that requires the presence of Gambas in the system. > > Best regards, Fabiano > > *MY SYSTEM + GAMBAS VERSION INFORMATIONS * > > [System] > Gambas=3.7.1 > OperatingSystem=Linux > Kernel=3.16.0-30-generic > Architecture=x86 > Distribution=Ubuntu 14.04.2 LTS > Desktop=XFCE > Theme=QGtk > Language=it_IT.UTF-8 > Memory=2010M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hello Fabiano, you can look here [0] HTH Gianluigi [0] http://www.gambas-it.org/smf/index.php?topic=3891.msg34922#msg34922 From bagoneo at ...69... Thu Apr 30 22:55:17 2015 From: bagoneo at ...69... (Gian) Date: Thu, 30 Apr 2015 22:55:17 +0200 Subject: [Gambas-user] Packaging problem: as freely distribute a GB program? In-Reply-To: <5542908A.1000802@...69...> References: <5542908A.1000802@...69...> Message-ID: <554296B5.9090804@...69...> Il 30/04/2015 22:28, Gian ha scritto: > Il 30/04/2015 22:06, Filippo Casati ha scritto: >> Hi, I have the latest version Gambas. I would like to create a package to >> deploy a program (having selected as Project Type the type Graphical >> Application) on platforms with Ubuntu 14.04. Currently, I have Gambas on >> Xubuntu 14.04, and I created here the package automatically via the Gambas >> widget. In the end, I am informed that the creation was successful, then >> going to the folder where the package files are present, I see that these are >> three .deb files, four .gz files, and further text files (with extensions >> .dsc, .changes). When I right-click and choose "Open With Gdebi" on the >> .deb, it happens at the end this error >> >> *Error: Dependency is not satisfiable: gambas3-runtime(>=3.7)* >> >> Same thing if I choose to go through the Ubuntu repositories (Ubuntu >> Software Center). >> Can you tell me what it depends on this issue? Currently I cannot >> package applications >> written in Gambas, but only run them through the "Create executable" menu, >> that requires the presence of Gambas in the system. >> >> Best regards, Fabiano >> >> *MY SYSTEM + GAMBAS VERSION INFORMATIONS * >> >> [System] >> Gambas=3.7.1 >> OperatingSystem=Linux >> Kernel=3.16.0-30-generic >> Architecture=x86 >> Distribution=Ubuntu 14.04.2 LTS >> Desktop=XFCE >> Theme=QGtk >> Language=it_IT.UTF-8 >> Memory=2010M >> [Libraries] >> Cairo=libcairo.so.2.11301.0 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.204.0 >> GTK+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> ------------------------------------------------------------------------------ >> One dashboard for servers and applications across Physical-Virtual-Cloud >> Widest out-of-the-box monitoring support with 50+ applications >> Performance metrics, stats and reports that give you Actionable Insights >> Deep dive visibility with transaction tracing using APM Insight. >> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > Hello Fabiano, > you can look here [0] > HTH > Gianluigi > > [0] http://www.gambas-it.org/smf/index.php?topic=3891.msg34922#msg34922 > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > For those who do not know Italian: The cause of the error is that the repositories of Ubuntu are 3.1.1 and you've created the program with 3.7. You must update the repository with the right PPA, stable or daily. Regards Gianluig