Re: [Gambas-user] Fwd: No menus visible Qt5 on Unity

2017-06-29 Thread Benoît Minisini via Gambas-user

Le 29/06/2017 à 09:55, Ian Haywood a écrit :

Running gambas under Qt5 on Ubuntu unity no menus are visible or
accessible (in either the app window or the top bar)

using Qt4 fixes the problem (so does not using Unity!)

Yes this is minor issue, however Qt4 will eventually vanish (it
already has on debian) so will need to be addressed someday.

Ian

Apparently, this is a bug in QT5 that appears only with Unity. Alas I 
didn't find any workaround on Internet. If you find something, tell me!


--
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] any way to convert Result to Collection more faster than copy?

2017-06-29 Thread PICCORO McKAY Lenz
can i convert directly or more faster than copy each row, a Result from
database to a collection or a VArian matrix?

i'm taking about 200.000 rows in a result... the problem its that the odbc
db object support only cursor with forward only..

so with a matrix or a collection i cant emulate the cursor behaviour

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fwd: No menus visible Qt5 on Unity

2017-06-29 Thread Gianluigi
Sorry, I did not see the picture

Regards
Gianluigi

2017-06-29 19:37 GMT+02:00 Gianluigi :

> Sigh! I like Unity :-(
>
> Hi Ian,
>
> if you use gb.gui.qt component, menus works?
>
> Regards
> Gianluigi
>
> 2017-06-29 13:32 GMT+02:00 Fabien Bodard :
>
>> unity will vanish too :-)
>>
>> 2017-06-29 9:55 GMT+02:00 Ian Haywood :
>> > Running gambas under Qt5 on Ubuntu unity no menus are visible or
>> > accessible (in either the app window or the top bar)
>> >
>> > using Qt4 fixes the problem (so does not using Unity!)
>> >
>> > Yes this is minor issue, however Qt4 will eventually vanish (it
>> > already has on debian) so will need to be addressed someday.
>> >
>> > Ian
>> >
>> >
>> > [System]
>> > Gambas=3.9.2
>> > OperatingSystem=Linux
>> > Kernel=4.10.0-19-generic
>> > Architecture=x86_64
>> > Distribution=Ubuntu 17.04
>> > Desktop=UNITY:UNITY7
>> > Theme=Gtk
>> > Language=en_AU.UTF-8
>> > Memory=738M
>> >
>> > [Libraries]
>> > Cairo=libcairo.so.2.11400.8
>> > Curl=libcurl.so.4.4.0
>> > DBus=libdbus-1.so.3.14.7
>> > GStreamer=libgstreamer-1.0.so.0.1004.0
>> > GTK+2=libgtk-x11-2.0.so.0.2400.31
>> > GTK+3=libgtk-3.so.0.2200.11
>> > OpenGL=libGL.so.1.2.0
>> > Poppler=libpoppler.so.64.0.0
>> > QT4=libQtCore.so.4.8.7
>> > QT5=libQt5Core.so.5.7.1
>> > SDL=libSDL-1.2.so.0.11.4
>> > SQLite=libsqlite3.so.0.8.6
>> >
>> > [Environment]
>> > CLUTTER_IM_MODULE=xim
>> > COLORTERM=truecolor
>> > COMPIZ_BIN_PATH=/usr/bin/
>> > COMPIZ_CONFIG_PROFILE=ubuntu-lowgfx
>> > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
>> > DESKTOP_SESSION=ubuntu
>> > DISPLAY=:0
>> > GB_GUI=gb.qt4
>> > GDMSESSION=ubuntu
>> > GDM_LANG=en_AU
>> > GNOME_DESKTOP_SESSION_ID=this-is-deprecated
>> > GTK2_MODULES=overlay-scrollbar
>> > GTK_IM_MODULE=ibus
>> > GTK_MODULES=gail:atk-bridge:unity-gtk-module
>> > HOME=
>> > IM_CONFIG_PHASE=1
>> > INVOCATION_ID=119a5df01dc344e0979a02c98cdf483f
>> > JOURNAL_STREAM=8:21771
>> > LANG=en_AU.UTF-8
>> > LANGUAGE=en_AU:en
>> > LESSCLOSE=/usr/bin/lesspipe %s %s
>> > LESSOPEN=| /usr/bin/lesspipe %s
>> > LIBGL_ALWAYS_SOFTWARE=1
>> > LOGNAME=
>> > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=
>> 01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=
>> 30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;
>> 31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;
>> 31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=
>> 01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;
>> 31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;
>> 31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01
>> ;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=
>> 01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=
>> 01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=
>> 01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.
>> mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=
>> 01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=
>> 01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.
>> svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:
>> *.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=
>> 01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=
>> 01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=
>> 01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=
>> 01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=
>> 01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=
>> 00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.
>> mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*
>> .wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
>> > MANAGERPID=1053
>> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin
>> :/bin:/usr/games:/usr/local/games:/snap/bin
>> > PWD=
>> > QT4_IM_MODULE=xim
>> > QT_ACCESSIBILITY=1
>> > QT_IM_MODULE=ibus
>> > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
>> > SHELL=/bin/bash
>> > SHLVL=2
>> > SSH_AGENT_LAUNCHER=gnome-keyring
>> > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
>> > TERM=xterm-256color
>> > TZ=:/etc/localtime
>> > USER=
>> > VTE_VERSION=4402
>> > WINDOWID=46154159
>> > XAUTHORITY=/.Xauthority
>> > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
>> > XDG_CURRENT_DESKTOP=Unity:Unity7
>> > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share
>> /:/var/lib/snapd/desktop
>> > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
>> > XDG_RUNTIME_DIR=/run/user/1000
>> > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
>> > XDG_SESSION_DESKTOP=ubuntu
>> > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
>> > XDG_SESSION_TYPE=x11
>> > XMODIFIERS=@im=ibus
>> > _=/usr/bin/gambas3
>> >
>> > 
>> --
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > ___
>> > 

