From eilert-sprachen at ...221... Tue Mar 1 12:43:01 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 01 Mar 2016 12:43:01 +0100 Subject: [Gambas-user] Trying Qt5 Message-ID: <56D58045.2050105@...221...> This is purely "just for fun", so please tell me if I try something impossible. As I was interested in Qt5 libraries for my somewhat older Linux, I downloaded the sources and browsed the documentation. The first thing I found was how to compile the source statically into $HOME/qt5. Having done so, I wonder how to compile and link the Gambas source to this version. Compiling Qt5, - "make" ran through flawlessly - I have not yet issued "make install" because it wasn't mentioned - is it necessary, anyway? If I am not completely on the wrong path up to here, what would be the necessary options to give for linking the Gambas sources to my personal qt5? Thanks for your advice! Regards Rolf From bugtracker at ...3416... Tue Mar 1 22:24:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 21:24:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #898: gambas3 does things wrong when prefix= (nothing) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.898&from=L21haW4- sab OTAGE reported a new bug. Summary ------- gambas3 does things wrong when prefix= (nothing) Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- if prefix= (nothing), that means stuff goes into /bin /lib /share etc. i.e. no /usr. however when looking for its components, gbi3, rather than searching for gbx executable via bindir from comilation, or in $PATH, starts its search with /usr/bin. since /usr exists as a symlink to / it finds it and then uses readlink on the gbx3 executable which results in ../opt/gambas3/bin/gbx3, since gambas3 was installed into /opt/gambas3 via DESTDIR and then symlinked into /. however /usr/bin/../opt does not exist so it fails. having fixed that with a hexeditor (changing all /usr/bin into /bin), it then wants to create a bunch of files in ../opt/gambas3/share/gambas3/info and fails, because it was not ran as root. (i'm trying to run these executables because /opt/gambas3/bin/gambas3 is a dead symlink to gambas3.gambas (which does not exist)) and the README does not say which binaries to run. From bugtracker at ...3416... Tue Mar 1 22:41:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 21:41:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #899: configure scripts missing Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.899&from=L21haW4- sab OTAGE reported a new bug. Summary ------- configure scripts missing Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- it's absolutely no problem for the maintainer to generate all configure scripts as part of the make dist process and ship a complete tarball. but it's a big burden for the user to generate them himself as he needs to have all the right versions of the autostuff tools and all the m4 macros. From bugtracker at ...3416... Tue Mar 1 22:49:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 21:49:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #900: cross compilation broken Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.900&from=L21haW4- sab OTAGE reported a new bug. Summary ------- cross compilation broken Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- everything seems to work fine, until gambas tries to execute the crosscompiled binary to do some stuff libtool: install: (cd /home/rofl/x-prefix/armv7hf/opt/gambas3/lib/gambas3 && { ln -s -f gb.so.0.0.0 gb.so || { rm -f gb.so && ln -s gb.so.0.0.0 gb.so; }; }) libtool: install: /bin/install -c .libs/gb.lai /home/rofl/x-prefix/armv7hf/opt/gambas3/lib/gambas3/gb.la libtool: warning: remember to run 'libtool --finish /lib/gambas3' make[4]: Leaving directory `/home/rofl/x-prefix/armv7hf/src/build/gambas3/gambas3-3.8.4/main/gbx' make[3]: Leaving directory `/home/rofl/x-prefix/armv7hf/src/build/gambas3/gambas3-3.8.4/main/gbx' Making install in . make[3]: Entering directory `/home/rofl/x-prefix/armv7hf/src/build/gambas3/gambas3-3.8.4/main' make[4]: Entering directory `/home/rofl/x-prefix/armv7hf/src/build/gambas3/gambas3-3.8.4/main' [Installing with DESTDIR=/home/rofl/x-prefix/armv7hf/opt/gambas3] Making runtime symbolic link Creating the information files for gb component... /bin/bash: /home/rofl/x-prefix/armv7hf/opt/gambas3/bin/gbi3: cannot execute binary file: Exec format error make[4]: *** [install-exec-local] Error 126 make[4]: Leaving directory `/home/rofl/x-prefix/armv7hf/src/build/gambas3/gambas3-3.8.4/main' of course, gbi3 is an arm binary so how could it work on my x86 ? possible solutions: - if x-compile is detected, build a host gbi3 and a target gbi3, install the target one and use the host one to create the information files... - or generate the information file from a portable shell script or a small single-purpose C program that was compiled for the host arch From bugtracker at ...3416... Tue Mar 1 23:17:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 22:17:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #898: gambas3 does things wrong when prefix= (nothing) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.898&from=L21haW4- Comment #1 by Beno?t MINISINI: Sorry, I don't understand your mess: if prefix is '/', then how can gambas3 be installed in '/opt/gambas3' ? From bugtracker at ...3416... Tue Mar 1 23:20:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 22:20:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #899: configure scripts missing In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.899&from=L21haW4- Comment #1 by Beno?t MINISINI: I never succeeded in making a source package with the configure scripts only that compiles everywhere without cryptic crashes in the configure script. This is the reason why the user has to reconfigure the package with the right version of autotools. If you know how to do that correctly, you are welcome! From bugtracker at ...3416... Tue Mar 1 23:25:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 22:25:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #900: cross compilation broken In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.900&from=L21haW4- Comment #1 by Beno?t MINISINI: The problem is that gbi3 must be an arm binary, because he has to analyse gambas components arm shared libraries to generate information files. I don't know how it could be possible to do that. As there is no difference in the component interfaces, whatever the architecture (and it shouldn't), a solution may be generating that stuff by analyzing the source code instead of the binaries. But then 'gbi3' will have to be compiled for the host, not the target. If you know how to do that, please tell me. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Wed Mar 2 00:14:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 23:14:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #898: gambas3 does things wrong when prefix= (nothing) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.898&from=L21haW4- Comment #2 by sab OTAGE: ./configure -C --prefix= --disable-nls \ --disable-bzlib2 \ --disable-mysql \ --disable-odbc \ --disable-postgresql \ --disable-sqlite2 \ --disable-sqlite3 \ --disable-curl \ --disable-mime \ --disable-pcre \ --disable-sdl \ --disable-sdlsound \ --disable-sdl2 \ --disable-libxml \ --disable-xml \ --disable-v4l \ --disable-crypt \ --disable-qt4 \ --disable-qt5 \ --enable-gtk \ --disable-opengl \ --enable-x11 \ --disable-keyring \ --disable-pdf \ --disable-cairo \ --disable-imageio \ --disable-imageimlib \ --disable-dbus \ --disable-gsl \ --disable-gmp \ --enable-ncurses \ --disable-media \ --disable-jit \ --disable-httpd \ --disable-openssl \ --disable-openal \ --disable-silent-rules make && make DESTDIR=/opt/gambas3 install then later butch-relocate script links /opt/gambas3 into / : so for example /bin/gbi3 is a symlink to ../opt/gambas3/bin/gbi3 #!/bin/sh #set -x [ -z "$butch_do_overwrite_on_copy" ] && butch_do_overwrite_on_copy=false relocate() { local dir=$1 local backlinks=$2 local do_copy=$3 mkdir -p "$butch_root"/$dir [ -d "$butch_root""$butch_install_dir/$dir" ] || return 0 cd "$butch_root""$butch_install_dir/$dir" || return 1 [ -n "$V" ] && echo "relocating $butch_root$butch_install_dir/$dir" for i in * ; do if [ ! -L "$i" ] && [ -d "$i" ] ; then local save="$PWD" relocate "$dir/$i" "$backlinks/.." $do_copy cd "$save" elif [ -f "$i" ] || [ -L "$i" ] ; then target="$butch_root/$dir/$i" if $do_copy ; then if $butch_do_overwrite_on_copy || [ ! -e "$target" ] ; then echo cp -a "$butch_root$butch_install_dir/$dir/$i" "$target" cp -a "$butch_root$butch_install_dir/$dir/$i" "$target" fi else echo "ln -sf "$backlinks""$butch_install_dir"/"$dir"/"$i" $target" ln -sf "$backlinks""$butch_install_dir"/"$dir"/"$i" "$target" fi else [ -n "$V" ] && echo "UNKNOWN object $i" fi done [ -n "$V" ] && echo "relocation done" } if [ -z "$1" ] ; then echo "tool to manually symlink a built package" echo "(i.e. the ones in /opt/packagename)" echo "into /" echo "error: need to pass package name to relocate" >&2 exit 1 fi ec=0 for pkg ; do [ "$R" = "/" ] && R= butch_root=$R butch_install_dir=/opt/"$pkg" if [ -d "$R""$butch_install_dir" ] ; then for loc in bin sbin include lib libexec share ; do relocate $loc .. false done for loc in etc var ; do relocate $loc .. true done else echo "warning: package $pkg does not seem to be installed" >&2 ec=1 fi done exit $ec From bugtracker at ...3416... Wed Mar 2 00:17:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 01 Mar 2016 23:17:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #898: gambas3 does things wrong when prefix= (nothing) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.898&from=L21haW4- Comment #3 by sab OTAGE: note that i'm trying to write a pkg build script for sabotage linux From markus.schatten at ...2005... Wed Mar 2 21:03:32 2016 From: markus.schatten at ...2005... (Markus Schatten) Date: Wed, 2 Mar 2016 21:03:32 +0100 Subject: [Gambas-user] "Result is not available" error with ODBC connection and DataSource Message-ID: Dear friends, I'm trying to do a simple thing, connect a DataSource to a ODBC connection (unixODBC). The DSN points to a simple sqlite3 database which has a table test(a integer, b varchar(10)) in it. The unixODBC seems to be working fine, since I can connect to the database using isql and see all defined tables and data. The problem is when I try to do it with Gambas, when setting the Table attribute of DataSource I get the error: Result is not available The connection seems to load the schema of the table (I can see a and b in the header of the DataBrowser) but not the data. Here is what I do: ' Gambas class file Public $con As New Connection Public Sub _new() $con.type = "odbc" $con.Host = "sqlite" 'name of the DSN $con.Login = "mylogin" $con.Password = "mypass" $con.port = "" $con.name = "" $con.Open DataSource1.Connection = $con Try DataSource1.Table = "test" If Error Then Print Error.Text Print Error.Where Print Error.Backtrace Print Error.Class Print Error.Code Endif End The fun part is that the same code works fine with a PostgreSQL database over the ODBC connection (no error is risen, both schema and data are loaded fine into the DataBrowser). I'm using the following entry in /etc/odbc.ini : [sqlite] Description=My SQLite database Driver=SQLite3 Database=/home/markus/test.sqlite3 UserName = mylogin Password = mypass What am I doing wrong? All the best, M. -- Markus Schatten, PhD Assistant professor and head of Artificial Intelligence Lab University of Zagreb Faculty of Organization and Informatics Pavlinska 2, 42000 Varazdin, Croatia http://www.foi.hr/nastavnici/schatten.markus/index.html http://www.researchgate.net/profile/Markus_Schatten1 http://ai.foi.hr From Karl.Reinl at ...2345... Wed Mar 2 21:38:16 2016 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 02 Mar 2016 21:38:16 +0100 Subject: [Gambas-user] "Result is not available" error with ODBC connection and DataSource In-Reply-To: References: Message-ID: <1456951096.4428.6.camel@...40...> Am Mittwoch, den 02.03.2016, 21:03 +0100 schrieb Markus Schatten: > Dear friends, > > I'm trying to do a simple thing, connect a DataSource to a ODBC > connection (unixODBC). The DSN points to a simple sqlite3 database > which has a table test(a integer, b varchar(10)) in it. The unixODBC > seems to be working fine, since I can connect to the database using > isql and see all defined tables and data. The problem is when I try to > do it with Gambas, when setting the Table attribute of DataSource I > get the error: > > Result is not available > > The connection seems to load the schema of the table (I can see a and > b in the header of the DataBrowser) but not the data. > > Here is what I do: > > ' Gambas class file > > Public $con As New Connection > > Public Sub _new() > $con.type = "odbc" > $con.Host = "sqlite" 'name of the DSN > $con.Login = "mylogin" > $con.Password = "mypass" > $con.port = "" > $con.name = "" > $con.Open > DataSource1.Connection = $con > Try DataSource1.Table = "test" > If Error Then > Print Error.Text > Print Error.Where > Print Error.Backtrace > Print Error.Class > Print Error.Code > Endif > > End > > The fun part is that the same code works fine with a PostgreSQL > database over the ODBC connection (no error is risen, both schema and > data are loaded fine into the DataBrowser). I'm using the following > entry in /etc/odbc.ini : > > [sqlite] > Description=My SQLite database > Driver=SQLite3 > Database=/home/markus/test.sqlite3 > UserName = mylogin > Password = mypass > > What am I doing wrong? > > All the best, > > M. Salut Markus, does your sqlite3 tables have primary keys ? -- Amicalement Charlie From markus.schatten at ...2005... Wed Mar 2 22:02:17 2016 From: markus.schatten at ...2005... (Markus Schatten) Date: Wed, 2 Mar 2016 22:02:17 +0100 Subject: [Gambas-user] "Result is not available" error with ODBC connection and DataSource In-Reply-To: <1456951096.4428.6.camel@...40...> References: <1456951096.4428.6.camel@...40...> Message-ID: Dear Charlie, no the one in question does not... After dropping all tables without keys, only leaving tables with keys, sadly still the same error... All the best, M. -- Markus Schatten, PhD Assistant professor and head of Artificial Intelligence Lab University of Zagreb Faculty of Organization and Informatics Pavlinska 2, 42000 Varazdin, Croatia http://www.foi.hr/nastavnici/schatten.markus/index.html http://www.researchgate.net/profile/Markus_Schatten1 http://ai.foi.hr On Wed, Mar 2, 2016 at 9:38 PM, Charlie Reinl wrote: > Am Mittwoch, den 02.03.2016, 21:03 +0100 schrieb Markus Schatten: >> Dear friends, >> >> I'm trying to do a simple thing, connect a DataSource to a ODBC >> connection (unixODBC). The DSN points to a simple sqlite3 database >> which has a table test(a integer, b varchar(10)) in it. The unixODBC >> seems to be working fine, since I can connect to the database using >> isql and see all defined tables and data. The problem is when I try to >> do it with Gambas, when setting the Table attribute of DataSource I >> get the error: >> >> Result is not available >> >> The connection seems to load the schema of the table (I can see a and >> b in the header of the DataBrowser) but not the data. >> >> Here is what I do: >> >> ' Gambas class file >> >> Public $con As New Connection >> >> Public Sub _new() >> $con.type = "odbc" >> $con.Host = "sqlite" 'name of the DSN >> $con.Login = "mylogin" >> $con.Password = "mypass" >> $con.port = "" >> $con.name = "" >> $con.Open >> DataSource1.Connection = $con >> Try DataSource1.Table = "test" >> If Error Then >> Print Error.Text >> Print Error.Where >> Print Error.Backtrace >> Print Error.Class >> Print Error.Code >> Endif >> >> End >> >> The fun part is that the same code works fine with a PostgreSQL >> database over the ODBC connection (no error is risen, both schema and >> data are loaded fine into the DataBrowser). I'm using the following >> entry in /etc/odbc.ini : >> >> [sqlite] >> Description=My SQLite database >> Driver=SQLite3 >> Database=/home/markus/test.sqlite3 >> UserName = mylogin >> Password = mypass >> >> What am I doing wrong? >> >> All the best, >> >> M. > > Salut Markus, > > does your sqlite3 tables have primary keys ? > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Thu Mar 3 11:54:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Mar 2016 10:54:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #898: gambas3 does things wrong when prefix= (nothing) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.898&from=L21haW4- Comment #4 by sab OTAGE: let me explain what i think gambas does wrong: it doesn't have to search stuff, all the location information is already given at configure time. for example if i pass --prefix=/usr/local --bindir=/bin all necessary information is already there: all binaries will go to /bin. all shared data will go to /usr/local/share. so if gambas wants to access shared data, it just have to open /usr/local/share/gambas/foo rather than trying to determine the information from searching an executable, readlink()ing its path, and then append something to that path. if it needs to generate or touch some files during installation, it needs to do so in $(DESTDIR)/$(prefix) From bugtracker at ...3416... Thu Mar 3 11:56:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 03 Mar 2016 10:56:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #898: gambas3 does things wrong when prefix= (nothing) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.898&from=L21haW4- Comment #5 by sab OTAGE: .. it needs to do so \$DESTDIR\$prefix if you wanna discuss details come to the irc channel in freenode, i will now close this tab. From roel at ...3306... Fri Mar 4 14:06:10 2016 From: roel at ...3306... (Roel Touwen) Date: Fri, 04 Mar 2016 14:06:10 +0100 Subject: [Gambas-user] Storing files in clipboard Message-ID: <56D98842.7050509@...3306...> Hi All, I would place a file in the clipboard so I can paste that in the os. I presume I have to use the mimetype in clipboard.copy() but what mimetype to use. Clipboard.Copy((OrgBasePath & "/" & tv.key), "*text/directory*") Thanks! Roel From roel at ...3306... Fri Mar 4 14:12:45 2016 From: roel at ...3306... (Roel Touwen) Date: Fri, 04 Mar 2016 14:12:45 +0100 Subject: [Gambas-user] Storing files in clipboard In-Reply-To: <56D98842.7050509@...3306...> References: <56D98842.7050509@...3306...> Message-ID: <56D989CD.7070807@...3306...> Already solved: mimetype=uri-list op 04-03-16 14:06, Roel Touwen schreef: > Hi All, > > I would place a file in the clipboard so I can paste that in the os. I > presume I have to use the mimetype in clipboard.copy() but what mimetype > to use. > > Clipboard.Copy((OrgBasePath & "/" & tv.key), "*text/directory*") > > Thanks! > > Roel > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Fri Mar 4 21:08:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Mar 2016 20:08:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- gbWilly GAMBOS reported a new bug. Summary ------- Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) Type : Bug Priority : Low Gambas version : 3.8 Product : QT5 component Description ----------- When upgrading a Debain system running qt4 to qt5 gambas3 and gambas3-ide do not upgrade to use qt5, because they insist on using qt4. This problem occured when a Debian jessie system installed with Gambas 3.8.4 got upgraded to Debian stretch (meaning qt4 being replaced by qt5). For details see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814862 Is this a problem caused by packaging or could this be a problem in Gambas that might pop up in other future distro upgrades as well? If it is something that can be controlled from withing Gambas, would it not be better that gambas preferes qt5 over qt4 for better future upgrades. Now it seems that, because the original Gambas install used qt4, an upgarde to qt5 later on refuses to upgrade gambas3 and gambas3-ide to use qt5. If it has to do with packaging, what steps would the packagers need to do different to make the upgrade work? System information ------------------ Multiple systems: 1. --------------------------------------------- [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 2. --------------------------------------------- [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3. --------------------------------------------- [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 4. --------------------------------------------- [System] Gambas=3.8.90 (rev#7527) OperatingSystem=Linux Kernel=3.19.0-28-generic Architecture=x86 Distribution=Ubuntu 14.04.3 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=937M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 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 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-d2tYwNrIPc DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GDM_LANG=en_US GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Eo5i6s GNOME_KEYRING_PID=1473 GPG_AGENT_INFO=/run/user/1000/keyring-Eo5i6s/gpg:0:1 GTK_IM_MODULE=xim HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=xim SAL_USE_VCLPLUGIN=gtk SELINUX_INIT=YES SESSION=Lubuntu SESSIONTYPE=lxsession SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-Eo5i6s/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=lxsession UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1329 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-Lubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share/Lubuntu:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxde- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _LXSESSION_PID=1515 5. --------------------------------------------- [System] Gambas=3.8.90 (rev#7527) OperatingSystem=Linux Kernel=3.2.0-92-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=Gtk Language=nl_NL.UTF-8 Memory=2004M [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 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_BUS_TYPE=session DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GPG_AGENT_INFO=/tmp/keyring-956Xzu/gpg:0:1 HOME= LANG=nl_NL.UTF-8 LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-956Xzu MDMSESSION=mate MDM_LANG=nl_NL.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1741,unix/:/tmp/.ICE-unix/1741 SHELL=/bin/bash SSH_AGENT_PID=1802 SSH_AUTH_SOCK=/tmp/keyring-956Xzu/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_SESSION_COOKIE=e227274bb17bcf421ba09f9c00000009-1449781858.809691-713854121 From bugtracker at ...3416... Fri Mar 4 21:20:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Mar 2016 20:20:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Comment #1 by gbWilly GAMBOS: Little note on the side: Installing the Gambas 3.8.4 packages on Jessie goes well and qt4 is used (as that is what Jessie repository provides for). Installing the Gambas 3.8.4 packages on Stretch goes well and qt5 is used (as that is what Stretch repository provides for). It is upgrading Jessie to Stretch when Gambas 3.8.4. is already installed that trows the problem, as there is NO qt4 in the Stratch repositories. From bugtracker at ...3416... Fri Mar 4 21:24:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 04 Mar 2016 20:24:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Comment #2 by gbWilly GAMBOS: Sorry my in my previous note I made a mistake: jessie has Gambas 3.5.4 installed and upgrading jessie to stretch means upgrading gambas 3.5.4 to 3.8.4 and that is when the problem occurs. So, you end up with gambas3 and gambas3-ide version 3.5.4 instead of 3.8.4 From abbat.81 at ...787... Sat Mar 5 14:27:47 2016 From: abbat.81 at ...787... (abbat81) Date: Sat, 5 Mar 2016 06:27:47 -0700 (MST) Subject: [Gambas-user] Different Foreground Color of a string in TableView.Cell Message-ID: <1457184467023-55597.post@...3046...> Hi all, Is there any way to use different font.color in tableview.Cell. May be there is some way to use html tags? Thanks in advance :) -- View this message in context: http://gambas.8142.n7.nabble.com/Different-Foreground-Color-of-a-string-in-TableView-Cell-tp55597.html Sent from the gambas-user mailing list archive at Nabble.com. From charlie at ...2793... Sat Mar 5 15:09:45 2016 From: charlie at ...2793... (Charlie) Date: Sat, 5 Mar 2016 07:09:45 -0700 (MST) Subject: [Gambas-user] Different Foreground Color of a string in TableView.Cell In-Reply-To: <1457184467023-55597.post@...3046...> References: <1457184467023-55597.post@...3046...> Message-ID: <1457186985272-55598.post@...3046...> This works for me: - Public Sub Form_Open() TableView1.Rows.Count = 2 TableView1.Columns.Count = 2 With TableView1[0, 0] .Background = Color.Yellow .Foreground = Color.Red .Text = "Hello" .Alignment = Align.Center .Font.bold = True End With End -- View this message in context: http://gambas.8142.n7.nabble.com/Different-Foreground-Color-of-a-string-in-TableView-Cell-tp55597p55598.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Sat Mar 5 16:33:25 2016 From: vuott at ...325... (Ru Vuott) Date: Sat, 5 Mar 2016 15:33:25 +0000 (UTC) Subject: [Gambas-user] Different Foreground Color of a string in TableView.Cell References: <908902690.6135360.1457192005178.JavaMail.yahoo.ref@...3424...> Message-ID: <908902690.6135360.1457192005178.JavaMail.yahoo@...3424...> ...I'ld suggest: Public Sub Form_Open() TableView1.Rows.Count = 2 TableView1.Columns.Count = 2 TableView1[0, 0].RichText = "
Verbavolant
" TableView1.Columns[0].Width = -1 End regards vuott -------------------------------------------- Sab 5/3/16, Charlie ha scritto: Oggetto: Re: [Gambas-user] Different Foreground Color of a string in TableView.Cell A: gambas-user at lists.sourceforge.net Data: Sabato 5 marzo 2016, 15:09 This works for me: - Public Sub Form_Open() TableView1.Rows.Count = 2 TableView1.Columns.Count = 2 With TableView1[0, 0] ? .Background = Color.Yellow ? .Foreground = Color.Red ? .Text = "Hello" ? .Alignment = Align.Center ? .Font.bold = True End With End -- View this message in context: http://gambas.8142.n7.nabble.com/Different-Foreground-Color-of-a-string-in-TableView-Cell-tp55597p55598.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Sat Mar 5 20:05:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Mar 2016 19:05:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Comment #3 by Beno?t MINISINI: So you are telling that the IDE was not upgraded, and that you used Gambas IDE 3.5.4 with Gambas 3.8.4? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Mar 5 20:12:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 05 Mar 2016 19:12:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #898: gambas3 does things wrong when prefix= (nothing) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.898&from=L21haW4- Comment #6 by Beno?t MINISINI: (I prefer to talk there, to keep the information on the same place.) So I have to define preprocessor constants in 'Makefile.am' files for $(prefix), $(bindir), $(datadir) and $(libdir). And use them to generate all the paths I need at runtime... This can be done only for the next version, it's a non-backward-compatible change. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sun Mar 6 02:43:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 06 Mar 2016 01:43:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Comment #4 by gbWilly GAMBOS: Nope, I'm saying that the upgrade failed, I never said I used it. This is what the logs says when upgrading jessie with gambas3.5.4 to stretch with gambas3.8.4: -------------------------------------------- The following packages were automatically installed and are no longer required: gambas3-gb-form-editor gambas3-gb-gui-qt-webkit gambas3-gb-gui-trayicon gambas3-gb-inotify gambas3-gb-markdown gambas3-gb-qt5-webkit gambas3-gb-report2 gambas3-gb-scanner gambas3-gb-sdl2 gambas3-gb-sdl2-audio gambas3-gb-util gambas3-gb-util-web gambas3-templates libasprintf0c2 libdouble-conversion1 libgif4 libglew1.10 libgnutls-deb0-28 libjasper1 libpoppler46 libqt5opengl5 libqt5qml5 libqt5quick5 libqt5sql5 libqt5webkit5 libqt5xml5 libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-ttf-2.0-0 libsndio6.0 libssl1.0.0 libwayland-cursor0 libwayland-egl1-mesa libwebp5 libxss1 Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: libgsl0ldbl libhogweed2 libllvm3.5 libnettle4 perl-modules The following NEW packages will be installed: autotools-dev dh-strip-nondeterminism gambas3-gb-desktop-gnome-keyring gambas3-gb-desktop-x11 gambas3-gb-gui-qt gambas3-gb-qt5 gcc-5-base libapparmor1 libapt-pkg5.0 libarchive-zip-perl libegl1-mesa libevdev2 libfdisk1 libfile-stripnondeterminism-perl libgbm1 libgif7 libglew1.13 libgnutls30 libgsl2 libhogweed4 libicu55 libinput10 libllvm3.5v5 liblz4-1 libmodplug1 libmtdev1 libnettle6 libnghttp2-14 libpcre16-3 libperl5.22 libpoppler57 libprocps5 libproxy1v5 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5x11extras5 libseccomp2 libsecret-1-0 libsecret-common libssl1.0.2 libwayland-client0 libwayland-server0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-util0 libxcb-xfixes0 libxcb-xkb1 libxkbcommon-x11-0 libxkbcommon0 perl-modules-5.22 xkb-data The following packages have been kept back: gambas3 gambas3-ide The following packages will be upgraded: acl apt base-files base-passwd bash binutils bsdmainutils bsdutils bzip2 coreutils dash debconf debconf-i18n debhelper debianutils diffutils dmsetup dpkg dpkg-dev e2fslibs e2fsprogs file findutils fonts-dejavu-core gambas3-dev gambas3-gb-args gambas3-gb-cairo gambas3-gb-chart gambas3-gb-clipper gambas3-gb-complex gambas3-gb-compress gambas3-gb-compress-bzlib2 gambas3-gb-compress-zlib gambas3-gb-crypt gambas3-gb-data gambas3-gb-db gambas3-gb-db-form gambas3-gb-db-mysql gambas3-gb-db-odbc gambas3-gb-db-postgresql gambas3-gb-db-sqlite3 gambas3-gb-dbus gambas3-gb-desktop gambas3-gb-desktop-gnome gambas3-gb-eval-highlight gambas3-gb-form gambas3-gb-form-dialog gambas3-gb-form-mdi gambas3-gb-form-stock gambas3-gb-gmp gambas3-gb-gsl gambas3-gb-gtk gambas3-gb-gtk-opengl gambas3-gb-gui gambas3-gb-gui-opengl gambas3-gb-httpd gambas3-gb-image gambas3-gb-image-effect gambas3-gb-image-imlib gambas3-gb-image-io gambas3-gb-jit gambas3-gb-libxml gambas3-gb-logging gambas3-gb-map gambas3-gb-media gambas3-gb-memcached gambas3-gb-mime gambas3-gb-mysql gambas3-gb-ncurses gambas3-gb-net gambas3-gb-net-curl gambas3-gb-net-pop3 gambas3-gb-net-smtp gambas3-gb-openal gambas3-gb-opengl gambas3-gb-opengl-glsl gambas3-gb-opengl-glu gambas3-gb-opengl-sge gambas3-gb-openssl gambas3-gb-option gambas3-gb-pcre gambas3-gb-pdf gambas3-gb-qt4 gambas3-gb-qt4-ext gambas3-gb-qt4-opengl gambas3-gb-report gambas3-gb-sdl gambas3-gb-sdl-sound gambas3-gb-settings gambas3-gb-v4l gambas3-gb-vb gambas3-gb-web gambas3-gb-xml gambas3-gb-xml-html gambas3-gb-xml-rpc gambas3-gb-xml-xslt gambas3-runtime gcc-4.8-base gcc-4.9-base gettext gettext-base gnupg gnupg-agent gnupg2 gpgv grep groff-base hostname init initscripts insserv intltool-debian iso-codes libacl1 libasound2 libasound2-data libassuan0 libatk1.0-0 libatk1.0-data libaudio2 libaudit-common libaudit1 libavahi-client3 libavahi-common-data libavahi-common3 libblkid1 libbsd0 libbz2-1.0 libc-bin libc6 libcaca0 libcairo2 libcap2 libcap2-bin libcomerr2 libcroco3 libcryptsetup4 libcups2 libcurl3 libcurl3-gnutls libdatrie1 libdb5.3 libdbus-1-3 libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libdrm2 libedit2 libexpat1 libffi6 libflac8 libfluidsynth1 libfreetype6 libgcc1 libgcrypt20 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-glx libglapi-mesa libglib2.0-0 libglu1-mesa libgmp10 libgnutls-deb0-28 libgomp1 libgpg-error0 libgpgme11 libgraphite2-3 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk2.0-0 libgtk2.0-common libharfbuzz0b libidn11 libimlib2 libjack-jackd2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2 liblocale-gettext-perl libltdl7 liblzma5 libmagic1 libmikmod3 libmount1 libmysqlclient18 libncurses5 libncursesw5 libodbc1 libopenal-data libopenal1 libopenjpeg5 libopus0 liborc-0.4-0 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcre3 libpipeline1 libpixman-1-0 libpng12-0 libpq5 libpulse0 libqt4-dbus libqt4-designer libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4 libreadline6 librsvg2-2 librtmp1 libsasl2-2 libsasl2-modules-db libsdl1.2debian libselinux1 libsemanage-common libsemanage1 libsepol1 libslang2 libsmartcols1 libsndfile1 libsqlite3-0 libss2 libssh2-1 libstdc++6 libsystemd0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libthai-data libthai0 libtiff5 libtinfo5 libudev1 libusb-0.1-4 libustr-1.0-1 libuuid1 libv4lconvert0 libvorbis0a libvorbisenc2 libvorbisfile3 libx11-6 libx11-data libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb1 libxdmcp6 libxi6 libxml2 libxmu6 libxrandr2 libxrender1 libxshmfence1 libxslt1.1 libxt6 libxxf86vm1 login lsb-base make man-db mount multiarch-support mysql-common ncurses-base ncurses-bin passwd perl perl-base pinentry-gtk2 po-debconf procps qdbus qtchooser qtcore4-l10n sed shared-mime-info systemd systemd-sysv sysv-rc sysvinit-utils tar tzdata ucf udev util-linux x11-common xdg-utils xz-utils 314 upgraded, 60 newly installed, 5 to remove and 2 not upgraded. Need to get 146 MB of archives. -------------------------------------------- So, in short all but gambas3 and gambas3-ide where upgraded. Why did gambas3 and gambas3-ide not upgrade. The answer is in the Debian control file for making the packages. If I look in the control file for Gambas3 (3.8.4) both gambas3 and gambas3-ide are packaged to require qt5 instead of qt4 (see below). gambas3-ide even conflicts with gambas3-gb-qt4. -------------------------------------------- Package: gambas3 Architecture: all Depends: gambas3-gb-args (>= ${binary:Version}), gambas3-gb-cairo (>= ${binary:Version}), gambas3-gb-chart (>= ${binary:Version}), gambas3-gb-clipper (>= ${binary:Version}), gambas3-gb-complex (>= ${binary:Version}), gambas3-gb-compress-bzlib2 (>= ${binary:Version}), gambas3-gb-compress-zlib (>= ${binary:Version}), gambas3-gb-crypt (>= ${binary:Version}), gambas3-gb-data (>= ${binary:Version}), gambas3-gb-db-form (>= ${binary:Version}), gambas3-gb-db-mysql (>= ${binary:Version}), gambas3-gb-db-odbc (>= ${binary:Version}), gambas3-gb-db-postgresql (>= ${binary:Version}), gambas3-gb-db-sqlite3 (>= ${binary:Version}) | gambas3-gb-db-sqlite2 (>= ${binary:Version}), gambas3-gb-dbus (>= ${binary:Version}), gambas3-gb-desktop (>= ${binary:Version}), gambas3-gb-desktop-gnome (>= ${binary:Version}), gambas3-gb-desktop-x11 (>= ${binary:Version}), gambas3-gb-form-dialog (>= ${binary:Version}), gambas3-gb-form-mdi (>= ${binary:Version}), gambas3-gb-form-stock (>= ${binary:Version}), gambas3-gb-gmp (>= ${binary:Version}), gambas3-gb-gsl (>= ${binary:Version}), gambas3-gb-gui-opengl (>= ${binary:Version}), gambas3-gb-gui-qt (>= ${binary:Version}), gambas3-gb-gui-qt-webkit (>= ${binary:Version}), gambas3-gb-httpd (>= ${binary:Version}), gambas3-gb-image-effect (>= ${binary:Version}), gambas3-gb-image-imlib (>= ${binary:Version}), gambas3-gb-image-io (>= ${binary:Version}), gambas3-gb-inotify (>= ${binary:Version}), gambas3-gb-jit (>= ${binary:Version}), gambas3-gb-libxml (>= ${binary:Version}), gambas3-gb-logging (>= ${binary:Version}), gambas3-gb-map (>= ${binary:Version}), gambas3-gb-markdown (>= ${binary:Version}), gambas3-gb-media (>= ${binary:Version}), gambas3-gb-memcached (>= ${binary:Version}), gambas3-gb-mime (>= ${binary:Version}), gambas3-gb-mysql (>= ${binary:Version}), gambas3-gb-ncurses (>= ${binary:Version}), gambas3-gb-net-curl (>= ${binary:Version}), gambas3-gb-net-pop3 (>= ${binary:Version}), gambas3-gb-net-smtp (>= ${binary:Version}), gambas3-gb-openal (>= ${binary:Version}), gambas3-gb-opengl-glsl (>= ${binary:Version}), gambas3-gb-opengl-glu (>= ${binary:Version}), gambas3-gb-opengl-sge (>= ${binary:Version}), gambas3-gb-openssl (>= ${binary:Version}), gambas3-gb-option (>= ${binary:Version}), gambas3-gb-pcre (>= ${binary:Version}), gambas3-gb-pdf (>= ${binary:Version}), # gambas3-gb-qt4-ext (>= ${binary:Version}), # gambas3-gb-qt4-webkit (>= ${binary:Version}), gambas3-gb-qt5 (>= ${binary:Version}), gambas3-gb-qt5-webkit (>= ${binary:Version}), gambas3-gb-report (>= ${binary:Version}), gambas3-gb-report2 (>= ${binary:Version}), gambas3-gb-scanner (>= ${binary:Version}), gambas3-gb-sdl-sound (>= ${binary:Version}), gambas3-gb-sdl2 (>= ${binary:Version}), gambas3-gb-sdl2-audio (>= ${binary:Version}), gambas3-gb-settings (>= ${binary:Version}), gambas3-gb-util (>= ${binary:Version}), gambas3-gb-util-web (>= ${binary:Version}), gambas3-gb-v4l (>= ${binary:Version}), gambas3-gb-vb, gambas3-gb-web, gambas3-gb-xml-html (>= ${binary:Version}), gambas3-gb-xml-rpc (>= ${binary:Version}), gambas3-gb-xml-xslt (>= ${binary:Version}), gambas3-ide (>= ${binary:Version}), gambas3-templates, ${misc:Depends} Description: Complete visual development environment for Gambas Gambas is a free development environment based on a Basic interpreter with object extensions, like Visual Basic(tm) (but it is NOT a clone!). With Gambas, you can quickly design your program GUI, access MySQL or PostgreSQL databases, pilot KDE applications with DCOP, translate your program into many languages, and so on... . This package doesn't include anything: it is a metapackage to install the IDE and all the available Gambas components... Package: gambas3-ide Architecture: all Recommends: rpm Depends: debhelper, fakeroot, gambas3-dev (>= ${binary:Version}), gambas3-gb-clipper (>= ${binary:Version}), gambas3-gb-db (>= ${binary:Version}), gambas3-gb-db-form (>= ${binary:Version}), gambas3-gb-desktop (>= ${binary:Version}), gambas3-gb-desktop-x11 (>= ${binary:Version}), gambas3-gb-eval-highlight (>= ${binary:Version}), gambas3-gb-form (>= ${binary:Version}), gambas3-gb-form-dialog (>= ${binary:Version}), gambas3-gb-form-editor (>= ${binary:Version}), gambas3-gb-form-mdi (>= ${binary:Version}), gambas3-gb-form-stock (>= ${binary:Version}), gambas3-gb-gui-trayicon (>= ${binary:Version}), gambas3-gb-image-effect (>= ${binary:Version}), # gambas3-gb-qt4 (>= ${binary:Version}), # gambas3-gb-qt4-ext (>= ${binary:Version}), # gambas3-gb-qt4-webkit (>= ${binary:Version}), gambas3-gb-qt5 (>= ${binary:Version}), gambas3-gb-gui-qt (>= ${binary:Version}), gambas3-gb-gui-qt-webkit (>= ${binary:Version}), gambas3-gb-qt5-webkit (>= ${binary:Version}), gambas3-gb-settings (>= ${binary:Version}), gambas3-runtime (>= ${binary:Version}), gambas3-gb-util (>= ${binary:Version}), ${misc:Depends} Conflicts: gambas3-gb-qt4 Description: Visual development environment for the Gambas programming language Gambas is a free development environment based on a Basic interpreter with object extensions, like Visual Basic(tm) (but it is NOT a clone!). . This package includes the Gambas Development Environment. -------------------------------------------- This is done because qt4 will no longer be used in stretch (so to make sure the qt5 packages are used instead) Gambas3 (3.5.4) is packaged to use qt4. This seems to cause the problem with upgrading 3.5.4 to 3.8.4 So, what is a possible solution here? 1. Does the packager have to change something in his/her control file and repackage? If so, what needs to change? AND/OR 2. Is there maybe something that can be done from within Gambas to solve the problem? From t.lee.davidson at ...626... Sun Mar 6 14:00:32 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 6 Mar 2016 08:00:32 -0500 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: <56db8bab.52a56b0a.ee9c4.1eccSMTPIN_ADDED_BROKEN@...2392...> References: <56db8bab.52a56b0a.ee9c4.1eccSMTPIN_ADDED_BROKEN@...2392...> Message-ID: <56DC29F0.2050007@...626...> On 03/05/2016 08:43 PM, bugtracker at ...3416... wrote: > This is done because qt4 will no longer be used in stretch (so to make sure the qt5 packages are used instead) > Gambas3 (3.5.4) is packaged to use qt4. This seems to cause the problem with upgrading 3.5.4 to 3.8.4 > > So, what is a possible solution here? > 1. Does the packager have to change something in his/her control file and repackage? If so, what needs to change? > AND/OR > 2. Is there maybe something that can be done from within Gambas to solve the problem? I am also interested in this issue since I think it may be related to why I am unable to install the IDE on OpenSUSE Leap 42.1. Just for informational purposes since I do not wish to highjack this thread, the SPEC file from the OpenSUSE Build Service defines a "gb-qt5-ext" component as required for the IDE when not "with qt4". But, as far as I can tell, this component is not provided by the sources. Hopefully a resolution to this issue on Debian will also provide a path to resolve the issue on OpenSUSE. Ref: https://bugzilla.opensuse.org/show_bug.cgi?id=969744 System: KDE Plasma 5.5.4, Qt 5.5.1, x86_64 -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From abbat.81 at ...787... Sun Mar 6 14:04:53 2016 From: abbat.81 at ...787... (abbat81) Date: Sun, 6 Mar 2016 06:04:53 -0700 (MST) Subject: [Gambas-user] (+auto) Line breaks in Tableview.Cell Message-ID: <1457269493286-55606.post@...3046...> Hi all, Tableview allows to use 1-2 line breaks, but if my richtext consist of 5-6 lines, my Tableview.Row doesn't show whole text. Also, is there any way to get auto break lines if string is too long for Tableview.Row? Thanks in advance -- View this message in context: http://gambas.8142.n7.nabble.com/auto-Line-breaks-in-Tableview-Cell-tp55606.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Sun Mar 6 17:45:53 2016 From: vuott at ...325... (Ru Vuott) Date: Sun, 6 Mar 2016 16:45:53 +0000 (UTC) Subject: [Gambas-user] R: (+auto) Line breaks in Tableview.Cell References: <831624272.6746010.1457282753771.JavaMail.yahoo.ref@...3424...> Message-ID: <831624272.6746010.1457282753771.JavaMail.yahoo@...3424...> Are you telling about this ? Public Sub Form_Open() With TableView1 .Rows.Count = 3 .Columns.Count = 3 End With TableView1[0, 0].RichText = "Quid est, Catulle? quid moraris emori?" & "
sella in curuli struma Nonius sedet," & "
per consulatum peierat Vatinius:" & "
quid est, Catulle? quid moraris emori?" With TableView1 .Columns[0].Width = -1 .Rows[0].Height = -1 End With End -------------------------------------------- Dom 6/3/16, abbat81 ha scritto: Oggetto: [Gambas-user] (+auto) Line breaks in Tableview.Cell A: gambas-user at lists.sourceforge.net Data: Domenica 6 marzo 2016, 14:04 Hi all, Tableview allows to use 1-2 line breaks, but if my richtext consist of 5-6 lines, my Tableview.Row doesn't show whole text. Also, is? there any way to get auto break lines if string is too long for Tableview.Row? Thanks in advance -- View this message in context: http://gambas.8142.n7.nabble.com/auto-Line-breaks-in-Tableview-Cell-tp55606.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Mon Mar 7 04:34:35 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 6 Mar 2016 22:34:35 -0500 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: <56DC29F0.2050007@...626...> References: <56db8bab.52a56b0a.ee9c4.1eccSMTPIN_ADDED_BROKEN@...2392...> <56DC29F0.2050007@...626...> Message-ID: <56DCF6CB.3050504@...626...> On 03/06/2016 08:00 AM, T Lee Davidson wrote: > On 03/05/2016 08:43 PM, bugtracker at ...3416... wrote: >> This is done because qt4 will no longer be used in stretch (so to make sure the qt5 packages are used instead) >> Gambas3 (3.5.4) is packaged to use qt4. This seems to cause the problem with upgrading 3.5.4 to 3.8.4 >> >> So, what is a possible solution here? >> 1. Does the packager have to change something in his/her control file and repackage? If so, what needs to change? >> AND/OR >> 2. Is there maybe something that can be done from within Gambas to solve the problem? > > I am also interested in this issue since I think it may be related to why I am unable to install the IDE on OpenSUSE Leap 42.1. > > Just for informational purposes since I do not wish to highjack this thread, the SPEC file from the OpenSUSE Build Service > defines a "gb-qt5-ext" component as required for the IDE when not "with qt4". But, as far as I can tell, this component is not > provided by the sources. > > Hopefully a resolution to this issue on Debian will also provide a path to resolve the issue on OpenSUSE. > Ref: https://bugzilla.opensuse.org/show_bug.cgi?id=969744 > > System: KDE Plasma 5.5.4, Qt 5.5.1, x86_64 > > Update: The OpenSUSE problem was just a SPEC file issue. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From abbat.81 at ...787... Mon Mar 7 11:44:16 2016 From: abbat.81 at ...787... (abbat81) Date: Mon, 7 Mar 2016 03:44:16 -0700 (MST) Subject: [Gambas-user] R: (+auto) Line breaks in Tableview.Cell In-Reply-To: <831624272.6746010.1457282753771.JavaMail.yahoo@...3424...> References: <831624272.6746010.1457282753771.JavaMail.yahoo@...3424...> Message-ID: <1457347456365-55609.post@...3046...> Thanks, that's it.Rows[0].Height = -1 -- View this message in context: http://gambas.8142.n7.nabble.com/R-auto-Line-breaks-in-Tableview-Cell-tp55607p55609.html Sent from the gambas-user mailing list archive at Nabble.com. From sbungay at ...3301... Mon Mar 7 16:49:25 2016 From: sbungay at ...3301... (Stephen) Date: Mon, 07 Mar 2016 10:49:25 -0500 Subject: [Gambas-user] New console In-Reply-To: References: <533F3AE5.8060901@...1...> <533F4EAC.6080209@...1...> Message-ID: <56DDA305.1000600@...3301...> On 04/05/2014 12:53 PM, Jussi Lahtinen wrote: > Yes, it's good now. > Thanks! > > Jussi > > > On Sat, Apr 5, 2014 at 3:30 AM, Beno?t Minisini< > gambas at ...1...> wrote: > >> Le 05/04/2014 01:06, Beno?t Minisini a ?crit : >>> Le 05/04/2014 01:04, Jussi Lahtinen a ?crit : >>>> Is there possibility to have option for old styled IDE console? >>>> I found it handier, because it showed not only results but exactly from >>>> where the results came. I used it even as general calculator. >>>> >>>> >>>> Jussi >>> And if I add an echo of the entered command? >>> >> I added an echo mode in revision #6222, through a toggle button. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I'm just starting to use V3.8.4 of GAMBAS. What was the motivation for making this version of the console? -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From sbungay at ...3301... Mon Mar 7 16:21:11 2016 From: sbungay at ...3301... (Stephen) Date: Mon, 07 Mar 2016 10:21:11 -0500 Subject: [Gambas-user] Console in V 3.8.4 Message-ID: <56DD9C67.40906@...3301...> Is the console SUPPOSED to have a one line input field with a massive results area above it? Please tell me sanity has returned and later versions have a console in the traditional sense. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From jussi.lahtinen at ...626... Mon Mar 7 17:20:21 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 7 Mar 2016 18:20:21 +0200 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: <56DD9C67.40906@...3301...> References: <56DD9C67.40906@...3301...> Message-ID: Why not? You need to put the input on one line anyway and the result can have multiple lines (or you may want to compare multiple results). So I think it is logical in that way. Jussi On Mon, Mar 7, 2016 at 5:21 PM, Stephen wrote: > Is the console SUPPOSED to have a one line input field with a massive > results area above it? Please tell me sanity has returned and later > versions have a console in the traditional sense. > -- > > Kindest Regards > Stephen A. Bungay, Prop. > Smarts On Site Information Systems > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...3301... Mon Mar 7 21:21:56 2016 From: sbungay at ...3301... (Stephen) Date: Mon, 07 Mar 2016 15:21:56 -0500 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: References: <56DD9C67.40906@...3301...> Message-ID: <56DDE2E4.2010208@...3301...> Why not? Because full screen editing (full window in this case) as it was implemented is better in every way. While the console is not a class editor, would this data entry paradigm be an improvement if applied to the class editor? I'll vote "No" on that one. The new console breaks consistency with the IDE's UI, it feels like an antique wooden-wheel on vehicle that is otherwise very advanced. So I have to ask Benoit: what was the driving force? On 03/07/2016 11:20 AM, Jussi Lahtinen wrote: > Why not? > You need to put the input on one line anyway and the result can have > multiple lines (or you may want to compare multiple results). So I think it > is logical in that way. > > > Jussi > > On Mon, Mar 7, 2016 at 5:21 PM, Stephen wrote: > >> Is the console SUPPOSED to have a one line input field with a massive >> results area above it? Please tell me sanity has returned and later >> versions have a console in the traditional sense. >> -- >> >> Kindest Regards >> Stephen A. Bungay, Prop. >> Smarts On Site Information Systems >> >> >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://makebettercode.com/inteldaal-eval >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From jussi.lahtinen at ...626... Mon Mar 7 23:55:33 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 8 Mar 2016 00:55:33 +0200 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: <56DDE2E4.2010208@...3301...> References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> Message-ID: I personally like the old way, but there is nothing I cannot do with this new way. And it doesn't have any effect on my working speed. Do you mean you need the console to its own window? Go to Debug menu and select "Use terminal emulator". Maybe that will do it? So far you haven't said anything of what is actually the problem with the new console. Yes, it's different, but that might not motive anyone to do anything about it. Jussi On Mon, Mar 7, 2016 at 10:21 PM, Stephen wrote: > Why not? > > Because full screen editing (full window in this case) as it was > implemented is better in every way. > > While the console is not a class editor, would this data entry paradigm > be an improvement if applied to the class editor? I'll vote "No" on that > one. > > The new console breaks consistency with the IDE's UI, it feels like an > antique wooden-wheel on vehicle that is otherwise very advanced. > > So I have to ask Benoit: what was the driving force? > > > On 03/07/2016 11:20 AM, Jussi Lahtinen wrote: > > Why not? > > You need to put the input on one line anyway and the result can have > > multiple lines (or you may want to compare multiple results). So I think > it > > is logical in that way. > > > > > > Jussi > > > > On Mon, Mar 7, 2016 at 5:21 PM, Stephen > wrote: > > > >> Is the console SUPPOSED to have a one line input field with a massive > >> results area above it? Please tell me sanity has returned and later > >> versions have a console in the traditional sense. > >> -- > >> > >> Kindest Regards > >> Stephen A. Bungay, Prop. > >> Smarts On Site Information Systems > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Transform Data into Opportunity. > >> Accelerate data analysis in your applications with > >> Intel Data Analytics Acceleration Library. > >> Click to learn more. > >> http://makebettercode.com/inteldaal-eval > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://makebettercode.com/inteldaal-eval > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > -- > Kindest Regards > Stephen A. Bungay, Prop. > Smarts On Site Information Systems > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adrien.prokopowicz at ...626... Tue Mar 8 03:39:40 2016 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 08 Mar 2016 03:39:40 +0100 Subject: [Gambas-user] XMLDocument GetSingleNode or XPath support? In-Reply-To: <56D45169.8010408@...626...> References: <56C43A1D.6050201@...626...> <56D45169.8010408@...626...> Message-ID: Le Mon, 29 Feb 2016 15:10:49 +0100, KKing a ?crit: > On 17/02/16 09:15, KKing wrote: >> does the XML component support a GetSingleNode method or allow an >> XPath to be used to obtain single nodes? >> - - - - >> > is that a no then? > > At the moment, there is no XPath support for the gb.xml component. However, if you want to select specific nodes, you have several methods at your disposal : * The XmlElement.GetChildrenByTagName()[0] can be used to search elements with specific tag names, but it also supports LIKE[1] patterns. It can also receive a depth parameter if you want to restrict your search; * The XmlElement.GetChildrenByAttributeValue()[2] works with similar options; * The gb.xml.html sub-component adds a XmlElement.GetChildrenByFilter()[3] method, to which you can pass a CSS filter. Not all CSS expressions are supported though (see the MatchFilter()[4] help). Hope that helps, [0] http://gambaswiki.org/wiki/comp/gb.xml/xmlelement/getchildrenbytagname [1] http://gambaswiki.org/wiki/lang/like [2] http://gambaswiki.org/wiki/comp/gb.xml/xmlelement/getchildrenbyattributevalue [3] http://gambaswiki.org/wiki/comp/gb.xml.html/xmlelement/getchildrenbyfilter [4] http://gambaswiki.org/wiki/comp/gb.xml.html/xmlelement/matchfilter -- Adrien Prokopowicz From abbat.81 at ...787... Tue Mar 8 10:50:44 2016 From: abbat.81 at ...787... (abbat81) Date: Tue, 8 Mar 2016 02:50:44 -0700 (MST) Subject: [Gambas-user] Example of Video Strem Message-ID: <1457430644615-55617.post@...3046...> Hi all, I want to ask anyone to create very useful the example, I'm not too strong to create it by myself. Video Stream using webcam and Socket connection, stable to breaks connection (don't crash app.) (It can be not only Socket, which is only way for my knowledge) Please, can someone create it, it is very very very needed (not for me only, I think)! Thank in advance :) -- View this message in context: http://gambas.8142.n7.nabble.com/Example-of-Video-Strem-tp55617.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Tue Mar 8 14:20:01 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 Mar 2016 14:20:01 +0100 Subject: [Gambas-user] Two suggestions for the ide Message-ID: All are related to the new Add/Import file layout. Can you : - Add a new MenuButton "New" that act depend the tree view position. - Add a new Button Import that act depend the tree position - Add an IconPanel in the Import Dialog to Easily select the import filter. In all case i found the new way interresting but less easy to use than the previous one... less intuitive -- Fabien Bodard From gambas at ...1... Tue Mar 8 17:28:03 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 8 Mar 2016 17:28:03 +0100 Subject: [Gambas-user] Two suggestions for the ide In-Reply-To: References: Message-ID: <56DEFD93.5070409@...1...> Le 08/03/2016 14:20, Fabien Bodard a ?crit : > All are related to the new Add/Import file layout. > > > Can you : > > - Add a new MenuButton "New" that act depend the tree view position. > - Add a new Button Import that act depend the tree position > - Add an IconPanel in the Import Dialog to Easily select the import filter. > > In all case i found the new way interresting but less easy to use than > the previous one... less intuitive > Show me a screenshot or tell it in french, it will be clearer for me! -- Beno?t Minisini From adamnt42 at ...626... Wed Mar 9 05:30:39 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 9 Mar 2016 15:00:39 +1030 Subject: [Gambas-user] Ideas? New tri-state control Message-ID: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> (We're just having a little think session here) Looking for the a good example of how to do a "draw it yourself" control. The control in question represents the value of a tri-state variable with the values "Up", "Down" or "Not set" (out reasons are arcane but consider something you want to specify a "default sort" for). So it would look like a checkbox but instead of tick boxes it would have a pair of arrow images and a "null" box. tia bruce -- B Bruen From eilert-sprachen at ...221... Wed Mar 9 08:22:54 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 09 Mar 2016 08:22:54 +0100 Subject: [Gambas-user] Ideas? New tri-state control In-Reply-To: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> References: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> Message-ID: <56DFCF4E.4070401@...221...> Nice idea - but before re-inventing the wheel, you know that there is a checkbox with tri-state functionality? What would be the advantage of your version over the existing one? Rolf Am 09.03.2016 05:30, schrieb adamnt42 at ...626...: > (We're just having a little think session here) > > Looking for the a good example of how to do a "draw it yourself" control. > > The control in question represents the value of a tri-state variable with the values "Up", "Down" or "Not set" (out reasons are arcane but consider something you want to specify a "default sort" for). So it would look like a checkbox but instead of tick boxes it would have a pair of arrow images and a "null" box. > > tia > bruce > From gambas.fr at ...626... Wed Mar 9 09:10:01 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Mar 2016 09:10:01 +0100 Subject: [Gambas-user] Ideas? New tri-state control In-Reply-To: <56DFCF4E.4070401@...221...> References: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> <56DFCF4E.4070401@...221...> Message-ID: This is a quick drawn usercontrol... 25 min. You can add three properties to allow user to define the used pictures Regards, Fabien 2016-03-09 8:22 GMT+01:00 Rolf-Werner Eilert : > Nice idea - but before re-inventing the wheel, you know that there is a > checkbox with tri-state functionality? > > What would be the advantage of your version over the existing one? > > Rolf > > Am 09.03.2016 05:30, schrieb adamnt42 at ...626...: >> (We're just having a little think session here) >> >> Looking for the a good example of how to do a "draw it yourself" control. >> >> The control in question represents the value of a tri-state variable with the values "Up", "Down" or "Not set" (out reasons are arcane but consider something you want to specify a "default sort" for). So it would look like a checkbox but instead of tick boxes it would have a pair of arrow images and a "null" box. >> >> tia >> bruce >> > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > 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: demotristate-0.0.1.tar.gz Type: application/x-gzip Size: 14441 bytes Desc: not available URL: From abbat.81 at ...787... Wed Mar 9 09:15:25 2016 From: abbat.81 at ...787... (abbat81) Date: Wed, 9 Mar 2016 01:15:25 -0700 (MST) Subject: [Gambas-user] MediaView1.URL cannot set status Message-ID: <1457511325189-55626.post@...3046...> Hi, can you help me: MediaView1.URL = "http://apasfiisl.apa.at/ipad/orf3_q4a/orf.sdp/playlist.m3u8" MediaView1.Play I get: "cannot set status" In console: " (video:5273): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed (video:5273): GStreamer-CRITICAL **: gst_element_get_bus: assertion `GST_IS_ELEMENT (element)' failed (video:5273): GStreamer-CRITICAL **: gst_bus_pop: assertion `GST_IS_BUS (bus)' failed (video:5273): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed " Maybe I need update some lib? -- View this message in context: http://gambas.8142.n7.nabble.com/MediaView1-URL-cannot-set-status-tp55626.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Wed Mar 9 11:46:40 2016 From: vuott at ...325... (Ru Vuott) Date: Wed, 9 Mar 2016 10:46:40 +0000 (UTC) Subject: [Gambas-user] (no subject) References: <607548965.9993281.1457520400116.JavaMail.yahoo.ref@...3424...> Message-ID: <607548965.9993281.1457520400116.JavaMail.yahoo@...3424...> Hello, "before", by using this simple code (gbdesktop and gb.desktop.x11): Public Sub Button1_Click() Dim df As DesktopFile Dim path As String percorso = "/path/of/the/file" For Each df In DesktopFile.FromMime(DesktopMime.FromFile(path).Type) Print df.ProgramName Next End I "was" able to know the applications associated (by default and those by me choosen) with a file. Regards vuott [System] Gambas=3.8.90 r7626 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=GNOME Theme=Cleanlooks Language=it_IT.UTF-8 Memory=1244M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-EWRHxTIG57,guid=d66a9c093eff33b04b14a0d856dfdf04 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-NMk8yk GPG_AGENT_INFO=/run/user/1000/keyring-NMk8yk/gpg:0:1 HOME= INSIDE_NEMO_PYTHON= LANG=it_IT.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=it_IT.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1538,unix/:/tmp/.ICE-unix/1538 SHELL=/bin/bash SSH_AGENT_PID=1669 SSH_AUTH_SOCK=/run/user/1000/keyring-NMk8yk/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=00bbf8687c0641e38c05d54254ef59ed-1457512194.246155-122942153 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 From adamnt42 at ...626... Wed Mar 9 12:53:51 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 9 Mar 2016 22:23:51 +1030 Subject: [Gambas-user] Ideas? New tri-state control In-Reply-To: <56DFCF4E.4070401@...221...> References: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> <56DFCF4E.4070401@...221...> Message-ID: <20160309222351.b62e300cbb2e293a2961c12f@...626...> On Wed, 09 Mar 2016 08:22:54 +0100 Rolf-Werner Eilert wrote: > Nice idea - but before re-inventing the wheel, you know that there is a > checkbox with tri-state functionality? > > What would be the advantage of your version over the existing one? > > Rolf > > Am 09.03.2016 05:30, schrieb adamnt42 at ...626...: > > (We're just having a little think session here) > > > > Looking for the a good example of how to do a "draw it yourself" control. > > > > The control in question represents the value of a tri-state variable with the values "Up", "Down" or "Not set" (out reasons are arcane but consider something you want to specify a "default sort" for). So it would look like a checkbox but instead of tick boxes it would have a pair of arrow images and a "null" box. > > > > tia > > bruce > > > > Purely visual. -- B Bruen From adamnt42 at ...626... Wed Mar 9 12:59:53 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 9 Mar 2016 22:29:53 +1030 Subject: [Gambas-user] Ideas? New tri-state control In-Reply-To: References: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> <56DFCF4E.4070401@...221...> Message-ID: <20160309222953.c3eb95258ea1a610de41cae7@...626...> On Wed, 9 Mar 2016 09:10:01 +0100 Fabien Bodard wrote: > This is a quick drawn usercontrol... 25 min. > > You can add three properties to allow user to define the used pictures > > Regards, > > Fabien > > 2016-03-09 8:22 GMT+01:00 Rolf-Werner Eilert : > > Nice idea - but before re-inventing the wheel, you know that there is a > > checkbox with tri-state functionality? > > > > What would be the advantage of your version over the existing one? > > > > Rolf > > > > Am 09.03.2016 05:30, schrieb adamnt42 at ...626...: > >> (We're just having a little think session here) > >> > >> Looking for the a good example of how to do a "draw it yourself" control. > >> > >> The control in question represents the value of a tri-state variable with the values "Up", "Down" or "Not set" (out reasons are arcane but consider something you want to specify a "default sort" for). So it would look like a checkbox but instead of tick boxes it would have a pair of arrow images and a "null" box. > >> > >> tia > >> bruce > >> > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard Excellent! I thought it would be much more complex. thanks Fabien. b -- B Bruen From gambas.fr at ...626... Wed Mar 9 13:53:45 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Mar 2016 13:53:45 +0100 Subject: [Gambas-user] Ideas? New tri-state control In-Reply-To: <20160309222953.c3eb95258ea1a610de41cae7@...626...> References: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> <56DFCF4E.4070401@...221...> <20160309222953.c3eb95258ea1a610de41cae7@...626...> Message-ID: 2016-03-09 12:59 GMT+01:00 adamnt42 at ...626... : > On Wed, 9 Mar 2016 09:10:01 +0100 > Fabien Bodard wrote: > >> This is a quick drawn usercontrol... 25 min. >> >> You can add three properties to allow user to define the used pictures >> >> Regards, >> >> Fabien >> >> 2016-03-09 8:22 GMT+01:00 Rolf-Werner Eilert : >> > Nice idea - but before re-inventing the wheel, you know that there is a >> > checkbox with tri-state functionality? >> > >> > What would be the advantage of your version over the existing one? >> > >> > Rolf >> > >> > Am 09.03.2016 05:30, schrieb adamnt42 at ...626...: >> >> (We're just having a little think session here) >> >> >> >> Looking for the a good example of how to do a "draw it yourself" control. >> >> >> >> The control in question represents the value of a tri-state variable with the values "Up", "Down" or "Not set" (out reasons are arcane but consider something you want to specify a "default sort" for). So it would look like a checkbox but instead of tick boxes it would have a pair of arrow images and a "null" box. >> >> >> >> tia >> >> bruce >> >> >> > >> > >> > ------------------------------------------------------------------------------ >> > Transform Data into Opportunity. >> > Accelerate data analysis in your applications with >> > Intel Data Analytics Acceleration Library. >> > Click to learn more. >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard > > Excellent! I thought it would be much more complex. > thanks Fabien. It's gambas :-) > > b > -- > B Bruen > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From sbungay at ...3301... Wed Mar 9 14:21:55 2016 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Mar 2016 08:21:55 -0500 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> Message-ID: <56E02373.4050207@...3301...> Different is not the problem, going backwards by implementing a bad design is the problem. Easier to use, faster in use, and more intuitive to use, all of those are good; sadly a scrollable single line command entry area with a kludge to echo the commands to the output area, is none of those things. When compared to using print statements in the code it is a (marginal) improvement... an evolutionary step, the next of which would be to become what it replaced. Anyway, my moaning about it isn't getting the code debugged, which was that caused a "WTF" moment and these messages, nor is it making life better by replacing what we lost. Is it (the console) written entirely in GAMBAS? If I can get some time I might do something about it. On 03/07/2016 05:55 PM, Jussi Lahtinen wrote: > I personally like the old way, but there is nothing I cannot do with this > new way. And it doesn't have any effect on my working speed. > > Do you mean you need the console to its own window? > Go to Debug menu and select "Use terminal emulator". Maybe that will do it? > > So far you haven't said anything of what is actually the problem with the > new console. Yes, it's different, but that might not motive anyone to do > anything about it. > > > Jussi > > > On Mon, Mar 7, 2016 at 10:21 PM, Stephen wrote: > >> Why not? >> >> Because full screen editing (full window in this case) as it was >> implemented is better in every way. >> >> While the console is not a class editor, would this data entry paradigm >> be an improvement if applied to the class editor? I'll vote "No" on that >> one. >> >> The new console breaks consistency with the IDE's UI, it feels like an >> antique wooden-wheel on vehicle that is otherwise very advanced. >> >> So I have to ask Benoit: what was the driving force? >> >> >> On 03/07/2016 11:20 AM, Jussi Lahtinen wrote: >>> Why not? >>> You need to put the input on one line anyway and the result can have >>> multiple lines (or you may want to compare multiple results). So I think >> it >>> is logical in that way. >>> >>> >>> Jussi >>> >>> On Mon, Mar 7, 2016 at 5:21 PM, Stephen >> wrote: >>>> Is the console SUPPOSED to have a one line input field with a massive >>>> results area above it? Please tell me sanity has returned and later >>>> versions have a console in the traditional sense. >>>> -- >>>> >>>> Kindest Regards >>>> Stephen A. Bungay, Prop. >>>> Smarts On Site Information Systems >>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Transform Data into Opportunity. >>>> Accelerate data analysis in your applications with >>>> Intel Data Analytics Acceleration Library. >>>> Click to learn more. >>>> http://makebettercode.com/inteldaal-eval >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >> ------------------------------------------------------------------------------ >>> Transform Data into Opportunity. >>> Accelerate data analysis in your applications with >>> Intel Data Analytics Acceleration Library. >>> Click to learn more. >>> http://makebettercode.com/inteldaal-eval >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> -- >> Kindest Regards >> Stephen A. Bungay, Prop. >> Smarts On Site Information Systems >> >> >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://makebettercode.com/inteldaal-eval >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From gambas.fr at ...626... Wed Mar 9 16:31:54 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Mar 2016 16:31:54 +0100 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: <56E02373.4050207@...3301...> References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> <56E02373.4050207@...3301...> Message-ID: The console is just a TextArea that show the output of your program on the standard out. Well the good thing will be what i've begin but by lack of time and maybe because i want to touch the clouds i've not finished. I wanted to draw a true virtual terminal (VT100 compatible) in gambas. So what is possible to me is to just make on a first step a minimalistic terminal that talk with a stream. The stream will be the standart I/O during the execution and the Gambas Interpreter in debug time with a true prompt. So i'll rework on gb.terminal to just manage the basic commands and excape on a first time all the VT sp?cific one. (Accepted : letters, linefeed, return, tab, bkspace). Just give me one month. But help and suggestion will be welcome. From eilert-sprachen at ...221... Wed Mar 9 16:42:50 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 09 Mar 2016 16:42:50 +0100 Subject: [Gambas-user] Copy data like Ctrl-C Message-ID: <56E0447A.4010804@...221...> When I want to copy data for copy-and-paste like with Ctrl-C, how could I do it directly from code (via press of a button) instead of offering a text area for the mouse? In our database, sometimes I need a student's address in Writer or another program. It would be nice to have a button to copy the relevant fields automagically to be used in Writer by Ctrl-V. I haven't found any information about this because I don't know where to look for. Thanks for your insight! Rolf From d4t4full at ...626... Wed Mar 9 17:01:25 2016 From: d4t4full at ...626... (ML) Date: Wed, 9 Mar 2016 13:01:25 -0300 Subject: [Gambas-user] Copy data like Ctrl-C In-Reply-To: <56E0447A.4010804@...221...> References: <56E0447A.4010804@...221...> Message-ID: <56E048D5.7050504@...626...> On 2016-03-09 12:42, Rolf-Werner Eilert wrote: > When I want to copy data for copy-and-paste like with Ctrl-C, how could > I do it directly from code (via press of a button) instead of offering a > text area for the mouse? > > In our database, sometimes I need a student's address in Writer or > another program. It would be nice to have a button to copy the relevant > fields automagically to be used in Writer by Ctrl-V. > > I haven't found any information about this because I don't know where to > look for. > > Thanks for your insight! > > Rolf For that you should use the Clipboard object: Clipboard.Clear Clipboard.Copy(txtData.Text) You can also .Paste() from the clipboard. From eilert-sprachen at ...221... Wed Mar 9 17:07:16 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 09 Mar 2016 17:07:16 +0100 Subject: [Gambas-user] Copy data like Ctrl-C In-Reply-To: <56E048D5.7050504@...626...> References: <56E0447A.4010804@...221...> <56E048D5.7050504@...626...> Message-ID: <56E04A34.1090606@...221...> Am 09.03.2016 17:01, schrieb ML: > On 2016-03-09 12:42, Rolf-Werner Eilert wrote: >> When I want to copy data for copy-and-paste like with Ctrl-C, how could >> I do it directly from code (via press of a button) instead of offering a >> text area for the mouse? >> >> In our database, sometimes I need a student's address in Writer or >> another program. It would be nice to have a button to copy the relevant >> fields automagically to be used in Writer by Ctrl-V. >> >> I haven't found any information about this because I don't know where to >> look for. >> >> Thanks for your insight! >> >> Rolf > For that you should use the Clipboard object: > > Clipboard.Clear > Clipboard.Copy(txtData.Text) > > You can also .Paste() from the clipboard. > > Aah - Gambas rocks! Thank you Rolf From gambas.fr at ...626... Wed Mar 9 17:27:19 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Mar 2016 17:27:19 +0100 Subject: [Gambas-user] Copy data like Ctrl-C In-Reply-To: <56E04A34.1090606@...221...> References: <56E0447A.4010804@...221...> <56E048D5.7050504@...626...> <56E04A34.1090606@...221...> Message-ID: You can do : Clipboard.Current = ClipBoard.Selection Clipboard.Copy(txtData.Text) And then the Data will be availbale in the secondary clipboard too... AKA the middle mouse button paste datas 2016-03-09 17:07 GMT+01:00 Rolf-Werner Eilert : > > Am 09.03.2016 17:01, schrieb ML: >> On 2016-03-09 12:42, Rolf-Werner Eilert wrote: >>> When I want to copy data for copy-and-paste like with Ctrl-C, how could >>> I do it directly from code (via press of a button) instead of offering a >>> text area for the mouse? >>> >>> In our database, sometimes I need a student's address in Writer or >>> another program. It would be nice to have a button to copy the relevant >>> fields automagically to be used in Writer by Ctrl-V. >>> >>> I haven't found any information about this because I don't know where to >>> look for. >>> >>> Thanks for your insight! >>> >>> Rolf >> For that you should use the Clipboard object: >> >> Clipboard.Clear >> Clipboard.Copy(txtData.Text) >> >> You can also .Paste() from the clipboard. >> >> > > Aah - Gambas rocks! > > Thank you > > Rolf > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Wed Mar 9 17:37:53 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 9 Mar 2016 17:37:53 +0100 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: <56E02373.4050207@...3301...> References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> <56E02373.4050207@...3301...> Message-ID: <56E05161.5040507@...1...> Le 09/03/2016 14:21, Stephen a ?crit : > Different is not the problem, going backwards by implementing a bad > design is the problem. Easier to use, faster in use, and more intuitive > to use, all of those are good; sadly a scrollable single line command > entry area with a kludge to echo the commands to the output area, is > none of those things. When compared to using print statements in the > code it is a (marginal) improvement... an evolutionary step, the next of > which would be to become what it replaced. > > Anyway, my moaning about it isn't getting the code debugged, which was > that caused a "WTF" moment and these messages, nor is it making life > better by replacing what we lost. Is it (the console) written entirely > in GAMBAS? If I can get some time I might do something about it. > The problem was that before, some users thought that the IDE console was a true terminal, whereas it was just a read-only text-editor with tweaks. Which lead to confusion. I agree that the new interface is not very nice, but there is no confusion anymore that way. Moreover, it has a command history, which was impossible with the previous interface. And as said Fabien, as soon as he will be able to produce a true terminal emulator, we will be able to go back to a terminal-like interface. Regards, -- Beno?t Minisini From bagonergi at ...626... Wed Mar 9 18:00:03 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 9 Mar 2016 18:00:03 +0100 Subject: [Gambas-user] Demotristate question Message-ID: Hello Fabien, thanks for the nice gift. I ask you why the Raise in lbl_MouseDown, is an oversight or is right? I get two results each Click Regards Gianluigi From gambas.fr at ...626... Wed Mar 9 19:15:31 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Mar 2016 19:15:31 +0100 Subject: [Gambas-user] Demotristate question In-Reply-To: References: Message-ID: Yes it's a mistake from me ... remove the raise call from the lbl_MouseDown event. It is already raised via the View_MouseDown Sub I call in the lbl event. 2016-03-09 18:00 GMT+01:00 Gianluigi : > Hello Fabien, > thanks for the nice gift. > I ask you why the Raise in lbl_MouseDown, is an oversight or is right? > I get two results each Click > Regards > Gianluigi > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Wed Mar 9 19:17:13 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 Mar 2016 19:17:13 +0100 Subject: [Gambas-user] Ideas? New tri-state control In-Reply-To: References: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> <56DFCF4E.4070401@...221...> <20160309222953.c3eb95258ea1a610de41cae7@...626...> Message-ID: Yes it's a mistake from me ... remove the raise call from the lbl_MouseDown event. It is already raised via the View_MouseDown Sub I call in the lbl event. ? 2016-03-09 18:00 GMT+01:00 Gianluigi : > Hello Fabien, > thanks for the nice gift. > I ask you why the Raise in lbl_MouseDown, is an oversight or is right? > I get two results each Click > Regards > Gianluigi 2016-03-09 13:53 GMT+01:00 Fabien Bodard : > 2016-03-09 12:59 GMT+01:00 adamnt42 at ...626... : >> On Wed, 9 Mar 2016 09:10:01 +0100 >> Fabien Bodard wrote: >> >>> This is a quick drawn usercontrol... 25 min. >>> >>> You can add three properties to allow user to define the used pictures >>> >>> Regards, >>> >>> Fabien >>> >>> 2016-03-09 8:22 GMT+01:00 Rolf-Werner Eilert : >>> > Nice idea - but before re-inventing the wheel, you know that there is a >>> > checkbox with tri-state functionality? >>> > >>> > What would be the advantage of your version over the existing one? >>> > >>> > Rolf >>> > >>> > Am 09.03.2016 05:30, schrieb adamnt42 at ...626...: >>> >> (We're just having a little think session here) >>> >> >>> >> Looking for the a good example of how to do a "draw it yourself" control. >>> >> >>> >> The control in question represents the value of a tri-state variable with the values "Up", "Down" or "Not set" (out reasons are arcane but consider something you want to specify a "default sort" for). So it would look like a checkbox but instead of tick boxes it would have a pair of arrow images and a "null" box. >>> >> >>> >> tia >>> >> bruce >>> >> >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Transform Data into Opportunity. >>> > Accelerate data analysis in your applications with >>> > Intel Data Analytics Acceleration Library. >>> > Click to learn more. >>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > _______________________________________________ >>> > Gambas-user mailing list >>> > Gambas-user at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> -- >>> Fabien Bodard >> >> Excellent! I thought it would be much more complex. >> thanks Fabien. > > It's gambas :-) > >> >> b >> -- >> B Bruen >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From bagonergi at ...626... Wed Mar 9 20:17:23 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 9 Mar 2016 20:17:23 +0100 Subject: [Gambas-user] Ideas? New tri-state control In-Reply-To: References: <20160309150039.2edaf09ba40953fa7cd5e805@...626...> <56DFCF4E.4070401@...221...> <20160309222953.c3eb95258ea1a610de41cae7@...626...> Message-ID: Sorry Fabien, I had already deleted the email, and did not know how to re-link to the discussion. Thanks again Gianluigi 2016-03-09 19:17 GMT+01:00 Fabien Bodard : > Yes it's a mistake from me ... remove the raise call from the > lbl_MouseDown event. > It is already raised via the View_MouseDown Sub I call in the lbl event. > ? > > > 2016-03-09 18:00 GMT+01:00 Gianluigi : > > Hello Fabien, > > thanks for the nice gift. > > I ask you why the Raise in lbl_MouseDown, is an oversight or is right? > > I get two results each Click > > Regards > > Gianluigi > > 2016-03-09 13:53 GMT+01:00 Fabien Bodard : > > 2016-03-09 12:59 GMT+01:00 adamnt42 at ...626... : > >> On Wed, 9 Mar 2016 09:10:01 +0100 > >> Fabien Bodard wrote: > >> > >>> This is a quick drawn usercontrol... 25 min. > >>> > >>> You can add three properties to allow user to define the used pictures > >>> > >>> Regards, > >>> > >>> Fabien > >>> > >>> 2016-03-09 8:22 GMT+01:00 Rolf-Werner Eilert < > eilert-sprachen at ...221...>: > >>> > Nice idea - but before re-inventing the wheel, you know that there > is a > >>> > checkbox with tri-state functionality? > >>> > > >>> > What would be the advantage of your version over the existing one? > >>> > > >>> > Rolf > >>> > > >>> > Am 09.03.2016 05:30, schrieb adamnt42 at ...626...: > >>> >> (We're just having a little think session here) > >>> >> > >>> >> Looking for the a good example of how to do a "draw it yourself" > control. > >>> >> > >>> >> The control in question represents the value of a tri-state > variable with the values "Up", "Down" or "Not set" (out reasons are arcane > but consider something you want to specify a "default sort" for). So it > would look like a checkbox but instead of tick boxes it would have a pair > of arrow images and a "null" box. > >>> >> > >>> >> tia > >>> >> bruce > >>> >> > >>> > > >>> > > >>> > > ------------------------------------------------------------------------------ > >>> > Transform Data into Opportunity. > >>> > Accelerate data analysis in your applications with > >>> > Intel Data Analytics Acceleration Library. > >>> > Click to learn more. > >>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>> > _______________________________________________ > >>> > Gambas-user mailing list > >>> > Gambas-user at lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>> > >>> > >>> -- > >>> Fabien Bodard > >> > >> Excellent! I thought it would be much more complex. > >> thanks Fabien. > > > > It's gambas :-) > > > >> > >> b > >> -- > >> B Bruen > >> > >> > ------------------------------------------------------------------------------ > >> Transform Data into Opportunity. > >> Accelerate data analysis in your applications with > >> Intel Data Analytics Acceleration Library. > >> Click to learn more. > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > -- > > Fabien Bodard > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sbungay at ...3301... Wed Mar 9 21:11:16 2016 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Mar 2016 15:11:16 -0500 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: <56E05161.5040507@...1...> References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> <56E02373.4050207@...3301...> <56E05161.5040507@...1...> Message-ID: <56E08364.60806@...3301...> On 03/09/2016 11:37 AM, Beno?t Minisini wrote: > Le 09/03/2016 14:21, Stephen a ?crit : >> Different is not the problem, going backwards by implementing a bad >> design is the problem. Easier to use, faster in use, and more intuitive >> to use, all of those are good; sadly a scrollable single line command >> entry area with a kludge to echo the commands to the output area, is >> none of those things. When compared to using print statements in the >> code it is a (marginal) improvement... an evolutionary step, the next of >> which would be to become what it replaced. >> >> Anyway, my moaning about it isn't getting the code debugged, which was >> that caused a "WTF" moment and these messages, nor is it making life >> better by replacing what we lost. Is it (the console) written entirely >> in GAMBAS? If I can get some time I might do something about it. >> > The problem was that before, some users thought that the IDE console was > a true terminal, whereas it was just a read-only text-editor with > tweaks. Which lead to confusion. > > I agree that the new interface is not very nice, but there is no > confusion anymore that way. > > Moreover, it has a command history, which was impossible with the > previous interface. > > And as said Fabien, as soon as he will be able to produce a true > terminal emulator, we will be able to go back to a terminal-like interface. > > Regards, > Some users being confused could have been fixed with education. The original didn't have a command history like bash, but it did let you scroll up, place your cursor st the end of a command and press [Enter] to execute it again, or edit the line and execute it, or copy the line, past it, edit it and execute it. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From sbungay at ...3301... Wed Mar 9 21:15:55 2016 From: sbungay at ...3301... (Stephen) Date: Wed, 09 Mar 2016 15:15:55 -0500 Subject: [Gambas-user] Console in V 3.8.4 In-Reply-To: References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> <56E02373.4050207@...3301...> Message-ID: <56E0847B.2020009@...3301...> On 03/09/2016 10:31 AM, Fabien Bodard wrote: > The console is just a TextArea that show the output of your program on > the standard out. > > Well the good thing will be what i've begin but by lack of time and > maybe because i want to touch the clouds > i've not finished. > > I wanted to draw a true virtual terminal (VT100 compatible) in gambas. > So what is possible to me is to just make on a first step a > minimalistic terminal that talk with a stream. The stream will be the > standart I/O during the execution and the Gambas Interpreter in debug > time with a true prompt. > > So i'll rework on gb.terminal to just manage the basic commands and > excape on a first time all the VT sp?cific one. (Accepted : letters, > linefeed, return, tab, bkspace). > > Just give me one month. But help and suggestion will be welcome. > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi ya Fabian! Sounds interesting, I have a couple of nice DEC mico-VAX's here I could test it out on LOL :) -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From gambas at ...1... Wed Mar 9 22:14:28 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 9 Mar 2016 22:14:28 +0100 Subject: [Gambas-user] MediaView1.URL cannot set status In-Reply-To: <1457511325189-55626.post@...3046...> References: <1457511325189-55626.post@...3046...> Message-ID: <56E09234.6010700@...1...> Le 09/03/2016 09:15, abbat81 a ?crit : > Hi, > can you help me: > > MediaView1.URL = > "http://apasfiisl.apa.at/ipad/orf3_q4a/orf.sdp/playlist.m3u8" > MediaView1.Play > > > I get: "cannot set status" > > In console: > > " > (video:5273): GStreamer-CRITICAL **: gst_element_set_state: assertion > `GST_IS_ELEMENT (element)' failed > > (video:5273): GStreamer-CRITICAL **: gst_element_get_bus: assertion > `GST_IS_ELEMENT (element)' failed > > (video:5273): GStreamer-CRITICAL **: gst_bus_pop: assertion `GST_IS_BUS > (bus)' failed > > (video:5273): GStreamer-CRITICAL **: gst_object_unref: assertion `object != > NULL' failed > " > > Maybe I need update some lib? > Please give a project and your system information. Regards, -- Beno?t Minisini From vuott at ...325... Thu Mar 10 00:40:55 2016 From: vuott at ...325... (Ru Vuott) Date: Wed, 9 Mar 2016 23:40:55 +0000 (UTC) Subject: [Gambas-user] MediaView1.URL cannot set status References: <736191093.10915482.1457566855535.JavaMail.yahoo.ref@...3424...> Message-ID: <736191093.10915482.1457566855535.JavaMail.yahoo@...3424...> Hello, I tried that url: it works for me with MediaView. regards vuott -------------------------------------------- Mer 9/3/16, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] MediaView1.URL cannot set status A: "mailing list for gambas users" Data: Mercoled? 9 marzo 2016, 22:14 Le 09/03/2016 09:15, abbat81 a ?crit : > Hi, > can you help me: > >???MediaView1.URL = > "http://apasfiisl.apa.at/ipad/orf3_q4a/orf.sdp/playlist.m3u8" >???MediaView1.Play > > > I get: "cannot set status" > > In console: > > " > (video:5273): GStreamer-CRITICAL **: gst_element_set_state: assertion > `GST_IS_ELEMENT (element)' failed > > (video:5273): GStreamer-CRITICAL **: gst_element_get_bus: assertion > `GST_IS_ELEMENT (element)' failed > > (video:5273): GStreamer-CRITICAL **: gst_bus_pop: assertion `GST_IS_BUS > (bus)' failed > > (video:5273): GStreamer-CRITICAL **: gst_object_unref: assertion `object != > NULL' failed > " > > Maybe I need update some lib? > Please give a project and your system information. Regards, -- Beno?t Minisini ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From buster6seven at ...626... Thu Mar 10 05:17:01 2016 From: buster6seven at ...626... (Buster Seven) Date: Thu, 10 Mar 2016 15:17:01 +1100 Subject: [Gambas-user] Report problems Message-ID: I'm having problems with the report component when I run my program in the ide the report shows as expected but when i build an exe the report is all wrong? ?IDE ?EXE [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.16.0-38-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk Language=en_AU.UTF-8 Memory=3806M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oAaGgMxyq7,guid=3e3510e2ca9bf0d3c9d06f4856dd0237 DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-dgeJQX GNOME_KEYRING_PID=2008 GPG_AGENT_INFO=/run/user/1000/keyring-dgeJQX/gpg:0:1 HOME=/home/ LANG=en_AU.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=en_AU.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ SESSION_MANAGER=local/:@/tmp/.ICE-unix/1764,unix/:/tmp/.ICE-unix/1764 SHELL=/bin/bash SSH_AGENT_PID=1920 SSH_AUTH_SOCK=/run/user/1000/keyring-dgeJQX/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1457324597.652522-1504565590 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-1.png Type: image/png Size: 8950 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-2.png Type: image/png Size: 9972 bytes Desc: not available URL: From gambas.fr at ...626... Thu Mar 10 11:05:59 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 Mar 2016 11:05:59 +0100 Subject: [Gambas-user] Report problems In-Reply-To: References: Message-ID: Well i think it's a font problem. Try to select explicitly the font of the report object. if it not work : are you using gb.gui ? then can you send me a short project with the involved report ? I think you have a bad report design too. So if i have an example i can explain to you what to do. 2016-03-10 5:17 GMT+01:00 Buster Seven : > I'm having problems with the report component when I run my program in the > ide the report shows as expected but when i build an exe the report is all > wrong? > > > > IDE > > > EXE > > > > > > > > [System] > Gambas=3.8.4 > OperatingSystem=Linux > Kernel=3.16.0-38-generic > Architecture=x86_64 > Distribution=Linux Mint 17.2 Rafaela > Desktop=MATE > Theme=Gtk > Language=en_AU.UTF-8 > Memory=3806M > > [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+2=libgtk-x11-2.0.so.0.2400.23 > GTK+3=libgtk-3.so.0.1000.8 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > QT4=libQtCore.so.4.8.6 > QT5=libQt5Core.so.5.2.1 > SDL=libSDL-1.2.so.0.11.4 > > [Environment] > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oAaGgMxyq7,guid=3e3510e2ca9bf0d3c9d06f4856dd0237 > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > DESKTOP_SESSION=mate > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GDMSESSION=mate > GDM_XSERVER_LOCATION=local > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-dgeJQX > GNOME_KEYRING_PID=2008 > GPG_AGENT_INFO=/run/user/1000/keyring-dgeJQX/gpg:0:1 > HOME=/home/ > LANG=en_AU.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > MATE_DESKTOP_SESSION_ID=this-is-deprecated > MDMSESSION=mate > MDM_LANG=en_AU.UTF-8 > MDM_XSERVER_LOCATION=local > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD=/home/ > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1764,unix/:/tmp/.ICE-unix/1764 > SHELL=/bin/bash > SSH_AGENT_PID=1920 > SSH_AUTH_SOCK=/run/user/1000/keyring-dgeJQX/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER= > USERNAME= > WINDOWPATH=8 > XAUTHORITY=/home//.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > XDG_CURRENT_DESKTOP=MATE > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1457324597.652522-1504565590 > XDG_SESSION_DESKTOP=mate > XDG_SESSION_ID=c1 > XDG_VTNR=8 > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bagonergi at ...626... Thu Mar 10 16:32:26 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 10 Mar 2016 16:32:26 +0100 Subject: [Gambas-user] Clipboard question Message-ID: I do not understand why does this happen? Given this simple code: Public Sub Form_Open() ' First copy this commentate words by selecting it and giving CTRL+C TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam eaque ipsa, quae ab illo inventore" ' Triky Fabien Clipboard.Current = ClipBoard.Selection ' Triky Jorge TextArea1.SetFocus() TextArea1.Select(0, Len(TextArea1.Text)) End 1) Copy the commentate words 2) Start the application. 3) CTRL+C 4) CANC 5) CTRL+V It is pasted the Latin phrase 6) CANC (clear the textarea) 7) CLICK the middle mouse button It is pasted the Latin phrase 8) Close Now we repeat the first four steps: 1) Copy the commentate words 2) Start the application. 3) CTRL+C 4) CANC 5) CLICK the middle mouse button It is pasted the commentate words(!?) Why? Regards Gianluigi From charlie at ...2793... Thu Mar 10 16:04:15 2016 From: charlie at ...2793... (Charlie) Date: Thu, 10 Mar 2016 08:04:15 -0700 (MST) Subject: [Gambas-user] MediaView1.URL cannot set status In-Reply-To: <736191093.10915482.1457566855535.JavaMail.yahoo@...3424...> References: <1457511325189-55626.post@...3046...> <736191093.10915482.1457566855535.JavaMail.yahoo@...3424...> Message-ID: <1457622255469-55649.post@...3046...> Works for me as well. -- View this message in context: http://gambas.8142.n7.nabble.com/MediaView1-URL-cannot-set-status-tp55626p55649.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Thu Mar 10 18:12:16 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 10 Mar 2016 18:12:16 +0100 Subject: [Gambas-user] Menu changed programmatically Message-ID: <56E1AAF0.8000409@...221...> How to change the entries of a pop-up menu? I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. not for a menu in the ordinary "menu" sense of the word, but for a list that reacts like a ComboBox. In this case, I would have to abuse the pop-up menu that is linked to the MenuButton. But how can I access the entries of a menu during runtime? I haven't found anything about it in the documentation. Regards Rolf From gambas.fr at ...626... Thu Mar 10 19:14:00 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 Mar 2016 19:14:00 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: if you are selecting the commentate with the mouse ... then the secondary clipboard will be filled with it... replacing the latin one 2016-03-10 16:32 GMT+01:00 Gianluigi : > I do not understand why does this happen? > > Given this simple code: > > Public Sub Form_Open() > > ' First copy this commentate words by selecting it and giving CTRL+C > > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam eaque > ipsa, quae ab illo inventore" > ' Triky Fabien > Clipboard.Current = ClipBoard.Selection > ' Triky Jorge > TextArea1.SetFocus() > TextArea1.Select(0, Len(TextArea1.Text)) > > End > > 1) Copy the commentate words > 2) Start the application. > 3) CTRL+C > 4) CANC > 5) CTRL+V > It is pasted the Latin phrase > 6) CANC (clear the textarea) > 7) CLICK the middle mouse button > It is pasted the Latin phrase > 8) Close > > Now we repeat the first four steps: > > 1) Copy the commentate words > 2) Start the application. > 3) CTRL+C > 4) CANC > 5) CLICK the middle mouse button > It is pasted the commentate words(!?) > > Why? > > Regards > Gianluigi > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Thu Mar 10 20:56:44 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 10 Mar 2016 20:56:44 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: No Fabien, I always do the same: Before I copy the commentate phrase, then I copy the latin phrase. In the second procedure jumping the CTRL + V and step directly to the mouse. Regards Gianluigi 2016-03-10 19:14 GMT+01:00 Fabien Bodard : > if you are selecting the commentate with the mouse ... then the > secondary clipboard will be filled with it... replacing the latin one > > 2016-03-10 16:32 GMT+01:00 Gianluigi : > > I do not understand why does this happen? > > > > Given this simple code: > > > > Public Sub Form_Open() > > > > ' First copy this commentate words by selecting it and giving CTRL+C > > > > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus > > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam > eaque > > ipsa, quae ab illo inventore" > > ' Triky Fabien > > Clipboard.Current = ClipBoard.Selection > > ' Triky Jorge > > TextArea1.SetFocus() > > TextArea1.Select(0, Len(TextArea1.Text)) > > > > End > > > > 1) Copy the commentate words > > 2) Start the application. > > 3) CTRL+C > > 4) CANC > > 5) CTRL+V > > It is pasted the Latin phrase > > 6) CANC (clear the textarea) > > 7) CLICK the middle mouse button > > It is pasted the Latin phrase > > 8) Close > > > > Now we repeat the first four steps: > > > > 1) Copy the commentate words > > 2) Start the application. > > 3) CTRL+C > > 4) CANC > > 5) CLICK the middle mouse button > > It is pasted the commentate words(!?) > > > > Why? > > > > Regards > > Gianluigi > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Mar 10 21:00:50 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 Mar 2016 21:00:50 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: can you send mle the project ? 2016-03-10 20:56 GMT+01:00 Gianluigi : > No Fabien, > I always do the same: > Before I copy the commentate phrase, then I copy the latin phrase. > In the second procedure jumping the CTRL + V and step directly to the mouse. > > Regards > Gianluigi > > > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : > >> if you are selecting the commentate with the mouse ... then the >> secondary clipboard will be filled with it... replacing the latin one >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : >> > I do not understand why does this happen? >> > >> > Given this simple code: >> > >> > Public Sub Form_Open() >> > >> > ' First copy this commentate words by selecting it and giving CTRL+C >> > >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam >> eaque >> > ipsa, quae ab illo inventore" >> > ' Triky Fabien >> > Clipboard.Current = ClipBoard.Selection >> > ' Triky Jorge >> > TextArea1.SetFocus() >> > TextArea1.Select(0, Len(TextArea1.Text)) >> > >> > End >> > >> > 1) Copy the commentate words >> > 2) Start the application. >> > 3) CTRL+C >> > 4) CANC >> > 5) CTRL+V >> > It is pasted the Latin phrase >> > 6) CANC (clear the textarea) >> > 7) CLICK the middle mouse button >> > It is pasted the Latin phrase >> > 8) Close >> > >> > Now we repeat the first four steps: >> > >> > 1) Copy the commentate words >> > 2) Start the application. >> > 3) CTRL+C >> > 4) CANC >> > 5) CLICK the middle mouse button >> > It is pasted the commentate words(!?) >> > >> > Why? >> > >> > Regards >> > Gianluigi >> > >> ------------------------------------------------------------------------------ >> > Transform Data into Opportunity. >> > Accelerate data analysis in your applications with >> > Intel Data Analytics Acceleration Library. >> > Click to learn more. >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Thu Mar 10 21:18:17 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 10 Mar 2016 21:18:17 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: Yes you are right, I should send it before. Attached file. Regards Gianluigi 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > can you send mle the project ? > > 2016-03-10 20:56 GMT+01:00 Gianluigi : > > No Fabien, > > I always do the same: > > Before I copy the commentate phrase, then I copy the latin phrase. > > In the second procedure jumping the CTRL + V and step directly to the > mouse. > > > > Regards > > Gianluigi > > > > > > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : > > > >> if you are selecting the commentate with the mouse ... then the > >> secondary clipboard will be filled with it... replacing the latin one > >> > >> 2016-03-10 16:32 GMT+01:00 Gianluigi : > >> > I do not understand why does this happen? > >> > > >> > Given this simple code: > >> > > >> > Public Sub Form_Open() > >> > > >> > ' First copy this commentate words by selecting it and giving CTRL+C > >> > > >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus > >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam > >> eaque > >> > ipsa, quae ab illo inventore" > >> > ' Triky Fabien > >> > Clipboard.Current = ClipBoard.Selection > >> > ' Triky Jorge > >> > TextArea1.SetFocus() > >> > TextArea1.Select(0, Len(TextArea1.Text)) > >> > > >> > End > >> > > >> > 1) Copy the commentate words > >> > 2) Start the application. > >> > 3) CTRL+C > >> > 4) CANC > >> > 5) CTRL+V > >> > It is pasted the Latin phrase > >> > 6) CANC (clear the textarea) > >> > 7) CLICK the middle mouse button > >> > It is pasted the Latin phrase > >> > 8) Close > >> > > >> > Now we repeat the first four steps: > >> > > >> > 1) Copy the commentate words > >> > 2) Start the application. > >> > 3) CTRL+C > >> > 4) CANC > >> > 5) CLICK the middle mouse button > >> > It is pasted the commentate words(!?) > >> > > >> > Why? > >> > > >> > Regards > >> > Gianluigi > >> > > >> > ------------------------------------------------------------------------------ > >> > Transform Data into Opportunity. > >> > Accelerate data analysis in your applications with > >> > Intel Data Analytics Acceleration Library. > >> > Click to learn more. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> > >> > ------------------------------------------------------------------------------ > >> Transform Data into Opportunity. > >> Accelerate data analysis in your applications with > >> Intel Data Analytics Acceleration Library. > >> Click to learn more. > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > 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: ClipboardQuestion-0.0.1.tar.gz Type: application/x-gzip Size: 11622 bytes Desc: not available URL: From kicking177 at ...626... Thu Mar 10 22:24:05 2016 From: kicking177 at ...626... (KKing) Date: Thu, 10 Mar 2016 21:24:05 +0000 Subject: [Gambas-user] XMLDocument GetSingleNode or XPath support? In-Reply-To: References: <56C43A1D.6050201@...626...> <56D45169.8010408@...626...> Message-ID: <56E1E5F5.1060702@...626...> On 08/03/16 02:39, Adrien Prokopowicz wrote: > Le Mon, 29 Feb 2016 15:10:49 +0100, KKing a ?crit: > >> On 17/02/16 09:15, KKing wrote: >>> does the XML component support a GetSingleNode method or allow an >>> XPath to be used to obtain single nodes? >>> - - - - >>> >> is that a no then? >> >> > At the moment, there is no XPath support for the gb.xml component. > > However, if you want to select specific nodes, you have several methods > at your disposal : > > * The XmlElement.GetChildrenByTagName()[0] can be used to search elements > with specific tag names, but it also supports LIKE[1] patterns. It can > also receive a depth parameter if you want to restrict your search; > * The XmlElement.GetChildrenByAttributeValue()[2] works with similar > options; > * The gb.xml.html sub-component adds a XmlElement.GetChildrenByFilter()[3] > method, > to which you can pass a CSS filter. Not all CSS expressions are > supported though > (see the MatchFilter()[4] help). > > Hope that helps, > > [0] http://gambaswiki.org/wiki/comp/gb.xml/xmlelement/getchildrenbytagname > [1] http://gambaswiki.org/wiki/lang/like > [2] > http://gambaswiki.org/wiki/comp/gb.xml/xmlelement/getchildrenbyattributevalue > [3] > http://gambaswiki.org/wiki/comp/gb.xml.html/xmlelement/getchildrenbyfilter > [4] http://gambaswiki.org/wiki/comp/gb.xml.html/xmlelement/matchfilter > ta, I did contemplate the GetChildren methods. Due to time pressures, and a very specific need, I resorted to modifying the xml file via string manipulation. If I ever need to revisit I may look to do it better, either within my code or extending the component. Would XPath fit within the gb.xml component, or would you imagine a gb.xml.xpath component? From gambas.fr at ...626... Thu Mar 10 22:26:43 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 Mar 2016 22:26:43 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: Well I think you have not understand the clipboard... this is an example 2016-03-10 21:18 GMT+01:00 Gianluigi : > Yes you are right, > I should send it before. > Attached file. > > Regards > > Gianluigi > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > >> can you send mle the project ? >> >> 2016-03-10 20:56 GMT+01:00 Gianluigi : >> > No Fabien, >> > I always do the same: >> > Before I copy the commentate phrase, then I copy the latin phrase. >> > In the second procedure jumping the CTRL + V and step directly to the >> mouse. >> > >> > Regards >> > Gianluigi >> > >> > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : >> > >> >> if you are selecting the commentate with the mouse ... then the >> >> secondary clipboard will be filled with it... replacing the latin one >> >> >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : >> >> > I do not understand why does this happen? >> >> > >> >> > Given this simple code: >> >> > >> >> > Public Sub Form_Open() >> >> > >> >> > ' First copy this commentate words by selecting it and giving CTRL+C >> >> > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam >> >> eaque >> >> > ipsa, quae ab illo inventore" >> >> > ' Triky Fabien >> >> > Clipboard.Current = ClipBoard.Selection >> >> > ' Triky Jorge >> >> > TextArea1.SetFocus() >> >> > TextArea1.Select(0, Len(TextArea1.Text)) >> >> > >> >> > End >> >> > >> >> > 1) Copy the commentate words >> >> > 2) Start the application. >> >> > 3) CTRL+C >> >> > 4) CANC >> >> > 5) CTRL+V >> >> > It is pasted the Latin phrase >> >> > 6) CANC (clear the textarea) >> >> > 7) CLICK the middle mouse button >> >> > It is pasted the Latin phrase >> >> > 8) Close >> >> > >> >> > Now we repeat the first four steps: >> >> > >> >> > 1) Copy the commentate words >> >> > 2) Start the application. >> >> > 3) CTRL+C >> >> > 4) CANC >> >> > 5) CLICK the middle mouse button >> >> > It is pasted the commentate words(!?) >> >> > >> >> > Why? >> >> > >> >> > Regards >> >> > Gianluigi >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > Transform Data into Opportunity. >> >> > Accelerate data analysis in your applications with >> >> > Intel Data Analytics Acceleration Library. >> >> > Click to learn more. >> >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> >> > _______________________________________________ >> >> > Gambas-user mailing list >> >> > Gambas-user at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> >> >> >> -- >> >> Fabien Bodard >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Transform Data into Opportunity. >> >> Accelerate data analysis in your applications with >> >> Intel Data Analytics Acceleration Library. >> >> Click to learn more. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > >> ------------------------------------------------------------------------------ >> > Transform Data into Opportunity. >> > Accelerate data analysis in your applications with >> > Intel Data Analytics Acceleration Library. >> > Click to learn more. >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > 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: ClipboardQuestion-0.0.1.tar.gz Type: application/x-gzip Size: 11764 bytes Desc: not available URL: From bagonergi at ...626... Thu Mar 10 23:40:24 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 10 Mar 2016 23:40:24 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: Yes Fabien, unfortunately, you're right. I did not understand anything. Yet I was convinced ... I am afraid that the decline has initiated :-( Thanks for the attention 2016-03-10 22:26 GMT+01:00 Fabien Bodard : > Well I think you have not understand the clipboard... this is an example > > 2016-03-10 21:18 GMT+01:00 Gianluigi : > > Yes you are right, > > I should send it before. > > Attached file. > > > > Regards > > > > Gianluigi > > > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > > > >> can you send mle the project ? > >> > >> 2016-03-10 20:56 GMT+01:00 Gianluigi : > >> > No Fabien, > >> > I always do the same: > >> > Before I copy the commentate phrase, then I copy the latin phrase. > >> > In the second procedure jumping the CTRL + V and step directly to the > >> mouse. > >> > > >> > Regards > >> > Gianluigi > >> > > >> > > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : > >> > > >> >> if you are selecting the commentate with the mouse ... then the > >> >> secondary clipboard will be filled with it... replacing the latin one > >> >> > >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : > >> >> > I do not understand why does this happen? > >> >> > > >> >> > Given this simple code: > >> >> > > >> >> > Public Sub Form_Open() > >> >> > > >> >> > ' First copy this commentate words by selecting it and giving > CTRL+C > >> >> > > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus > >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem > aperiam > >> >> eaque > >> >> > ipsa, quae ab illo inventore" > >> >> > ' Triky Fabien > >> >> > Clipboard.Current = ClipBoard.Selection > >> >> > ' Triky Jorge > >> >> > TextArea1.SetFocus() > >> >> > TextArea1.Select(0, Len(TextArea1.Text)) > >> >> > > >> >> > End > >> >> > > >> >> > 1) Copy the commentate words > >> >> > 2) Start the application. > >> >> > 3) CTRL+C > >> >> > 4) CANC > >> >> > 5) CTRL+V > >> >> > It is pasted the Latin phrase > >> >> > 6) CANC (clear the textarea) > >> >> > 7) CLICK the middle mouse button > >> >> > It is pasted the Latin phrase > >> >> > 8) Close > >> >> > > >> >> > Now we repeat the first four steps: > >> >> > > >> >> > 1) Copy the commentate words > >> >> > 2) Start the application. > >> >> > 3) CTRL+C > >> >> > 4) CANC > >> >> > 5) CLICK the middle mouse button > >> >> > It is pasted the commentate words(!?) > >> >> > > >> >> > Why? > >> >> > > >> >> > Regards > >> >> > Gianluigi > >> >> > > >> >> > >> > ------------------------------------------------------------------------------ > >> >> > Transform Data into Opportunity. > >> >> > Accelerate data analysis in your applications with > >> >> > Intel Data Analytics Acceleration Library. > >> >> > Click to learn more. > >> >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >> >> > _______________________________________________ > >> >> > Gambas-user mailing list > >> >> > Gambas-user at lists.sourceforge.net > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> >> > >> >> > >> >> -- > >> >> Fabien Bodard > >> >> > >> >> > >> >> > >> > ------------------------------------------------------------------------------ > >> >> Transform Data into Opportunity. > >> >> Accelerate data analysis in your applications with > >> >> Intel Data Analytics Acceleration Library. > >> >> Click to learn more. > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >> >> _______________________________________________ > >> >> Gambas-user mailing list > >> >> Gambas-user at lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> > > >> > ------------------------------------------------------------------------------ > >> > Transform Data into Opportunity. > >> > Accelerate data analysis in your applications with > >> > Intel Data Analytics Acceleration Library. > >> > Click to learn more. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> > >> > ------------------------------------------------------------------------------ > >> Transform Data into Opportunity. > >> Accelerate data analysis in your applications with > >> Intel Data Analytics Acceleration Library. > >> Click to learn more. > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Fri Mar 11 12:38:01 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 11 Mar 2016 12:38:01 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: Le 10 mars 2016 23:42, "Gianluigi" a ?crit : > > Yes Fabien, > unfortunately, you're right. > I did not understand anything. Yet I was convinced ... > I am afraid that the decline has initiated :-( Don't be afraid... We are here to help you ? ! > Thanks for the attention > > 2016-03-10 22:26 GMT+01:00 Fabien Bodard : > > > Well I think you have not understand the clipboard... this is an example > > > > 2016-03-10 21:18 GMT+01:00 Gianluigi : > > > Yes you are right, > > > I should send it before. > > > Attached file. > > > > > > Regards > > > > > > Gianluigi > > > > > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > > > > > >> can you send mle the project ? > > >> > > >> 2016-03-10 20:56 GMT+01:00 Gianluigi : > > >> > No Fabien, > > >> > I always do the same: > > >> > Before I copy the commentate phrase, then I copy the latin phrase. > > >> > In the second procedure jumping the CTRL + V and step directly to the > > >> mouse. > > >> > > > >> > Regards > > >> > Gianluigi > > >> > > > >> > > > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : > > >> > > > >> >> if you are selecting the commentate with the mouse ... then the > > >> >> secondary clipboard will be filled with it... replacing the latin one > > >> >> > > >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : > > >> >> > I do not understand why does this happen? > > >> >> > > > >> >> > Given this simple code: > > >> >> > > > >> >> > Public Sub Form_Open() > > >> >> > > > >> >> > ' First copy this commentate words by selecting it and giving > > CTRL+C > > >> >> > > > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus > > >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem > > aperiam > > >> >> eaque > > >> >> > ipsa, quae ab illo inventore" > > >> >> > ' Triky Fabien > > >> >> > Clipboard.Current = ClipBoard.Selection > > >> >> > ' Triky Jorge > > >> >> > TextArea1.SetFocus() > > >> >> > TextArea1.Select(0, Len(TextArea1.Text)) > > >> >> > > > >> >> > End > > >> >> > > > >> >> > 1) Copy the commentate words > > >> >> > 2) Start the application. > > >> >> > 3) CTRL+C > > >> >> > 4) CANC > > >> >> > 5) CTRL+V > > >> >> > It is pasted the Latin phrase > > >> >> > 6) CANC (clear the textarea) > > >> >> > 7) CLICK the middle mouse button > > >> >> > It is pasted the Latin phrase > > >> >> > 8) Close > > >> >> > > > >> >> > Now we repeat the first four steps: > > >> >> > > > >> >> > 1) Copy the commentate words > > >> >> > 2) Start the application. > > >> >> > 3) CTRL+C > > >> >> > 4) CANC > > >> >> > 5) CLICK the middle mouse button > > >> >> > It is pasted the commentate words(!?) > > >> >> > > > >> >> > Why? > > >> >> > > > >> >> > Regards > > >> >> > Gianluigi > > >> >> > > > >> >> > > >> > > ------------------------------------------------------------------------------ > > >> >> > Transform Data into Opportunity. > > >> >> > Accelerate data analysis in your applications with > > >> >> > Intel Data Analytics Acceleration Library. > > >> >> > Click to learn more. > > >> >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > >> >> > _______________________________________________ > > >> >> > Gambas-user mailing list > > >> >> > Gambas-user at lists.sourceforge.net > > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> >> > > >> >> > > >> >> > > >> >> -- > > >> >> Fabien Bodard > > >> >> > > >> >> > > >> >> > > >> > > ------------------------------------------------------------------------------ > > >> >> Transform Data into Opportunity. > > >> >> Accelerate data analysis in your applications with > > >> >> Intel Data Analytics Acceleration Library. > > >> >> Click to learn more. > > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > >> >> _______________________________________________ > > >> >> Gambas-user mailing list > > >> >> Gambas-user at lists.sourceforge.net > > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> >> > > >> > > > >> > > ------------------------------------------------------------------------------ > > >> > Transform Data into Opportunity. > > >> > Accelerate data analysis in your applications with > > >> > Intel Data Analytics Acceleration Library. > > >> > Click to learn more. > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > >> > _______________________________________________ > > >> > Gambas-user mailing list > > >> > Gambas-user at lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > >> > > >> > > >> -- > > >> Fabien Bodard > > >> > > >> > > >> > > ------------------------------------------------------------------------------ > > >> Transform Data into Opportunity. > > >> Accelerate data analysis in your applications with > > >> Intel Data Analytics Acceleration Library. > > >> Click to learn more. > > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > > > > > ------------------------------------------------------------------------------ > > > Transform Data into Opportunity. > > > Accelerate data analysis in your applications with > > > Intel Data Analytics Acceleration Library. > > > Click to learn more. > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > -- > > Fabien Bodard > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Fri Mar 11 12:47:40 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 11 Mar 2016 12:47:40 +0100 Subject: [Gambas-user] Menu changed programmatically In-Reply-To: <56E1AAF0.8000409@...221...> References: <56E1AAF0.8000409@...221...> Message-ID: <56E2B05C.2020702@...221...> Am 10.03.2016 18:12, schrieb Rolf-Werner Eilert: > How to change the entries of a pop-up menu? > > I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. > not for a menu in the ordinary "menu" sense of the word, but for a list > that reacts like a ComboBox. > > In this case, I would have to abuse the pop-up menu that is linked to > the MenuButton. But how can I access the entries of a menu during > runtime? I haven't found anything about it in the documentation. > > Regards > Rolf > > > I know the sources for the IDE must be somewhere... I've been looking for them to find out how you realised this thing, but to no avail. But anyway, can somebody tell me how these two buttons in the IDE are made? Thanks Rolf From gambas at ...1... Fri Mar 11 13:33:44 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Mar 2016 13:33:44 +0100 Subject: [Gambas-user] Menu changed programmatically In-Reply-To: <56E2B05C.2020702@...221...> References: <56E1AAF0.8000409@...221...> <56E2B05C.2020702@...221...> Message-ID: <56E2BB28.7060702@...1...> Le 11/03/2016 12:47, Rolf-Werner Eilert a ?crit : > > Am 10.03.2016 18:12, schrieb Rolf-Werner Eilert: >> How to change the entries of a pop-up menu? >> >> I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. >> not for a menu in the ordinary "menu" sense of the word, but for a list >> that reacts like a ComboBox. >> >> In this case, I would have to abuse the pop-up menu that is linked to >> the MenuButton. But how can I access the entries of a menu during >> runtime? I haven't found anything about it in the documentation. >> >> Regards >> Rolf >> >> >> > > I know the sources for the IDE must be somewhere... I've been looking > for them to find out how you realised this thing, but to no avail. > > But anyway, can somebody tell me how these two buttons in the IDE are made? > > Thanks > Rolf > If you want to make a ComboBox, you don't need a Menu, but the ShowPopup() method of the Window class. Otherwise, a menu is modified through its name. If you define the menu name as "mnuOpen", for example, than you get a variable named "mnuOpen" pointing at the menu object. Regards, -- Beno?t Minisini From bagonergi at ...626... Fri Mar 11 14:36:55 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Mar 2016 14:36:55 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: Hello Fabien, thanks for the support. Look the attachment and tell me if I begin to understand. Regards Gianluigi 2016-03-11 12:38 GMT+01:00 Fabien Bodard : > Le 10 mars 2016 23:42, "Gianluigi" a ?crit : > > > > Yes Fabien, > > unfortunately, you're right. > > I did not understand anything. Yet I was convinced ... > > I am afraid that the decline has initiated :-( > Don't be afraid... We are here to help you ? ! > > > Thanks for the attention > > > > 2016-03-10 22:26 GMT+01:00 Fabien Bodard : > > > > > Well I think you have not understand the clipboard... this is an > example > > > > > > 2016-03-10 21:18 GMT+01:00 Gianluigi : > > > > Yes you are right, > > > > I should send it before. > > > > Attached file. > > > > > > > > Regards > > > > > > > > Gianluigi > > > > > > > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > > > > > > > >> can you send mle the project ? > > > >> > > > >> 2016-03-10 20:56 GMT+01:00 Gianluigi : > > > >> > No Fabien, > > > >> > I always do the same: > > > >> > Before I copy the commentate phrase, then I copy the latin phrase. > > > >> > In the second procedure jumping the CTRL + V and step directly to > the > > > >> mouse. > > > >> > > > > >> > Regards > > > >> > Gianluigi > > > >> > > > > >> > > > > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : > > > >> > > > > >> >> if you are selecting the commentate with the mouse ... then the > > > >> >> secondary clipboard will be filled with it... replacing the latin > one > > > >> >> > > > >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : > > > >> >> > I do not understand why does this happen? > > > >> >> > > > > >> >> > Given this simple code: > > > >> >> > > > > >> >> > Public Sub Form_Open() > > > >> >> > > > > >> >> > ' First copy this commentate words by selecting it and giving > > > CTRL+C > > > >> >> > > > > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus > > > >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem > > > aperiam > > > >> >> eaque > > > >> >> > ipsa, quae ab illo inventore" > > > >> >> > ' Triky Fabien > > > >> >> > Clipboard.Current = ClipBoard.Selection > > > >> >> > ' Triky Jorge > > > >> >> > TextArea1.SetFocus() > > > >> >> > TextArea1.Select(0, Len(TextArea1.Text)) > > > >> >> > > > > >> >> > End > > > >> >> > > > > >> >> > 1) Copy the commentate words > > > >> >> > 2) Start the application. > > > >> >> > 3) CTRL+C > > > >> >> > 4) CANC > > > >> >> > 5) CTRL+V > > > >> >> > It is pasted the Latin phrase > > > >> >> > 6) CANC (clear the textarea) > > > >> >> > 7) CLICK the middle mouse button > > > >> >> > It is pasted the Latin phrase > > > >> >> > 8) Close > > > >> >> > > > > >> >> > Now we repeat the first four steps: > > > >> >> > > > > >> >> > 1) Copy the commentate words > > > >> >> > 2) Start the application. > > > >> >> > 3) CTRL+C > > > >> >> > 4) CANC > > > >> >> > 5) CLICK the middle mouse button > > > >> >> > It is pasted the commentate words(!?) > > > >> >> > > > > >> >> > Why? > > > >> >> > > > > >> >> > Regards > > > >> >> > Gianluigi > > > >> >> > > > > >> >> > > > >> > > > > > ------------------------------------------------------------------------------ > > > >> >> > Transform Data into Opportunity. > > > >> >> > Accelerate data analysis in your applications with > > > >> >> > Intel Data Analytics Acceleration Library. > > > >> >> > Click to learn more. > > > >> >> > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > >> >> > _______________________________________________ > > > >> >> > Gambas-user mailing list > > > >> >> > Gambas-user at lists.sourceforge.net > > > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> >> > > > >> >> > > > >> >> > > > >> >> -- > > > >> >> Fabien Bodard > > > >> >> > > > >> >> > > > >> >> > > > >> > > > > > ------------------------------------------------------------------------------ > > > >> >> Transform Data into Opportunity. > > > >> >> Accelerate data analysis in your applications with > > > >> >> Intel Data Analytics Acceleration Library. > > > >> >> Click to learn more. > > > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > >> >> _______________________________________________ > > > >> >> Gambas-user mailing list > > > >> >> Gambas-user at lists.sourceforge.net > > > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> >> > > > >> > > > > >> > > > > > ------------------------------------------------------------------------------ > > > >> > Transform Data into Opportunity. > > > >> > Accelerate data analysis in your applications with > > > >> > Intel Data Analytics Acceleration Library. > > > >> > Click to learn more. > > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > >> > _______________________________________________ > > > >> > Gambas-user mailing list > > > >> > Gambas-user at lists.sourceforge.net > > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> > > > >> > > > >> > > > >> -- > > > >> Fabien Bodard > > > >> > > > >> > > > >> > > > > > ------------------------------------------------------------------------------ > > > >> Transform Data into Opportunity. > > > >> Accelerate data analysis in your applications with > > > >> Intel Data Analytics Acceleration Library. > > > >> Click to learn more. > > > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > >> _______________________________________________ > > > >> Gambas-user mailing list > > > >> Gambas-user at lists.sourceforge.net > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Transform Data into Opportunity. > > > > Accelerate data analysis in your applications with > > > > Intel Data Analytics Acceleration Library. > > > > Click to learn more. > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > -- > > > Fabien Bodard > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Transform Data into Opportunity. > > > Accelerate data analysis in your applications with > > > Intel Data Analytics Acceleration Library. > > > Click to learn more. > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > 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: NewClipboardQuestion-0.0.1.tar.gz Type: application/x-gzip Size: 11783 bytes Desc: not available URL: From bugtracker at ...3416... Fri Mar 11 20:44:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 19:44:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #902: Gabmas process doesn't finish when watch instance is used on fMain Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.902&from=L21haW4- Jorge CARRI?N reported a new bug. Summary ------- Gabmas process doesn't finish when watch instance is used on fMain Type : Bug Priority : Medium Gambas version : 3.8 Product : GUI components Description ----------- Doing a example of use of watch class from inotify component, the process of gb3 doesn't finish at form fMain closing. You have to stop it with button on IDE tool panel. If execute the proyect from gambas executable, closing de form leaves a gbr3 process unfinished on S.O. System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=GNOME Theme=Cleanlooks Language=es_ES.UTF-8 Memory=7926M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CINNAMON_VERSION=2.8.6 CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-sZyuoovR4V,guid=3aae22eb280886df1c7dca7c56e2f826 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6097 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-QCdthh GNOME_KEYRING_PID=2069 GPG_AGENT_INFO=/run/user/1000/keyring-QCdthh/gpg:0:1 HOME= LANG=es_ES.UTF-8 LC_ADDRESS=es_ES.UTF-8 LC_IDENTIFICATION=es_ES.UTF-8 LC_MEASUREMENT=es_ES.UTF-8 LC_MONETARY=es_ES.UTF-8 LC_NAME=es_ES.UTF-8 LC_NUMERIC=es_ES.UTF-8 LC_PAPER=es_ES.UTF-8 LC_TELEPHONE=es_ES.UTF-8 LC_TIME=es_ES.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=es_ES.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/2145,unix/:/tmp/.ICE-unix/2145 SHELL=/bin/bash SSH_AGENT_PID=2209 SSH_AUTH_SOCK=/run/user/1000/keyring-QCdthh/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=300231f45b44e9829e99bbb056a8ea40-1457715238.87576-242553039 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 From bugtracker at ...3416... Fri Mar 11 20:44:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 19:44:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #902: Gabmas process doesn't finish when watch instance is used on fMain In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.902&from=L21haW4- Jorge CARRI?N added an attachment: EjemploWatch-0.0.2.tar.gz From bugtracker at ...3416... Fri Mar 11 20:47:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 19:47:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #902: Gabmas process doesn't finish when watch instance is used on fMain In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.902&from=L21haW4- Comment #1 by Jorge CARRI?N: This is the example I was doing when find the bug. You close the fMain form and the program keeps running... From bagonergi at ...626... Fri Mar 11 20:58:49 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Mar 2016 20:58:49 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: Maybe this is more clear? Regards Gianluigi 2016-03-11 14:36 GMT+01:00 Gianluigi : > Hello Fabien, > thanks for the support. > Look the attachment and tell me if I begin to understand. > Regards > Gianluigi > > 2016-03-11 12:38 GMT+01:00 Fabien Bodard : > >> Le 10 mars 2016 23:42, "Gianluigi" a ?crit : >> > >> > Yes Fabien, >> > unfortunately, you're right. >> > I did not understand anything. Yet I was convinced ... >> > I am afraid that the decline has initiated :-( >> Don't be afraid... We are here to help you ? ! >> >> > Thanks for the attention >> > >> > 2016-03-10 22:26 GMT+01:00 Fabien Bodard : >> > >> > > Well I think you have not understand the clipboard... this is an >> example >> > > >> > > 2016-03-10 21:18 GMT+01:00 Gianluigi : >> > > > Yes you are right, >> > > > I should send it before. >> > > > Attached file. >> > > > >> > > > Regards >> > > > >> > > > Gianluigi >> > > > >> > > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : >> > > > >> > > >> can you send mle the project ? >> > > >> >> > > >> 2016-03-10 20:56 GMT+01:00 Gianluigi : >> > > >> > No Fabien, >> > > >> > I always do the same: >> > > >> > Before I copy the commentate phrase, then I copy the latin >> phrase. >> > > >> > In the second procedure jumping the CTRL + V and step directly to >> the >> > > >> mouse. >> > > >> > >> > > >> > Regards >> > > >> > Gianluigi >> > > >> > >> > > >> > >> > > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : >> > > >> > >> > > >> >> if you are selecting the commentate with the mouse ... then the >> > > >> >> secondary clipboard will be filled with it... replacing the >> latin >> one >> > > >> >> >> > > >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : >> > > >> >> > I do not understand why does this happen? >> > > >> >> > >> > > >> >> > Given this simple code: >> > > >> >> > >> > > >> >> > Public Sub Form_Open() >> > > >> >> > >> > > >> >> > ' First copy this commentate words by selecting it and >> giving >> > > CTRL+C >> > > >> >> > >> > > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus >> > > >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem >> > > aperiam >> > > >> >> eaque >> > > >> >> > ipsa, quae ab illo inventore" >> > > >> >> > ' Triky Fabien >> > > >> >> > Clipboard.Current = ClipBoard.Selection >> > > >> >> > ' Triky Jorge >> > > >> >> > TextArea1.SetFocus() >> > > >> >> > TextArea1.Select(0, Len(TextArea1.Text)) >> > > >> >> > >> > > >> >> > End >> > > >> >> > >> > > >> >> > 1) Copy the commentate words >> > > >> >> > 2) Start the application. >> > > >> >> > 3) CTRL+C >> > > >> >> > 4) CANC >> > > >> >> > 5) CTRL+V >> > > >> >> > It is pasted the Latin phrase >> > > >> >> > 6) CANC (clear the textarea) >> > > >> >> > 7) CLICK the middle mouse button >> > > >> >> > It is pasted the Latin phrase >> > > >> >> > 8) Close >> > > >> >> > >> > > >> >> > Now we repeat the first four steps: >> > > >> >> > >> > > >> >> > 1) Copy the commentate words >> > > >> >> > 2) Start the application. >> > > >> >> > 3) CTRL+C >> > > >> >> > 4) CANC >> > > >> >> > 5) CLICK the middle mouse button >> > > >> >> > It is pasted the commentate words(!?) >> > > >> >> > >> > > >> >> > Why? >> > > >> >> > >> > > >> >> > Regards >> > > >> >> > Gianluigi >> > > >> >> > >> > > >> >> >> > > >> >> > > >> >> ------------------------------------------------------------------------------ >> > > >> >> > Transform Data into Opportunity. >> > > >> >> > Accelerate data analysis in your applications with >> > > >> >> > Intel Data Analytics Acceleration Library. >> > > >> >> > Click to learn more. >> > > >> >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > > >> >> > _______________________________________________ >> > > >> >> > Gambas-user mailing list >> > > >> >> > Gambas-user at lists.sourceforge.net >> > > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> >> >> > > >> >> >> > > >> >> >> > > >> >> -- >> > > >> >> Fabien Bodard >> > > >> >> >> > > >> >> >> > > >> >> >> > > >> >> > > >> >> ------------------------------------------------------------------------------ >> > > >> >> Transform Data into Opportunity. >> > > >> >> Accelerate data analysis in your applications with >> > > >> >> Intel Data Analytics Acceleration Library. >> > > >> >> Click to learn more. >> > > >> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > > >> >> _______________________________________________ >> > > >> >> Gambas-user mailing list >> > > >> >> Gambas-user at lists.sourceforge.net >> > > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> >> >> > > >> > >> > > >> >> > > >> >> ------------------------------------------------------------------------------ >> > > >> > Transform Data into Opportunity. >> > > >> > Accelerate data analysis in your applications with >> > > >> > Intel Data Analytics Acceleration Library. >> > > >> > Click to learn more. >> > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > > >> > _______________________________________________ >> > > >> > Gambas-user mailing list >> > > >> > Gambas-user at lists.sourceforge.net >> > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> >> > > >> >> > > >> >> > > >> -- >> > > >> Fabien Bodard >> > > >> >> > > >> >> > > >> >> > > >> >> ------------------------------------------------------------------------------ >> > > >> Transform Data into Opportunity. >> > > >> Accelerate data analysis in your applications with >> > > >> Intel Data Analytics Acceleration Library. >> > > >> Click to learn more. >> > > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > > >> _______________________________________________ >> > > >> Gambas-user mailing list >> > > >> Gambas-user at lists.sourceforge.net >> > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> >> > > > >> > > > >> > > >> >> ------------------------------------------------------------------------------ >> > > > Transform Data into Opportunity. >> > > > Accelerate data analysis in your applications with >> > > > Intel Data Analytics Acceleration Library. >> > > > Click to learn more. >> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > > > _______________________________________________ >> > > > Gambas-user mailing list >> > > > Gambas-user at lists.sourceforge.net >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > >> > > >> > > >> > > >> > > -- >> > > Fabien Bodard >> > > >> > > >> > > >> >> ------------------------------------------------------------------------------ >> > > Transform Data into Opportunity. >> > > Accelerate data analysis in your applications with >> > > Intel Data Analytics Acceleration Library. >> > > Click to learn more. >> > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > Gambas-user at lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> > > >> > >> >> ------------------------------------------------------------------------------ >> > Transform Data into Opportunity. >> > Accelerate data analysis in your applications with >> > Intel Data Analytics Acceleration Library. >> > Click to learn more. >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >> _______________________________________________ >> 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: NewClipboardQuestion-2-0.0.1.tar.gz Type: application/x-gzip Size: 11802 bytes Desc: not available URL: From bugtracker at ...3416... Fri Mar 11 21:01:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 20:01:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #902: Gabmas process doesn't finish when watch instance is used on fMain In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.902&from=L21haW4- Comment #2 by Tobias BOEGE: That's by design. If you have an active Watch, the interpreter keeps waiting for data on the associated file descriptor. This is the same in other parts of Gambas: e.g. if you have an open network connection through a Socket (gb.net) or a watched file (Open ... For Watch), the interpreter won't terminate when the program is closed. See http://gambaswiki.org/wiki/cat/eventloop. Tobias BOEGE changed the state of the bug to: Invalid. From bagonergi at ...626... Fri Mar 11 21:15:38 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Mar 2016 21:15:38 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: In the project last attachment, I deleted by mistake the closing "End" of Sub, I apologize. Is there a way to replace the file? Sorry Gianluigi 2016-03-11 20:58 GMT+01:00 Gianluigi : > Maybe this is more clear? > Regards > Gianluigi > > 2016-03-11 14:36 GMT+01:00 Gianluigi : > >> Hello Fabien, >> thanks for the support. >> Look the attachment and tell me if I begin to understand. >> Regards >> Gianluigi >> >> 2016-03-11 12:38 GMT+01:00 Fabien Bodard : >> >>> Le 10 mars 2016 23:42, "Gianluigi" a ?crit : >>> > >>> > Yes Fabien, >>> > unfortunately, you're right. >>> > I did not understand anything. Yet I was convinced ... >>> > I am afraid that the decline has initiated :-( >>> Don't be afraid... We are here to help you ? ! >>> >>> > Thanks for the attention >>> > >>> > 2016-03-10 22:26 GMT+01:00 Fabien Bodard : >>> > >>> > > Well I think you have not understand the clipboard... this is an >>> example >>> > > >>> > > 2016-03-10 21:18 GMT+01:00 Gianluigi : >>> > > > Yes you are right, >>> > > > I should send it before. >>> > > > Attached file. >>> > > > >>> > > > Regards >>> > > > >>> > > > Gianluigi >>> > > > >>> > > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : >>> > > > >>> > > >> can you send mle the project ? >>> > > >> >>> > > >> 2016-03-10 20:56 GMT+01:00 Gianluigi : >>> > > >> > No Fabien, >>> > > >> > I always do the same: >>> > > >> > Before I copy the commentate phrase, then I copy the latin >>> phrase. >>> > > >> > In the second procedure jumping the CTRL + V and step directly >>> to >>> the >>> > > >> mouse. >>> > > >> > >>> > > >> > Regards >>> > > >> > Gianluigi >>> > > >> > >>> > > >> > >>> > > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : >>> > > >> > >>> > > >> >> if you are selecting the commentate with the mouse ... then the >>> > > >> >> secondary clipboard will be filled with it... replacing the >>> latin >>> one >>> > > >> >> >>> > > >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : >>> > > >> >> > I do not understand why does this happen? >>> > > >> >> > >>> > > >> >> > Given this simple code: >>> > > >> >> > >>> > > >> >> > Public Sub Form_Open() >>> > > >> >> > >>> > > >> >> > ' First copy this commentate words by selecting it and >>> giving >>> > > CTRL+C >>> > > >> >> > >>> > > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus >>> > > >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem >>> > > aperiam >>> > > >> >> eaque >>> > > >> >> > ipsa, quae ab illo inventore" >>> > > >> >> > ' Triky Fabien >>> > > >> >> > Clipboard.Current = ClipBoard.Selection >>> > > >> >> > ' Triky Jorge >>> > > >> >> > TextArea1.SetFocus() >>> > > >> >> > TextArea1.Select(0, Len(TextArea1.Text)) >>> > > >> >> > >>> > > >> >> > End >>> > > >> >> > >>> > > >> >> > 1) Copy the commentate words >>> > > >> >> > 2) Start the application. >>> > > >> >> > 3) CTRL+C >>> > > >> >> > 4) CANC >>> > > >> >> > 5) CTRL+V >>> > > >> >> > It is pasted the Latin phrase >>> > > >> >> > 6) CANC (clear the textarea) >>> > > >> >> > 7) CLICK the middle mouse button >>> > > >> >> > It is pasted the Latin phrase >>> > > >> >> > 8) Close >>> > > >> >> > >>> > > >> >> > Now we repeat the first four steps: >>> > > >> >> > >>> > > >> >> > 1) Copy the commentate words >>> > > >> >> > 2) Start the application. >>> > > >> >> > 3) CTRL+C >>> > > >> >> > 4) CANC >>> > > >> >> > 5) CLICK the middle mouse button >>> > > >> >> > It is pasted the commentate words(!?) >>> > > >> >> > >>> > > >> >> > Why? >>> > > >> >> > >>> > > >> >> > Regards >>> > > >> >> > Gianluigi >>> > > >> >> > >>> > > >> >> >>> > > >> >>> > > >>> >>> ------------------------------------------------------------------------------ >>> > > >> >> > Transform Data into Opportunity. >>> > > >> >> > Accelerate data analysis in your applications with >>> > > >> >> > Intel Data Analytics Acceleration Library. >>> > > >> >> > Click to learn more. >>> > > >> >> > >>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > > >> >> > _______________________________________________ >>> > > >> >> > Gambas-user mailing list >>> > > >> >> > Gambas-user at lists.sourceforge.net >>> > > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> -- >>> > > >> >> Fabien Bodard >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >>> > > >>> >>> ------------------------------------------------------------------------------ >>> > > >> >> Transform Data into Opportunity. >>> > > >> >> Accelerate data analysis in your applications with >>> > > >> >> Intel Data Analytics Acceleration Library. >>> > > >> >> Click to learn more. >>> > > >> >> >>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > > >> >> _______________________________________________ >>> > > >> >> Gambas-user mailing list >>> > > >> >> Gambas-user at lists.sourceforge.net >>> > > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> > > >> >> >>> > > >> > >>> > > >> >>> > > >>> >>> ------------------------------------------------------------------------------ >>> > > >> > Transform Data into Opportunity. >>> > > >> > Accelerate data analysis in your applications with >>> > > >> > Intel Data Analytics Acceleration Library. >>> > > >> > Click to learn more. >>> > > >> > >>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > > >> > _______________________________________________ >>> > > >> > Gambas-user mailing list >>> > > >> > Gambas-user at lists.sourceforge.net >>> > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> > > >> >>> > > >> >>> > > >> >>> > > >> -- >>> > > >> Fabien Bodard >>> > > >> >>> > > >> >>> > > >> >>> > > >>> >>> ------------------------------------------------------------------------------ >>> > > >> Transform Data into Opportunity. >>> > > >> Accelerate data analysis in your applications with >>> > > >> Intel Data Analytics Acceleration Library. >>> > > >> Click to learn more. >>> > > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > > >> _______________________________________________ >>> > > >> Gambas-user mailing list >>> > > >> Gambas-user at lists.sourceforge.net >>> > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> > > >> >>> > > > >>> > > > >>> > > >>> >>> ------------------------------------------------------------------------------ >>> > > > Transform Data into Opportunity. >>> > > > Accelerate data analysis in your applications with >>> > > > Intel Data Analytics Acceleration Library. >>> > > > Click to learn more. >>> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > > > _______________________________________________ >>> > > > Gambas-user mailing list >>> > > > Gambas-user at lists.sourceforge.net >>> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> > > > >>> > > >>> > > >>> > > >>> > > -- >>> > > Fabien Bodard >>> > > >>> > > >>> > > >>> >>> ------------------------------------------------------------------------------ >>> > > Transform Data into Opportunity. >>> > > Accelerate data analysis in your applications with >>> > > Intel Data Analytics Acceleration Library. >>> > > Click to learn more. >>> > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > > _______________________________________________ >>> > > Gambas-user mailing list >>> > > Gambas-user at lists.sourceforge.net >>> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> > > >>> > > >>> > >>> >>> ------------------------------------------------------------------------------ >>> > Transform Data into Opportunity. >>> > Accelerate data analysis in your applications with >>> > Intel Data Analytics Acceleration Library. >>> > Click to learn more. >>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> > _______________________________________________ >>> > Gambas-user mailing list >>> > Gambas-user at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> ------------------------------------------------------------------------------ >>> Transform Data into Opportunity. >>> Accelerate data analysis in your applications with >>> Intel Data Analytics Acceleration Library. >>> Click to learn more. >>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > From gambas.fr at ...626... Fri Mar 11 21:30:33 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 11 Mar 2016 21:30:33 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: it seem to be ok 2016-03-11 21:15 GMT+01:00 Gianluigi : > In the project last attachment, I deleted by mistake the closing "End" of > Sub, I apologize. > Is there a way to replace the file? > Sorry > Gianluigi > > 2016-03-11 20:58 GMT+01:00 Gianluigi : > >> Maybe this is more clear? >> Regards >> Gianluigi >> >> 2016-03-11 14:36 GMT+01:00 Gianluigi : >> >>> Hello Fabien, >>> thanks for the support. >>> Look the attachment and tell me if I begin to understand. >>> Regards >>> Gianluigi >>> >>> 2016-03-11 12:38 GMT+01:00 Fabien Bodard : >>> >>>> Le 10 mars 2016 23:42, "Gianluigi" a ?crit : >>>> > >>>> > Yes Fabien, >>>> > unfortunately, you're right. >>>> > I did not understand anything. Yet I was convinced ... >>>> > I am afraid that the decline has initiated :-( >>>> Don't be afraid... We are here to help you ? ! >>>> >>>> > Thanks for the attention >>>> > >>>> > 2016-03-10 22:26 GMT+01:00 Fabien Bodard : >>>> > >>>> > > Well I think you have not understand the clipboard... this is an >>>> example >>>> > > >>>> > > 2016-03-10 21:18 GMT+01:00 Gianluigi : >>>> > > > Yes you are right, >>>> > > > I should send it before. >>>> > > > Attached file. >>>> > > > >>>> > > > Regards >>>> > > > >>>> > > > Gianluigi >>>> > > > >>>> > > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : >>>> > > > >>>> > > >> can you send mle the project ? >>>> > > >> >>>> > > >> 2016-03-10 20:56 GMT+01:00 Gianluigi : >>>> > > >> > No Fabien, >>>> > > >> > I always do the same: >>>> > > >> > Before I copy the commentate phrase, then I copy the latin >>>> phrase. >>>> > > >> > In the second procedure jumping the CTRL + V and step directly >>>> to >>>> the >>>> > > >> mouse. >>>> > > >> > >>>> > > >> > Regards >>>> > > >> > Gianluigi >>>> > > >> > >>>> > > >> > >>>> > > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard : >>>> > > >> > >>>> > > >> >> if you are selecting the commentate with the mouse ... then the >>>> > > >> >> secondary clipboard will be filled with it... replacing the >>>> latin >>>> one >>>> > > >> >> >>>> > > >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : >>>> > > >> >> > I do not understand why does this happen? >>>> > > >> >> > >>>> > > >> >> > Given this simple code: >>>> > > >> >> > >>>> > > >> >> > Public Sub Form_Open() >>>> > > >> >> > >>>> > > >> >> > ' First copy this commentate words by selecting it and >>>> giving >>>> > > CTRL+C >>>> > > >> >> > >>>> > > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus >>>> > > >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem >>>> > > aperiam >>>> > > >> >> eaque >>>> > > >> >> > ipsa, quae ab illo inventore" >>>> > > >> >> > ' Triky Fabien >>>> > > >> >> > Clipboard.Current = ClipBoard.Selection >>>> > > >> >> > ' Triky Jorge >>>> > > >> >> > TextArea1.SetFocus() >>>> > > >> >> > TextArea1.Select(0, Len(TextArea1.Text)) >>>> > > >> >> > >>>> > > >> >> > End >>>> > > >> >> > >>>> > > >> >> > 1) Copy the commentate words >>>> > > >> >> > 2) Start the application. >>>> > > >> >> > 3) CTRL+C >>>> > > >> >> > 4) CANC >>>> > > >> >> > 5) CTRL+V >>>> > > >> >> > It is pasted the Latin phrase >>>> > > >> >> > 6) CANC (clear the textarea) >>>> > > >> >> > 7) CLICK the middle mouse button >>>> > > >> >> > It is pasted the Latin phrase >>>> > > >> >> > 8) Close >>>> > > >> >> > >>>> > > >> >> > Now we repeat the first four steps: >>>> > > >> >> > >>>> > > >> >> > 1) Copy the commentate words >>>> > > >> >> > 2) Start the application. >>>> > > >> >> > 3) CTRL+C >>>> > > >> >> > 4) CANC >>>> > > >> >> > 5) CLICK the middle mouse button >>>> > > >> >> > It is pasted the commentate words(!?) >>>> > > >> >> > >>>> > > >> >> > Why? >>>> > > >> >> > >>>> > > >> >> > Regards >>>> > > >> >> > Gianluigi >>>> > > >> >> > >>>> > > >> >> >>>> > > >> >>>> > > >>>> >>>> ------------------------------------------------------------------------------ >>>> > > >> >> > Transform Data into Opportunity. >>>> > > >> >> > Accelerate data analysis in your applications with >>>> > > >> >> > Intel Data Analytics Acceleration Library. >>>> > > >> >> > Click to learn more. >>>> > > >> >> > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> > > >> >> > _______________________________________________ >>>> > > >> >> > Gambas-user mailing list >>>> > > >> >> > Gambas-user at lists.sourceforge.net >>>> > > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> > > >> >> >>>> > > >> >> >>>> > > >> >> >>>> > > >> >> -- >>>> > > >> >> Fabien Bodard >>>> > > >> >> >>>> > > >> >> >>>> > > >> >> >>>> > > >> >>>> > > >>>> >>>> ------------------------------------------------------------------------------ >>>> > > >> >> Transform Data into Opportunity. >>>> > > >> >> Accelerate data analysis in your applications with >>>> > > >> >> Intel Data Analytics Acceleration Library. >>>> > > >> >> Click to learn more. >>>> > > >> >> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> > > >> >> _______________________________________________ >>>> > > >> >> Gambas-user mailing list >>>> > > >> >> Gambas-user at lists.sourceforge.net >>>> > > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> > > >> >> >>>> > > >> > >>>> > > >> >>>> > > >>>> >>>> ------------------------------------------------------------------------------ >>>> > > >> > Transform Data into Opportunity. >>>> > > >> > Accelerate data analysis in your applications with >>>> > > >> > Intel Data Analytics Acceleration Library. >>>> > > >> > Click to learn more. >>>> > > >> > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> > > >> > _______________________________________________ >>>> > > >> > Gambas-user mailing list >>>> > > >> > Gambas-user at lists.sourceforge.net >>>> > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > >> -- >>>> > > >> Fabien Bodard >>>> > > >> >>>> > > >> >>>> > > >> >>>> > > >>>> >>>> ------------------------------------------------------------------------------ >>>> > > >> Transform Data into Opportunity. >>>> > > >> Accelerate data analysis in your applications with >>>> > > >> Intel Data Analytics Acceleration Library. >>>> > > >> Click to learn more. >>>> > > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> > > >> _______________________________________________ >>>> > > >> Gambas-user mailing list >>>> > > >> Gambas-user at lists.sourceforge.net >>>> > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> > > >> >>>> > > > >>>> > > > >>>> > > >>>> >>>> ------------------------------------------------------------------------------ >>>> > > > Transform Data into Opportunity. >>>> > > > Accelerate data analysis in your applications with >>>> > > > Intel Data Analytics Acceleration Library. >>>> > > > Click to learn more. >>>> > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> > > > _______________________________________________ >>>> > > > Gambas-user mailing list >>>> > > > Gambas-user at lists.sourceforge.net >>>> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> > > > >>>> > > >>>> > > >>>> > > >>>> > > -- >>>> > > Fabien Bodard >>>> > > >>>> > > >>>> > > >>>> >>>> ------------------------------------------------------------------------------ >>>> > > Transform Data into Opportunity. >>>> > > Accelerate data analysis in your applications with >>>> > > Intel Data Analytics Acceleration Library. >>>> > > Click to learn more. >>>> > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> > > _______________________________________________ >>>> > > Gambas-user mailing list >>>> > > Gambas-user at lists.sourceforge.net >>>> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> > > >>>> > > >>>> > >>>> >>>> ------------------------------------------------------------------------------ >>>> > Transform Data into Opportunity. >>>> > Accelerate data analysis in your applications with >>>> > Intel Data Analytics Acceleration Library. >>>> > Click to learn more. >>>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> > _______________________________________________ >>>> > Gambas-user mailing list >>>> > Gambas-user at lists.sourceforge.net >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> ------------------------------------------------------------------------------ >>>> Transform Data into Opportunity. >>>> Accelerate data analysis in your applications with >>>> Intel Data Analytics Acceleration Library. >>>> Click to learn more. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> >>> >> > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Fri Mar 11 21:50:03 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Mar 2016 21:50:03 +0100 Subject: [Gambas-user] Clipboard question In-Reply-To: References: Message-ID: Thank you Fabien, I promise that for a while I will not bother you :-) Gianluigi 2016-03-11 21:30 GMT+01:00 Fabien Bodard : > it seem to be ok > > 2016-03-11 21:15 GMT+01:00 Gianluigi : > > In the project last attachment, I deleted by mistake the closing "End" of > > Sub, I apologize. > > Is there a way to replace the file? > > Sorry > > Gianluigi > > > > 2016-03-11 20:58 GMT+01:00 Gianluigi : > > > >> Maybe this is more clear? > >> Regards > >> Gianluigi > >> > >> 2016-03-11 14:36 GMT+01:00 Gianluigi : > >> > >>> Hello Fabien, > >>> thanks for the support. > >>> Look the attachment and tell me if I begin to understand. > >>> Regards > >>> Gianluigi > >>> > >>> 2016-03-11 12:38 GMT+01:00 Fabien Bodard : > >>> > >>>> Le 10 mars 2016 23:42, "Gianluigi" a ?crit : > >>>> > > >>>> > Yes Fabien, > >>>> > unfortunately, you're right. > >>>> > I did not understand anything. Yet I was convinced ... > >>>> > I am afraid that the decline has initiated :-( > >>>> Don't be afraid... We are here to help you ? ! > >>>> > >>>> > Thanks for the attention > >>>> > > >>>> > 2016-03-10 22:26 GMT+01:00 Fabien Bodard : > >>>> > > >>>> > > Well I think you have not understand the clipboard... this is an > >>>> example > >>>> > > > >>>> > > 2016-03-10 21:18 GMT+01:00 Gianluigi : > >>>> > > > Yes you are right, > >>>> > > > I should send it before. > >>>> > > > Attached file. > >>>> > > > > >>>> > > > Regards > >>>> > > > > >>>> > > > Gianluigi > >>>> > > > > >>>> > > > 2016-03-10 21:00 GMT+01:00 Fabien Bodard : > >>>> > > > > >>>> > > >> can you send mle the project ? > >>>> > > >> > >>>> > > >> 2016-03-10 20:56 GMT+01:00 Gianluigi : > >>>> > > >> > No Fabien, > >>>> > > >> > I always do the same: > >>>> > > >> > Before I copy the commentate phrase, then I copy the latin > >>>> phrase. > >>>> > > >> > In the second procedure jumping the CTRL + V and step > directly > >>>> to > >>>> the > >>>> > > >> mouse. > >>>> > > >> > > >>>> > > >> > Regards > >>>> > > >> > Gianluigi > >>>> > > >> > > >>>> > > >> > > >>>> > > >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard < > gambas.fr at ...626...>: > >>>> > > >> > > >>>> > > >> >> if you are selecting the commentate with the mouse ... then > the > >>>> > > >> >> secondary clipboard will be filled with it... replacing the > >>>> latin > >>>> one > >>>> > > >> >> > >>>> > > >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi : > >>>> > > >> >> > I do not understand why does this happen? > >>>> > > >> >> > > >>>> > > >> >> > Given this simple code: > >>>> > > >> >> > > >>>> > > >> >> > Public Sub Form_Open() > >>>> > > >> >> > > >>>> > > >> >> > ' First copy this commentate words by selecting it and > >>>> giving > >>>> > > CTRL+C > >>>> > > >> >> > > >>>> > > >> >> > TextArea1.Text = "Sed ut perspiciatis unde omnis iste > natus > >>>> > > >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam > rem > >>>> > > aperiam > >>>> > > >> >> eaque > >>>> > > >> >> > ipsa, quae ab illo inventore" > >>>> > > >> >> > ' Triky Fabien > >>>> > > >> >> > Clipboard.Current = ClipBoard.Selection > >>>> > > >> >> > ' Triky Jorge > >>>> > > >> >> > TextArea1.SetFocus() > >>>> > > >> >> > TextArea1.Select(0, Len(TextArea1.Text)) > >>>> > > >> >> > > >>>> > > >> >> > End > >>>> > > >> >> > > >>>> > > >> >> > 1) Copy the commentate words > >>>> > > >> >> > 2) Start the application. > >>>> > > >> >> > 3) CTRL+C > >>>> > > >> >> > 4) CANC > >>>> > > >> >> > 5) CTRL+V > >>>> > > >> >> > It is pasted the Latin phrase > >>>> > > >> >> > 6) CANC (clear the textarea) > >>>> > > >> >> > 7) CLICK the middle mouse button > >>>> > > >> >> > It is pasted the Latin phrase > >>>> > > >> >> > 8) Close > >>>> > > >> >> > > >>>> > > >> >> > Now we repeat the first four steps: > >>>> > > >> >> > > >>>> > > >> >> > 1) Copy the commentate words > >>>> > > >> >> > 2) Start the application. > >>>> > > >> >> > 3) CTRL+C > >>>> > > >> >> > 4) CANC > >>>> > > >> >> > 5) CLICK the middle mouse button > >>>> > > >> >> > It is pasted the commentate words(!?) > >>>> > > >> >> > > >>>> > > >> >> > Why? > >>>> > > >> >> > > >>>> > > >> >> > Regards > >>>> > > >> >> > Gianluigi > >>>> > > >> >> > > >>>> > > >> >> > >>>> > > >> > >>>> > > > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> > > >> >> > Transform Data into Opportunity. > >>>> > > >> >> > Accelerate data analysis in your applications with > >>>> > > >> >> > Intel Data Analytics Acceleration Library. > >>>> > > >> >> > Click to learn more. > >>>> > > >> >> > > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> > > >> >> > _______________________________________________ > >>>> > > >> >> > Gambas-user mailing list > >>>> > > >> >> > Gambas-user at lists.sourceforge.net > >>>> > > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > > >> >> > >>>> > > >> >> > >>>> > > >> >> > >>>> > > >> >> -- > >>>> > > >> >> Fabien Bodard > >>>> > > >> >> > >>>> > > >> >> > >>>> > > >> >> > >>>> > > >> > >>>> > > > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> > > >> >> Transform Data into Opportunity. > >>>> > > >> >> Accelerate data analysis in your applications with > >>>> > > >> >> Intel Data Analytics Acceleration Library. > >>>> > > >> >> Click to learn more. > >>>> > > >> >> > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> > > >> >> _______________________________________________ > >>>> > > >> >> Gambas-user mailing list > >>>> > > >> >> Gambas-user at lists.sourceforge.net > >>>> > > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > > >> >> > >>>> > > >> > > >>>> > > >> > >>>> > > > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> > > >> > Transform Data into Opportunity. > >>>> > > >> > Accelerate data analysis in your applications with > >>>> > > >> > Intel Data Analytics Acceleration Library. > >>>> > > >> > Click to learn more. > >>>> > > >> > > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> > > >> > _______________________________________________ > >>>> > > >> > Gambas-user mailing list > >>>> > > >> > Gambas-user at lists.sourceforge.net > >>>> > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > > >> > >>>> > > >> > >>>> > > >> > >>>> > > >> -- > >>>> > > >> Fabien Bodard > >>>> > > >> > >>>> > > >> > >>>> > > >> > >>>> > > > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> > > >> Transform Data into Opportunity. > >>>> > > >> Accelerate data analysis in your applications with > >>>> > > >> Intel Data Analytics Acceleration Library. > >>>> > > >> Click to learn more. > >>>> > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> > > >> _______________________________________________ > >>>> > > >> Gambas-user mailing list > >>>> > > >> Gambas-user at lists.sourceforge.net > >>>> > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > > >> > >>>> > > > > >>>> > > > > >>>> > > > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> > > > Transform Data into Opportunity. > >>>> > > > Accelerate data analysis in your applications with > >>>> > > > Intel Data Analytics Acceleration Library. > >>>> > > > Click to learn more. > >>>> > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> > > > _______________________________________________ > >>>> > > > Gambas-user mailing list > >>>> > > > Gambas-user at lists.sourceforge.net > >>>> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > -- > >>>> > > Fabien Bodard > >>>> > > > >>>> > > > >>>> > > > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> > > Transform Data into Opportunity. > >>>> > > Accelerate data analysis in your applications with > >>>> > > Intel Data Analytics Acceleration Library. > >>>> > > Click to learn more. > >>>> > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> > > _______________________________________________ > >>>> > > Gambas-user mailing list > >>>> > > Gambas-user at lists.sourceforge.net > >>>> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > > > >>>> > > > >>>> > > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> > Transform Data into Opportunity. > >>>> > Accelerate data analysis in your applications with > >>>> > Intel Data Analytics Acceleration Library. > >>>> > Click to learn more. > >>>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> > _______________________________________________ > >>>> > Gambas-user mailing list > >>>> > Gambas-user at lists.sourceforge.net > >>>> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> Transform Data into Opportunity. > >>>> Accelerate data analysis in your applications with > >>>> Intel Data Analytics Acceleration Library. > >>>> Click to learn more. > >>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>> > >>> > >> > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Mar 11 22:01:58 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 11 Mar 2016 22:01:58 +0100 Subject: [Gambas-user] (no subject) In-Reply-To: <607548965.9993281.1457520400116.JavaMail.yahoo@...3424...> References: <607548965.9993281.1457520400116.JavaMail.yahoo.ref@...3424...> <607548965.9993281.1457520400116.JavaMail.yahoo@...3424...> Message-ID: <56E33246.8040600@...1...> Le 09/03/2016 11:46, Ru Vuott a ?crit : > Hello, > > "before", by using this simple code (gbdesktop and gb.desktop.x11): > > Public Sub Button1_Click() > > Dim df As DesktopFile > Dim path As String > > percorso = "/path/of/the/file" > > For Each df In DesktopFile.FromMime(DesktopMime.FromFile(path).Type) > Print df.ProgramName > Next > > End > > I "was" able to know the applications associated (by default and those by me choosen) with a file. > > Regards > vuott And now? -- Beno?t Minisini From bagonergi at ...626... Fri Mar 11 22:29:14 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 11 Mar 2016 22:29:14 +0100 Subject: [Gambas-user] (no subject) In-Reply-To: <56E33246.8040600@...1...> References: <607548965.9993281.1457520400116.JavaMail.yahoo.ref@...3424...> <607548965.9993281.1457520400116.JavaMail.yahoo@...3424...> <56E33246.8040600@...1...> Message-ID: Hello vuott, It is true it works, if instead of "percorso" put "path" your code works. Regards Gianluigi 2016-03-11 22:01 GMT+01:00 Beno?t Minisini : > Le 09/03/2016 11:46, Ru Vuott a ?crit : > > Hello, > > > > "before", by using this simple code (gbdesktop and gb.desktop.x11): > > > > Public Sub Button1_Click() > > > > Dim df As DesktopFile > > Dim path As String > > > > percorso = "/path/of/the/file" > > > > For Each df In DesktopFile.FromMime(DesktopMime.FromFile(path).Type) > > Print df.ProgramName > > Next > > > > End > > > > I "was" able to know the applications associated (by default and those > by me choosen) with a file. > > > > Regards > > vuott > > And now? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Fri Mar 11 23:31:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 22:31:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #890: Wrong Value on IDE In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.890&from=L21haW4- Comment #2 by Beno?t MINISINI: Got it... It's a bad bug fix made more than one thousand revision ago (r6222 to be exact), to prevent the debugger for modifying the Key property of collections. Consequently, it prevented all collection enumeration indirectly called from working as expected. Why we should never make global states... But I'm trapped with backward-compatibility. Now I'm looking for a fix, stay tuned. From vuott at ...325... Sat Mar 12 00:44:01 2016 From: vuott at ...325... (Ru Vuott) Date: Fri, 11 Mar 2016 23:44:01 +0000 (UTC) Subject: [Gambas-user] (no subject) References: <1117895855.36376.1457739841334.JavaMail.yahoo.ref@...3424...> Message-ID: <1117895855.36376.1457739841334.JavaMail.yahoo@...3424...> To: Beno?t No, it does not work. In console I obtain simply like an empty newline (...carriage return). To: Gianluigi I forgot change italian "percorso" word to "path"... a simple mistake, but even adjusting the variable name, the problem is not eliminated. regards vuott -------------------------------------------- Ven 11/3/16, Gianluigi ha scritto: Oggetto: Re: [Gambas-user] (no subject) A: "mailing list for gambas users" Data: Venerd? 11 marzo 2016, 22:29 Hello vuott, It is true it works, if instead of "percorso" put "path" your code works. Regards Gianluigi 2016-03-11 22:01 GMT+01:00 Beno?t Minisini : > Le 09/03/2016 11:46, Ru Vuott a ?crit : > > Hello, > > > > "before", by using this simple code (gbdesktop and gb.desktop.x11): > > > > Public Sub Button1_Click() > > > >???Dim df As DesktopFile > >???Dim path As String > > > >? ? percorso = "/path/of/the/file" > > > >???For Each df In DesktopFile.FromMime(DesktopMime.FromFile(path).Type) > >? ? ? Print df.ProgramName > >? ? Next > > > > End > > > > I "was" able to know the applications associated (by default and those > by me choosen) with a file. > > > > Regards > > vuott > > And now? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Sat Mar 12 00:47:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 23:47:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #890: Wrong Value on IDE In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.890&from=L21haW4- Comment #3 by Beno?t MINISINI: OK, it should be fixed in revision #7628. It's now the IDE that is now in charge of preserving the value of the collection Key property. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Mar 12 00:51:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 23:51:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #783: Sometimes newline are duplicated in comments In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.783&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Sat Mar 12 00:52:05 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 12 Mar 2016 00:52:05 +0100 Subject: [Gambas-user] (no subject) In-Reply-To: <1117895855.36376.1457739841334.JavaMail.yahoo@...3424...> References: <1117895855.36376.1457739841334.JavaMail.yahoo.ref@...3424...> <1117895855.36376.1457739841334.JavaMail.yahoo@...3424...> Message-ID: <56E35A25.3030006@...1...> Le 12/03/2016 00:44, Ru Vuott a ?crit : > To: Beno?t > > No, it does not work. > In console I obtain simply like an empty newline (...carriage return). > Can you send me a little project? -- Beno?t Minisini From bugtracker at ...3416... Sat Mar 12 00:52:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 23:52:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #874: GTK2: Setting a window to Utility:True breaks the TakeFocus property In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.874&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Mar 12 00:53:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 11 Mar 2016 23:53:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #873: [Project Property dialog] Library item have big size when the "library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.873&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From nigelverity at ...67... Sat Mar 12 00:55:42 2016 From: nigelverity at ...67... (Nigel Verity) Date: Fri, 11 Mar 2016 23:55:42 +0000 Subject: [Gambas-user] Gambas on Pi3 Message-ID: Hi I have ordered a Raspberry Pi3. I have installed Gambas on my Pi2 (Ubuntu Mate) and it works OK, if a bit slow. The advice I have read about exploiting the superior performance of the Pi3 is that applications should be designed to utilise all 4 processor cores. Is there any way to ensure that the Gambas IDE, or an application written in Gambas, will utilise all available processors? Thanks Nige From gambas at ...1... Sat Mar 12 00:59:29 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 12 Mar 2016 00:59:29 +0100 Subject: [Gambas-user] Gambas on Pi3 In-Reply-To: References: Message-ID: <56E35BE1.40304@...1...> Le 12/03/2016 00:55, Nigel Verity a ?crit : > Hi > > I have ordered a Raspberry Pi3. I have installed Gambas on my Pi2 > (Ubuntu Mate) and it works OK, if a bit slow. > > The advice I have read about exploiting the superior performance of > the Pi3 is that applications should be designed to utilise all 4 > processor cores. Is there any way to ensure that the Gambas IDE, or > an application written in Gambas, will utilise all available > processors? > > Thanks > > Nige As Gambas interpreter is single threaded, it cannot help alone. But it depends on what you are doing exactly with your Raspberry Pi. For example, on Linux, the X11 graphic server runs on its own process, so it helps a lot having at least two cores. And even if the Gambas interpreted would allow multi-thread, it's up to the programmer to modify its program to take several cores into account. -- Beno?t Minisini From eilert-sprachen at ...221... Mon Mar 14 09:07:47 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 Mar 2016 09:07:47 +0100 Subject: [Gambas-user] Menu changed programmatically In-Reply-To: <56E2BB28.7060702@...1...> References: <56E1AAF0.8000409@...221...> <56E2B05C.2020702@...221...> <56E2BB28.7060702@...1...> Message-ID: <56E67153.5070702@...221...> Am 11.03.2016 13:33, schrieb Beno?t Minisini: > Le 11/03/2016 12:47, Rolf-Werner Eilert a ?crit : >> Am 10.03.2016 18:12, schrieb Rolf-Werner Eilert: >>> How to change the entries of a pop-up menu? >>> >>> I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. >>> not for a menu in the ordinary "menu" sense of the word, but for a list >>> that reacts like a ComboBox. >>> >>> In this case, I would have to abuse the pop-up menu that is linked to >>> the MenuButton. But how can I access the entries of a menu during >>> runtime? I haven't found anything about it in the documentation. >>> >>> Regards >>> Rolf >>> >>> >>> >> I know the sources for the IDE must be somewhere... I've been looking >> for them to find out how you realised this thing, but to no avail. >> >> But anyway, can somebody tell me how these two buttons in the IDE are made? >> >> Thanks >> Rolf >> > If you want to make a ComboBox, you don't need a Menu, but the > ShowPopup() method of the Window class. > > Otherwise, a menu is modified through its name. If you define the menu > name as "mnuOpen", for example, than you get a variable named "mnuOpen" > pointing at the menu object. > > Regards, > Yes, but when I first saw this thing, I expected to find a list equal to that in a ComboBox, where I can add and delete items during runtime. So, if I want this functionality with a menu, I will have to make a menu with a given number of items, then change their captions, switch them visible on or off, and jump to their Click events in code... Terribly roundabout. I cannot imagine you used it like this in the Gambas IDE, so I asked where in the sources I can find it. What I mean is the Open Project and Back button. Or are these something completely different? Regards Rolf From bugtracker at ...3416... Mon Mar 14 11:49:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 14 Mar 2016 10:49:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- C THAL reported a new bug. Summary ------- Bash-like "source" command for gbs3 Type : Request Priority : Low Gambas version : Unknown Product : Unknown Description ----------- A "source" command like in Bash would be very useful and would enhance the opportunities for Gambas scripting. From eilert-sprachen at ...221... Mon Mar 14 16:12:56 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 Mar 2016 16:12:56 +0100 Subject: [Gambas-user] .Find only from position "1"? Message-ID: <56E6D4F8.4080408@...221...> Have just stumbled over this one. To make things short, elements of an address have to be collected. This is the code snippet: feld = Split(felderKopieAdresse[lsKopieAdresse.Index], ",") For i = 0 To feld.Max If links.Find(feld[i]) > -1 Then adresse.Add(rechts[links.Find(feld[i])]) End If Next feld contains the names of the address fields, i. e. "Anr1", "Vorname1", "Name1" etc. "links" is the pointer to the address contents in "rechts", i. e. if links[x] = "Anr1", its index points to "Herr" or "Frau" in rechts[x] Now this runs well: - feld will contain a collection of fields to be delivered, i. e. "Anr1", "Vorname1", "Name1" etc. - it starts with 0 But on the first loop, Find will deliver -1 On later loops, it runs well. So the first element of the address is ignored. I have checked all brackets and stuff, I have run it step-by-step, and each time I run it, but the first search item isn't found. "Anr1" is in links[0], it is definitely there. It is also in feld[0]. And when i=0, links.Find(feld[i]) should find it and deliver "0", not -1. I even tried with another list of search items: Same behaviour, the first loop doesn't find anything. Am I blind??? Thanks for any help! Rolf From kicking177 at ...626... Mon Mar 14 21:26:40 2016 From: kicking177 at ...626... (KKing) Date: Mon, 14 Mar 2016 20:26:40 +0000 Subject: [Gambas-user] failure on Startup of Gambas on Linux Mint Debian Edition 2 Message-ID: <56E71E80.6060505@...626...> I've just had to set up a new unit and am using Linux Mint Debian Edition 2 usuing 32bit MATE, If I install Gambas via the LMDE2 Package Manager it installs gambas v3.5.4-2+b1 But when i try to start Gambas from the menu, I get a window This application has raised an unexpected error and must abort. [13] null object Setting.WriteWindow.385 I uninstalled (completely remove option) gambas via the Package Manager. Then I downloaded source from gambas site for v3.8.4 installed the dependencies mentioned on the wiki for debian, plus two more for qt4 opengl and qt4 webkit. I still had qt5 Opengl and qt5 webkit listed as disabled .... do I need them to use Gambas if the Qt4 is resolved? I couldn't see Qt5 libraries on the LMDE2 Package Manager? If I try to start gambase from terminal, I get window. This application has raised an unexpected error and must abort. [20] Bad argument Settings.WriteWindow.388 and in the terminal window there is Project.Main.356 - - - - - - - Anything obvious I can try? Or what would be next debugging step to establish issue. From eilert-sprachen at ...221... Tue Mar 15 12:02:22 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 15 Mar 2016 12:02:22 +0100 Subject: [Gambas-user] .Find only from position "1"? In-Reply-To: <56E6D4F8.4080408@...221...> References: <56E6D4F8.4080408@...221...> Message-ID: <56E7EBBE.9010103@...221...> I found the reason: There is a white space starting the string with the fieldnames, i. e. the first element begins with " ". In the Gambas IDE (list with array contents) a whitespace is hardly visible. Maybe it would be an idea to indicate it by replacing it with another, unique character like a small middle-dot or coloring it with light gray, blue or so? Anyway, my problem is solved, and sorry for the noise :) Regards Rolf Am 14.03.2016 16:12, schrieb Rolf-Werner Eilert: > Have just stumbled over this one. > > To make things short, elements of an address have to be collected. This > is the code snippet: > > feld = Split(felderKopieAdresse[lsKopieAdresse.Index], ",") > > For i = 0 To feld.Max > If links.Find(feld[i]) > -1 Then > adresse.Add(rechts[links.Find(feld[i])]) > End If > Next > > feld contains the names of the address fields, i. e. "Anr1", "Vorname1", > "Name1" etc. > > "links" is the pointer to the address contents in "rechts", i. e. if > links[x] = "Anr1", its index points to "Herr" or "Frau" in rechts[x] > > Now this runs well: > > - feld will contain a collection of fields to be delivered, i. e. > "Anr1", "Vorname1", "Name1" etc. > - it starts with 0 > > But on the first loop, Find will deliver -1 > > On later loops, it runs well. So the first element of the address is > ignored. > > I have checked all brackets and stuff, I have run it step-by-step, and > each time I run it, but the first search item isn't found. > > "Anr1" is in links[0], it is definitely there. It is also in feld[0]. > And when i=0, links.Find(feld[i]) should find it and deliver "0", not -1. > > I even tried with another list of search items: Same behaviour, the > first loop doesn't find anything. > > Am I blind??? > > Thanks for any help! > > Rolf > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Tue Mar 15 18:40:46 2016 From: taboege at ...626... (Tobias Boege) Date: Tue, 15 Mar 2016 18:40:46 +0100 Subject: [Gambas-user] Appreciation of gb.web.form Message-ID: <20160315174046.GA7389@...2774...> Hi all, I just wanted to note that the still highly experimental (?) component gb.web.form performs very well in one of my projects. The project runs web forms under gb.httpd and has a library which uses the new library mechanism. Pretty straightforward to set up, and fast if you discount compiling Gambas. The server has run on our uni LAN for nearly 34 days with occasional visits, but enough visits that I can proudly report that it has since spent mere 45 processor seconds in userspace. Its memory usage is still nothing more than the executable and libraries. That is, no unusual processor activity and no memory leaks. Of course, the project also does what it was programmed for. No data corruption or anything. Very neat and thank you, Benoit :-) Others may want to try it out, too. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From buster6seven at ...626... Wed Mar 16 02:32:25 2016 From: buster6seven at ...626... (Buster Seven) Date: Wed, 16 Mar 2016 12:32:25 +1100 Subject: [Gambas-user] Report problems In-Reply-To: References: Message-ID: By explicitly do you mean in code? and yes I am using gb.gui On Thu, Mar 10, 2016 at 9:05 PM, Fabien Bodard wrote: > Well i think it's a font problem. Try to select explicitly the font of > the report object. > > if it not work : > > are you using gb.gui ? > > then can you send me a short project with the involved report ? I > think you have a bad report design too. So if i have an example i can > explain to you what to do. > > 2016-03-10 5:17 GMT+01:00 Buster Seven : > > I'm having problems with the report component when I run my program in > the > > ide the report shows as expected but when i build an exe the report is > all > > wrong? > > > > > > > > IDE > > > > > > EXE > > > > > > > > > > > > > > > > [System] > > Gambas=3.8.4 > > OperatingSystem=Linux > > Kernel=3.16.0-38-generic > > Architecture=x86_64 > > Distribution=Linux Mint 17.2 Rafaela > > Desktop=MATE > > Theme=Gtk > > Language=en_AU.UTF-8 > > Memory=3806M > > > > [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+2=libgtk-x11-2.0.so.0.2400.23 > > GTK+3=libgtk-3.so.0.1000.8 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.44.0.0 > > QT4=libQtCore.so.4.8.6 > > QT5=libQt5Core.so.5.2.1 > > SDL=libSDL-1.2.so.0.11.4 > > > > [Environment] > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oAaGgMxyq7,guid=3e3510e2ca9bf0d3c9d06f4856dd0237 > > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > > DESKTOP_SESSION=mate > > DISPLAY=:0.0 > > GB_GUI=gb.qt4 > > GDMSESSION=mate > > GDM_XSERVER_LOCATION=local > > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-dgeJQX > > GNOME_KEYRING_PID=2008 > > GPG_AGENT_INFO=/run/user/1000/keyring-dgeJQX/gpg:0:1 > > HOME=/home/ > > LANG=en_AU.UTF-8 > > LOGNAME= > > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > > MATE_DESKTOP_SESSION_ID=this-is-deprecated > > MDMSESSION=mate > > MDM_LANG=en_AU.UTF-8 > > MDM_XSERVER_LOCATION=local > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > PWD=/home/ > > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1764,unix/:/tmp/.ICE-unix/1764 > > SHELL=/bin/bash > > SSH_AGENT_PID=1920 > > SSH_AUTH_SOCK=/run/user/1000/keyring-dgeJQX/ssh > > TEXTDOMAIN=im-config > > TEXTDOMAINDIR=/usr/share/locale/ > > TZ=:/etc/localtime > > USER= > > USERNAME= > > WINDOWPATH=8 > > XAUTHORITY=/home//.Xauthority > > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > > XDG_CURRENT_DESKTOP=MATE > > > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ > > XDG_RUNTIME_DIR=/run/user/1000 > > XDG_SEAT=seat0 > > > XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1457324597.652522-1504565590 > > XDG_SESSION_DESKTOP=mate > > XDG_SESSION_ID=c1 > > XDG_VTNR=8 > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Mar 16 04:03:09 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 16 Mar 2016 04:03:09 +0100 Subject: [Gambas-user] Appreciation of gb.web.form In-Reply-To: <20160315174046.GA7389@...2774...> References: <20160315174046.GA7389@...2774...> Message-ID: <56E8CCED.8080205@...1...> Le 15/03/2016 18:40, Tobias Boege a ?crit : > Hi all, > > I just wanted to note that the still highly experimental (?) component > gb.web.form performs very well in one of my projects. The project runs web > forms under gb.httpd and has a library which uses the new library mechanism. > Pretty straightforward to set up, and fast if you discount compiling Gambas. > > The server has run on our uni LAN for nearly 34 days with occasional visits, > but enough visits that I can proudly report that it has since spent mere 45 > processor seconds in userspace. Its memory usage is still nothing more than > the executable and libraries. > > That is, no unusual processor activity and no memory leaks. Of course, the > project also does what it was programmed for. No data corruption or anything. > Very neat and thank you, Benoit :-) Others may want to try it out, too. > > Regards, > Tobi > Cool. I am actually stuck with the need to implement a calendar pop-up and a treeview. Should I continue to do that entirely from scratch, or should I try to use a Javascript library that already implements the needed stuff. That is the question. Whether it is nobler in the mind to suffer the slings and arrows of outrageous fortune... -- Beno?t Minisini From gambas.fr at ...626... Wed Mar 16 12:27:57 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 16 Mar 2016 12:27:57 +0100 Subject: [Gambas-user] Report problems In-Reply-To: References: Message-ID: No in the report font property. All the report inherit from here... But it depend of the version you use. Le 16 mars 2016 02:34, "Buster Seven" a ?crit : > By explicitly do you mean in code? > and yes I am using gb.gui > > On Thu, Mar 10, 2016 at 9:05 PM, Fabien Bodard > wrote: > > > Well i think it's a font problem. Try to select explicitly the font of > > the report object. > > > > if it not work : > > > > are you using gb.gui ? > > > > then can you send me a short project with the involved report ? I > > think you have a bad report design too. So if i have an example i can > > explain to you what to do. > > > > 2016-03-10 5:17 GMT+01:00 Buster Seven : > > > I'm having problems with the report component when I run my program in > > the > > > ide the report shows as expected but when i build an exe the report is > > all > > > wrong? > > > > > > > > > > > > IDE > > > > > > > > > EXE > > > > > > > > > > > > > > > > > > > > > > > > [System] > > > Gambas=3.8.4 > > > OperatingSystem=Linux > > > Kernel=3.16.0-38-generic > > > Architecture=x86_64 > > > Distribution=Linux Mint 17.2 Rafaela > > > Desktop=MATE > > > Theme=Gtk > > > Language=en_AU.UTF-8 > > > Memory=3806M > > > > > > [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+2=libgtk-x11-2.0.so.0.2400.23 > > > GTK+3=libgtk-3.so.0.1000.8 > > > OpenGL=libGL.so.1.2.0 > > > Poppler=libpoppler.so.44.0.0 > > > QT4=libQtCore.so.4.8.6 > > > QT5=libQt5Core.so.5.2.1 > > > SDL=libSDL-1.2.so.0.11.4 > > > > > > [Environment] > > > > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oAaGgMxyq7,guid=3e3510e2ca9bf0d3c9d06f4856dd0237 > > > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > > > DESKTOP_SESSION=mate > > > DISPLAY=:0.0 > > > GB_GUI=gb.qt4 > > > GDMSESSION=mate > > > GDM_XSERVER_LOCATION=local > > > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-dgeJQX > > > GNOME_KEYRING_PID=2008 > > > GPG_AGENT_INFO=/run/user/1000/keyring-dgeJQX/gpg:0:1 > > > HOME=/home/ > > > LANG=en_AU.UTF-8 > > > LOGNAME= > > > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > > > MATE_DESKTOP_SESSION_ID=this-is-deprecated > > > MDMSESSION=mate > > > MDM_LANG=en_AU.UTF-8 > > > MDM_XSERVER_LOCATION=local > > > > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > > PWD=/home/ > > > > > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1764,unix/:/tmp/.ICE-unix/1764 > > > SHELL=/bin/bash > > > SSH_AGENT_PID=1920 > > > SSH_AUTH_SOCK=/run/user/1000/keyring-dgeJQX/ssh > > > TEXTDOMAIN=im-config > > > TEXTDOMAINDIR=/usr/share/locale/ > > > TZ=:/etc/localtime > > > USER= > > > USERNAME= > > > WINDOWPATH=8 > > > XAUTHORITY=/home//.Xauthority > > > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > > > XDG_CURRENT_DESKTOP=MATE > > > > > > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ > > > XDG_RUNTIME_DIR=/run/user/1000 > > > XDG_SEAT=seat0 > > > > > > XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1457324597.652522-1504565590 > > > XDG_SESSION_DESKTOP=mate > > > XDG_SESSION_ID=c1 > > > XDG_VTNR=8 > > > > > > > > > ------------------------------------------------------------------------------ > > > Transform Data into Opportunity. > > > Accelerate data analysis in your applications with > > > Intel Data Analytics Acceleration Library. > > > Click to learn more. > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > -- > > Fabien Bodard > > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Mar 17 00:35:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 16 Mar 2016 23:35:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #904: Trying to drag-highlight text on line greater in width than main edit view is virtually impossible due to auto-shifting of edit window view. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.904&from=L21haW4- T. Lee DAVIDSON reported a new bug. Summary ------- Trying to drag-highlight text on line greater in width than main edit view is virtually impossible due to auto-shifting of edit window view. Type : Bug Priority : Low Gambas version : 3.8 Product : Development Environment Description ----------- Supposing that the width of the main code editing window is 150 characters wide, a line with a length greater than that will cause a horizontal scroll bar to appear. Dragging the scroll bar to view the end of the line also allows some characters in columns less than 150 to still be displayed. Fine. No problem. The issue arises when, while still viewing the end of the line, one attempts to select any visible text that is in a column less than 150 by dragging across it. The view is automatically shifted to show the beginning of the line and the select attempt is thwarted with unwanted characters selected. The view, unfortunately, also does not automatically scroll toward the end of the line when dragging past the right edge of the view port also disallowing selecting of text in that particular region. System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.1.15-8-default Architecture=x86_64 Distribution=SuSE NAME="openSUSE Leap" VERSION="42.1" VERSION_ID="42.1" PRETTY_NAME="openSUSE Leap 42.1 (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:42.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" Desktop=KDE5 Theme=Breeze -> Incorrect. Should be QtCurve-Luna (There's a current openSUSE bug report about Breeze being, essentially, hardcoded.) Language=en_US.UTF-8 Memory=2001M [Libraries] Cairo=libcairo.so.2.11400.2 DBus=libdbus-1.so.3.8.11 GTK+2=libgtk-x11-2.0.so.0.2400.29 OpenGL=libGL.so.1.2.0 QT4=libQtCore.so.4.8.6 [Environment] ALSA_CONFIG_PATH=/etc/alsa-pulse.conf AUDIODRIVER=pulseaudio COLORTERM=1 CONFIG_SITE=/usr/share/site/x86_64-unknown-linux-gnu CPU=x86_64 CSHEDIT=emacs DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DWPV7MhaWM,guid=11afdf88b1560a4aaaa7a10c56e9b091 DESKTOP_SESSION=/usr/share/xsessions/plasma5 DISPLAY=:0 FROM_HEADER= GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_IM_MODULE=cedilla GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc G_BROKEN_FILENAMES=1 G_FILENAME_ENCODING=@...3501...,UTF-8,ISO-8859-15,CP1252 HISTSIZE=1000 HOME= HOST= HOSTNAME= HOSTTYPE=x86_64 INPUTRC=/.inputrc JAVA_BINDIR=/usr/lib64/jvm/jre/bin JAVA_HOME=/usr/lib64/jvm/jre JAVA_ROOT=/usr/lib64/jvm/jre JRE_HOME=/usr/lib64/jvm/jre KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=en_US.UTF-8 LESS=-M -I -R LESSCLOSE=lessclose.sh %s %s LESSKEY=/etc/lesskey.bin LESSOPEN=lessopen.sh %s LESS_ADVANCED_PREPROCESSOR=no LOGNAME= MACHTYPE=x86_64-suse-linux MAIL=/var/spool/mail/ MANPATH=/usr/local/man:/usr/share/man MINICOM=-c on MORE=-sl NNTPSERVER=news OSTYPE=linux PAGER=less PATH=/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games PROFILEREAD=true PWD= PYTHONSTARTUP=/etc/pythonstart QEMU_AUDIO_DRV=pa QT_IM_MODULE=xim QT_IM_SWITCHER=imsw-multi QT_NO_GLIB=1 QT_SYSTEM_DIR=/usr/share/desktop-data SDL_AUDIODRIVER=pulse SESSION_MANAGER=local/:@/tmp/.ICE-unix/2043,unix/:/tmp/.ICE-unix/2043 SHELL=/bin/bash SHLVL=1 TERM=xterm TZ=:/etc/localtime USER= WINDOWMANAGER=/usr/bin/startkde XAUTHLOCALHOSTNAME= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/etc/xdg XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB XMODIFIERS=@...3498...=local XNLSPATH=/usr/share/X11/nls XSESSION_IS_UP=yes _=/usr/lib64/libexec/kf5/start_kdeinit_wrapper From t.lee.davidson at ...626... Thu Mar 17 00:41:59 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 16 Mar 2016 19:41:59 -0400 Subject: [Gambas-user] How to register and login to the Wiki? Message-ID: <56E9EF47.8090806@...626...> I used to be able to login to the Wiki (http://gambaswiki.org/). This was prior to it receiving its new face. Now, I cannot login apparently. When I enter my login credentials, I see no evidence of being logged in and still see the "Login" button. There is also no recover password, nor register, link. Has the procedure for registering/logging in changed, and I simply cannot find the documentation explaining it? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From taboege at ...626... Thu Mar 17 00:58:32 2016 From: taboege at ...626... (Tobias Boege) Date: Thu, 17 Mar 2016 00:58:32 +0100 Subject: [Gambas-user] How to register and login to the Wiki? In-Reply-To: <56E9EF47.8090806@...626...> References: <56E9EF47.8090806@...626...> Message-ID: <20160316235832.GA30987@...2774...> On Wed, 16 Mar 2016, T Lee Davidson wrote: > I used to be able to login to the Wiki (http://gambaswiki.org/). This was prior to it receiving its new face. > > Now, I cannot login apparently. When I enter my login credentials, I see no evidence of being logged in and still see the > "Login" button. There is also no recover password, nor register, link. > > Has the procedure for registering/logging in changed, and I simply cannot find the documentation explaining it? > There should be no documentation necessary for logging in. The intuitive way works over here. See screenshots 1 to 3. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: 1.png Type: image/png Size: 33277 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2.png Type: image/png Size: 32616 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 3.png Type: image/png Size: 35756 bytes Desc: not available URL: From bugtracker at ...3416... Thu Mar 17 01:21:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 17 Mar 2016 00:21:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #904: Trying to drag-highlight text on line greater in width than main edit view is virtually impossible due to auto-shifting of edit window view. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.904&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From mr.daniel.lemke at ...626... Thu Mar 17 01:38:51 2016 From: mr.daniel.lemke at ...626... (Daniel Lemke) Date: Wed, 16 Mar 2016 17:38:51 -0700 Subject: [Gambas-user] Double Keyboard Input in Form Message-ID: <56E9FC9B.9000701@...626...> Hello all, I am using Gambas 3.5.4 that I downloaded from the Ubuntu repo to make a contact sheet maker. I have some plain Jane text entries on my form that are not working correctly. Whenever I type into any of the text entries, it receives the input as if I had pressed the key twice in a row. I don't have this problem anywhere else in my operating system, so I assumed it was an issue involving Gambas itself. Does anyone know how I can keep these fields from getting two characters instead of one? From gambas at ...1... Thu Mar 17 01:46:09 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 17 Mar 2016 01:46:09 +0100 Subject: [Gambas-user] Double Keyboard Input in Form In-Reply-To: <56E9FC9B.9000701@...626...> References: <56E9FC9B.9000701@...626...> Message-ID: <56E9FE51.3050801@...1...> Le 17/03/2016 01:38, Daniel Lemke a ?crit : > Hello all, > > I am using Gambas 3.5.4 that I downloaded from the Ubuntu repo to make a > contact sheet maker. I have some plain Jane text entries on my form that > are not working correctly. Whenever I type into any of the text entries, > it receives the input as if I had pressed the key twice in a row. I > don't have this problem anywhere else in my operating system, so I > assumed it was an issue involving Gambas itself. Does anyone know how I > can keep these fields from getting two characters instead of one? > It's a problem with gb.gtk and the GTK+ input methods. Please send your system information and your project. And do upgrade Gambas! -- Beno?t Minisini From t.lee.davidson at ...626... Thu Mar 17 01:53:07 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 16 Mar 2016 20:53:07 -0400 Subject: [Gambas-user] How to register and login to the Wiki? In-Reply-To: <20160316235832.GA30987@...2774...> References: <56E9EF47.8090806@...626...> <20160316235832.GA30987@...2774...> Message-ID: <56E9FFF3.6010107@...626...> On 03/16/2016 07:58 PM, Tobias Boege wrote: > On Wed, 16 Mar 2016, T Lee Davidson wrote: >> >I used to be able to login to the Wiki (http://gambaswiki.org/). This was prior to it receiving its new face. >> > >> >Now, I cannot login apparently. When I enter my login credentials, I see no evidence of being logged in and still see the >> >"Login" button. There is also no recover password, nor register, link. >> > >> >Has the procedure for registering/logging in changed, and I simply cannot find the documentation explaining it? >> > > There should be no documentation necessary for logging in. The intuitive way > works over here. See screenshots 1 to 3. > > Regards, > Tobi Thanks Tobi. And, yes, I did not think there should be any documentation necessary for logging in. But as I said, I cannot log in. After submitting the login form, the "Login" button remains; no "Logout" button. I get no error message, nor any link to retrieve password, nor any link to register. I just figured there _must_ be something I am missing that is perhaps documented somewhere that I cannot find. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From buster6seven at ...626... Thu Mar 17 01:58:13 2016 From: buster6seven at ...626... (Buster Seven) Date: Thu, 17 Mar 2016 11:58:13 +1100 Subject: [Gambas-user] Report problems In-Reply-To: References: Message-ID: No not working everything I try doesn?t work On Wed, Mar 16, 2016 at 10:27 PM, Fabien Bodard wrote: > No in the report font property. All the report inherit from here... But it > depend of the version you use. > Le 16 mars 2016 02:34, "Buster Seven" a ?crit : > > > By explicitly do you mean in code? > > and yes I am using gb.gui > > > > On Thu, Mar 10, 2016 at 9:05 PM, Fabien Bodard > > wrote: > > > > > Well i think it's a font problem. Try to select explicitly the font of > > > the report object. > > > > > > if it not work : > > > > > > are you using gb.gui ? > > > > > > then can you send me a short project with the involved report ? I > > > think you have a bad report design too. So if i have an example i can > > > explain to you what to do. > > > > > > 2016-03-10 5:17 GMT+01:00 Buster Seven : > > > > I'm having problems with the report component when I run my program > in > > > the > > > > ide the report shows as expected but when i build an exe the report > is > > > all > > > > wrong? > > > > > > > > > > > > > > > > IDE > > > > > > > > > > > > EXE > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [System] > > > > Gambas=3.8.4 > > > > OperatingSystem=Linux > > > > Kernel=3.16.0-38-generic > > > > Architecture=x86_64 > > > > Distribution=Linux Mint 17.2 Rafaela > > > > Desktop=MATE > > > > Theme=Gtk > > > > Language=en_AU.UTF-8 > > > > Memory=3806M > > > > > > > > [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+2=libgtk-x11-2.0.so.0.2400.23 > > > > GTK+3=libgtk-3.so.0.1000.8 > > > > OpenGL=libGL.so.1.2.0 > > > > Poppler=libpoppler.so.44.0.0 > > > > QT4=libQtCore.so.4.8.6 > > > > QT5=libQt5Core.so.5.2.1 > > > > SDL=libSDL-1.2.so.0.11.4 > > > > > > > > [Environment] > > > > > > > > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oAaGgMxyq7,guid=3e3510e2ca9bf0d3c9d06f4856dd0237 > > > > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > > > > DESKTOP_SESSION=mate > > > > DISPLAY=:0.0 > > > > GB_GUI=gb.qt4 > > > > GDMSESSION=mate > > > > GDM_XSERVER_LOCATION=local > > > > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-dgeJQX > > > > GNOME_KEYRING_PID=2008 > > > > GPG_AGENT_INFO=/run/user/1000/keyring-dgeJQX/gpg:0:1 > > > > HOME=/home/ > > > > LANG=en_AU.UTF-8 > > > > LOGNAME= > > > > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > > > > MATE_DESKTOP_SESSION_ID=this-is-deprecated > > > > MDMSESSION=mate > > > > MDM_LANG=en_AU.UTF-8 > > > > MDM_XSERVER_LOCATION=local > > > > > > > > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > > > PWD=/home/ > > > > > > > > > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1764,unix/:/tmp/.ICE-unix/1764 > > > > SHELL=/bin/bash > > > > SSH_AGENT_PID=1920 > > > > SSH_AUTH_SOCK=/run/user/1000/keyring-dgeJQX/ssh > > > > TEXTDOMAIN=im-config > > > > TEXTDOMAINDIR=/usr/share/locale/ > > > > TZ=:/etc/localtime > > > > USER= > > > > USERNAME= > > > > WINDOWPATH=8 > > > > XAUTHORITY=/home//.Xauthority > > > > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > > > > XDG_CURRENT_DESKTOP=MATE > > > > > > > > > > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ > > > > XDG_RUNTIME_DIR=/run/user/1000 > > > > XDG_SEAT=seat0 > > > > > > > > > > XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1457324597.652522-1504565590 > > > > XDG_SESSION_DESKTOP=mate > > > > XDG_SESSION_ID=c1 > > > > XDG_VTNR=8 > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Transform Data into Opportunity. > > > > Accelerate data analysis in your applications with > > > > Intel Data Analytics Acceleration Library. > > > > Click to learn more. > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > -- > > > Fabien Bodard > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Transform Data into Opportunity. > > > Accelerate data analysis in your applications with > > > Intel Data Analytics Acceleration Library. > > > Click to learn more. > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Mar 17 03:14:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 17 Mar 2016 02:14:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #904: Trying to drag-highlight text on line greater in width than main edit view is virtually impossible due to auto-shifting of edit window view. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.904&from=L21haW4- Comment #1 by Beno?t MINISINI: Is it better with revision #7641? Beno?t MINISINI changed the state of the bug to: Fixed. From gambas.fr at ...626... Thu Mar 17 12:29:48 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 17 Mar 2016 12:29:48 +0100 Subject: [Gambas-user] Report problems In-Reply-To: References: Message-ID: So send me the report Le 17 mars 2016 02:00, "Buster Seven" a ?crit : > No not working everything I try doesn?t work > > On Wed, Mar 16, 2016 at 10:27 PM, Fabien Bodard > wrote: > > > No in the report font property. All the report inherit from here... But > it > > depend of the version you use. > > Le 16 mars 2016 02:34, "Buster Seven" a ?crit : > > > > > By explicitly do you mean in code? > > > and yes I am using gb.gui > > > > > > On Thu, Mar 10, 2016 at 9:05 PM, Fabien Bodard > > > wrote: > > > > > > > Well i think it's a font problem. Try to select explicitly the font > of > > > > the report object. > > > > > > > > if it not work : > > > > > > > > are you using gb.gui ? > > > > > > > > then can you send me a short project with the involved report ? I > > > > think you have a bad report design too. So if i have an example i can > > > > explain to you what to do. > > > > > > > > 2016-03-10 5:17 GMT+01:00 Buster Seven : > > > > > I'm having problems with the report component when I run my program > > in > > > > the > > > > > ide the report shows as expected but when i build an exe the report > > is > > > > all > > > > > wrong? > > > > > > > > > > > > > > > > > > > > IDE > > > > > > > > > > > > > > > EXE > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > [System] > > > > > Gambas=3.8.4 > > > > > OperatingSystem=Linux > > > > > Kernel=3.16.0-38-generic > > > > > Architecture=x86_64 > > > > > Distribution=Linux Mint 17.2 Rafaela > > > > > Desktop=MATE > > > > > Theme=Gtk > > > > > Language=en_AU.UTF-8 > > > > > Memory=3806M > > > > > > > > > > [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+2=libgtk-x11-2.0.so.0.2400.23 > > > > > GTK+3=libgtk-3.so.0.1000.8 > > > > > OpenGL=libGL.so.1.2.0 > > > > > Poppler=libpoppler.so.44.0.0 > > > > > QT4=libQtCore.so.4.8.6 > > > > > QT5=libQt5Core.so.5.2.1 > > > > > SDL=libSDL-1.2.so.0.11.4 > > > > > > > > > > [Environment] > > > > > > > > > > > > > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oAaGgMxyq7,guid=3e3510e2ca9bf0d3c9d06f4856dd0237 > > > > > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > > > > > DESKTOP_SESSION=mate > > > > > DISPLAY=:0.0 > > > > > GB_GUI=gb.qt4 > > > > > GDMSESSION=mate > > > > > GDM_XSERVER_LOCATION=local > > > > > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-dgeJQX > > > > > GNOME_KEYRING_PID=2008 > > > > > GPG_AGENT_INFO=/run/user/1000/keyring-dgeJQX/gpg:0:1 > > > > > HOME=/home/ > > > > > LANG=en_AU.UTF-8 > > > > > LOGNAME= > > > > > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > > > > > MATE_DESKTOP_SESSION_ID=this-is-deprecated > > > > > MDMSESSION=mate > > > > > MDM_LANG=en_AU.UTF-8 > > > > > MDM_XSERVER_LOCATION=local > > > > > > > > > > > > > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > > > > PWD=/home/ > > > > > > > > > > > > > > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1764,unix/:/tmp/.ICE-unix/1764 > > > > > SHELL=/bin/bash > > > > > SSH_AGENT_PID=1920 > > > > > SSH_AUTH_SOCK=/run/user/1000/keyring-dgeJQX/ssh > > > > > TEXTDOMAIN=im-config > > > > > TEXTDOMAINDIR=/usr/share/locale/ > > > > > TZ=:/etc/localtime > > > > > USER= > > > > > USERNAME= > > > > > WINDOWPATH=8 > > > > > XAUTHORITY=/home//.Xauthority > > > > > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > > > > > XDG_CURRENT_DESKTOP=MATE > > > > > > > > > > > > > > > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ > > > > > XDG_RUNTIME_DIR=/run/user/1000 > > > > > XDG_SEAT=seat0 > > > > > > > > > > > > > > > XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1457324597.652522-1504565590 > > > > > XDG_SESSION_DESKTOP=mate > > > > > XDG_SESSION_ID=c1 > > > > > XDG_VTNR=8 > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Transform Data into Opportunity. > > > > > Accelerate data analysis in your applications with > > > > > Intel Data Analytics Acceleration Library. > > > > > Click to learn more. > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > -- > > > > Fabien Bodard > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Transform Data into Opportunity. > > > > Accelerate data analysis in your applications with > > > > Intel Data Analytics Acceleration Library. > > > > Click to learn more. > > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Transform Data into Opportunity. > > > Accelerate data analysis in your applications with > > > Intel Data Analytics Acceleration Library. > > > Click to learn more. > > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Thu Mar 17 14:53:33 2016 From: taboege at ...626... (Tobias Boege) Date: Thu, 17 Mar 2016 14:53:33 +0100 Subject: [Gambas-user] Appreciation of gb.web.form In-Reply-To: <56E8CCED.8080205@...1...> References: <20160315174046.GA7389@...2774...> <56E8CCED.8080205@...1...> Message-ID: <20160317135333.GB706@...2774...> On Wed, 16 Mar 2016, Beno??t Minisini wrote: > Le 15/03/2016 18:40, Tobias Boege a ?crit : > > Hi all, > > > > I just wanted to note that the still highly experimental (?) component > > gb.web.form performs very well in one of my projects. The project runs web > > forms under gb.httpd and has a library which uses the new library mechanism. > > Pretty straightforward to set up, and fast if you discount compiling Gambas. > > > > The server has run on our uni LAN for nearly 34 days with occasional visits, > > but enough visits that I can proudly report that it has since spent mere 45 > > processor seconds in userspace. Its memory usage is still nothing more than > > the executable and libraries. > > > > That is, no unusual processor activity and no memory leaks. Of course, the > > project also does what it was programmed for. No data corruption or anything. > > Very neat and thank you, Benoit :-) Others may want to try it out, too. > > > > Regards, > > Tobi > > > > Cool. I am actually stuck with the need to implement a calendar pop-up > and a treeview. > > Should I continue to do that entirely from scratch, or should I try to > use a Javascript library that already implements the needed stuff. > > That is the question. Whether it is nobler in the mind to suffer > the slings and arrows of outrageous fortune... > I needed a TreeView, too, but decided to adapt my expectations to the available controls (I used a WebTable with indentation instead), because I'm not skilled enough in Javascript to even start thinking about how to implement a TreeView. If you have the know-how it would certainly be cool if the controls were written from scratch. On the other hand, the GUI components also use established widget libraries and in this light it seems like wasted effort to write the gb.web.form controls from scratch when perfectly fine (are they?) widget libraries do exist. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mr.daniel.lemke at ...626... Thu Mar 17 18:30:00 2016 From: mr.daniel.lemke at ...626... (Daniel Lemke) Date: Thu, 17 Mar 2016 10:30:00 -0700 Subject: [Gambas-user] Double Keyboard Input in Form In-Reply-To: <56E9FE51.3050801@...1...> References: <56E9FC9B.9000701@...626...> <56E9FE51.3050801@...1...> Message-ID: <56EAE998.70408@...626...> I upgraded Gambas and now the problem is gone! :) Thanks Beno?t, I should have just done that first... On 03/16/2016 05:46 PM, Beno?t Minisini wrote: > Le 17/03/2016 01:38, Daniel Lemke a ?crit : >> Hello all, >> >> I am using Gambas 3.5.4 that I downloaded from the Ubuntu repo to make a >> contact sheet maker. I have some plain Jane text entries on my form that >> are not working correctly. Whenever I type into any of the text entries, >> it receives the input as if I had pressed the key twice in a row. I >> don't have this problem anywhere else in my operating system, so I >> assumed it was an issue involving Gambas itself. Does anyone know how I >> can keep these fields from getting two characters instead of one? >> > It's a problem with gb.gtk and the GTK+ input methods. > > Please send your system information and your project. And do upgrade Gambas! > From abbat.81 at ...787... Fri Mar 18 12:32:07 2016 From: abbat.81 at ...787... (abbat81) Date: Fri, 18 Mar 2016 04:32:07 -0700 (MST) Subject: [Gambas-user] Get html tags from RichText Message-ID: <1458300727388-55710.post@...3046...> There is a RichText in my TableView.Cell.RichText Can I get source of that content? (I need to know what color ther is.) Thanks in advance -- View this message in context: http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Fri Mar 18 13:39:52 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 18 Mar 2016 13:39:52 +0100 Subject: [Gambas-user] Get html tags from RichText In-Reply-To: <1458300727388-55710.post@...3046...> References: <1458300727388-55710.post@...3046...> Message-ID: <56EBF718.3090801@...221...> Try to write that text into a file like File.Save(...) Then open that file via mc or whatever plain text editor... Does it work? Regards Rolf Am 18.03.2016 12:32, schrieb abbat81: > There is a RichText in my TableView.Cell.RichText > Can I get source of that content? > (I need to know what color ther is.) > > Thanks in advance > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From abbat.81 at ...787... Fri Mar 18 13:09:20 2016 From: abbat.81 at ...787... (abbat81) Date: Fri, 18 Mar 2016 05:09:20 -0700 (MST) Subject: [Gambas-user] Get html tags from RichText In-Reply-To: <56EBF718.3090801@...221...> References: <1458300727388-55710.post@...3046...> <56EBF718.3090801@...221...> Message-ID: <1458302960090-55712.post@...3046...> Yes, it works, thank you! :) -- View this message in context: http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710p55712.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Fri Mar 18 15:29:10 2016 From: vuott at ...325... (Ru Vuott) Date: Fri, 18 Mar 2016 14:29:10 +0000 (UTC) Subject: [Gambas-user] R: Get html tags from RichText References: <964319564.1617550.1458311350340.JavaMail.yahoo.ref@...3424...> Message-ID: <964319564.1617550.1458311350340.JavaMail.yahoo@...3424...> I would use the Scan() function: Public Sub Form_Open() Dim s As String With TableView1 .Rows.Count = 3 .Columns.Count = 3 End With With TableView1[0, 0] .RichText = "abcde" s = Scan(.RichText, "*=*>*")[1] End With Print s End -------------------------------------------- Ven 18/3/16, abbat81 ha scritto: Oggetto: [Gambas-user] Get html tags from RichText A: gambas-user at lists.sourceforge.net Data: Venerd? 18 marzo 2016, 12:32 There is a RichText in my TableView.Cell.RichText Can I get source of that content? (I need to know what color ther is.) Thanks in advance -- View this message in context: http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Fri Mar 18 17:49:38 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 18 Mar 2016 17:49:38 +0100 Subject: [Gambas-user] Get html tags from RichText In-Reply-To: <1458302960090-55712.post@...3046...> References: <1458300727388-55710.post@...3046...> <56EBF718.3090801@...221...> <1458302960090-55712.post@...3046...> Message-ID: If you want to get the color, the correct answer is to vuott. If you also wish to know the tags as your title then you can do that: Public Sub Form_Open() Dim s As String Dim fl As File With TableView1 .Rows.Count = 3 .Columns.Count = 3 End With With TableView1[0, 0] .RichText = "abcde" 's = Scan(.RichText, "*=*>*")[1] 'Print s s = .RichText End With Print Html$(s) End Regards Gianluigi 2016-03-18 13:09 GMT+01:00 abbat81 : > Yes, it works, thank you! :) > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Get-html-tags-from-RichText-tp55710p55712.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Fri Mar 18 21:29:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 18 Mar 2016 20:29:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- gbWilly GAMBOS changed the state of the bug to: Opened. From bugtracker at ...3416... Sat Mar 19 01:43:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Mar 2016 00:43:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #716: loss of mouse functionalities In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.716&from=L21haW4- Comment #7 by Beno?t MINISINI: Does anyone using gb.qt5 still have problem with mouse behaviour? I have posted a possible fix for my own problems in revision #7643. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From zr8t-iskw at ...3587... Sat Mar 19 04:09:25 2016 From: zr8t-iskw at ...3587... (=?UTF-8?B?55+z5bed5Y+L6ZqG?=) Date: Sat, 19 Mar 2016 12:09:25 +0900 Subject: [Gambas-user] The timestamp of email which sended by my own application programmed in gambas is displayed "Unix'time" Message-ID: <56ECC2E5.3050106@...3587...> Hello, The timestamp of email which sended by my own application programmed in gambas is displayed "Unix'time" I am trying to make a program for sending emails by Gambas's SmtpClient. When I see the result of the send email by the mail Client,Mozilla Thunderbird, The timestamp of sended date&time displayed 1970,01,01,09:00 ; the unixtime + 9 hours. (The setted Timezone in My PC is JST=GMT+9 hours(Japan,Tokyo)) Would you please tell me the way how to set the DATE header normally in Gambas application program. The result of 'DATE' header when recieved is following, Date: =?utf-8?q?Fri,_18_Mar_2016_08=E6=99=8209=E6=99=8227_GMT?= Regards, Tomotaka Ishikawa From bugtracker at ...3416... Sat Mar 19 09:14:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Mar 2016 08:14:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Fabien BODARD changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Mar 19 09:15:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Mar 2016 08:15:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Comment #1 by Fabien BODARD: I want to know what are your goal. What do you want to achieve. Why not just use a shell command ? From bugtracker at ...3416... Sat Mar 19 09:24:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Mar 2016 08:24:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Fabien BODARD changed the state of the bug to: Working. From bugtracker at ...3416... Sat Mar 19 09:24:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Mar 2016 08:24:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Fabien BODARD changed the state of the bug to: NeedsInfo. From gambas at ...1... Sat Mar 19 09:54:40 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 19 Mar 2016 09:54:40 +0100 Subject: [Gambas-user] The timestamp of email which sended by my own application programmed in gambas is displayed "Unix'time" In-Reply-To: <56ECC2E5.3050106@...3587...> References: <56ECC2E5.3050106@...3587...> Message-ID: <56ED13D0.3010007@...1...> Le 19/03/2016 04:09, ???? a ?crit : > Hello, > > The timestamp of email which sended by my own application programmed in > gambas is displayed "Unix'time" > > > I am trying to make a program for sending emails by Gambas's SmtpClient. > > When I see the result of the send email by the mail Client,Mozilla > Thunderbird, > The timestamp of sended date&time displayed 1970,01,01,09:00 ; the > unixtime + 9 hours. > (The setted Timezone in My PC is JST=GMT+9 hours(Japan,Tokyo)) > > Would you please tell me the way how to set the DATE header normally in > Gambas application program. > > > The result of 'DATE' header when recieved is following, > > Date: =?utf-8?q?Fri,_18_Mar_2016_08=E6=99=8209=E6=99=8227_GMT?= > > > Regards, > > > Tomotaka Ishikawa > I think it could be a problem in your SMTP server, because if you look, for example, at all mails sent by the Gambas bugtracker on the mailing-list, which use the SMTP client, the date headers are accurate. Or your Gambas version is too old. Which one do you use? Regards, -- Beno?t Minisini From bugtracker at ...3416... Sat Mar 19 17:02:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Mar 2016 16:02:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Comment #5 by gbWilly GAMBOS: A question (that might solve thsi issue) If packaging Gambas 3.8.4 would be changed to: - Removed build-depends on libqt4-dev and libqt4-opengl-dev - Removed package gambas3-gb-qt4 - Added replace to gambas3-gb-qt5 (to replace gambas-gb-qt4) - Removed package gambas3-gb-qt4-ext (will have a future replacement -> already in trunk - Remove package gambas3-gb-qt4-webkit - Added replace to gambas3-gb-qt5-webkit (to replace gambas3-gb-qt4-webkit) - Removed package gambas3-gb-qt4-opengl - Added replace to gambas3-gb-qt5-opengl (to replace gambas3-gb-qt4-opengl) would that make upgrading jessie (with a Gambas 3.5.4 depending on qt4) to stretch (providing a Gambas 3.8.4 depending on qt5) possible? I guess this problem will occur in more distro's that just Debian when providing an upgrade path for a Gambas3 version running on a qt4 system to a Gambas 3.8.4 (or higher) version running on a qt5 system, as pre Gambas 3.8 packages are packaged to require qt4 for the gambas-ide. Note 1: jessie will become oldstable (in 2017), stretch will then become stable and will no longer support qt4. Note 2: the problem doesn't concern fresh Gambas 3.8.4 installed on a qt5 system, they work just fine, as no older Gambas3 versions depending on qt4 are present on the system. I hope this can be resolved by repackaging. From gambas at ...1... Sat Mar 19 17:21:16 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 19 Mar 2016 17:21:16 +0100 Subject: [Gambas-user] Menu changed programmatically In-Reply-To: <56E67153.5070702@...221...> References: <56E1AAF0.8000409@...221...> <56E2B05C.2020702@...221...> <56E2BB28.7060702@...1...> <56E67153.5070702@...221...> Message-ID: <56ED7C7C.6080100@...1...> Le 14/03/2016 09:07, Rolf-Werner Eilert a ?crit : > > Yes, but when I first saw this thing, I expected to find a list equal to > that in a ComboBox, where I can add and delete items during runtime. So, > if I want this functionality with a menu, I will have to make a menu > with a given number of items, then change their captions, switch them > visible on or off, and jump to their Click events in code... Terribly > roundabout. > > I cannot imagine you used it like this in the Gambas IDE, so I asked > where in the sources I can find it. What I mean is the Open Project and > Back button. Or are these something completely different? > > Regards > Rolf > Then you have to rebuild your menu from scratch each time you need it (usually in the Show event of the top-level menu). It cannot be as flexible as with normal controls because of the way QT and GTK+ manage menus internally. -- Beno?t Minisini From bugtracker at ...3416... Sat Mar 19 23:27:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 19 Mar 2016 22:27:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Comment #2 by C THAL: In Bash with the command "source" you can include other bash-files which contain functions (or variables) as libraries. So you can reuse code by including one piece of code in multiple Bash-files. If there was am equivalent command in gbs3, which includes other gbs3-sourcefiles (like "USE", but for other gbs3-files) you could define for example a function which creates a database connection in one file "database.gbs3" and use that in multiple other gbs3-scripts. So you do not have to create the same function in multiple files. Got it? :-) C THAL changed the state of the bug to: Opened. From zr8t-iskw at ...3587... Sun Mar 20 01:03:34 2016 From: zr8t-iskw at ...3587... (=?UTF-8?B?55+z5bed5Y+L6ZqG?=) Date: Sun, 20 Mar 2016 09:03:34 +0900 Subject: [Gambas-user] The timestamp of email which sended by my own application programmed in gambas is displayed "Unix'time" In-Reply-To: <56ED13D0.3010007@...1...> References: <56ECC2E5.3050106@...3587...> <56ED13D0.3010007@...1...> Message-ID: <56EDE8D6.4000806@...3587...> Thank you for your quick response. > Or your Gambas version is too old. Which one do you use? -> Gambas version and My System are following; [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=3.13.0-74-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=GNOME Theme=Gtk Language=ja_JP.UTF-8 Memory=1993M Regards, Tomotaka Ishikawa On 2016?03?19? 17:54, Beno?t Minisini wrote: > Le 19/03/2016 04:09, ???? a ?crit : >> Hello, >> >> The timestamp of email which sended by my own application programmed in >> gambas is displayed "Unix'time" >> >> >> I am trying to make a program for sending emails by Gambas's SmtpClient. >> >> When I see the result of the send email by the mail Client,Mozilla >> Thunderbird, >> The timestamp of sended date&time displayed 1970,01,01,09:00 ; the >> unixtime + 9 hours. >> (The setted Timezone in My PC is JST=GMT+9 hours(Japan,Tokyo)) >> >> Would you please tell me the way how to set the DATE header normally in >> Gambas application program. >> >> >> The result of 'DATE' header when recieved is following, >> >> Date: =?utf-8?q?Fri,_18_Mar_2016_08=E6=99=8209=E6=99=8227_GMT?= >> >> >> Regards, >> >> >> Tomotaka Ishikawa >> > > I think it could be a problem in your SMTP server, because if you look, > for example, at all mails sent by the Gambas bugtracker on the > mailing-list, which use the SMTP client, the date headers are accurate. > > Or your Gambas version is too old. Which one do you use? > > Regards, > From vuott at ...325... Sun Mar 20 01:38:33 2016 From: vuott at ...325... (Ru Vuott) Date: Sun, 20 Mar 2016 00:38:33 +0000 (UTC) Subject: [Gambas-user] Object.SizeOf(array) = 40 References: <1856247568.2535850.1458434313553.JavaMail.yahoo.ref@...3424...> Message-ID: <1856247568.2535850.1458434313553.JavaMail.yahoo@...3424...> Hello...... ********************************************* Public Sub Main() Dim bb As Byte[] = [1, 2, 3, 4] Print Object.SizeOf(bb) End ********************************************* Object.SizeOf() method return 40 byte. Why ? What is the source structure 40 bytes long? Maybe "GB_ARRAY_BASE" in "gambas.h" ? Regards vuott From gambas at ...1... Sun Mar 20 01:45:20 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 20 Mar 2016 01:45:20 +0100 Subject: [Gambas-user] Object.SizeOf(array) = 40 In-Reply-To: <1856247568.2535850.1458434313553.JavaMail.yahoo@...3424...> References: <1856247568.2535850.1458434313553.JavaMail.yahoo.ref@...3424...> <1856247568.2535850.1458434313553.JavaMail.yahoo@...3424...> Message-ID: <56EDF2A0.8080602@...1...> Le 20/03/2016 01:38, Ru Vuott a ?crit : > Hello...... > > ********************************************* > Public Sub Main() > > Dim bb As Byte[] = [1, 2, 3, 4] > > Print Object.SizeOf(bb) > > End > ********************************************* > > Object.SizeOf() method return 40 byte. > > Why ? > > What is the source structure 40 bytes long? > > Maybe "GB_ARRAY_BASE" in "gambas.h" ? > > Regards > vuott > It's not the size of the array contents, it's the size of the object in memory. Why do you care with that? -- Beno?t Minisini From gambas at ...1... Sun Mar 20 02:56:02 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 20 Mar 2016 02:56:02 +0100 Subject: [Gambas-user] Appreciation of gb.web.form In-Reply-To: <20160317135333.GB706@...2774...> References: <20160315174046.GA7389@...2774...> <56E8CCED.8080205@...1...> <20160317135333.GB706@...2774...> Message-ID: <56EE0332.7040700@...1...> Le 17/03/2016 14:53, Tobias Boege a ?crit : > On Wed, 16 Mar 2016, Beno??t Minisini wrote: >> Le 15/03/2016 18:40, Tobias Boege a ?crit : >>> Hi all, >>> >>> I just wanted to note that the still highly experimental (?) component >>> gb.web.form performs very well in one of my projects. The project runs web >>> forms under gb.httpd and has a library which uses the new library mechanism. >>> Pretty straightforward to set up, and fast if you discount compiling Gambas. >>> >>> The server has run on our uni LAN for nearly 34 days with occasional visits, >>> but enough visits that I can proudly report that it has since spent mere 45 >>> processor seconds in userspace. Its memory usage is still nothing more than >>> the executable and libraries. >>> >>> That is, no unusual processor activity and no memory leaks. Of course, the >>> project also does what it was programmed for. No data corruption or anything. >>> Very neat and thank you, Benoit :-) Others may want to try it out, too. >>> >>> Regards, >>> Tobi >>> >> >> Cool. I am actually stuck with the need to implement a calendar pop-up >> and a treeview. >> >> Should I continue to do that entirely from scratch, or should I try to >> use a Javascript library that already implements the needed stuff. >> >> That is the question. Whether it is nobler in the mind to suffer >> the slings and arrows of outrageous fortune... >> > > I needed a TreeView, too, but decided to adapt my expectations to the > available controls (I used a WebTable with indentation instead), because > I'm not skilled enough in Javascript to even start thinking about how to > implement a TreeView. > > If you have the know-how it would certainly be cool if the controls were > written from scratch. On the other hand, the GUI components also use > established widget libraries and in this light it seems like wasted effort > to write the gb.web.form controls from scratch when perfectly fine (are > they?) widget libraries do exist. > > Regards, > Tobi > OK, I have implemented a calendar popup entirely on the server side, as this is the "philosophy" of the gb.web.form component. So you get a DateChooser control, and a DateBox control. A ColorChooser and ColorBox controls can be made the same way. As for the treeview, I didn't find it in the well-known JS library. But I may have miss it, as there are tons of them. I think it will not be too hard to implement one on the server side, using the default HTML automatic expanding layout. But it won't be based on a GridView like the gb.gui.base one, so it will not be usable with tons of items. Well, we will see when I make it. Then I don't know what I will to then... Implementing a WebMapView control based on OpenLayers with the help of Fabien? Regards, -- Beno?t Minisini From vuott at ...325... Sun Mar 20 03:03:11 2016 From: vuott at ...325... (Ru Vuott) Date: Sun, 20 Mar 2016 02:03:11 +0000 (UTC) Subject: [Gambas-user] Object.SizeOf(array) = 40 References: <1255534442.2654952.1458439391409.JavaMail.yahoo.ref@...3424...> Message-ID: <1255534442.2654952.1458439391409.JavaMail.yahoo@...3424...> Yes, I know that does not represent the quantity of array contents. > Why do you care with that? To better understand via source code how Gambas's done. For example: Public Sub Main() Dim bb As Byte[] = [11, 22, 33, 44] Dim p1, p2 As Pointer Dim s As String Dim i As Integer Dim l As Long ' Does it go in CARRAY Structure of gbx_c_array.h ?.... p1 = Object.Address(bb) ' ...in CARRAY->Object->Class->char *name ? s = String@(Pointer@(Pointer@(p1) + 24)) Print s ' ...in CARRAY->int size ? i = Int@(p1 + 16) Print "\nSize of array type: "; i; " byte" ' ...in CARRAY->int count ? i = Int@(p1 + 20) Print "Number of array elements: "; i ' ...in CARRAY->TYPE type ? l = Long@(p1 + 24) Print "Type of array values: "; l ' ...in CARRAY->void *data ? p2 = Pointer@(p1 + 32) Print "\nArray contains these values:" For i = 0 To bb.Max Print Byte@(p2 + i), Next End regards vuott -------------------------------------------- Dom 20/3/16, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Object.SizeOf(array) = 40 A: "Ru Vuott" , "mailing list for gambas users" Data: Domenica 20 marzo 2016, 01:45 Le 20/03/2016 01:38, Ru Vuott a ?crit : > Hello...... > > ********************************************* > Public Sub Main() > >? ? Dim bb As Byte[] = [1, 2, 3, 4] > >? ? Print Object.SizeOf(bb) > > End > ********************************************* > > Object.SizeOf() method return 40 byte. > > Why ? > > What is the source structure 40 bytes long? > > Maybe "GB_ARRAY_BASE" in "gambas.h" ? > > Regards > vuott > It's not the size of the array contents, it's the size of the object in memory. Why do you care with that? -- Beno?t Minisini From gambas at ...1... Sun Mar 20 03:10:34 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 20 Mar 2016 03:10:34 +0100 Subject: [Gambas-user] Object.SizeOf(array) = 40 In-Reply-To: <752989771.2421421.1458438861767.JavaMail.yahoo@...3424...> References: <752989771.2421421.1458438861767.JavaMail.yahoo.ref@...3424...> <752989771.2421421.1458438861767.JavaMail.yahoo@...3424...> Message-ID: <56EE069A.2070607@...1...> Le 20/03/2016 02:54, Ru Vuott a ?crit : > Yes, I know that does not represent the quantity of array contents. > >> Why do you care with that? > To better understand via source code how Gambas's done. You must do that by reading the interpreter source code. This size is: - The size of the inherited class. - OR the size of the internal C structure depicting the object MINUS the size of the common object structure for classes written in C/C++. - PLUS the size of the internal common event structure for objects raising events PLUS the number of events multiplied by two. - PLUS the size of the dynamic variables for classes written in Gambas. I don't know if Object.SizeOf() is actually useful. At least for an object written in Gambas, and not raising events, you get the size of the dynamic variables. -- Beno?t Minisini From gambas at ...1... Sun Mar 20 04:05:09 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 20 Mar 2016 04:05:09 +0100 Subject: [Gambas-user] Object.SizeOf(array) = 40 In-Reply-To: <1920038871.2553056.1458441464339.JavaMail.yahoo@...3424...> References: <1920038871.2553056.1458441464339.JavaMail.yahoo.ref@...3424...> <1920038871.2553056.1458441464339.JavaMail.yahoo@...3424...> Message-ID: <56EE1365.2010006@...1...> Le 20/03/2016 03:37, Ru Vuott a ?crit : > Hi, > >> You must do that by reading the interpreter source code. > > Benoit, In which "trunk" folder I can find interpreter source code ? > > vuott > We should talk on the mailing-list, because other people may be interested by the answers, or may help you. The interpreter source code is in /trunk/main/gbx. -- Beno?t Minisini From bagonergi at ...626... Sun Mar 20 14:03:41 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 20 Mar 2016 14:03:41 +0100 Subject: [Gambas-user] IDE one number of difference Message-ID: I noticed that the IDE warns me with a number of difference. It also happens to you? See attached image Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata del 2016-03-20 13:35:42.png Type: image/png Size: 21523 bytes Desc: not available URL: From bugtracker at ...3416... Sun Mar 20 17:40:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 20 Mar 2016 16:40:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #905: gb.httpd: HTTPS Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.905&from=L21haW4- Tobias BOEGE reported a new bug. Summary ------- gb.httpd: HTTPS Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Networking components Description ----------- I see[1] that the thttpd which is built into gb.httpd does not support https. However there seem to be ways to do it[2]. I must say that I have no clear idea how difficult it would be or if it would be desirable in gb.httpd. What do you say? [1] https://en.wikipedia.org/wiki/Comparison_of_web_server_software#Features [2] http://halplant.com:2001/server/thttpd_FAQ.html#HowDoI From bugtracker at ...3416... Sun Mar 20 17:47:38 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 20 Mar 2016 16:47:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #905: gb.httpd: HTTPS In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.905&from=L21haW4- Comment #1 by Beno?t MINISINI: I would say that gb.httpd is just intended for debugging, not for using as a production HTTP server. If you really want to use it that way, you can put it behind a proxy HTTPS server. From bugtracker at ...3416... Sun Mar 20 17:51:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 20 Mar 2016 16:51:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #905: gb.httpd: HTTPS In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.905&from=L21haW4- Comment #2 by Tobias BOEGE: Sounds reasonable! Tobias BOEGE changed the state of the bug to: Rejected. From gambas at ...1... Mon Mar 21 07:53:59 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 21 Mar 2016 07:53:59 +0100 Subject: [Gambas-user] Syntax highlighting in the wiki Message-ID: <56EF9A87.1040903@...1...> Hi guys, You now have syntax highlighting in the wiki! This is a reimplementation of Tobias' idea, but it is automatically handled by the gb.markdown component. To highlight any piece of code, put it between [[ code ... ]] being a language or a syntax supported by the gb.eval.highlight component: gambas, c, c++, javascript, css, html, sql, diff, webpage (the gambas' ones). If you need more highlighters, you have to write it and add it to the gb.eval.highlight component. Enjoy! -- Beno?t Minisini From bugtracker at ...3416... Mon Mar 21 10:31:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Mar 2016 09:31:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Comment #3 by Fabien BODARD: You can use INCLUDE for that. #!/bin/env gbs3 Private myVar as Integer INCLUDE "DBDef.gbs" MyConnectionFunction You can use the CLASS / END CLASS keywords to define a class too. So to create a reusable class you have to define it in the imported file for example. ===============MyClassFile.gbs============ CLASS MyClass Static Public Function OpenDB(dbname as string) End END CLASS ======================== ==========myscript.gbs========== IMPORT "MyClassFile.gbs" MyClass.OpenDB("mydb") ======================== Be carefull with IMPORT as it just insert the file content. From bugtracker at ...3416... Mon Mar 21 10:33:57 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Mar 2016 09:33:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Comment #4 by Fabien BODARD: OUPS ... INCLUDE NOT IMPORT !!! So to create a reusable class you have to define it in the imported file for example. ===============MyClassFile.gbs============ CLASS MyClass Static Public Function OpenDB(dbname as string) End END CLASS ======================== ==========myscript.gbs========== INCLUDE "MyClassFile.gbs" MyClass.OpenDB("mydb") ======================== From bugtracker at ...3416... Mon Mar 21 11:01:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Mar 2016 10:01:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #906: Improved: in the menu on the farm a search option programs made by users appear Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.906&from=L21haW4- Julio SANCHEZ reported a new bug. Summary ------- Improved: in the menu on the farm a search option programs made by users appear Type : Request Priority : Medium Gambas version : Unknown Product : Development Environment Description ----------- Hello!! Improved: in the menu on the farm a search option programs made by users appear Something like this: http://www.gambas-es.org/files/images/2261/ideagranja.png Regards Julio From olivier.cruilles at ...614... Mon Mar 21 13:20:38 2016 From: olivier.cruilles at ...614... (Yahoo) Date: Mon, 21 Mar 2016 08:20:38 -0400 Subject: [Gambas-user] Syntax highlighting in the wiki In-Reply-To: <56EF9A87.1040903@...1...> References: <56EF9A87.1040903@...1...> Message-ID: <9FE87208-7D18-4846-BCCC-EBA01AC6A768@...614...> Great Benoit. Email: olivier.cruilles at ...614... > Le 21 mars 2016 ? 02:53, Beno?t Minisini a ?crit : > > Hi guys, > > You now have syntax highlighting in the wiki! > > This is a reimplementation of Tobias' idea, but it is automatically > handled by the gb.markdown component. > > To highlight any piece of code, put it between > > [[ code > ... > ]] > > being a language or a syntax supported by the > gb.eval.highlight component: gambas, c, c++, javascript, css, html, sql, > diff, webpage (the gambas' ones). > > If you need more highlighters, you have to write it and add it to the > gb.eval.highlight component. > > Enjoy! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abbat.81 at ...787... Mon Mar 21 17:00:03 2016 From: abbat.81 at ...787... (abbat81) Date: Mon, 21 Mar 2016 09:00:03 -0700 (MST) Subject: [Gambas-user] Show files in a FileView wit limited file size Message-ID: <1458576003039-55742.post@...3046...> Is there any way to show files in FileView with limited size? For example, I need to show files <100Mb? Thanks in advance -- View this message in context: http://gambas.8142.n7.nabble.com/Show-files-in-a-FileView-wit-limited-file-size-tp55742.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Mon Mar 21 18:50:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Mar 2016 17:50:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Comment #5 by C THAL: Wow! Great! But it lacks documentation. USE is documented here: http://gambaswiki.org/wiki/lang But INCLUDE seemed to be nowhere in the wiki. I did it here: http://gambaswiki.org/wiki/lang/include Please have a look at it. C THAL changed the state of the bug to: Fixed. From gambas.fr at ...626... Mon Mar 21 19:00:41 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 21 Mar 2016 19:00:41 +0100 Subject: [Gambas-user] Show files in a FileView wit limited file size In-Reply-To: <1458576003039-55742.post@...3046...> References: <1458576003039-55742.post@...3046...> Message-ID: This is not possible for now. An idea will be to add an event that allow to validate files or not. 2016-03-21 17:00 GMT+01:00 abbat81 : > Is there any way to show files in FileView with limited size? > For example, I need to show files <100Mb? > > Thanks in advance > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Show-files-in-a-FileView-wit-limited-file-size-tp55742.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Mon Mar 21 19:56:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 21 Mar 2016 18:56:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Comment #6 by Fabien BODARD: Well it's because it's only scripter preprocessing keywords... not official language... i need to find somewhere to put that. From jmcbride at ...2309... Wed Mar 23 02:12:46 2016 From: jmcbride at ...2309... (Jerry McBride) Date: Tue, 22 Mar 2016 21:12:46 -0400 Subject: [Gambas-user] Broken link in sample code V 3.8.4 In-Reply-To: <56E0847B.2020009@...3301...> References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> <56E02373.4050207@...3301...> <56E0847B.2020009@...3301...> Message-ID: <56F1ED8E.5020105@...2309...> A broken link in Gambas 3.8.4 sample program, SmallWiki. When will this be a good link? http://gambasdoc.org/help/doc/markup?v3 From gambas at ...1... Wed Mar 23 03:59:30 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 23 Mar 2016 03:59:30 +0100 Subject: [Gambas-user] Broken link in sample code V 3.8.4 In-Reply-To: <56F1ED8E.5020105@...2309...> References: <56DD9C67.40906@...3301...> <56DDE2E4.2010208@...3301...> <56E02373.4050207@...3301...> <56E0847B.2020009@...3301...> <56F1ED8E.5020105@...2309...> Message-ID: <56F20692.8090702@...1...> Le 23/03/2016 02:12, Jerry McBride a ?crit : > > > > A broken link in Gambas 3.8.4 sample program, SmallWiki. When will this > be a good link? > > http://gambasdoc.org/help/doc/markup?v3 > Fixed in v1.0.1 of the example. -- Beno?t Minisini From whenamalone at ...626... Wed Mar 23 04:38:16 2016 From: whenamalone at ...626... (monika) Date: Tue, 22 Mar 2016 20:38:16 -0700 (MST) Subject: [Gambas-user] phoQuiz :GQuizMaker v2.0 Message-ID: GQuizMaker2.0_All_Ubuntu.tar.gz (1M) -- View this message in context: http://gambas.8142.n7.nabble.com/phoQuiz-GQuizMaker-v2-0-tp55748.html Sent from the gambas-user mailing list archive at Nabble.com. From johny.provoost at ...27... Wed Mar 23 10:16:47 2016 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 23 Mar 2016 10:16:47 +0100 Subject: [Gambas-user] Mediaview Message-ID: <56F25EFF.2020003@...27...> Is it possible with Mediaview to detect if the stop button is pressed, and is it possible to detect if the thing you playing is ended. -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From vuott at ...325... Wed Mar 23 19:13:19 2016 From: vuott at ...325... (Ru Vuott) Date: Wed, 23 Mar 2016 18:13:19 +0000 (UTC) Subject: [Gambas-user] R: Mediaview References: <473827226.6514993.1458756799271.JavaMail.yahoo.ref@...3424...> Message-ID: <473827226.6514993.1458756799271.JavaMail.yahoo@...3424...> > Is it possible with Mediaview to detect if the stop button is pressed I suggest .......... ************************************* Public Sub Form_Open() Dim ob As Object ob = MediaView1.Children[0] ob = ob.Children[0] ob = ob.Children[2] Object.Attach(ob.Children[2], Me, "STOP") End Public Sub STOP_Click() Print "stop !" End ************************************* Regards vuott -------------------------------------------- Mer 23/3/16, Johny Provoost ha scritto: Oggetto: [Gambas-user] Mediaview A: gambas-user at lists.sourceforge.net Data: Mercoled? 23 marzo 2016, 10:16 Is it possible with Mediaview to detect if the stop button is pressed, and is it possible to detect if the thing you playing is ended. -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From johny.provoost at ...27... Wed Mar 23 20:20:48 2016 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 23 Mar 2016 20:20:48 +0100 Subject: [Gambas-user] R: Mediaview In-Reply-To: <473827226.6514993.1458756799271.JavaMail.yahoo@...3424...> References: <473827226.6514993.1458756799271.JavaMail.yahoo.ref@...3424...> <473827226.6514993.1458756799271.JavaMail.yahoo@...3424...> Message-ID: <56F2EC90.1090603@...27...> Op 23-03-16 om 19:13 schreef Ru Vuott: >> Is it possible with Mediaview to detect if the stop button is pressed > > I suggest .......... > > ************************************* > Public Sub Form_Open() > > Dim ob As Object > > ob = MediaView1.Children[0] > ob = ob.Children[0] > ob = ob.Children[2] > Object.Attach(ob.Children[2], Me, "STOP") > > End > > > Public Sub STOP_Click() > > Print "stop !" > > End > ************************************* > > Regards > vuott > > > > > > -- > It's working (even the play and pause buttons) , thanks I certainly have to learn some more about objects. Regards Johny From helios.cobain.stefani at ...626... Thu Mar 24 00:18:48 2016 From: helios.cobain.stefani at ...626... (Helios Martinez Dominguez) Date: Wed, 23 Mar 2016 18:48:48 -0430 Subject: [Gambas-user] Object reference code Message-ID: Greetings, i have been using Gambas3 for a while now and i am very please there's a simple visual object oriented language for the free software community. I've written a few applications myself with it. Thank you, very much! I would like the development team to add such functionality to the object contextual menu by which there's the posibility to get the functions and/or subroutines that reference such object at the interface within the written code and go right to one of them by choosing it, so the referenced object can direct to the functions and/or subroutines that reference it through the contextual menu, just like events are accessed through the same menu. Thanks in advance. Helios Mart?nez Dom?nguez Consorcio Cooperativo Cinematogr?fico Art?stico Musical Director General helios.url.ph cccam.esy.es AVISO LEGAL La informaci?n que contiene este mensaje es privilegiada, confidencial y se encuentra protegida por la Ley. Su contenido y archivos adjuntos son para uso exclusivo de el/la/los destinatario/a/s arriba mencionado/a/s. Cualquier intercepci?n, acceso, apertura, uso, difusi?n o copia no autorizada est?n estrictamente prohibidas. En caso de haberlo recibido por error u otra circunstancia, elim?nelo y notif?que inmediatamente al emisor. Gracias. Ley_especial_contra_los_delitos_informaticos (Venezuela) Privacidad y secreto de las telecomunicaciones - Incibe (Espa?a) From gambas at ...1... Thu Mar 24 00:25:20 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 24 Mar 2016 00:25:20 +0100 Subject: [Gambas-user] Object reference code In-Reply-To: References: Message-ID: <56F325E0.80505@...1...> Le 24/03/2016 00:18, Helios Martinez Dominguez a ?crit : > Greetings, i have been using Gambas3 for a while now and i am very please > there's a simple visual object oriented language for the free software > community. I've written a few applications myself with it. Thank you, very > much! > > I would like the development team to add such functionality to the object > contextual menu by which there's the posibility to get the functions and/or > subroutines that reference such object at the interface within the written > code and go right to one of them by choosing it, so the referenced object > can direct to the functions and/or subroutines that reference it through > the contextual menu, just like events are accessed through the same menu. > Thanks in advance. > > > Helios Mart?nez Dom?nguez > > Consorcio Cooperativo Cinematogr?fico Art?stico Musical > Director General > > > helios.url.ph cccam.esy.es > > Can you show me (with some images for example) what you want exactly? -- Beno?t Minisini From rterry at ...1823... Thu Mar 24 02:38:27 2016 From: rterry at ...1823... (richard terry) Date: Thu, 24 Mar 2016 12:38:27 +1100 Subject: [Gambas-user] Workspace editor colour question Message-ID: <56F34513.8060706@...1823...> Hi list/Benoit There seems no way to change the color of this control. (gurrently a dark gray) No, it shouldn't matter as its essentially not visible when the workspace is loaded, but on a slow machine one gets to see the dark gray color flicker whilst any tabs are loading, so I was wondering if there was any way to alter this color. Regards ricahrd From t.lee.davidson at ...626... Thu Mar 24 05:18:45 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 24 Mar 2016 00:18:45 -0400 Subject: [Gambas-user] How to register and login to the Wiki? In-Reply-To: <56E9FFF3.6010107@...626...> References: <56E9EF47.8090806@...626...> <20160316235832.GA30987@...2774...> <56E9FFF3.6010107@...626...> Message-ID: <56F36AA5.2040005@...626...> On 03/16/2016 08:53 PM, T Lee Davidson wrote: > > > On 03/16/2016 07:58 PM, Tobias Boege wrote: >> On Wed, 16 Mar 2016, T Lee Davidson wrote: >>> >I used to be able to login to the Wiki (http://gambaswiki.org/). This was prior to it receiving its new face. >>> > >>> >Now, I cannot login apparently. When I enter my login credentials, I see no evidence of being logged in and still see the >>> >"Login" button. There is also no recover password, nor register, link. >>> > >>> >Has the procedure for registering/logging in changed, and I simply cannot find the documentation explaining it? >>> > >> There should be no documentation necessary for logging in. The intuitive way >> works over here. See screenshots 1 to 3. >> >> Regards, >> Tobi > > Thanks Tobi. And, yes, I did not think there should be any documentation necessary for logging in. > > But as I said, I cannot log in. After submitting the login form, the "Login" button remains; no "Logout" button. I get no error > message, nor any link to retrieve password, nor any link to register. I just figured there _must_ be something I am missing that > is perhaps documented somewhere that I cannot find. > > So, does anyone know how I might be able to log in to the Wiki? Either by retrieving or resetting my password? Or, by re-registering? In other words: If it exists, where is the Reset Password link? Or, where is the Register link? Thanks. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Thu Mar 24 05:56:35 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 24 Mar 2016 05:56:35 +0100 Subject: [Gambas-user] How to register and login to the Wiki? In-Reply-To: <56F36AA5.2040005@...626...> References: <56E9EF47.8090806@...626...> <20160316235832.GA30987@...2774...> <56E9FFF3.6010107@...626...> <56F36AA5.2040005@...626...> Message-ID: <56F37383.50106@...1...> Le 24/03/2016 05:18, T Lee Davidson a ?crit : > On 03/16/2016 08:53 PM, T Lee Davidson wrote: >> >> >> On 03/16/2016 07:58 PM, Tobias Boege wrote: >>> On Wed, 16 Mar 2016, T Lee Davidson wrote: >>>>> I used to be able to login to the Wiki (http://gambaswiki.org/). This was prior to it receiving its new face. >>>>> >>>>> Now, I cannot login apparently. When I enter my login credentials, I see no evidence of being logged in and still see the >>>>> "Login" button. There is also no recover password, nor register, link. >>>>> >>>>> Has the procedure for registering/logging in changed, and I simply cannot find the documentation explaining it? >>>>> >>> There should be no documentation necessary for logging in. The intuitive way >>> works over here. See screenshots 1 to 3. >>> >>> Regards, >>> Tobi >> >> Thanks Tobi. And, yes, I did not think there should be any documentation necessary for logging in. >> >> But as I said, I cannot log in. After submitting the login form, the "Login" button remains; no "Logout" button. I get no error >> message, nor any link to retrieve password, nor any link to register. I just figured there _must_ be something I am missing that >> is perhaps documented somewhere that I cannot find. >> >> > > So, does anyone know how I might be able to log in to the Wiki? Either by retrieving or resetting my password? Or, by > re-registering? > > In other words: > > If it exists, where is the Reset Password link? > Or, where is the Register link? > > > Thanks. > > Ha, sorry! The accounts are now centralized it the bugtracker. So you actually register from it. There is no message at the moment on the wiki when your login fails. -- Beno?t Minisini From t.lee.davidson at ...626... Thu Mar 24 13:35:40 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 24 Mar 2016 08:35:40 -0400 Subject: [Gambas-user] How to register and login to the Wiki? In-Reply-To: <56F37383.50106@...1...> References: <56E9EF47.8090806@...626...> <20160316235832.GA30987@...2774...> <56E9FFF3.6010107@...626...> <56F36AA5.2040005@...626...> <56F37383.50106@...1...> Message-ID: <56F3DF1C.8010504@...626...> On 03/24/2016 12:56 AM, Beno?t Minisini wrote: > Le 24/03/2016 05:18, T Lee Davidson a ?crit : >> On 03/16/2016 08:53 PM, T Lee Davidson wrote: >>> >>> >>> On 03/16/2016 07:58 PM, Tobias Boege wrote: >>>> On Wed, 16 Mar 2016, T Lee Davidson wrote: >>>>>> I used to be able to login to the Wiki (http://gambaswiki.org/). This was prior to it receiving its new face. >>>>>> >>>>>> Now, I cannot login apparently. When I enter my login credentials, I see no evidence of being logged in and still see the >>>>>> "Login" button. There is also no recover password, nor register, link. >>>>>> >>>>>> Has the procedure for registering/logging in changed, and I simply cannot find the documentation explaining it? >>>>>> >>>> There should be no documentation necessary for logging in. The intuitive way >>>> works over here. See screenshots 1 to 3. >>>> >>>> Regards, >>>> Tobi >>> >>> Thanks Tobi. And, yes, I did not think there should be any documentation necessary for logging in. >>> >>> But as I said, I cannot log in. After submitting the login form, the "Login" button remains; no "Logout" button. I get no error >>> message, nor any link to retrieve password, nor any link to register. I just figured there _must_ be something I am missing that >>> is perhaps documented somewhere that I cannot find. >>> >>> >> >> So, does anyone know how I might be able to log in to the Wiki? Either by retrieving or resetting my password? Or, by >> re-registering? >> >> In other words: >> >> If it exists, where is the Reset Password link? >> Or, where is the Register link? >> >> >> Thanks. >> >> > > Ha, sorry! The accounts are now centralized it the bugtracker. So you > actually register from it. There is no message at the moment on the wiki > when your login fails. > Ah, okay. I did have a bugtracker account, but did not know it was coordinated with the Wiki. Got your private message. Thank you. I am now able to log in to the Wiki. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From roel at ...3306... Thu Mar 24 14:36:35 2016 From: roel at ...3306... (Roel Touwen) Date: Thu, 24 Mar 2016 14:36:35 +0100 Subject: [Gambas-user] Mime component to decode popmessage Message-ID: <56F3ED63.3000208@...3306...> Hi All, Today I started working with the pop3 component. To display the message in (e.g) a webbrowser I have to decode the pop3 message. In the sample this has not been worked out. Moreover on remarks as: 'this should work I get error messages in several emails. So: Anybody a short sample how to decode the mime message? Thanks for now and have a good easter weekend you all! Roel Touwen From moviga at ...3488... Thu Mar 24 14:45:33 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 24 Mar 2016 14:45:33 +0100 Subject: [Gambas-user] QT 5.7 QTWebEngine Message-ID: <5bf395f53bab9353cbfb177b798bdfff@...3488...> Isn't this what we want to get the .Eval() to work with the WebEngine? "API for evaluating javascript or installing qwebchannel in secure isolated javascript worlds" Source: https://wiki.qt.io/New_Features_in_Qt_5.7 From moviga at ...3488... Thu Mar 24 14:49:51 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 24 Mar 2016 14:49:51 +0100 Subject: [Gambas-user] QT 5.7 QTWebEngine In-Reply-To: <5bf395f53bab9353cbfb177b798bdfff@...3488...> References: <5bf395f53bab9353cbfb177b798bdfff@...3488...> Message-ID: <488687de7230948cc773559c37ab0e6d@...3488...> It is due in late April: https://wiki.qt.io/Qt-5.7-release From abbat.81 at ...787... Thu Mar 24 15:23:22 2016 From: abbat.81 at ...787... (abbat81) Date: Thu, 24 Mar 2016 07:23:22 -0700 (MST) Subject: [Gambas-user] Label1.Foreground = Color("#FF0000"), How to? Message-ID: <1458829402944-55761.post@...3046...> How to use HTML color like #FF0000 -- View this message in context: http://gambas.8142.n7.nabble.com/Label1-Foreground-Color-FF0000-How-to-tp55761.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Thu Mar 24 16:54:49 2016 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 Mar 2016 15:54:49 +0000 (UTC) Subject: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How to? References: <780822668.4702412.1458834890004.JavaMail.yahoo.ref@...3424...> Message-ID: <780822668.4702412.1458834890004.JavaMail.yahoo@...3424...> If you want to use HTML tag, you have to use "TextLabel", no Label. ************************************ Public Sub Form_Open() TextLabel1.Text = "Arma virumque cano" End ************************************ Regards vuott -------------------------------------------- Gio 24/3/16, abbat81 ha scritto: Oggetto: [Gambas-user] Label1.Foreground = Color("#FF0000"), How to? A: gambas-user at lists.sourceforge.net Data: Gioved? 24 marzo 2016, 15:23 How to use HTML color like #FF0000 -- View this message in context: http://gambas.8142.n7.nabble.com/Label1-Foreground-Color-FF0000-How-to-tp55761.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Thu Mar 24 17:12:39 2016 From: vuott at ...325... (Ru Vuott) Date: Thu, 24 Mar 2016 16:12:39 +0000 (UTC) Subject: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How to? References: <1979761003.4247970.1458835959406.JavaMail.yahoo.ref@...3424...> Message-ID: <1979761003.4247970.1458835959406.JavaMail.yahoo@...3424...> ...but if you want to use "hexadecimal" value with Label: ***************************************** Public Sub Form_Open() Label1.Foreground = &FF0000 Label1.Text = "Arma virumque cano" End ***************************************** -------------------------------------------- Gio 24/3/16, abbat81 ha scritto: Oggetto: [Gambas-user] Label1.Foreground = Color("#FF0000"), How to? A: gambas-user at lists.sourceforge.net Data: Gioved? 24 marzo 2016, 15:23 How to use HTML color like #FF0000 -- View this message in context: http://gambas.8142.n7.nabble.com/Label1-Foreground-Color-FF0000-How-to-tp55761.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From abbat.81 at ...787... Thu Mar 24 17:19:26 2016 From: abbat.81 at ...787... (abbat81) Date: Thu, 24 Mar 2016 09:19:26 -0700 (MST) Subject: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How to? In-Reply-To: <1979761003.4247970.1458835959406.JavaMail.yahoo@...3424...> References: <1979761003.4247970.1458835959406.JavaMail.yahoo@...3424...> Message-ID: <1458836366758-55764.post@...3046...> Dim col as string = "#FF0000" How to conver? CInt(Replace(st, "#", "&")) doesn't work Label1.Foreground = col -- View this message in context: http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF0000-How-to-tp55763p55764.html Sent from the gambas-user mailing list archive at Nabble.com. From olivier.cruilles at ...614... Thu Mar 24 18:33:53 2016 From: olivier.cruilles at ...614... (Yahoo) Date: Thu, 24 Mar 2016 13:33:53 -0400 Subject: [Gambas-user] =?utf-8?q?R=3A_Label1=2EForeground_=3D_Color=28=22?= =?utf-8?b?I0ZGMDAwMCIpLCBIb3cgdG8/?= In-Reply-To: <1458836366758-55764.post@...3046...> References: <1979761003.4247970.1458835959406.JavaMail.yahoo@...3424...> <1458836366758-55764.post@...3046...> Message-ID: Dim col as string = "#FF0000"? Label1.Foreground = Val("&H" &?col?& "&") Olivier Cruilles Le March 24, 2016 ? 13:17:50, abbat81 (abbat.81 at ...787...) a ?crit: Dim col as string = "#FF0000" How to conver? CInt(Replace(st, "#", "&")) doesn't work Label1.Foreground = col -- View this message in context: http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF0000-How-to-tp55763p55764.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Thu Mar 24 20:06:27 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 24 Mar 2016 20:06:27 +0100 Subject: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How to? In-Reply-To: References: <1979761003.4247970.1458835959406.JavaMail.yahoo@...3424...> <1458836366758-55764.post@...3046...> Message-ID: Le 24 mars 2016 18:36, "Yahoo" a ?crit : > > Dim col as string = "#FF0000" > > Label1.Foreground = Val("&H" & col & "&") The ending & not necessary Label1.Foreground= val(replace(col,"#","&H")) > > > > Olivier Cruilles > > Le March 24, 2016 ? 13:17:50, abbat81 (abbat.81 at ...787...) a ?crit: > > Dim col as string = "#FF0000" > > How to conver? CInt(Replace(st, "#", "&")) doesn't work > > Label1.Foreground = col > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF0000-How-to-tp55763p55764.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Fri Mar 25 06:55:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 25 Mar 2016 05:55:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #892: ~/.local/share/gambas3/lib is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.892&from=L21haW4- Bruce BRUEN changed the state of the bug to: Invalid. From moviga at ...3488... Fri Mar 25 13:20:37 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 25 Mar 2016 13:20:37 +0100 Subject: [Gambas-user] QT 5.7 QTWebEngine In-Reply-To: <5bf395f53bab9353cbfb177b798bdfff@...3488...> References: <5bf395f53bab9353cbfb177b798bdfff@...3488...> Message-ID: Yuhu?! :) From roel at ...3306... Fri Mar 25 17:35:45 2016 From: roel at ...3306... (Roel Touwen) Date: Fri, 25 Mar 2016 17:35:45 +0100 Subject: [Gambas-user] Mime component to decode popmessage In-Reply-To: <56F3ED63.3000208@...3306...> References: <56F3ED63.3000208@...3306...> Message-ID: <56F568E1.8030704@...3306...> Anybody? Op 24-03-16 om 14:36 schreef Roel Touwen: > Hi All, > > Today I started working with the pop3 component. To display the message > in (e.g) a webbrowser I have to decode the pop3 message. > > In the sample this has not been worked out. Moreover on remarks as: > 'this should work I get error messages in several emails. > > So: Anybody a short sample how to decode the mime message? > > Thanks for now and have a good easter weekend you all! > > Roel Touwen > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Fri Mar 25 18:18:11 2016 From: taboege at ...626... (Tobias Boege) Date: Fri, 25 Mar 2016 18:18:11 +0100 Subject: [Gambas-user] Mime component to decode popmessage In-Reply-To: <56F568E1.8030704@...3306...> References: <56F3ED63.3000208@...3306...> <56F568E1.8030704@...3306...> Message-ID: <20160325171811.GA703@...2774...> On Fri, 25 Mar 2016, Roel Touwen wrote: > Op 24-03-16 om 14:36 schreef Roel Touwen: > > Hi All, > > > > Today I started working with the pop3 component. To display the message > > in (e.g) a webbrowser I have to decode the pop3 message. > > > > In the sample this has not been worked out. Moreover on remarks as: > > 'this should work I get error messages in several emails. > > > > So: Anybody a short sample how to decode the mime message? > > > > Thanks for now and have a good easter weekend you all! > > > > Anybody? > I believe Hans[1] already spent a lot of effort on this topic. If you can't read the article your best bet is to look at the sources which are linked in the download section of this page[2]. You are probably looking for MMParser. Regards, Tobi [1] http://www.gambas-buch.de/dw/doku.php?id=k24:k24.5:k24.5.3:start [2] http://www.gambas-buch.de/dw/doku.php?id=k24:k24.5:k24.5.4:start -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bugtracker at ...3416... Fri Mar 25 23:09:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 25 Mar 2016 22:09:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #904: Trying to drag-highlight text on line greater in width than main edit view is virtually impossible due to auto-shifting of edit window view. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.904&from=L21haW4- Comment #2 by T. Lee DAVIDSON: Sorry, Beno?t, I cannot answer if it is better now. I tried to compile and install a svn trunk checkout, but apparently that doesn't work well when there is already a version installed from a package. A dead symlink, "gambas3 -> gambas3.gambas", was created in /usr/local/bin with "gambas3.gambas" non-existent in /usr/local/bin. So, I could not test the IDE of revision #7666. Then, when I tried to uninstall it, it started removing files belonging to the package instead of the files it installed to /usr/local. Apparently the installation prefix is not logged for "uninstall" to use. So, sorry, I cannot confirm the fix. Will just have to wait for next package version. From bugtracker at ...3416... Sat Mar 26 11:34:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 26 Mar 2016 10:34:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #903: Bash-like "source" command for gbs3 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4- Comment #7 by C THAL: Maybe a wiki-page about Gambas scripting with subpages? Perhaps I could help ... From herberthguzman at ...626... Sat Mar 26 19:50:12 2016 From: herberthguzman at ...626... (herberth guzman) Date: Sat, 26 Mar 2016 12:50:12 -0600 Subject: [Gambas-user] Desktop.RunAsRoot Message-ID: I need help I can look silly but not quite understand Desktop.RunAsRoot. I need to run a command Example does not work Desktop.RunAsRoot ("sysctl -w vm.drop_caches = 3") If you work Shell "gksu sysctl -w vm.drop_caches = 3" Desktop.RunAsRoot You can run SUDO command without entering password ...? I have active gb.desktop I have installed xterm Herberth Guzm?n [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.4.0-7-generic Architecture=x86 Distribution=Ubuntu Xenial Xerus (development branch) Desktop=Innova Theme=Breeze Language=es_GT.UTF-8 Memory=1962M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.800.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.57.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iGSGO5wfSD,guid=b5e5f91ec42f1a7d54076d0e56f6c788 DEFAULTS_PATH=/usr/share/gconf/Innova.default.path DESKTOP_SESSION=Innova DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Innova GDM_LANG=es_ES GTK2_MODULES=overlay-scrollbar GTK_MODULES=gail:atk-bridge HOME= LANG=es_GT.UTF-8 LANGUAGE=es_GT:es LOGNAME= MANDATORY_PATH=/usr/share/gconf/Innova.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=22072 SSH_AUTH_SOCK=/tmp/ssh-lnI4RZRtpRFl/agent.22013 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-Innova:/etc/xdg XDG_CURRENT_DESKTOP=Innova XDG_DATA_DIRS=/usr/share/Innova:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=Innova XDG_SESSION_ID=c10 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session4 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From vuott at ...325... Sat Mar 26 23:31:15 2016 From: vuott at ...325... (Ru Vuott) Date: Sat, 26 Mar 2016 22:31:15 +0000 (UTC) Subject: [Gambas-user] R: Desktop.RunAsRoot References: <1565362032.1136231.1459031475512.JavaMail.yahoo.ref@...3424...> Message-ID: <1565362032.1136231.1459031475512.JavaMail.yahoo@...3424...> ...and more, now oddly I get always this error: " File or directory does not exist ", whatever command written. -------------------------------------------- Sab 26/3/16, herberth guzman ha scritto: Oggetto: [Gambas-user] Desktop.RunAsRoot A: "gambas-user" Data: Sabato 26 marzo 2016, 19:50 I need help I can look silly but not quite understand Desktop.RunAsRoot. I need to run a command Example does not work Desktop.RunAsRoot ("sysctl -w vm.drop_caches = 3") If you work Shell "gksu sysctl -w vm.drop_caches = 3" Desktop.RunAsRoot You can run SUDO command without entering password ...? I have active gb.desktop I have installed xterm Herberth Guzm?n [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.4.0-7-generic Architecture=x86 Distribution=Ubuntu Xenial Xerus (development branch) Desktop=Innova Theme=Breeze Language=es_GT.UTF-8 Memory=1962M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.800.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.57.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-iGSGO5wfSD,guid=b5e5f91ec42f1a7d54076d0e56f6c788 DEFAULTS_PATH=/usr/share/gconf/Innova.default.path DESKTOP_SESSION=Innova DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Innova GDM_LANG=es_ES GTK2_MODULES=overlay-scrollbar GTK_MODULES=gail:atk-bridge HOME= LANG=es_GT.UTF-8 LANGUAGE=es_GT:es LOGNAME= MANDATORY_PATH=/usr/share/gconf/Innova.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=22072 SSH_AUTH_SOCK=/tmp/ssh-lnI4RZRtpRFl/agent.22013 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-Innova:/etc/xdg XDG_CURRENT_DESKTOP=Innova XDG_DATA_DIRS=/usr/share/Innova:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=Innova XDG_SESSION_ID=c10 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session4 XDG_SESSION_TYPE=x11 XDG_VTNR=7 ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From helios.cobain.stefani at ...626... Sun Mar 27 03:27:24 2016 From: helios.cobain.stefani at ...626... (Helios Martinez Dominguez) Date: Sat, 26 Mar 2016 20:57:24 -0430 Subject: [Gambas-user] Gambas-user Digest, Vol 118, Issue 28 In-Reply-To: References: Message-ID: Color variables are tipically a Long integer value which, to be parsed as hexadecimal, must be written with and ampersand prior to the hexadecimal number, without quotes. ex.: Dim ForeColor As Long = &DDAA00 Helios Mart?nez Dom?nguez Consorcio Cooperativo Cinematogr?fico Art?stico Musical Director General helios.url.ph cccam.esy.es AVISO LEGAL La informaci?n que contiene este mensaje es privilegiada, confidencial y se encuentra protegida por la Ley. Su contenido y archivos adjuntos son para uso exclusivo de el/la/los destinatario/a/s arriba mencionado/a/s. Cualquier intercepci?n, acceso, apertura, uso, difusi?n o copia no autorizada est?n estrictamente prohibidas. En caso de haberlo recibido por error u otra circunstancia, elim?nelo y notif?que inmediatamente al emisor. Gracias. Ley_especial_contra_los_delitos_informaticos (Venezuela) Privacidad y secreto de las telecomunicaciones - Incibe (Espa?a) On Fri, Mar 25, 2016 at 7:50 AM, wrote: > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Label1.Foreground = Color("#FF0000"), How to? (abbat81) > 2. R: Label1.Foreground = Color("#FF0000"), How to? (Ru Vuott) > 3. R: Label1.Foreground = Color("#FF0000"), How to? (Ru Vuott) > 4. Re: R: Label1.Foreground = Color("#FF0000"), How to? (abbat81) > 5. Re: R: Label1.Foreground = Color("#FF0000"), How to? (Yahoo) > 6. Re: R: Label1.Foreground = Color("#FF0000"), How to? > (Fabien Bodard) > 7. [Gambas Bug Tracker] Bug #892: ~/.local/share/gambas3/lib is > empty (bugtracker at ...3416...) > 8. Re: QT 5.7 QTWebEngine (Moviga Technologies) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 24 Mar 2016 07:23:22 -0700 (MST) > From: abbat81 > Subject: [Gambas-user] Label1.Foreground = Color("#FF0000"), How to? > To: gambas-user at lists.sourceforge.net > Message-ID: <1458829402944-55761.post at ...3046...> > Content-Type: text/plain; charset=us-ascii > > How to use HTML color like #FF0000 > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Label1-Foreground-Color-FF0000-How-to-tp55761.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 2 > Date: Thu, 24 Mar 2016 15:54:49 +0000 (UTC) > From: Ru Vuott > Subject: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How > to? > To: mailing list for gambas users > Message-ID: > <780822668.4702412.1458834890004.JavaMail.yahoo at ...3424...> > Content-Type: text/plain; charset=UTF-8 > > If you want to use HTML tag, you have to use "TextLabel", no Label. > > ************************************ > Public Sub Form_Open() > > TextLabel1.Text = "Arma virumque cano" > > End > ************************************ > > Regards > vuott > > > > > > > > -------------------------------------------- > Gio 24/3/16, abbat81 ha scritto: > > Oggetto: [Gambas-user] Label1.Foreground = Color("#FF0000"), How to? > A: gambas-user at lists.sourceforge.net > Data: Gioved? 24 marzo 2016, 15:23 > > How to use HTML color like #FF0000 > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Label1-Foreground-Color-FF0000-How-to-tp55761.html > Sent from the gambas-user mailing list archive at > Nabble.com. > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------ > > Message: 3 > Date: Thu, 24 Mar 2016 16:12:39 +0000 (UTC) > From: Ru Vuott > Subject: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), How > to? > To: mailing list for gambas users > Message-ID: > <1979761003.4247970.1458835959406.JavaMail.yahoo at ...3424...> > Content-Type: text/plain; charset=UTF-8 > > ...but if you want to use "hexadecimal" value with Label: > > ***************************************** > Public Sub Form_Open() > > Label1.Foreground = &FF0000 > > Label1.Text = "Arma virumque cano" > > End > ***************************************** > > > > > > > -------------------------------------------- > Gio 24/3/16, abbat81 ha scritto: > > Oggetto: [Gambas-user] Label1.Foreground = Color("#FF0000"), How to? > A: gambas-user at lists.sourceforge.net > Data: Gioved? 24 marzo 2016, 15:23 > > How to use HTML color like #FF0000 > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Label1-Foreground-Color-FF0000-How-to-tp55761.html > Sent from the gambas-user mailing list archive at > Nabble.com. > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------ > > Message: 4 > Date: Thu, 24 Mar 2016 09:19:26 -0700 (MST) > From: abbat81 > Subject: Re: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), > How to? > To: gambas-user at lists.sourceforge.net > Message-ID: <1458836366758-55764.post at ...3046...> > Content-Type: text/plain; charset=us-ascii > > Dim col as string = "#FF0000" > > How to conver? CInt(Replace(st, "#", "&")) doesn't work > > Label1.Foreground = col > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF0000-How-to-tp55763p55764.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 5 > Date: Thu, 24 Mar 2016 13:33:53 -0400 > From: Yahoo > Subject: Re: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), > How to? > To: mailing list for gambas users , > abbat81 > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Dim col as string = "#FF0000"? > > Label1.Foreground = Val("&H" &?col?& "&") > > > > Olivier Cruilles > > Le March 24, 2016 ? 13:17:50, abbat81 (abbat.81 at ...787...) a ?crit: > > Dim col as string = "#FF0000" > > How to conver? CInt(Replace(st, "#", "&")) doesn't work > > Label1.Foreground = col > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF0000-How-to-tp55763p55764.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------ > > Message: 6 > Date: Thu, 24 Mar 2016 20:06:27 +0100 > From: Fabien Bodard > Subject: Re: [Gambas-user] R: Label1.Foreground = Color("#FF0000"), > How to? > To: mailing list for gambas users > Message-ID: > 1xMmnv273Bp1mecu8a-sxRBm60A at ...627...> > Content-Type: text/plain; charset=UTF-8 > > Le 24 mars 2016 18:36, "Yahoo" a ?crit : > > > > Dim col as string = "#FF0000" > > > > Label1.Foreground = Val("&H" & col & "&") > The ending & not necessary > Label1.Foreground= val(replace(col,"#","&H")) > > > > > > > > Olivier Cruilles > > > > Le March 24, 2016 ? 13:17:50, abbat81 (abbat.81 at ...787...) a ?crit: > > > > Dim col as string = "#FF0000" > > > > How to conver? CInt(Replace(st, "#", "&")) doesn't work > > > > Label1.Foreground = col > > > > > > > > -- > > View this message in context: > > http://gambas.8142.n7.nabble.com/R-Label1-Foreground-Color-FF0000-How-to-tp55763p55764.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------ > > Message: 7 > Date: Fri, 25 Mar 2016 05:55:55 GMT > From: > Subject: [Gambas-user] [Gambas Bug Tracker] Bug #892: > ~/.local/share/gambas3/lib is empty > To: adamnt42 at ...626...,gambas-user at lists.sourceforge.net > Message-ID: > Content-Type: text/plain;charset=utf-8; charset="utf-8" > > http://gambaswiki.org/bugtracker/edit?object=BUG.892&from=L21haW4- > > Bruce BRUEN changed the state of the bug to: Invalid. > > > > > > > ------------------------------ > > Message: 8 > Date: Fri, 25 Mar 2016 13:20:37 +0100 > From: Moviga Technologies > Subject: Re: [Gambas-user] QT 5.7 QTWebEngine > To: mailing list for gambas users > Message-ID: > Content-Type: text/plain; charset=US-ASCII > > Yuhu?! :) > > ------------------------------ > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > > ------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest, Vol 118, Issue 28 > ******************************************** > From herberthguzman at ...626... Sun Mar 27 23:14:17 2016 From: herberthguzman at ...626... (herberth guzman) Date: Sun, 27 Mar 2016 15:14:17 -0600 Subject: [Gambas-user] GambasFarm Message-ID: Benoit Regards, Is not a problem but I have seen that in GambasFarm whenever I update my project (PCInfo - Innova Desktop) to a new version, the counter to 0 restarts. I would like to know why ? How can I do to keep the counter of the project and not the versions.? Herberth Guzm?n From bugtracker at ...3416... Mon Mar 28 13:12:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 11:12:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Frigo 2010 reported a new bug. Summary ------- Timer Not Work - Trunk 3.8.90 Revision 7680 Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- Hallo Beim hinzuf?gen eines Timers ?ber die GUI kommt die Fehlermeldung beim Ausf?hren der Form "FMain.FMain:0" Typenunvertr?glichkeit: Erwarte Integer, stattdessen Frame erhalten! Die Fehlermeldung bleibt auch wenn wenn den Timer wieder l?scht oder die ?nderungen r?ckg?ngig macht! ------------------------ Hello When add a timer on the GUI the error message when you run the form "FMain.FMain: 0" type incompatibility: Awaiting Integer instead receive frame! The error message will remain even if when the timer deletes or undoes! Sorry my English is bad System Info : [System] Gambas=3.8.90 r7680 OperatingSystem=Linux Kernel=4.1.20-v7+ Architecture=arm Distribution=debian 8.0 Desktop=? Theme=Gtk Language=de_DE.UTF-8 Memory=862M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.13 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+2=libgtk-x11-2.0.so.0.2400.25 GTK+3=libgtk-3.so.0.1400.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.3.2 SDL=libSDL-1.2.so.0.11.4 [Environment] DISPLAY=:0.0 GB_GUI=gb.qt4 HOME= LANG=de_DE.UTF-8 LOGNAME= MAIL=/var/mail PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SHELL=/bin/bash SUDO_COMMAND=/usr/bin/gambas3 SUDO_GID=1000 SUDO_UID=1000 SUDO_USER=pi TERM=unknown TZ=:/etc/localtime USER= USERNAME= XAUTHORITY=/home/pi/.Xauthority From bugtracker at ...3416... Mon Mar 28 14:14:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 12:14:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #1 by Frigo 2010: Mit Gambas3 3.8.4 (Letzte SVN) funktioniert der Timer ohne Probleme. Beider Versionen wurden ohne LLVM compiliert, da mit LLVM die Fehlermeldung Speicherzugriffsfehler kommt. ( gb.jit Problem) ------------------------------------------------------------------------ With Gambas3 3.8.4 (Last SVN) the timer works without problems. Both versions were compiled without LLVM as with LLVM the error message segmentation fault. (Gb.jit problem) From bugtracker at ...3416... Mon Mar 28 15:14:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 13:14:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #2 by Fabien BODARD: Can we have an example project that show the problem ? Fabien BODARD changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Mon Mar 28 16:12:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 14:12:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #3 by Frigo 2010: Hallo, ganz einfach 1. Neues Projekt 2. QT Projekt 3. Container auf Form 4. Timer auf Form 5. Form Starten 6. Error Meldung FMain.FMain.0: #6: Type mismatch: wanted Integer, got Frame instead FMain.FMain.0 FMain. at ...3503... Erstellt mit der letzten Trunk SVN Version 7680 3.8.90 ----------------------------------------------------------- Hello, very easily 1. New Project 2. QT project 3. Container to form 4. Timer to form 5. Form Start 6. Error message FMain.FMain.0: # 6: Type mismatch: Integer wanted, got Frame instead FMain.FMain.0 Fmain. @ New.0 Created with the latest SVN trunk version 7680 03.08.90 Test File: http://d-h.st/WZG4 From bugtracker at ...3416... Mon Mar 28 16:14:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 14:14:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Frigo 2010 added an attachment: Timer_Test.tar.gz From gambas at ...1... Mon Mar 28 17:30:08 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 28 Mar 2016 17:30:08 +0200 Subject: [Gambas-user] GambasFarm In-Reply-To: References: Message-ID: <56F94E00.5070208@...1...> Le 27/03/2016 23:14, herberth guzman a ?crit : > Benoit > > Regards, > Is not a problem but I have seen that in GambasFarm whenever I update my > project (PCInfo - Innova Desktop) to a new version, the counter to 0 > restarts. > > I would like to know why ? > How can I do to keep the counter of the project and not the versions.? > > Herberth Guzm?n Program whose major/minor changes are considered different by the farm. I need to implement something that computes the sum of all different versions to get the total number of downloads. -- Beno?t Minisini From bugtracker at ...3416... Mon Mar 28 17:41:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 15:41:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #4 by Fabien BODARD: Well the problem is more general than that ... we can't add a timer in a container in fact. Just putting a Timer on a form and execute fail. If the run button is pressed more than 2 or 3 time the program crash. This error is the same on QT4, QT5, GTK3, GTK2. Fabien BODARD changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Mar 28 17:51:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 15:51:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #5 by Beno?t MINISINI: I don't have the problem: Can you recompile everything from ./reconf && ./configure -C ... and tell me if it changes anything? From bugtracker at ...3416... Mon Mar 28 17:51:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 15:51:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Mon Mar 28 17:55:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 15:55:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #6 by Frigo 2010: Hello, exactly as I had it Compiles ./reconf && ./configure -C make sudo make install From bugtracker at ...3416... Mon Mar 28 18:07:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 16:07:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #7 by Frigo 2010: I compile it with again (./reconf && ./configure -C && make) > output.txt 2>&1 sudo make install > install.txt 2>&1 From bugtracker at ...3416... Mon Mar 28 18:37:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 16:37:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Frigo 2010 added an attachment: output.txt From bugtracker at ...3416... Mon Mar 28 18:37:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 16:37:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Frigo 2010 added an attachment: make_i_output.txt From bugtracker at ...3416... Mon Mar 28 18:38:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 16:38:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #8 by Frigo 2010: Did it again recompiled, but the error remains the same FMain.FMain.0: #6: Type mismatch: wanted Integer, got Frame instead FMain.FMain.0 FMain. at ...3503... (./reconf && ./configure -C && make) > output.txt 2>&1 sudo make install > install.txt 2>&1 From bugtracker at ...3416... Mon Mar 28 18:44:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 16:44:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #9 by Fabien BODARD: The same here. [System] Gambas=3.8.90 r7495 OperatingSystem=Linux Kernel=4.4.5-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=fr_FR.UTF-8 Memory=3861M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.603.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] APPMENU_DISPLAY_BOTH=1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/home//.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home//.gtkrc-2.0:/home//.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/home//.gtkrc:/home//.config/gtkrc HOME=/home/ KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=fr_FR.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD=/home/ QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/713,unix/:/tmp/.ICE-unix/713 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Mon Mar 28 18:46:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 16:46:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Fabien BODARD added an attachment: Screenshot_20160328_184538.png From bugtracker at ...3416... Mon Mar 28 18:50:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 16:50:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #10 by Frigo 2010: Once a video http://d-h.st/NCE1 From bugtracker at ...3416... Mon Mar 28 19:07:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 17:07:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #11 by Beno?t MINISINI: The problem is in the form generated by the IDE that is incorrect. Now that you have recompiled, can you modify the form and save it again, and see if it changes anything? From bugtracker at ...3416... Mon Mar 28 19:12:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 28 Mar 2016 17:12:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #12 by Frigo 2010: I Test2 (Video) created using the newly compiled version and the fault remains the same, I take my first test (Timer_Test) and store it again, or change the shape of a little, it will remain there for the error From abbat.81 at ...787... Mon Mar 28 18:19:11 2016 From: abbat.81 at ...787... (abbat.81 at ...787...) Date: Mon, 28 Mar 2016 19:19:11 +0300 Subject: [Gambas-user] [SPAM] Fw: new important message Message-ID: <0000c59f2648$5d263764$92d89807$@mail.ru> Hello! New message, please read abbat.81 at ...787... From fmfdario at ...626... Tue Mar 29 01:22:31 2016 From: fmfdario at ...626... (Francisco Martinez) Date: Tue, 29 Mar 2016 01:22:31 +0200 Subject: [Gambas-user] SDL2 component Message-ID: <56F9BCB7.3090507@...626...> Hi!. Recently I've been playing with SDL2 component and noticed it lacks some common methods that are present in previous version. Is it still in active development? The original author (Laurent Carlier) seems to be not active anymore. Thanks in advance From bugtracker at ...3416... Tue Mar 29 20:00:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 18:00:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Compilation error - QT5 Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : QT5 component Description ----------- Making all in gb.qt5 make[2]: Entering directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' make all-recursive make[3]: Entering directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Making all in src make[4]: Entering directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' Making all in . make[5]: Entering directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' CC gb_qt5_la-x11.lo In file included from /usr/include/stdio.h:27:0, from x11.c:26: /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ CC gb_qt5_la-desktop.lo In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stdint.h:9, from ../gambas.h:32, from desktop.h:27, from desktop.c:26: /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ /usr/lib/qt/bin/moc -o main_moc.cpp main.h CXX gb_qt5_la-main_moc.lo In file included from main.h:28:0, from main_moc.cpp:9: /usr/include/qt/QtCore/qsharedpointer_impl.h: In member function ?bool QWeakPointer::isNull() const?: ../gambas.h:69:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note: in expansion of macro ?__null? #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:594:46: note: in expansion of macro ?Q_NULLPTR? inline bool isNull() const { return d == Q_NULLPTR || d->strongref.load() == 0 || value == Q_NULLPTR; } ^ /usr/include/qt/QtCore/qsharedpointer_impl.h: In member function ?T* QWeakPointer::data() const?: ../gambas.h:69:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note: in expansion of macro ?__null? #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:597:42: note: in expansion of macro ?Q_NULLPTR? inline T *data() const { return d == Q_NULLPTR || d->strongref.load() == 0 ? Q_NULLPTR : value; } ^ Makefile:751: recipe for target 'gb_qt5_la-main_moc.lo' failed make[5]: *** [gb_qt5_la-main_moc.lo] Error 1 make[5]: Leaving directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' Makefile:1330: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' Makefile:448: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Makefile:380: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Makefile:438: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home//Sync/Gambaspakker/Gambas-SVN/src/trunk' Makefile:379: recipe for target 'all' failed make: *** [all] Error 2 System information ------------------ [System] Gambas=3.8.90 r7656 OperatingSystem=Linux Kernel=4.4.5-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.603.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.6.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb:nn LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/707,unix/:/tmp/.ICE-unix/707 SHELL=/usr/bin/fish SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Tue Mar 29 20:05:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 18:05:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #1 by Beno?t MINISINI: You have errors in system includes and QT5 includes, so I guess you have broken your system a bit? From bugtracker at ...3416... Tue Mar 29 20:07:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 18:07:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #2 by Moviga TECHNOLOGIES: Not that I am aware of. There was recently a big update to Plasma 5.6 and quite a few QT5 libraries along with it on Arch... but everything else works fine. From herberthguzman at ...626... Tue Mar 29 21:09:13 2016 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 29 Mar 2016 13:09:13 -0600 Subject: [Gambas-user] Timer Not Work - Trunk 3.8.90 Revision 7690 Message-ID: Salut Benoit I have installed Gambas3 Rev. 7690 In my form I have a Timer Example, shows the time Generates the following error: Mismatch required types: Integer required, obtained FMain instead. I compared the .src / FMain.form file with another if it works and found a change, I hope it helps. No Work { Timer2 Timer #MoveScaled(27,38) } If you work { Timer1 #Timer #MoveScaled(14,0) } Herberth Guzm?n [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=4.4.0-15-generic Architecture=x86_64 Distribution=Ubuntu Xenial Xerus (development branch) Desktop=Innova Theme=Windows Language=es_GT.UTF-8 Memory=1982M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.791.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-g2EXEu35O0,guid=59f104e05eb1cef99a0bf66856faaeee DEFAULTS_PATH=/usr/share/gconf/Innova.default.path DESKTOP_SESSION=Innova DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Innova GDM_LANG=es_ES GPG_AGENT_INFO=/tmp/gpg-7VqmSE/S.gpg-agent:10053:1 GTK2_MODULES=overlay-scrollbar GTK_MODULES=gail:atk-bridge HOME= LANG=es_GT.UTF-8 LANGUAGE=es_GT:es LOGNAME= MANDATORY_PATH=/usr/share/gconf/Innova.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=10052 SSH_AUTH_SOCK=/tmp/ssh-s35koUVDWVEu/agent.9992 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-Innova:/etc/xdg XDG_CURRENT_DESKTOP=Innova XDG_DATA_DIRS=/usr/share/Innova:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=Innova XDG_SESSION_ID=c4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Tue Mar 29 21:46:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 19:46:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #3 by Fabien BODARD: Hum i need to try to update my system. My QT version is 5.5.1. And it work... From bugtracker at ...3416... Tue Mar 29 22:28:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 20:28:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #4 by Fabien BODARD: Ouch... me too now : make[5]?: on entre dans le r?pertoire ??/home/fabien/Documents/Developpement/gambas/trunk/gb.qt5/src?? CXX gb_qt5_la-main_moc.lo CXX gb_qt5_la-CKey.lo CXX gb_qt5_la-CPicture.lo CXX gb_qt5_la-CImage.lo In file included from CKey.cpp:27:0: /usr/include/qt/QtCore/qsharedpointer_impl.h: Dans la fonction membre ?bool QWeakPointer::isNull() const?: ../gambas.h:69:29: erreur?: ISO C++ interdit la comparaison entre un pointeur et un entier [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note?: in expansion of macro ?__null? #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:594:46: note?: in expansion of macro ?Q_NULLPTR? inline bool isNull() const { return d == Q_NULLPTR || d->strongref.load() == 0 || value == Q_NULLPTR; } ^ /usr/include/qt/QtCore/qsharedpointer_impl.h: Dans la fonction membre ?T* QWeakPointer::data() const?: ../gambas.h:69:29: erreur?: ISO C++ interdit la comparaison entre un pointeur et un entier [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note?: in expansion of macro ?__null? #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:597:42: note?: in expansion of macro ?Q_NULLPTR? inline T *data() const { return d == Q_NULLPTR || d->strongref.load() == 0 ? Q_NULLPTR : value; } ^ In file included from main.h:28:0, from main_moc.cpp:9: /usr/include/qt/QtCore/qsharedpointer_impl.h: Dans la fonction membre ?bool QWeakPointer::isNull() const?: ../gambas.h:69:29: erreur?: ISO C++ interdit la comparaison entre un pointeur et un entier [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note?: in expansion of macro ?__null? #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:594:46: note?: in expansion of macro ?Q_NULLPTR? inline bool isNull() const { return d == Q_NULLPTR || d->strongref.load() == 0 || value == Q_NULLPTR; } ^ /usr/include/qt/QtCore/qsharedpointer_impl.h: Dans la fonction membre ?T* QWeakPointer::data() const?: ../gambas.h:69:29: erreur?: ISO C++ interdit la comparaison entre un pointeur et un entier [-fpermissive] #define __null ((intptr_t)0) ^ /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/include/stddef.h:403:14: note?: in expansion of macro ?__null? #define NULL __null ^ /usr/include/qt/QtCore/qsharedpointer_impl.h:597:42: note?: in expansion of macro ?Q_NULLPTR? inline T *data() const { return d == Q_NULLPTR || d->strongref.load() == 0 ? Q_NULLPTR : value; } ^ Makefile:919?: la recette pour la cible ??gb_qt5_la-CKey.lo?? a ?chou?e make[5]: *** [gb_qt5_la-CKey.lo] Erreur 1 make[5]: *** Attente des t?ches non termin?es.... Makefile:751?: la recette pour la cible ??gb_qt5_la-main_moc.lo?? a ?chou?e make[5]: *** [gb_qt5_la-main_moc.lo] Erreur 1 make[5]?: on quitte le r?pertoire ??/home/fabien/Documents/Developpement/gambas/trunk/gb.qt5/src?? Makefile:1330?: la recette pour la cible ??all-recursive?? a ?chou?e make[4]: *** [all-recursive] Erreur 1 make[4]?: on quitte le r?pertoire ??/home/fabien/Documents/Developpement/gambas/trunk/gb.qt5/src?? Makefile:448?: la recette pour la cible ??all-recursive?? a ?chou?e make[3]: *** [all-recursive] Erreur 1 make[3]?: on quitte le r?pertoire ??/home/fabien/Documents/Developpement/gambas/trunk/gb.qt5?? Makefile:380?: la recette pour la cible ??all?? a ?chou?e make[2]: *** [all] Erreur 2 make[2]?: on quitte le r?pertoire ??/home/fabien/Documents/Developpement/gambas/trunk/gb.qt5?? Makefile:438?: la recette pour la cible ??all-recursive?? a ?chou?e make[1]: *** [all-recursive] Erreur 1 make[1]?: on quitte le r?pertoire ??/home/fabien/Documents/Developpement/gambas/trunk?? Makefile:379?: la recette pour la cible ??all?? a ?chou?e make: *** [all] Erreur 2 [fabien at ...3590... gambas]$ It crash here too now after update. =========================================== [System] Gambas=3.8.90 r7495 OperatingSystem=Linux Kernel=4.4.5-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=fr_FR.UTF-8 Memory=3861M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.603.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.6.0 SDL=libSDL-1.2.so.0.11.4 [Environment] APPMENU_DISPLAY_BOTH=1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/home//.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home//.gtkrc-2.0:/home//.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/home//.gtkrc:/home//.config/gtkrc HOME=/home/ KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=fr_FR.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD=/home/ QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/711,unix/:/tmp/.ICE-unix/711 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Wed Mar 30 00:03:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 22:03:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Wed Mar 30 00:03:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 22:03:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #5 by Beno?t MINISINI: It should be fixed in revision #7692. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Mar 30 00:04:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 22:04:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #6 by Beno?t MINISINI: Oops... Answering the wrong issue! Beno?t MINISINI changed the state of the bug to: Opened. From bugtracker at ...3416... Wed Mar 30 00:04:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 22:04:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #907: Timer Not Work - Trunk 3.8.90 Revision 7680 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.907&from=L21haW4- Comment #13 by Beno?t MINISINI: It should be fixed in revision #7692. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Mar 30 00:51:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 29 Mar 2016 22:51:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #7 by Moviga TECHNOLOGIES: Ohhh.... I was just about to say it didn't help :/ From bagonergi at ...626... Wed Mar 30 18:01:03 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 30 Mar 2016 18:01:03 +0200 Subject: [Gambas-user] Site Gambas-it.org comunication Message-ID: We inform that the Italian site Gambas (Gambas-it.org) is temporarily unavailable because under crackers's attack. We are arrange for. Regards Gambas-it From gambas at ...1... Wed Mar 30 19:21:46 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 30 Mar 2016 19:21:46 +0200 Subject: [Gambas-user] =?utf-8?b?R2FtYmFzIG9uIFdpbmRvd3PihKLCqcKuIHdpdGhv?= =?utf-8?q?ut_doing_anything=3F?= Message-ID: <56FC0B29.2000903@...1...> http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html -- Beno?t Minisini From gambas at ...1... Wed Mar 30 19:24:09 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 30 Mar 2016 19:24:09 +0200 Subject: [Gambas-user] =?utf-8?b?R2FtYmFzIG9uIFdpbmRvd3PihKLCqcKuIHdpdGhv?= =?utf-8?q?ut_doing_anything=3F?= In-Reply-To: <56FC0B29.2000903@...1...> References: <56FC0B29.2000903@...1...> Message-ID: <56FC0BB9.3010505@...1...> Le 30/03/2016 19:21, Beno?t Minisini a ?crit : > http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html > As we are not Friday yet, why not? -- Beno?t Minisini From moviga at ...3488... Wed Mar 30 20:05:57 2016 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 30 Mar 2016 20:05:57 +0200 Subject: [Gambas-user] =?utf-8?b?R2FtYmFzIG9uIFdpbmRvd3PihKLCqcKuIHdpdGhv?= =?utf-8?q?ut_doing_anything=3F?= In-Reply-To: <56FC0B29.2000903@...1...> References: <56FC0B29.2000903@...1...> Message-ID: <31f95b50a29a72824ae42c1ffc53b2f8@...3488...> As I read this today I thought "does this mean I can run Gambas on Windows 10?" This means I can make programs for Windows users too :D Wohoo! From bagonergi at ...626... Wed Mar 30 20:46:50 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 30 Mar 2016 20:46:50 +0200 Subject: [Gambas-user] =?utf-8?b?R2FtYmFzIG9uIFdpbmRvd3PihKIoYykoUikgd2l0?= =?utf-8?q?hout_doing_anything=3F?= Message-ID: If this were true, a Gambas's greater attention in favor of Ubuntu would be dutiful. :-D Regards Gianluigi 2016-03-30 19:24 GMT+02:00 Beno?t Minisini : > Le 30/03/2016 19:21, Beno?t Minisini a ?crit : > > http://blog.dustinkirkland.com/2016/03/ubuntu-on-windows.html > > > > As we are not Friday yet, why not? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Wed Mar 30 22:18:32 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 30 Mar 2016 16:18:32 -0400 Subject: [Gambas-user] How to sort a TableView? Message-ID: <56FC3498.7050108@...626...> The documentation for TableView shows a Sorted property which says, "Sorting the data is not done automatically. It must be done by user code." But, the page does not give any clues regarding how to accomplish that. Though, obviously, sorting should be done in the Sort event handler. In the past, I have used an array of objects to store the data represented in the TableView. This provided use of Object[].Sort with the _compare function. This time around, I am attempting to eliminate the redundancy of duplicate data containers (store and view) and the cumbersome syncing of the data and the view. (Perhaps I should just simply use a SQLite DB and a DataView?) There appears to be no TableView/GridView or GridView.Columns Sort method. Does anyone have any hints as to how to sort a TableView? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From bagonergi at ...626... Wed Mar 30 23:40:52 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 30 Mar 2016 23:40:52 +0200 Subject: [Gambas-user] Site Gambas-it.org comunication In-Reply-To: References: Message-ID: The Gambas-it.org site is back online. Regards Gambas-it 2016-03-30 18:01 GMT+02:00 Gianluigi : > We inform that the Italian site Gambas (Gambas-it.org) is temporarily > unavailable because under crackers's attack. > We are arrange for. > > Regards > > Gambas-it > From bagonergi at ...626... Thu Mar 31 00:06:25 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 31 Mar 2016 00:06:25 +0200 Subject: [Gambas-user] How to sort a TableView? In-Reply-To: <56FC3498.7050108@...626...> References: <56FC3498.7050108@...626...> Message-ID: Not sure if I understand the question, but something like that, could help? If TableView1.Columns.Ascending Then sMySql = "SELECT *" sMySql &= " FROM customers" sMySql &= " ORDER BY surname ASC," sMySql &= " name ASC" sMySql &= ";" Else sMySql = "SELECT *" sMySql &= " FROM customers" sMySql &= " ORDER BY surname DESC," sMySql &= " name DESC" sMySql &= ";" Endif Regards Gianluigi 2016-03-30 22:18 GMT+02:00 T Lee Davidson : > The documentation for TableView shows a Sorted property which says, > "Sorting the data is not done automatically. It must be done > by user code." But, the page does not give any clues regarding how to > accomplish that. Though, obviously, sorting should be done > in the Sort event handler. > > In the past, I have used an array of objects to store the data represented > in the TableView. This provided use of Object[].Sort > with the _compare function. > > This time around, I am attempting to eliminate the redundancy of duplicate > data containers (store and view) and the cumbersome > syncing of the data and the view. (Perhaps I should just simply use a > SQLite DB and a DataView?) > > There appears to be no TableView/GridView or GridView.Columns Sort method. > > Does anyone have any hints as to how to sort a TableView? > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Mar 31 02:01:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 31 Mar 2016 00:01:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #909: _TreeView_Item.Clear() throws Null object Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.909&from=L21haW4- Tobias BOEGE reported a new bug. Summary ------- _TreeView_Item.Clear() throws Null object Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : GUI components Description ----------- Code to trigger a "Null object" error from _TreeView_Item.Clear():325 basically looks like this: TreeView1["key"].Clear() Apparently the internal variable $aChildren is not initialised properly. Project attached. From bugtracker at ...3416... Thu Mar 31 02:01:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 31 Mar 2016 00:01:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #909: _TreeView_Item.Clear() throws Null object In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.909&from=L21haW4- Tobias BOEGE added an attachment: treeview-item-clear-0.0.1.tar.gz From t.lee.davidson at ...626... Thu Mar 31 02:33:22 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 30 Mar 2016 20:33:22 -0400 Subject: [Gambas-user] How to sort a TableView? In-Reply-To: References: <56FC3498.7050108@...626...> Message-ID: <56FC7052.4020502@...626...> Thank you for your effort, Gianluigi. But, I am not using a database; just a TableView of data. When a TableView's Sorted property is set to True, clicking on a column header toggles the sort indicator and raises the TableView's Sort event. I need to sort the TableView rows based on the values in whichever column the header was clicked. On 03/30/2016 06:06 PM, Gianluigi wrote: > Not sure if I understand the question, but something like that, could help? > > If TableView1.Columns.Ascending Then > sMySql = "SELECT *" > sMySql &= " FROM customers" > sMySql &= " ORDER BY surname ASC," > sMySql &= " name ASC" > sMySql &= ";" > Else > sMySql = "SELECT *" > sMySql &= " FROM customers" > sMySql &= " ORDER BY surname DESC," > sMySql &= " name DESC" > sMySql &= ";" > Endif > > Regards > Gianluigi > > 2016-03-30 22:18 GMT+02:00 T Lee Davidson : > >> The documentation for TableView shows a Sorted property which says, >> "Sorting the data is not done automatically. It must be done >> by user code." But, the page does not give any clues regarding how to >> accomplish that. Though, obviously, sorting should be done >> in the Sort event handler. >> >> In the past, I have used an array of objects to store the data represented >> in the TableView. This provided use of Object[].Sort >> with the _compare function. >> >> This time around, I am attempting to eliminate the redundancy of duplicate >> data containers (store and view) and the cumbersome >> syncing of the data and the view. (Perhaps I should just simply use a >> SQLite DB and a DataView?) >> >> There appears to be no TableView/GridView or GridView.Columns Sort method. >> >> Does anyone have any hints as to how to sort a TableView? >> >> >> -- >> Lee >> __________ >> >> "Artificial Intelligence is no match for natural stupidity." >> >> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From fgores at ...174... Thu Mar 31 08:55:33 2016 From: fgores at ...174... (Frank) Date: Thu, 31 Mar 2016 08:55:33 +0200 Subject: [Gambas-user] How to sort a TableView? In-Reply-To: <56FC7052.4020502@...626...> References: <56FC3498.7050108@...626...> <56FC7052.4020502@...626...> Message-ID: <56FCC9E5.7070103@...174...> Hi TLD, I found something that might help: I have put the whole code here but the bit you talk about start at line 76. found it here:http://gambas-buch.de/dw/doku.php?id=k17:k17.7:k17.7.4:start [1] ' Gambas class file [2] [3] Private hSortAs New CSort [4] Private iLastAs Integer = -1 [5] Private iCountAs Integer [6] [7] Public Sub Form_Open() [8] [9] GridView1.Header = GridView1.Horizontal [10] GridView1.Sorted = True [11] [12] GridView1.Columns.Count = 6 [13] [14] GridView1.Columns[0].Width = 90 [15] GridView1.Columns[0].Title = "Number" [16] GridView1.Columns[1].Width = 90 [17] GridView1.Columns[1].Title = "Boolean" [18] GridView1.Columns[2].Width = 80 [19] GridView1.Columns[2].Title = "String" [20] GridView1.Columns[3].Width = 160 [21] GridView1.Columns[3].Title = "Date1" [22] GridView1.Columns[4].Width = 90 [23] GridView1.Columns[4].Alignment = Align.Center [24] GridView1.Columns[4].Title = "Number2" [25] GridView1.Columns[5].Title = "Date2" [26] [27] FMain.Center [28] FMain.Resizable = False [29] iCount= 999 [30] FMain.Text = "Ausgabe von " & Str ((iCount+ 1) * Str (GridView1.Columns.Count)) & " Zufallsdaten, \\ die sortiert werden k?nnen!" [31] End ' Form_Open [32] [33] Public Sub btnFillGrid_Click() [34] Dim iAs Integer [35] Dim vMatrixAs Variant [] [36] Dim aStrsAs String [] = ["Merkur", ...,"Mars","Jupiter","Saturn","Uranus","Neptun","Pluto"] [37] [38] hSort.Clear() ' Spaltensortierung zur?cksetzen [39] iLast= -1 [40] [41] GridView1.Clear [42] Randomize [43] [44] For i= 0 To iCountStep 1 [45] vMatrix= New Variant [] [46] vMatrix.Add(Round (Rnd (0,10),-2)) ' Reelle Zahl [47] vMatrix.Add(CBool (Round (Rnd (0,1)))) ' Wahrheitswert [48] vMatrix.Add(aStrs[CInt (Rnd (0, aStrs.Count))]) ' Zeichenkette [49] vMatrix.Add(CDate (Rnd (CFloat (Now ()),CFloat (Now () + 1000)))) ' Datum 1 [50] vMatrix.Add(CInt (Rnd (-10,10))) ' Ganze Zahl [51] vMatrix.Add(CDate (Rnd (CFloat (Now ()),CFloat (Now () + 2000)))) ' Datum 2 [52] hSort.Add(vMatrix) [53] Next ' i [54] [55] ArrayToGrid() [56] [57] End ' FillGrid [58] [59] Public Sub ArrayToGrid() [60] Dim iAs Integer [61] Dim vMatrixAs Variant [] [62] [63] GridView1.Rows.Count = hSort.Count [64] For i= 0 To hSort.Count - 1 Step 1 [65] vMatrix= hSort[i] [66] GridView1[i,0].Text = Str$ (vMatrix[0]) [67] GridView1[i,1].Text = Str$ (vMatrix[1]) [68] GridView1[i,2].Text = Str$ (vMatrix[2]) [69] GridView1[i,3].Text = Str$ (vMatrix[3]) [70] GridView1[i,4].Text = Str$ (vMatrix[4]) [71] GridView1[i,5].Text = Str$ (vMatrix[5]) [72] Next ' i [73] [74] End ' ArrayToGrid [75] [76] Public Sub GridView1_ColumnClick(ColumnAs Integer ) [77] ' Beim wiederholten Klick auf die gleiche Spalte wird die Sortierung invertiert [78] If iLast= ColumnThen [79] hSort.Reverse() ' Optimierung, um nicht mit gb.Descent wiederholt zu sortieren [80] Else [81] hSort.SortField(Column) [82] Endif ' iLast [83] [84] ArrayToGrid() [85] iLast= Column [86] End ' GridView1_ColumnClick(..) cheers, Frank Op 31-03-16 om 02:33 schreef T Lee Davidson: > Thank you for your effort, Gianluigi. But, I am not using a database; just a TableView of data. > > When a TableView's Sorted property is set to True, clicking on a column header toggles the sort indicator and raises the > TableView's Sort event. > > I need to sort the TableView rows based on the values in whichever column the header was clicked. > > > On 03/30/2016 06:06 PM, Gianluigi wrote: >> Not sure if I understand the question, but something like that, could help? >> >> If TableView1.Columns.Ascending Then >> sMySql = "SELECT *" >> sMySql &= " FROM customers" >> sMySql &= " ORDER BY surname ASC," >> sMySql &= " name ASC" >> sMySql &= ";" >> Else >> sMySql = "SELECT *" >> sMySql &= " FROM customers" >> sMySql &= " ORDER BY surname DESC," >> sMySql &= " name DESC" >> sMySql &= ";" >> Endif >> >> Regards >> Gianluigi >> >> 2016-03-30 22:18 GMT+02:00 T Lee Davidson : >> >>> The documentation for TableView shows a Sorted property which says, >>> "Sorting the data is not done automatically. It must be done >>> by user code." But, the page does not give any clues regarding how to >>> accomplish that. Though, obviously, sorting should be done >>> in the Sort event handler. >>> >>> In the past, I have used an array of objects to store the data represented >>> in the TableView. This provided use of Object[].Sort >>> with the _compare function. >>> >>> This time around, I am attempting to eliminate the redundancy of duplicate >>> data containers (store and view) and the cumbersome >>> syncing of the data and the view. (Perhaps I should just simply use a >>> SQLite DB and a DataView?) >>> >>> There appears to be no TableView/GridView or GridView.Columns Sort method. >>> >>> Does anyone have any hints as to how to sort a TableView? >>> >>> >>> -- >>> Lee >>> __________ >>> >>> "Artificial Intelligence is no match for natural stupidity." >>> >>> >>> ------------------------------------------------------------------------------ >>> Transform Data into Opportunity. >>> Accelerate data analysis in your applications with >>> Intel Data Analytics Acceleration Library. >>> Click to learn more. >>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> From bagonergi at ...626... Thu Mar 31 10:51:35 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 31 Mar 2016 10:51:35 +0200 Subject: [Gambas-user] How to sort a TableView? In-Reply-To: <56FC7052.4020502@...626...> References: <56FC3498.7050108@...626...> <56FC7052.4020502@...626...> Message-ID: Without using the database, have taught me so: Public Sub TableView1_Sort() Dim Values, ValueSorted As New String[] Dim Nx, iNx As Integer Dim tmp As String For Nx = 0 To TableView1.Rows.Max Values.Add(TableView1[Nx, TableView1.Columns.Sort].Text) Next ValueSorted = Values.Copy() ValueSorted.Sort(TableView1.Columns.Ascending) For Nx = 0 To ValueSorted.Max For iNx = 0 To TableView1.Columns.Max Swap TableView1[Nx, iNx].Text, TableView1[Values.Find(ValueSorted[Nx], 0, Nx), iNx].Text Next Values.Clear() For iNx = 0 To TableView1.Rows.Max Values.Add(TableView1[iNx, TableView1.Columns.Sort].Text) Next Next TableView1.Refresh() End Regards Gianluigi 2016-03-31 2:33 GMT+02:00 T Lee Davidson : > Thank you for your effort, Gianluigi. But, I am not using a database; just > a TableView of data. > > When a TableView's Sorted property is set to True, clicking on a column > header toggles the sort indicator and raises the > TableView's Sort event. > > I need to sort the TableView rows based on the values in whichever column > the header was clicked. > > > On 03/30/2016 06:06 PM, Gianluigi wrote: > > Not sure if I understand the question, but something like that, could > help? > > > > If TableView1.Columns.Ascending Then > > sMySql = "SELECT *" > > sMySql &= " FROM customers" > > sMySql &= " ORDER BY surname ASC," > > sMySql &= " name ASC" > > sMySql &= ";" > > Else > > sMySql = "SELECT *" > > sMySql &= " FROM customers" > > sMySql &= " ORDER BY surname DESC," > > sMySql &= " name DESC" > > sMySql &= ";" > > Endif > > > > Regards > > Gianluigi > > > > 2016-03-30 22:18 GMT+02:00 T Lee Davidson : > > > >> The documentation for TableView shows a Sorted property which says, > >> "Sorting the data is not done automatically. It must be done > >> by user code." But, the page does not give any clues regarding how to > >> accomplish that. Though, obviously, sorting should be done > >> in the Sort event handler. > >> > >> In the past, I have used an array of objects to store the data > represented > >> in the TableView. This provided use of Object[].Sort > >> with the _compare function. > >> > >> This time around, I am attempting to eliminate the redundancy of > duplicate > >> data containers (store and view) and the cumbersome > >> syncing of the data and the view. (Perhaps I should just simply use a > >> SQLite DB and a DataView?) > >> > >> There appears to be no TableView/GridView or GridView.Columns Sort > method. > >> > >> Does anyone have any hints as to how to sort a TableView? > >> > >> > >> -- > >> Lee > >> __________ > >> > >> "Artificial Intelligence is no match for natural stupidity." > >> > >> > >> > ------------------------------------------------------------------------------ > >> Transform Data into Opportunity. > >> Accelerate data analysis in your applications with > >> Intel Data Analytics Acceleration Library. > >> Click to learn more. > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Mar 31 14:46:14 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 31 Mar 2016 14:46:14 +0200 Subject: [Gambas-user] Timer Not Work - Trunk 3.8.90 Revision 7690 In-Reply-To: References: Message-ID: it's corrected in last svn 2016-03-29 21:09 GMT+02:00 herberth guzman : > Salut Benoit > > I have installed Gambas3 Rev. 7690 > > In my form I have a Timer > Example, shows the time > > Generates the following error: > Mismatch required types: Integer required, obtained FMain instead. > > I compared the .src / FMain.form file with another if it works and found a > change, I hope it helps. > > No Work > { Timer2 Timer > #MoveScaled(27,38) > } > > If you work > { Timer1 #Timer > #MoveScaled(14,0) > } > > Herberth Guzm?n > > > [System] > Gambas=3.8.90 > OperatingSystem=Linux > Kernel=4.4.0-15-generic > Architecture=x86_64 > Distribution=Ubuntu Xenial Xerus (development branch) > Desktop=Innova > Theme=Windows > Language=es_GT.UTF-8 > Memory=1982M > > [Libraries] > Cairo=libcairo.so.2.11400.6 > Curl=libcurl.so.4.4.0 > DBus=libdbus-1.so.3.14.6 > GStreamer=libgstreamer-1.0.so.0.791.0 > GTK+2=libgtk-x11-2.0.so.0.2400.30 > GTK+3=libgtk-3.so.0.1800.9 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.58.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.5.1 > SDL=libSDL-1.2.so.0.11.4 > > [Environment] > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-g2EXEu35O0,guid=59f104e05eb1cef99a0bf66856faaeee > DEFAULTS_PATH=/usr/share/gconf/Innova.default.path > DESKTOP_SESSION=Innova > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=Innova > GDM_LANG=es_ES > GPG_AGENT_INFO=/tmp/gpg-7VqmSE/S.gpg-agent:10053:1 > GTK2_MODULES=overlay-scrollbar > GTK_MODULES=gail:atk-bridge > HOME= > LANG=es_GT.UTF-8 > LANGUAGE=es_GT:es > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/Innova.mandatory.path > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD= > QT_ACCESSIBILITY=1 > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > QT_QPA_PLATFORMTHEME=appmenu-qt5 > SHELL=/bin/bash > SHLVL=0 > SSH_AGENT_PID=10052 > SSH_AUTH_SOCK=/tmp/ssh-s35koUVDWVEu/agent.9992 > TZ=:/etc/localtime > USER= > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-Innova:/etc/xdg > XDG_CURRENT_DESKTOP=Innova > XDG_DATA_DIRS=/usr/share/Innova:/usr/local/share/:/usr/share/ > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_DESKTOP=Innova > XDG_SESSION_ID=c4 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Thu Mar 31 18:30:59 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 31 Mar 2016 18:30:59 +0200 Subject: [Gambas-user] languages In-Reply-To: <56FD4DFA.6050307@...3591...> References: <56FD4DFA.6050307@...3591...> Message-ID: <56FD50C3.9080804@...1...> Le 31/03/2016 18:19, Dag Jarle Nerland Johansen a ?crit : > hello Benoit > > it is a big pity that people are using very much their native languages > in the forums. if i try to get simple examples (and i mean simple), the > are mostly in french or spanish, so i cannot understand the > explanations. f.exs. the printer example goes over my horizon, perhaps i > get silly on my old days. the same for report. i just want to print a > pure textfile, and have no chanse zo achive that with the samples on the > softwarefarm. i struggled now since 2 days and give it up. > > sorry to say, the structures are not to overlook for me, where to find > what. > i am and old-fashioned line-by-line programmer, understand of course > event-programming. but many of the properties are explained so poor - > the say nothing at all. many times only one line, where are useful > examples? not page by page, only one simple example to describe the > function. not everyone is, like you, capebal to write an compiler. > feeling lost. > > kind regards > Dag > The "Printing" example project is in english, but it has no comment inside. Does it help you anyway? What don't you understand? In Gambas 3 (copying the way GTK+ and QT actually work), the Printer is an object that raise an event before printing ('Begin' event), one for each page that must be printed ('Draw' event) and an event when everything is finished ('End' event). But it can't know how many pages to print by itself, so you have to tell it in the 'Count' property during the 'Begin' event. Then, if you event a clean text print, it's no so simple, as you have to layout your text carefully before printing to know how many pages you have to print. Finally, actually starting all that process is done by calling the 'Print' method on the Printer object. To see what I mean, just run the 'Printing' example step by step using the debugger. Regards, -- Beno?t Minisini From dag at ...3591... Thu Mar 31 18:54:04 2016 From: dag at ...3591... (Dag Jarle Nerland Johansen) Date: Thu, 31 Mar 2016 18:54:04 +0200 Subject: [Gambas-user] languages In-Reply-To: <56FD50C3.9080804@...1...> References: <56FD4DFA.6050307@...3591...> <56FD50C3.9080804@...1...> Message-ID: <56FD562C.3010307@...3591...> hello Benoit I looked at it. and now I now what is wrong, say know what i do ot really understand. the text molly-mallone seems to me like normal utf-8, describing a html. I just changed in load to a text which i generated from my programm. pure text what happens, is: i get a lot of %, f.exs. %253. did i save in the wrong format? in gedit it is normal. execpt another file i did not change anyting in the programm for me this looks like a newbie mistake... (i am) kind regards Dag Am 31.03.2016 um 18:30 schrieb Beno?t Minisini: > Le 31/03/2016 18:19, Dag Jarle Nerland Johansen a ?crit : >> hello Benoit >> >> it is a big pity that people are using very much their native languages >> in the forums. if i try to get simple examples (and i mean simple), the >> are mostly in french or spanish, so i cannot understand the >> explanations. f.exs. the printer example goes over my horizon, perhaps i >> get silly on my old days. the same for report. i just want to print a >> pure textfile, and have no chanse zo achive that with the samples on the >> softwarefarm. i struggled now since 2 days and give it up. >> >> sorry to say, the structures are not to overlook for me, where to find >> what. >> i am and old-fashioned line-by-line programmer, understand of course >> event-programming. but many of the properties are explained so poor - >> the say nothing at all. many times only one line, where are useful >> examples? not page by page, only one simple example to describe the >> function. not everyone is, like you, capebal to write an compiler. >> feeling lost. >> >> kind regards >> Dag >> > > The "Printing" example project is in english, but it has no comment > inside. Does it help you anyway? What don't you understand? > > In Gambas 3 (copying the way GTK+ and QT actually work), the Printer > is an object that raise an event before printing ('Begin' event), one > for each page that must be printed ('Draw' event) and an event when > everything is finished ('End' event). > > But it can't know how many pages to print by itself, so you have to > tell it in the 'Count' property during the 'Begin' event. > > Then, if you event a clean text print, it's no so simple, as you have > to layout your text carefully before printing to know how many pages > you have to print. > > Finally, actually starting all that process is done by calling the > 'Print' method on the Printer object. > > To see what I mean, just run the 'Printing' example step by step using > the debugger. > > Regards, > From dag at ...3591... Thu Mar 31 18:37:40 2016 From: dag at ...3591... (Dag Jarle Nerland Johansen) Date: Thu, 31 Mar 2016 18:37:40 +0200 Subject: [Gambas-user] languages In-Reply-To: <56FD50C3.9080804@...1...> References: <56FD4DFA.6050307@...3591...> <56FD50C3.9080804@...1...> Message-ID: <56FD5254.1080002@...3591...> wow, Benoit thank you for your very fast answer, i am impressed. i will do as you told me. i am sorry, but i am very impatient, for all with my self about the languages: surely not your fault, or anyone in the team. and not your fault that so many spanish like Gambas, in fact i find it good. i will give you (a short) message when i am through. kind regards Dag Am 31.03.2016 um 18:30 schrieb Beno?t Minisini: > Le 31/03/2016 18:19, Dag Jarle Nerland Johansen a ?crit : >> hello Benoit >> >> it is a big pity that people are using very much their native languages >> in the forums. if i try to get simple examples (and i mean simple), the >> are mostly in french or spanish, so i cannot understand the >> explanations. f.exs. the printer example goes over my horizon, perhaps i >> get silly on my old days. the same for report. i just want to print a >> pure textfile, and have no chanse zo achive that with the samples on the >> softwarefarm. i struggled now since 2 days and give it up. >> >> sorry to say, the structures are not to overlook for me, where to find >> what. >> i am and old-fashioned line-by-line programmer, understand of course >> event-programming. but many of the properties are explained so poor - >> the say nothing at all. many times only one line, where are useful >> examples? not page by page, only one simple example to describe the >> function. not everyone is, like you, capebal to write an compiler. >> feeling lost. >> >> kind regards >> Dag >> > > The "Printing" example project is in english, but it has no comment > inside. Does it help you anyway? What don't you understand? > > In Gambas 3 (copying the way GTK+ and QT actually work), the Printer > is an object that raise an event before printing ('Begin' event), one > for each page that must be printed ('Draw' event) and an event when > everything is finished ('End' event). > > But it can't know how many pages to print by itself, so you have to > tell it in the 'Count' property during the 'Begin' event. > > Then, if you event a clean text print, it's no so simple, as you have > to layout your text carefully before printing to know how many pages > you have to print. > > Finally, actually starting all that process is done by calling the > 'Print' method on the Printer object. > > To see what I mean, just run the 'Printing' example step by step using > the debugger. > > Regards, > From dag at ...3591... Thu Mar 31 19:11:58 2016 From: dag at ...3591... (Dag Jarle Nerland Johansen) Date: Thu, 31 Mar 2016 19:11:58 +0200 Subject: [Gambas-user] languages In-Reply-To: <56FD50C3.9080804@...1...> References: <56FD4DFA.6050307@...3591...> <56FD50C3.9080804@...1...> Message-ID: <56FD5A5E.3030604@...3591...> hello again i hope last time as i can see now, it sould be a html-file but why do i have to write out my data in html-format for a simple print? kind regards Dag Am 31.03.2016 um 18:30 schrieb Beno?t Minisini: > Le 31/03/2016 18:19, Dag Jarle Nerland Johansen a ?crit : >> hello Benoit >> >> it is a big pity that people are using very much their native languages >> in the forums. if i try to get simple examples (and i mean simple), the >> are mostly in french or spanish, so i cannot understand the >> explanations. f.exs. the printer example goes over my horizon, perhaps i >> get silly on my old days. the same for report. i just want to print a >> pure textfile, and have no chanse zo achive that with the samples on the >> softwarefarm. i struggled now since 2 days and give it up. >> >> sorry to say, the structures are not to overlook for me, where to find >> what. >> i am and old-fashioned line-by-line programmer, understand of course >> event-programming. but many of the properties are explained so poor - >> the say nothing at all. many times only one line, where are useful >> examples? not page by page, only one simple example to describe the >> function. not everyone is, like you, capebal to write an compiler. >> feeling lost. >> >> kind regards >> Dag >> > > The "Printing" example project is in english, but it has no comment > inside. Does it help you anyway? What don't you understand? > > In Gambas 3 (copying the way GTK+ and QT actually work), the Printer > is an object that raise an event before printing ('Begin' event), one > for each page that must be printed ('Draw' event) and an event when > everything is finished ('End' event). > > But it can't know how many pages to print by itself, so you have to > tell it in the 'Count' property during the 'Begin' event. > > Then, if you event a clean text print, it's no so simple, as you have > to layout your text carefully before printing to know how many pages > you have to print. > > Finally, actually starting all that process is done by calling the > 'Print' method on the Printer object. > > To see what I mean, just run the 'Printing' example step by step using > the debugger. > > Regards, > From gambas at ...1... Thu Mar 31 19:26:33 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 31 Mar 2016 19:26:33 +0200 Subject: [Gambas-user] languages In-Reply-To: <56FD5A5E.3030604@...3591...> References: <56FD4DFA.6050307@...3591...> <56FD50C3.9080804@...1...> <56FD5A5E.3030604@...3591...> Message-ID: <56FD5DC9.6020202@...1...> Le 31/03/2016 19:11, Dag Jarle Nerland Johansen a ?crit : > hello again > > i hope last time > as i can see now, it sould be a html-file > but why do i have to write out my data in html-format for a simple print? > > kind regards > Dag > It's not HTML, it's Gambas rich text. So the drawing function is Paint.DrawRichText(). If you want to draw text, you have to use Paint.DrawText(). Anyway, it's up to you to layout your text (using different fonts, different sizes, different alignments...). -- Beno?t Minisini From moviga at ...3488... Thu Mar 31 19:29:00 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 31 Mar 2016 19:29:00 +0200 Subject: [Gambas-user] languages In-Reply-To: <56FD5254.1080002@...3591...> References: <56FD4DFA.6050307@...3591...> <56FD50C3.9080804@...1...> <56FD5254.1080002@...3591...> Message-ID: Nei, s? kult med en nordmann?? om bord :D From dag at ...3591... Thu Mar 31 19:52:02 2016 From: dag at ...3591... (Dag Jarle Nerland Johansen) Date: Thu, 31 Mar 2016 19:52:02 +0200 Subject: [Gambas-user] languages In-Reply-To: <56FD50C3.9080804@...1...> References: <56FD4DFA.6050307@...3591...> <56FD50C3.9080804@...1...> Message-ID: <56FD63C2.8030405@...3591...> hello Benoit i got it kind regards Dag Am 31.03.2016 um 18:30 schrieb Beno?t Minisini: > Le 31/03/2016 18:19, Dag Jarle Nerland Johansen a ?crit : >> hello Benoit >> >> it is a big pity that people are using very much their native languages >> in the forums. if i try to get simple examples (and i mean simple), the >> are mostly in french or spanish, so i cannot understand the >> explanations. f.exs. the printer example goes over my horizon, perhaps i >> get silly on my old days. the same for report. i just want to print a >> pure textfile, and have no chanse zo achive that with the samples on the >> softwarefarm. i struggled now since 2 days and give it up. >> >> sorry to say, the structures are not to overlook for me, where to find >> what. >> i am and old-fashioned line-by-line programmer, understand of course >> event-programming. but many of the properties are explained so poor - >> the say nothing at all. many times only one line, where are useful >> examples? not page by page, only one simple example to describe the >> function. not everyone is, like you, capebal to write an compiler. >> feeling lost. >> >> kind regards >> Dag >> > > The "Printing" example project is in english, but it has no comment > inside. Does it help you anyway? What don't you understand? > > In Gambas 3 (copying the way GTK+ and QT actually work), the Printer > is an object that raise an event before printing ('Begin' event), one > for each page that must be printed ('Draw' event) and an event when > everything is finished ('End' event). > > But it can't know how many pages to print by itself, so you have to > tell it in the 'Count' property during the 'Begin' event. > > Then, if you event a clean text print, it's no so simple, as you have > to layout your text carefully before printing to know how many pages > you have to print. > > Finally, actually starting all that process is done by calling the > 'Print' method on the Printer object. > > To see what I mean, just run the 'Printing' example step by step using > the debugger. > > Regards, >