Re: [Gambas-user] Fwd: No menus visible Qt5 on Unity

2017-06-29 Thread Gianluigi
Sigh! I like Unity :-(

Hi Ian,

if you use gb.gui.qt component, menus works?

Regards
Gianluigi

2017-06-29 13:32 GMT+02:00 Fabien Bodard :

> unity will vanish too :-)
>
> 2017-06-29 9:55 GMT+02:00 Ian Haywood :
> > Running gambas under Qt5 on Ubuntu unity no menus are visible or
> > accessible (in either the app window or the top bar)
> >
> > using Qt4 fixes the problem (so does not using Unity!)
> >
> > Yes this is minor issue, however Qt4 will eventually vanish (it
> > already has on debian) so will need to be addressed someday.
> >
> > Ian
> >
> >
> > [System]
> > Gambas=3.9.2
> > OperatingSystem=Linux
> > Kernel=4.10.0-19-generic
> > Architecture=x86_64
> > Distribution=Ubuntu 17.04
> > Desktop=UNITY:UNITY7
> > Theme=Gtk
> > Language=en_AU.UTF-8
> > Memory=738M
> >
> > [Libraries]
> > Cairo=libcairo.so.2.11400.8
> > Curl=libcurl.so.4.4.0
> > DBus=libdbus-1.so.3.14.7
> > GStreamer=libgstreamer-1.0.so.0.1004.0
> > GTK+2=libgtk-x11-2.0.so.0.2400.31
> > GTK+3=libgtk-3.so.0.2200.11
> > OpenGL=libGL.so.1.2.0
> > Poppler=libpoppler.so.64.0.0
> > QT4=libQtCore.so.4.8.7
> > QT5=libQt5Core.so.5.7.1
> > SDL=libSDL-1.2.so.0.11.4
> > SQLite=libsqlite3.so.0.8.6
> >
> > [Environment]
> > CLUTTER_IM_MODULE=xim
> > COLORTERM=truecolor
> > COMPIZ_BIN_PATH=/usr/bin/
> > COMPIZ_CONFIG_PROFILE=ubuntu-lowgfx
> > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> > DESKTOP_SESSION=ubuntu
> > DISPLAY=:0
> > GB_GUI=gb.qt4
> > GDMSESSION=ubuntu
> > GDM_LANG=en_AU
> > GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> > GTK2_MODULES=overlay-scrollbar
> > GTK_IM_MODULE=ibus
> > GTK_MODULES=gail:atk-bridge:unity-gtk-module
> > HOME=
> > IM_CONFIG_PHASE=1
> > INVOCATION_ID=119a5df01dc344e0979a02c98cdf483f
> > JOURNAL_STREAM=8:21771
> > LANG=en_AU.UTF-8
> > LANGUAGE=en_AU:en
> > LESSCLOSE=/usr/bin/lesspipe %s %s
> > LESSOPEN=| /usr/bin/lesspipe %s
> > LIBGL_ALWAYS_SOFTWARE=1
> > LOGNAME=
> > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=
> 01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=
> 30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;
> 31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=
> 01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.
> txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.
> Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=
> 01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=
> 01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.
> rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:
> *.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;
> 31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=
> 01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.
> pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:
> *.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=
> 01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.
> mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;
> 35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=
> 01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=
> 01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.
> flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.
> yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:
> *.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:
> *.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=
> 00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=
> 00;36:*.xspf=00;36:
> > MANAGERPID=1053
> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/
> sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> > PWD=
> > QT4_IM_MODULE=xim
> > QT_ACCESSIBILITY=1
> > QT_IM_MODULE=ibus
> > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> > SHELL=/bin/bash
> > SHLVL=2
> > SSH_AGENT_LAUNCHER=gnome-keyring
> > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> > TERM=xterm-256color
> > TZ=:/etc/localtime
> > USER=
> > VTE_VERSION=4402
> > WINDOWID=46154159
> > XAUTHORITY=/.Xauthority
> > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
> > XDG_CURRENT_DESKTOP=Unity:Unity7
> > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/
> share/:/var/lib/snapd/desktop
> > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
> > XDG_RUNTIME_DIR=/run/user/1000
> > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> > XDG_SESSION_DESKTOP=ubuntu
> > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> > XDG_SESSION_TYPE=x11
> > XMODIFIERS=@im=ibus
> > _=/usr/bin/gambas3
> >
> > 
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Fabien Bodard
>
> 
> --
> Check out the vibrant 

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread PICCORO McKAY Lenz
its there any possibility to override the .text to handle from .richtext ?

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-06-29 12:21 GMT-04:00 PICCORO McKAY Lenz :

> gr that's wiki link its different from http://gambaswiki.org/
> wiki/comp/gb.qt4/gridview damn
>
> ok thanks ...
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2017-06-29 11:03 GMT-04:00 adamn...@gmail.com :
>
>>
>>
>> On Thu, 29 Jun 2017 09:43:04 -0400
>> PICCORO McKAY Lenz  wrote:
>>
>> > hi Jorge, i already know why the usage of the richtext in the pagegrid..
>> > the question are why when i access to .text got nothing.. i modified the
>> > code to set both: .richtext content and .text content.. but only the
>> > richtext content are got ...
>> >
>> > Lenz McKAY Gerardo (PICCORO)
>> > http://qgqlochekone.blogspot.com
>> >
>> > 2017-06-29 4:42 GMT-04:00 Jorge Carrión :
>> >
>> > > I wrote that software. It is available in the Farm with the name of
>> > > pageGrid.
>> > > The Richtext property is used because the control allows the rows to
>> be
>> > > automatically set according to the length of their content and the
>> > > available column width (control's wordWrap property), and that can
>> only be
>> > > calculated using RichText.
>> > > The function that do this is in pGrid class:
>> > >
>> > > Public Sub calcHeights()
>> > >
>> > >   Dim n, i, f As Integer
>> > >
>> > >   For n = 0 To Me.Rows.Max
>> > > If Me.Rows[n].Height <> Me.Rows.Height Then
>> > >   Me.Rows[n].Height = Me.Rows.Height
>> > >   f = 0
>> > >   For i = 0 To Me.Columns.Max
>> > >  f = Max(f, Me[n, i].Font.RichTextHeight(Me[n, i].RichText,
>> > > Me.Columns[i].width))
>> > >   Next
>> > >   Me.Rows[n].Height = f + (Me.Rows.Height - Me.Font.Height - 1)
>> > > Endif
>> > >   Next
>> > >
>> > > End
>> > >
>> > > As you can see, with text property of gridCells it's impossible to do
>> this.
>> > >
>> > > Best Regars.
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > 2017-06-29 0:14 GMT+02:00 PICCORO McKAY Lenz > >:
>> > >
>> > > > no no, i mean that i want to use the .text only but does not got any
>> > > here,
>> > > > only by using .richtext.. ...
>> > > >
>> > > > Lenz McKAY Gerardo (PICCORO)
>> > > > http://qgqlochekone.blogspot.com
>> > > >
>> > > > 2017-06-28 14:05 GMT-04:00 Charlie :
>> > > >
>> > > > > OK sorry I deleted that post once I reread your post.
>> > > > >
>> > > > > Have a look at this solution
>> > > > >
>> > > > > GUITest.tar > com/file/n59571/GUITest.tar>
>> > > > >
>> > > > >
>> > > > >
>> > > > > -
>> > > > > Check out www.gambas.one
>> > > > > --
>> > > > > View this message in context: http://gambas.8142.n7.nabble.
>> > > > > com/gridview-contents-x-y-are-default-richtext-or-text-
>> > > > tp59568p59571.html
>> > > > > Sent from the gambas-user mailing list archive at Nabble.com.
>> > > > >
>> > > > > 
>> > > > > --
>> > > > > Check out the vibrant tech community on one of the world's most
>> > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > > > > ___
>> > > > > Gambas-user mailing list
>> > > > > Gambas-user@lists.sourceforge.net
>> > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> > > > >
>> > > > 
>> > > > --
>> > > > Check out the vibrant tech community on one of the world's most
>> > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > > > ___
>> > > > Gambas-user mailing list
>> > > > Gambas-user@lists.sourceforge.net
>> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> > > >
>> > > 
>> > > --
>> > > Check out the vibrant tech community on one of the world's most
>> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > > ___
>> > > Gambas-user mailing list
>> > > Gambas-user@lists.sourceforge.net
>> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> > >
>> > 
>> --
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > ___
>> > Gambas-user mailing list
>> > Gambas-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>> --
>> B Bruen 
>>
>> 
>> --
>> Check out the vibrant tech community on one of the 

Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread PICCORO McKAY Lenz
gr that's wiki link its different from
http://gambaswiki.org/wiki/comp/gb.qt4/gridview damn

ok thanks ...

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-06-29 11:03 GMT-04:00 adamn...@gmail.com :

>
>
> On Thu, 29 Jun 2017 09:43:04 -0400
> PICCORO McKAY Lenz  wrote:
>
> > hi Jorge, i already know why the usage of the richtext in the pagegrid..
> > the question are why when i access to .text got nothing.. i modified the
> > code to set both: .richtext content and .text content.. but only the
> > richtext content are got ...
> >
> > Lenz McKAY Gerardo (PICCORO)
> > http://qgqlochekone.blogspot.com
> >
> > 2017-06-29 4:42 GMT-04:00 Jorge Carrión :
> >
> > > I wrote that software. It is available in the Farm with the name of
> > > pageGrid.
> > > The Richtext property is used because the control allows the rows to be
> > > automatically set according to the length of their content and the
> > > available column width (control's wordWrap property), and that can
> only be
> > > calculated using RichText.
> > > The function that do this is in pGrid class:
> > >
> > > Public Sub calcHeights()
> > >
> > >   Dim n, i, f As Integer
> > >
> > >   For n = 0 To Me.Rows.Max
> > > If Me.Rows[n].Height <> Me.Rows.Height Then
> > >   Me.Rows[n].Height = Me.Rows.Height
> > >   f = 0
> > >   For i = 0 To Me.Columns.Max
> > >  f = Max(f, Me[n, i].Font.RichTextHeight(Me[n, i].RichText,
> > > Me.Columns[i].width))
> > >   Next
> > >   Me.Rows[n].Height = f + (Me.Rows.Height - Me.Font.Height - 1)
> > > Endif
> > >   Next
> > >
> > > End
> > >
> > > As you can see, with text property of gridCells it's impossible to do
> this.
> > >
> > > Best Regars.
> > >
> > >
> > >
> > >
> > >
> > > 2017-06-29 0:14 GMT+02:00 PICCORO McKAY Lenz :
> > >
> > > > no no, i mean that i want to use the .text only but does not got any
> > > here,
> > > > only by using .richtext.. ...
> > > >
> > > > Lenz McKAY Gerardo (PICCORO)
> > > > http://qgqlochekone.blogspot.com
> > > >
> > > > 2017-06-28 14:05 GMT-04:00 Charlie :
> > > >
> > > > > OK sorry I deleted that post once I reread your post.
> > > > >
> > > > > Have a look at this solution
> > > > >
> > > > > GUITest.tar  com/file/n59571/GUITest.tar>
> > > > >
> > > > >
> > > > >
> > > > > -
> > > > > Check out www.gambas.one
> > > > > --
> > > > > View this message in context: http://gambas.8142.n7.nabble.
> > > > > com/gridview-contents-x-y-are-default-richtext-or-text-
> > > > tp59568p59571.html
> > > > > Sent from the gambas-user mailing list archive at Nabble.com.
> > > > >
> > > > > 
> > > > > --
> > > > > Check out the vibrant tech community on one of the world's most
> > > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > > > ___
> > > > > Gambas-user mailing list
> > > > > Gambas-user@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > > >
> > > > 
> > > > --
> > > > Check out the vibrant tech community on one of the world's most
> > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > > ___
> > > > Gambas-user mailing list
> > > > Gambas-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >
> > > 
> > > --
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > ___
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > 
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> --
> B Bruen 
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Check out the vibrant tech 

[Gambas-user] Wiki doc "how to make library" Espanish/español actualizada

2017-06-29 Thread PICCORO McKAY Lenz
Hi everywell, i'll watch the changes on the main gambas library wiki and
tracked all to the spanish version..

http://gambaswiki.org/wiki/doc/library?l=es

the last two topics are not yet completed due at that moment was'n
completed in the english part.

please revise and post feedback,

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread adamn...@gmail.com


On Thu, 29 Jun 2017 09:43:04 -0400
PICCORO McKAY Lenz  wrote:

> hi Jorge, i already know why the usage of the richtext in the pagegrid..
> the question are why when i access to .text got nothing.. i modified the
> code to set both: .richtext content and .text content.. but only the
> richtext content are got ...
> 
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
> 
> 2017-06-29 4:42 GMT-04:00 Jorge Carrión :
> 
> > I wrote that software. It is available in the Farm with the name of
> > pageGrid.
> > The Richtext property is used because the control allows the rows to be
> > automatically set according to the length of their content and the
> > available column width (control's wordWrap property), and that can only be
> > calculated using RichText.
> > The function that do this is in pGrid class:
> >
> > Public Sub calcHeights()
> >
> >   Dim n, i, f As Integer
> >
> >   For n = 0 To Me.Rows.Max
> > If Me.Rows[n].Height <> Me.Rows.Height Then
> >   Me.Rows[n].Height = Me.Rows.Height
> >   f = 0
> >   For i = 0 To Me.Columns.Max
> >  f = Max(f, Me[n, i].Font.RichTextHeight(Me[n, i].RichText,
> > Me.Columns[i].width))
> >   Next
> >   Me.Rows[n].Height = f + (Me.Rows.Height - Me.Font.Height - 1)
> > Endif
> >   Next
> >
> > End
> >
> > As you can see, with text property of gridCells it's impossible to do this.
> >
> > Best Regars.
> >
> >
> >
> >
> >
> > 2017-06-29 0:14 GMT+02:00 PICCORO McKAY Lenz :
> >
> > > no no, i mean that i want to use the .text only but does not got any
> > here,
> > > only by using .richtext.. ...
> > >
> > > Lenz McKAY Gerardo (PICCORO)
> > > http://qgqlochekone.blogspot.com
> > >
> > > 2017-06-28 14:05 GMT-04:00 Charlie :
> > >
> > > > OK sorry I deleted that post once I reread your post.
> > > >
> > > > Have a look at this solution
> > > >
> > > > GUITest.tar 
> > > >
> > > >
> > > >
> > > > -
> > > > Check out www.gambas.one
> > > > --
> > > > View this message in context: http://gambas.8142.n7.nabble.
> > > > com/gridview-contents-x-y-are-default-richtext-or-text-
> > > tp59568p59571.html
> > > > Sent from the gambas-user mailing list archive at Nabble.com.
> > > >
> > > > 
> > > > --
> > > > Check out the vibrant tech community on one of the world's most
> > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > > ___
> > > > Gambas-user mailing list
> > > > Gambas-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >
> > > 
> > > --
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > ___
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


-- 
B Bruen 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread PICCORO McKAY Lenz
hi Jorge, i already know why the usage of the richtext in the pagegrid..
the question are why when i access to .text got nothing.. i modified the
code to set both: .richtext content and .text content.. but only the
richtext content are got ...

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-06-29 4:42 GMT-04:00 Jorge Carrión :

> I wrote that software. It is available in the Farm with the name of
> pageGrid.
> The Richtext property is used because the control allows the rows to be
> automatically set according to the length of their content and the
> available column width (control's wordWrap property), and that can only be
> calculated using RichText.
> The function that do this is in pGrid class:
>
> Public Sub calcHeights()
>
>   Dim n, i, f As Integer
>
>   For n = 0 To Me.Rows.Max
> If Me.Rows[n].Height <> Me.Rows.Height Then
>   Me.Rows[n].Height = Me.Rows.Height
>   f = 0
>   For i = 0 To Me.Columns.Max
>  f = Max(f, Me[n, i].Font.RichTextHeight(Me[n, i].RichText,
> Me.Columns[i].width))
>   Next
>   Me.Rows[n].Height = f + (Me.Rows.Height - Me.Font.Height - 1)
> Endif
>   Next
>
> End
>
> As you can see, with text property of gridCells it's impossible to do this.
>
> Best Regars.
>
>
>
>
>
> 2017-06-29 0:14 GMT+02:00 PICCORO McKAY Lenz :
>
> > no no, i mean that i want to use the .text only but does not got any
> here,
> > only by using .richtext.. ...
> >
> > Lenz McKAY Gerardo (PICCORO)
> > http://qgqlochekone.blogspot.com
> >
> > 2017-06-28 14:05 GMT-04:00 Charlie :
> >
> > > OK sorry I deleted that post once I reread your post.
> > >
> > > Have a look at this solution
> > >
> > > GUITest.tar 
> > >
> > >
> > >
> > > -
> > > Check out www.gambas.one
> > > --
> > > View this message in context: http://gambas.8142.n7.nabble.
> > > com/gridview-contents-x-y-are-default-richtext-or-text-
> > tp59568p59571.html
> > > Sent from the gambas-user mailing list archive at Nabble.com.
> > >
> > > 
> > > --
> > > Check out the vibrant tech community on one of the world's most
> > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > > ___
> > > Gambas-user mailing list
> > > Gambas-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fwd: No menus visible Qt5 on Unity

2017-06-29 Thread PICCORO McKAY Lenz
well its a unitty problem i think.. respect qt5.. dues only happened in
unitty, so how many distros uses unity?

and :
>Yes this is minor issue, however Qt4 will eventually vanish (it

unity was not get any support form canonical, now are by own.. so recent
version of winbuntu does not use it!

as Fabien said: unity ITS vanished in esential... (thaniks god and aliens
for that)

and:
>Qt4 will eventually vanish (it
ar i really hate QT5 ... too ram consuption! too CPU power
requirements, too many space requirements



Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-06-29 3:55 GMT-04:00 Ian Haywood :

> Running gambas under Qt5 on Ubuntu unity no menus are visible or
> accessible (in either the app window or the top bar)
>
> using Qt4 fixes the problem (so does not using Unity!)
>
> Yes this is minor issue, however Qt4 will eventually vanish (it
> already has on debian) so will need to be addressed someday.
>
> Ian
>
>
> [System]
> Gambas=3.9.2
> OperatingSystem=Linux
> Kernel=4.10.0-19-generic
> Architecture=x86_64
> Distribution=Ubuntu 17.04
> Desktop=UNITY:UNITY7
> Theme=Gtk
> Language=en_AU.UTF-8
> Memory=738M
>
> [Libraries]
> Cairo=libcairo.so.2.11400.8
> Curl=libcurl.so.4.4.0
> DBus=libdbus-1.so.3.14.7
> GStreamer=libgstreamer-1.0.so.0.1004.0
> GTK+2=libgtk-x11-2.0.so.0.2400.31
> GTK+3=libgtk-3.so.0.2200.11
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.64.0.0
> QT4=libQtCore.so.4.8.7
> QT5=libQt5Core.so.5.7.1
> SDL=libSDL-1.2.so.0.11.4
> SQLite=libsqlite3.so.0.8.6
>
> [Environment]
> CLUTTER_IM_MODULE=xim
> COLORTERM=truecolor
> COMPIZ_BIN_PATH=/usr/bin/
> COMPIZ_CONFIG_PROFILE=ubuntu-lowgfx
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> DESKTOP_SESSION=ubuntu
> DISPLAY=:0
> GB_GUI=gb.qt4
> GDMSESSION=ubuntu
> GDM_LANG=en_AU
> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> GTK2_MODULES=overlay-scrollbar
> GTK_IM_MODULE=ibus
> GTK_MODULES=gail:atk-bridge:unity-gtk-module
> HOME=
> IM_CONFIG_PHASE=1
> INVOCATION_ID=119a5df01dc344e0979a02c98cdf483f
> JOURNAL_STREAM=8:21771
> LANG=en_AU.UTF-8
> LANGUAGE=en_AU:en
> LESSCLOSE=/usr/bin/lesspipe %s %s
> LESSOPEN=| /usr/bin/lesspipe %s
> LIBGL_ALWAYS_SOFTWARE=1
> LOGNAME=
> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=
> 01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=
> 30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;
> 31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=
> 01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.
> txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.
> Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=
> 01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=
> 01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.
> rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:
> *.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;
> 31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=
> 01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.
> pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:
> *.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=
> 01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.
> mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;
> 35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=
> 01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=
> 01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.
> flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.
> yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:
> *.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:
> *.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=
> 00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=
> 00;36:*.xspf=00;36:
> MANAGERPID=1053
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/
> sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> PWD=
> QT4_IM_MODULE=xim
> QT_ACCESSIBILITY=1
> QT_IM_MODULE=ibus
> QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> SHELL=/bin/bash
> SHLVL=2
> SSH_AGENT_LAUNCHER=gnome-keyring
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> TERM=xterm-256color
> TZ=:/etc/localtime
> USER=
> VTE_VERSION=4402
> WINDOWID=46154159
> XAUTHORITY=/.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
> XDG_CURRENT_DESKTOP=Unity:Unity7
> XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/
> share/:/var/lib/snapd/desktop
> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_DESKTOP=ubuntu
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_SESSION_TYPE=x11
> XMODIFIERS=@im=ibus
> _=/usr/bin/gambas3
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net

Re: [Gambas-user] Fwd: No menus visible Qt5 on Unity

2017-06-29 Thread Fabien Bodard
unity will vanish too :-)

2017-06-29 9:55 GMT+02:00 Ian Haywood :
> Running gambas under Qt5 on Ubuntu unity no menus are visible or
> accessible (in either the app window or the top bar)
>
> using Qt4 fixes the problem (so does not using Unity!)
>
> Yes this is minor issue, however Qt4 will eventually vanish (it
> already has on debian) so will need to be addressed someday.
>
> Ian
>
>
> [System]
> Gambas=3.9.2
> OperatingSystem=Linux
> Kernel=4.10.0-19-generic
> Architecture=x86_64
> Distribution=Ubuntu 17.04
> Desktop=UNITY:UNITY7
> Theme=Gtk
> Language=en_AU.UTF-8
> Memory=738M
>
> [Libraries]
> Cairo=libcairo.so.2.11400.8
> Curl=libcurl.so.4.4.0
> DBus=libdbus-1.so.3.14.7
> GStreamer=libgstreamer-1.0.so.0.1004.0
> GTK+2=libgtk-x11-2.0.so.0.2400.31
> GTK+3=libgtk-3.so.0.2200.11
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.64.0.0
> QT4=libQtCore.so.4.8.7
> QT5=libQt5Core.so.5.7.1
> SDL=libSDL-1.2.so.0.11.4
> SQLite=libsqlite3.so.0.8.6
>
> [Environment]
> CLUTTER_IM_MODULE=xim
> COLORTERM=truecolor
> COMPIZ_BIN_PATH=/usr/bin/
> COMPIZ_CONFIG_PROFILE=ubuntu-lowgfx
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> DESKTOP_SESSION=ubuntu
> DISPLAY=:0
> GB_GUI=gb.qt4
> GDMSESSION=ubuntu
> GDM_LANG=en_AU
> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> GTK2_MODULES=overlay-scrollbar
> GTK_IM_MODULE=ibus
> GTK_MODULES=gail:atk-bridge:unity-gtk-module
> HOME=
> IM_CONFIG_PHASE=1
> INVOCATION_ID=119a5df01dc344e0979a02c98cdf483f
> JOURNAL_STREAM=8:21771
> LANG=en_AU.UTF-8
> LANGUAGE=en_AU:en
> LESSCLOSE=/usr/bin/lesspipe %s %s
> LESSOPEN=| /usr/bin/lesspipe %s
> LIBGL_ALWAYS_SOFTWARE=1
> LOGNAME=
> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;
 
35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
> MANAGERPID=1053
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
> PWD=
> QT4_IM_MODULE=xim
> QT_ACCESSIBILITY=1
> QT_IM_MODULE=ibus
> QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> SHELL=/bin/bash
> SHLVL=2
> SSH_AGENT_LAUNCHER=gnome-keyring
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> TERM=xterm-256color
> TZ=:/etc/localtime
> USER=
> VTE_VERSION=4402
> WINDOWID=46154159
> XAUTHORITY=/.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
> XDG_CURRENT_DESKTOP=Unity:Unity7
> XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_DESKTOP=ubuntu
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_SESSION_TYPE=x11
> XMODIFIERS=@im=ibus
> _=/usr/bin/gambas3
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1125: Editor not available in gb.qt5.ext

2017-06-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1125=L21haW4-

Ian HAYWOOD reported a new bug.

Summary
---

Editor not available in gb.qt5.ext

Type : Request
Priority : Low
Gambas version   : 3.9.90 (TRUNK)
Product  : QT5 component


Description
---

The Editor widget is available in gb.qt4 ext but is not available in gb.qt5.ext.
The code needs to be ported to Qt5 from the Qt4 APis, specifcally classes like 
Q3ScroolView which are not available in Qt 5.





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview contents x, y are default richtext or text?

2017-06-29 Thread Jorge Carrión
I wrote that software. It is available in the Farm with the name of
pageGrid.
The Richtext property is used because the control allows the rows to be
automatically set according to the length of their content and the
available column width (control's wordWrap property), and that can only be
calculated using RichText.
The function that do this is in pGrid class:

Public Sub calcHeights()

  Dim n, i, f As Integer

  For n = 0 To Me.Rows.Max
If Me.Rows[n].Height <> Me.Rows.Height Then
  Me.Rows[n].Height = Me.Rows.Height
  f = 0
  For i = 0 To Me.Columns.Max
 f = Max(f, Me[n, i].Font.RichTextHeight(Me[n, i].RichText,
Me.Columns[i].width))
  Next
  Me.Rows[n].Height = f + (Me.Rows.Height - Me.Font.Height - 1)
Endif
  Next

End

As you can see, with text property of gridCells it's impossible to do this.

Best Regars.





2017-06-29 0:14 GMT+02:00 PICCORO McKAY Lenz :

> no no, i mean that i want to use the .text only but does not got any here,
> only by using .richtext.. ...
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2017-06-28 14:05 GMT-04:00 Charlie :
>
> > OK sorry I deleted that post once I reread your post.
> >
> > Have a look at this solution
> >
> > GUITest.tar 
> >
> >
> >
> > -
> > Check out www.gambas.one
> > --
> > View this message in context: http://gambas.8142.n7.nabble.
> > com/gridview-contents-x-y-are-default-richtext-or-text-
> tp59568p59571.html
> > Sent from the gambas-user mailing list archive at Nabble.com.
> >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user