Re: [Gambas-user] Can't open Console or Find Results

2023-01-17 Thread Jorge Carrión
I mind the third option of de lower bar. I see it in Spanish, and I've
translate it as "Find Result". I don't know what is the english legend of
that button. Sorry about my poor english.
[image: Captura de pantalla de 2023-01-17 17-40-20.png]
Best regards



El mar, 17 ene 2023 a las 14:47, T Lee Davidson ()
escribió:

> On 1/17/23 07:57, Jorge Carrión wrote:
> > With Gambas 3.18 I can't see the Console, the Notes or the Find Results.
> > All I get with F11 key is a Toggled "Console" button in the Bottom bar of
> > Editor. It's only me or its a bug?
>
> I can toggle Console and Notes normally without issue. I do not see any
> "Find Results".
>
>
> --
> Lee
>
> [System]
> Gambas=3.18
> OperatingSystem=Linux
> Kernel=5.14.21-150400.24.38-default
> Architecture=x86_64
> Distribution=openSUSE Leap 15.4
> Desktop=KDE
> Font=Noto Sans,10
> Scale=7
> Theme=breeze
> Language=en_US.UTF-8
> Memory=15922M
>
>
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Can't open Console or Find Results

2023-01-17 Thread Jorge Carrión
With Gambas 3.18 I can't see the Console, the Notes or the Find Results.
All I get with F11 key is a Toggled "Console" button in the Bottom bar of
Editor. It's only me or its a bug?

My info:
[System]
Gambas=3.18
OperatingSystem=Linux
Kernel=5.15.0-58-generic
Architecture=x86_64
Distribution=Linux Mint 21.1 Vera
Desktop=CINNAMON
Font=Ubuntu,10
Scale=7
Theme=proxy
Language=es_ES.UTF-8
Memory=15827M

[Programs]
gcc=gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
git=git version 2.34.1

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.29
GStreamer=libgstreamer-1.0.so.0.2003.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.29
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.118.0.0
QT5=libQt5Core.so.5.15.3
RSvg=librsvg-2.so.2.48.0
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CINNAMON_VERSION=5.6.7
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=cinnamon
DISPLAY=:0
EDITOR=nano
GB_GUI=gb.qt5
GDMSESSION=cinnamon
GDM_LANG=es_ES
GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=17108
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES=xapp-gtk3-module
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=1
HOME=
LANG=es_ES.UTF-8
LANGUAGE=es_ES.UTF-8
LC_ALL=es_ES.UTF-8
LOGNAME=
PATH=/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=
QT_ACCESSIBILITY=1
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1117,unix/:/tmp/.ICE-unix/1117
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=
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:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/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_CLASS=user
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
force_s3tc_enable=true

___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Custom Control Icon

2019-04-04 Thread Jorge Carrión
Check if the icon is a png and the name is the same of control but in lower
case...

El jue., 4 abr. 2019 a las 11:13, bill-lancaster
() escribió:

> I haven't yet been able to install the control's icon successfully.
> I have installed an icon in the .hidden/control folder of the project but
> the icon shown in collection of controls is a default one with no icon.
> Any advice would be welcome
>
> Kubuntu 18.04
> Gambas 3.12.2
>
>
>
> --
> Sent from: http://gambas.8142.n7.nabble.com/gambas-user-f3.html
>
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About gambas, the word

2017-07-13 Thread Jorge Carrión
It's a joke, I think. Searching for something that contains BAS, from
Basic. Why an animal I don't know. Benoit likes to eat prawns, I soppouse...



Best Regards

2017-07-13 8:37 GMT+02:00 Fernando Cabral :

> *Warning: this is only a linguistic curiosity with no relation to Gambas,
> the language.*
>
> Entirely by chance, I came across the following definition and etymology
> for gambas, the word:
>
>
>
>
>
>
>
>
>
>
> *From Petit Robert 2007: gambasgambas [gɑ̃bas] nom féminin plurielétym.
> répandu v. 1960; catalan gamba, du latin populaire cambarus, classique
> cammarus, du grec kammarosv■ Grosses crevettes comestibles de la
> Méditerranée. Gambas frites (è scampi), grillées. Brochette de gambas.▫
> Rare Une gamba [gɑ̃ba].*
> In Brazil, I never heard the word gamba. I never found it in written text.
> Nevertheless, at least one Brazilian dictionary registers it as a Spanish
> word only recently introduced into Portuguese. So, perhaps it is used in
> Portugal.
>
> Anyway, it is interesting to know that, in the end, it comes from Greek
> "kammaros" that gave us the Portuguese "camarão" and the Italian
> "gamberetto". Nevertheless, at the first sight, it is hard to see that
> "gamba" and "camarão" come from the same Greek word.
>
> --
> Fernando Cabral
> Blogue: http://fernandocabral.org
> Twitter: http://twitter.com/fjcabral
> e-mail: fernandojosecab...@gmail.com
> Facebook: f...@fcabral.com.br
> Telegram: +55 (37) 99988-8868
> Wickr ID: fernandocabral
> WhatsApp: +55 (37) 99988-8868
> Skype:  fernandojosecabral
> Telefone fixo: +55 (37) 3521-2183
> Telefone celular: +55 (37) 99988-8868
>
> Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
> nenhum político ou cientista poderá se gabar de nada.
> 
> --
> 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] 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


Re: [Gambas-user] search over the gridview and not to the database and refill grid its possible?

2017-06-18 Thread Jorge Carrión
"Dress me slowly that I'm on a hurry"...
There is a Copy-Paste bug on the previous attached file.
This on works (I hope).

I forgot to mention that the class has a "Value" property that return a
collection with the selected row texts as values and the columns heads text
as keys.

Best Regards


2017-06-18 11:14 GMT+02:00 Jorge Carrión <sho...@gmail.com>:

> Hey, Piccoro,
> Take a look at this, maybe it will serve or give you some idea of how to
> do it.
> It is a class inheriting from gridView and has a new property called
> source, which can be a two-dimensional array, an array of collections or,
> directly, a Result.
> With this it is conformed a gridView that you can order (click on column
> header) and on which you can do searches and certain level of filtering
> (Shift + Click on cell).
> I can not guarantee that it will not have bugs, because it has been very
> little tested, but if it serves you, there you have it.
>
>
>
> Best Regards
> ​
>
> 2017-06-18 7:55 GMT+02:00 PICCORO McKAY Lenz <mckaygerh...@gmail.com>:
>
>> as subject said: search over the gridview event to the database and refill
>> grid its possible?
>>
>> i have a gridview object filled with data from the db, note: column names
>> are autodetected.
>>
>> its there any way to search over gridview data and filter the results in
>> gridview or there-s some object with that 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
>>
>
>


wGridFilterSample-0.0.1.tar.gz
Description: GNU Zip compressed data
--
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] search over the gridview and not to the database and refill grid its possible?

2017-06-18 Thread Jorge Carrión
Hey, Piccoro,
Take a look at this, maybe it will serve or give you some idea of how to do
it.
It is a class inheriting from gridView and has a new property called
source, which can be a two-dimensional array, an array of collections or,
directly, a Result.
With this it is conformed a gridView that you can order (click on column
header) and on which you can do searches and certain level of filtering
(Shift + Click on cell).
I can not guarantee that it will not have bugs, because it has been very
little tested, but if it serves you, there you have it.



Best Regards
​

2017-06-18 7:55 GMT+02:00 PICCORO McKAY Lenz :

> as subject said: search over the gridview event to the database and refill
> grid its possible?
>
> i have a gridview object filled with data from the db, note: column names
> are autodetected.
>
> its there any way to search over gridview data and filter the results in
> gridview or there-s some object with that 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
>
--
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] Change the code and copy in other project

2017-05-27 Thread Jorge Carrión
Unaisee,
You must open a new email for a new question, not answer an existent.
* is stored exactly as other characters, so you problem is not in the
string. It should be in other place.

Best regards

2017-05-26 10:22 GMT+02:00 Unaise EK :

> Sir,
> when i type "Select * from NameTbl where Adm = '" & textbox1.tex &"';"
> this query not working, then i changed it to
> "Select Name, Adm, Place from NameTbl where Adm ='"& textbox1.tex &"';"
> this query is working.
>
> so how can i write * from query in gambas 3
> pls help
>
>
>
>    Sent with Mailtrack
>  referral=unais...@gmail.com=22>
>
> On Fri, May 26, 2017 at 1:19 PM, Gianluigi  wrote:
>
> > I forgot to say that I know a way to extract the source code from a
> > compiled Gambas file, it can be seen here[0].
> >
> > Regards
> > Gianluigi
> >
> > [0]http://www.gambas-it.org/smf/index.php?topic=4448.msg38882#msg38882
> >
> > 2017-05-25 23:58 GMT+02:00 Gianluigi :
> >
> > > Ciao Charlie,
> > >
> > > Thanks, the problem is not with/in IDE, but if working with a
> > > project.gambas
> > > Problem that I can bypass by copying useful files first to a folder,
> > since
> > > I have no more src in the compiled project.
> > >
> > > Regards
> > > Gianluigi
> > >
> > > 2017-05-25 23:24 GMT+02:00 Karl Reinl :
> > >
> > >> Am Donnerstag, den 25.05.2017, 20:06 +0200 schrieb Gianluigi:
> > >> > I need to copy modules and classes from my project, change the code
> > >> > partially and copy it to another project.
> > >> > Is this only possible from IDE or is it possible also from a
> compiled
> > >> > project?
> > >> > Is there still the src folder in the compiled project?
> > >> >
> > >> > Regards
> > >> > Gianluigi
> > >>
> > >> Salut Gianluigi,
> > >>
> > >> you can 'import' the modules,classes etc. from other projects on your
> > >> disc into your new project, using the IDE Import.
> > >> Or you look into the hidden '.src' folder and copy the files you need.
> > >> --
> > >> Amicalement
> > >> Charlie
> > >>
> > >>
> > >> 
> > >> --
> > >> 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
> >
>
>
>
> --
> M. Unaise. E.K
> 9895687604
> Librarian,
> (BLISc, MLIS)
> JDT Islam Polytechnic College,
> Vellimadukunnu.
> 
> --
> 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] An Issue With Shell command and sudoers rules

2017-05-25 Thread Jorge Carrión
Thanks Lee. I think I've solved it. The solution is in that line.

Best Regards.

El 25 may. 2017 4:47 p. m., "T Lee Davidson" <t.lee.david...@gmail.com>
escribió:

> Disable (ie. comment out) targetpw and the "ALL  ALL=(ALL) ALL" line in
> /etc/sudoers.
>
> Then you should probably allow regular users to execute only certain
> commands with something like:
> %users  ALL=/home/adminuser/bin/comando.sh
> or a special group for 'privileged' users:
> %wheel  ALL=/home/adminuser/bin/comando.sh
>
> See:
> https://www.novell.com/support/kb/doc.php?id=7002705
>
> --
> Lee
>
>
> On 05/25/2017 05:13 AM, Jorge Carrión wrote:
> > Oh... well, I'm afraid that I've a mistake.
> >
> > All of this isn't a gambas issue.
> >
> > BUT if someone knows a way to let a non-sudoer user to update the system
> > without know the admin password I'll be very grateful .
> >
> > Sorry for the noise.
> >
> > Best Regards
>
> 
> --
> 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] when i used collections on my code, gambas get hangs!

2017-05-25 Thread Jorge Carrión
Try

Public Procedure AddList()
  Dim ListQurey As String
  Dim Lresult As Result

  ListQurey = "SELECT name FROM name_tbl"
  Lresult = MODMain.MyConn.Exec(ListQurey)
  'If Lresult.Count > 0 Then
  '*  Do While Not Eof(Lresult)*
  while Lresult.available
  ListBox1.Add(Lresult!"name")
  Lresult.MoveNext
  wend
  'Endif

End

2017-05-25 11:29 GMT+02:00 Unaise EK :

> this is my code for displaying data in listbox, but it did not working, pls
> help
>
> Public Procedure AddList()
>   Dim ListQurey As String
>   Dim Lresult As Result
>
>   ListQurey = "SELECT name FROM name_tbl"
>   Lresult = MODMain.MyConn.Exec(ListQurey)
>   If Lresult.Count > 0 Then
>   *  Do While Not Eof(Lresult)*
>   ListBox1.Add(Lresult!"name")
>   Lresult.MoveNext
> Loop
>   Endif
>
> End
>
>
>
>    Sent with Mailtrack
>  referral=unais...@gmail.com=22>
>
> On Thu, May 25, 2017 at 2:52 PM, Unaise EK  wrote:
>
> > can you give example for
> > DO WHILE NOT database EOF
> >
> > Loop
> >
> >
> >
> >
> >    Sent with Mailtrack
> >  referral=unais...@gmail.com=22>
> >
> > On Thu, May 25, 2017 at 8:30 AM, PICCORO McKAY Lenz <
> > mckaygerh...@gmail.com> wrote:
> >
> >> there are the piece of code and here there's no secret:
> >>
> >> Public Function getItems() As Collection
> >>
> >>   Dim $items As New Collection
> >>   Dim itema, itemb as String = "something"
> >>
> >>   $items.Add($itema, "item1")
> >>   $items.Add($itemb, "item2")
> >>   $items.Add(2, "cuantos")
> >>
> >>   Return $items
> >>
> >> End
> >>
> >> here the previous code "bad programed" and when i swicht to collection
> >> gambas ide get slower after some time, the code was:
> >>
> >> Public Function getItems() As String[]
> >>
> >>   Dim $items As New String[]
> >>   Dim itema, itemb as String = "something"
> >>
> >>   $items.Add($itema)
> >>   $items.Add($itemb)
> >>
> >>   Return $items
> >>
> >> End
> >>
> >> the gambas ide and the OS was not shutdown during 40 days, also the
> gambas
> >> ide was not quit in this period, and in that period i run the huge data
> >> code of the 3 odbc bug with 10 registers, after change the code to
> >> collection  (each change are little before test) thje ide gambas get
> slow
> >> and does not run well..
> >>
> >> this happened to my other partners in the job... i test also in debian
> >> jeesie and happened same!
> >>
> >> i noted that when alone user said something its like "nothigs its
> >> happened,
> >> its just bad programer"
> >>
> >> will need other to reports, but these other do not have time to make a
> >> little project and report that..
> >>
> >> sqlite was severi broken until gambas 3.6 and must be rewrite for gambas
> >> 3.8
> >>
> >> now in gamba 3.9 ther's some doc-online problems with cache and some
> >> memory
> >> manage problems..
> >>
> >> but for not specialized programmers its very difficult to debug, find
> and
> >> report LIKE THE QT problem..
> >>
> >>
> >>
> >> Lenz McKAY Gerardo (PICCORO)
> >> http://qgqlochekone.blogspot.com
> >>
> >> 2017-05-24 17:01 GMT-04:30 Jussi Lahtinen :
> >>
> >> > Impossible to say anything without seeing the code, which causes the
> >> > problem.
> >> >
> >> >
> >> > Jussi
> >> >
> >> > On Thu, May 25, 2017 at 12:11 AM, PICCORO McKAY Lenz <
> >> > mckaygerh...@gmail.com
> >> > > wrote:
> >> >
> >> > > i change the odbc code for huge data to transport only two objects
> >> with a
> >> > > string, and i noted that gambas before hangs sometimes... so i
> >> discovered
> >> > > that when i used collections the memory management are very bad..
> >> > >
> >> > > should i send a bug or where i start to see why this happened or its
> >> only
> >> > > happened only to me!
> >> > >
> >> > >
> >> > > 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
> >> > >
> >> > 
> >> > --
> >> > 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 

Re: [Gambas-user] An Issue With Shell command and sudoers rules

2017-05-25 Thread Jorge Carrión
Oh... well, I'm afraid that I've a mistake.

All of this isn't a gambas issue.

BUT if someone knows a way to let a non-sudoer user to update the system
without know the admin password I'll be very grateful .

Sorry for the noise.

Best Regards


2017-05-25 10:16 GMT+02:00 Jorge Carrión <sho...@gmail.com>:

> In our company, users are "standard" users, they can't update or make
> administratives jobs. There is another user (the admin user) that can do
> all that things... but users doesn't know the admin password.
> Searching make standard users being able of update the sistem I've created
> this script
> on adminuser home /home/adminuser/bin/comando.sh
>
> #!/bin/bash
> echo $1|sudo -S $2
>
> And I've add a new rules file in sudoers.d like this
>
> Cmnd_Alias COMANDO = /home/adminuser/bin/comando.sh
>
> ALL ALL = (adminuser) NOPASSWD:COMANDO
>
> If you, as a non-sudoer user, type on a terminal
>
> /home/administrador/bin/comando.sh adminpassword /usr/bin/apt update
>
> works fine... but, *and this is the issue*, if you do the same from a
> Gambas Shell command, doesn't work. Gamba's console show that the script is
> asking for you (non sudoer) password and fails.
>
> Seems that Gambas shell doesn't mind of sudoers directives. I am missing
> something?
>
> Best Regards
>
>
--
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] An Issue With Shell command and sudoers rules

2017-05-25 Thread Jorge Carrión
In our company, users are "standard" users, they can't update or make
administratives jobs. There is another user (the admin user) that can do
all that things... but users doesn't know the admin password.
Searching make standard users being able of update the sistem I've created
this script
on adminuser home /home/adminuser/bin/comando.sh

#!/bin/bash
echo $1|sudo -S $2

And I've add a new rules file in sudoers.d like this

Cmnd_Alias COMANDO = /home/adminuser/bin/comando.sh

ALL ALL = (adminuser) NOPASSWD:COMANDO

If you, as a non-sudoer user, type on a terminal

/home/administrador/bin/comando.sh adminpassword /usr/bin/apt update

works fine... but, *and this is the issue*, if you do the same from a
Gambas Shell command, doesn't work. Gamba's console show that the script is
asking for you (non sudoer) password and fails.

Seems that Gambas shell doesn't mind of sudoers directives. I am missing
something?

Best Regards
--
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] String[].Find finds nothing

2017-05-10 Thread Jorge Carrión
Wiki says: "Returns the position of the first occurrence of Value in the
array."
You must search for a Value of the array.

In your array there isn't a Value "Chr", that is what you search, so always
returns -1


Best Regars

2017-05-10 18:57 GMT+02:00 Matti :

> I tried to search an array with the 'Find' function instead of
> 'For...Next' and 'InStr'.
>
> The wiki says:
> "String[].Find (gb)
> Function Find ( Value As String [ , Mode As Integer, Start As Integer ] )
> As Integer
> Returns the position of the first occurrence of Value in the array.
> If Value cannot be found, -1 is returned."
>
> But I can do what I want, I always get '-1'. No positive result ever.
>
> Attached is a tiny project that should show this behaviour.
> Where is my mistake?
> Thanks in advance
> Matti
>
> Gambas 3.9.2
>
> 
> --
> 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] Editing still blocked

2017-05-09 Thread Jorge Carrión
Have you tried to deactivate Dropbox and other cloud services?
I work without problems with Dropbox, but you should discards all
possibilities...

Best Regards

El 10 may. 2017 1:07 a. m., "Jussi Lahtinen" 
escribió:

> Maybe some window manager setting steal focus from the editor..?
>
>
> Jussi
>
> On Wed, May 10, 2017 at 2:01 AM, Jussi Lahtinen 
> wrote:
>
> > I can edit the project here without problems. Very strange. It's not
> > specific to Linux Mint 18.10, used Gambas version or the opened project.
> > So, it must be something with your settings... Have you tried to change
> > Gambas settings, like turning on/off "format on load & save"?
> > Is there some desktop applications, which could interference Gambas in
> > some way? Clipboard manager? Can you try to turn these off and test to
> > relaunch Gambas again?
> >
> >
> > Jussi
> >
> > On Wed, May 10, 2017 at 1:38 AM, Fernando Cabral <
> > fernandojosecab...@gmail.com> wrote:
> >
> >> Here goes the the archive generated as instructed.
> >> (Code quality is pretty poor because this was my first try at gambas).
> >>
> >> - fernando
> >>
> >>
> >> 2017-05-09 18:56 GMT-03:00 Jussi Lahtinen :
> >>
> >>> Can you try to re-send the project directory as the file you attached
> is
> >>> not extractable. Do it this way; go to Gambas IDE, open some project
> and go
> >>> to menu "project" --> "make" --> "source archive". And send the result.
> >>>
> >>>
> >>> Jussi
> >>>
> >>> On Wed, May 10, 2017 at 12:31 AM, Fernando Cabral <
> >>> fernandojosecab...@gmail.com> wrote:
> >>>
>  Jussi, I am baffled. I have removed everything you suggested. But I
>  went beyond. I updated the "locate" database and searched for
> everything
>  that contained "gambas" somewhere in the filename or directory name
> "locate
>  -i --regex "*.gambas.*". I did this after a regular "remove" and
>  "autoremove"  with apt-get. I saved the printout in a file, turned it
>  into a shell script and removed everything, except source code. Then I
>  updated the locate database once more. After that, searching "locate
> -i
>  --regex ".*gambas.*" returned nihil. So, not a trace from gambas.
> 
>  Then I reinstalled anew using the regular apt-get (no PPA). Installed
>  version is now 3.8.4
> 
>  IDE still locked. This mystifies me.  There must be a file somewhere
>  whose name does not contain "gambas" that says I should not be able
> to edit
>  any source code. I am about to give up.
> 
>  Regards
> 
>  - fernando
> 
>  2017-05-09 17:47 GMT-03:00 Jussi Lahtinen :
> 
> > Remove *all* installations of Gambas 3 (made from PPAs, repos,
> > compiled, etc), and then run these commands:
> >
> > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3
> /usr/local/bin/gba3
> > /usr/local/bin/gbi3 /usr/local/bin/gbs3
> > sudo rm -rf /usr/local/lib/gambas3
> > sudo rm -rf /usr/local/share/gambas3
> > sudo rm -f /usr/local/bin/gambas3
> > sudo rm -f /usr/local/bin/gambas3.gambas
> >
> > sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3
> > /usr/local/bin/gbs3
> > sudo rm -rf /usr/lib/gambas3
> > sudo rm -rf /usr/share/gambas3
> > sudo rm -f /usr/bin/gambas3
> > sudo rm -f /usr/bin/gambas3.gambas
> >
> > After that, try to install Gambas 3 again. That is just to make sure
> > you have clean install.
> >
> >
> > Jussi
> >
> >
> > On Mon, May 8, 2017 at 8:38 PM, Fernando Cabral <
> > fernandojosecab...@gmail.com> wrote:
> >
> >>  >Can you send a tar.gz archive of your project directory?
> >>
> >> I am sending one. Do you need them all?
> >> (tar compressed)
> >>
> >> Regards
> >>
> >> - fernando
> >>
> >> 
> >> --
> >> 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
> >>
> >>
> >
> 
> 
>  --
>  Fernando Cabral
>  Blogue: http://fernandocabral.org
>  Twitter: http://twitter.com/fjcabral
>  e-mail: fernandojosecab...@gmail.com
>  Facebook: f...@fcabral.com.br
>  Telegram: +55 (37) 99988-8868 <+55%2037%2099988-8868>
>  Wickr ID: fernandocabral
>  WhatsApp: +55 (37) 99988-8868 <+55%2037%2099988-8868>
>  Skype:  fernandojosecabral
>  Telefone fixo: +55 (37) 3521-2183 <+55%2037%203521-2183>
>  Telefone celular: +55 (37) 99988-8868 <+55%2037%2099988-8868>
> 
>  Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
>  

Re: [Gambas-user] TryIcon issues

2017-05-06 Thread Jorge Carrión
Thanks Charlie it works... almost.
I used Quit command because in my project I have a watch class object, from
gb.inotify component, and a project doesn't end if there is a watch active.
I change de code to:

  mywachobject.Pause
  miwachobject = Null
  TrayIcon1.visible = False
  Me.Close

And now it closes perfect.

Thanks again.

Best regards


2017-05-06 16:44 GMT+02:00 Charlie :

> Try the following code: -
> *Public Sub form_Open()
>   TrayIcon1.Visible = True
> End
> Public Sub Menu4_Click()
>   TrayIcon1.Visible = False
>   Me.Close
> End*
> The use of *Quit* is not recommended see
> http://gambaswiki.org/wiki/lang/quit  >
> I used *gb.gui* to get rid of the last error
>
>
>
> -
> Check out www.gambas.one
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/TryIcon-issues-tp58908p58915.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


Re: [Gambas-user] TryIcon issues

2017-05-05 Thread Jorge Carrión
I must apologize about a mistake on the gbLauncher 0.1.4 uploaded this
morning to Gambas's Farm. Usually I use my home language (spanish) to
variable names etc. Before upload to gambas farm I translate the variables
to a understandable english version... but I forgot translate de settings
variable names...

I've fixed it in 0.1.5 version and upload to the farm. All you have to do
is download it again.

Sorry about the noise.

Best regards

2017-05-05 11:20 GMT+02:00 Jorge Carrión <sho...@gmail.com>:

> I've just upload to Gambas Farm a project called "gbLauncher" it's a
> utility that uses a TrayIcon with a configurable menu who launch comands
> and applications, check a pop3 account incoming email notifier and allows
> you tu send Post-it (Desktop Notes) to your own Desktop or to a remote
> Desktop using a ftpServer.
> It works fine, at the moment, but I receive on console this message at
> start the project:
>
> "sni-qt/15988" WARN  11:09:41.654 void 
> StatusNotifierItemFactory::connectToSnw()
> Invalid interface to SNW_SERVICE
>
> And this others as send the quit command (I use a watch object on my
> project and needs quit to finish it)
>
> gbx3: warning: circular references detected:
> gbx3: 2 Picture
> gbx3: warning: 10 allocation(s) non freed.
>
> The number of pictures and allocations non freed may vary.
>
> I've found that first line ("sni-qt/..." etc.) appears when gb.gui.qt or
> gb.qt4 is used, but not whith gb.qt5. The others warnings comes from
> trayIcon.
>
> Attach a little project with a tryIcon that shows this behaviour.
>
> Best Regards
>
>
--
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] TryIcon issues

2017-05-05 Thread Jorge Carrión
I've just upload to Gambas Farm a project called "gbLauncher" it's a
utility that uses a TrayIcon with a configurable menu who launch comands
and applications, check a pop3 account incoming email notifier and allows
you tu send Post-it (Desktop Notes) to your own Desktop or to a remote
Desktop using a ftpServer.
It works fine, at the moment, but I receive on console this message at
start the project:

"sni-qt/15988" WARN  11:09:41.654 void
StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE

And this others as send the quit command (I use a watch object on my
project and needs quit to finish it)

gbx3: warning: circular references detected:
gbx3: 2 Picture
gbx3: warning: 10 allocation(s) non freed.

The number of pictures and allocations non freed may vary.

I've found that first line ("sni-qt/..." etc.) appears when gb.gui.qt or
gb.qt4 is used, but not whith gb.qt5. The others warnings comes from
trayIcon.

Attach a little project with a tryIcon that shows this behaviour.

Best Regards


tryiconclosing-0.0.1.tar.gz
Description: GNU Zip compressed data
--
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] gambas editor is locked

2017-05-02 Thread Jorge Carrión
If you have linked the source code directorys with other projects, Gambas
lock de files as readonly too.
In that case you must modify the code in their original project, not in the
linked one.

Best Regards

2017-05-02 2:36 GMT+02:00 Fernando Cabral :

> All of a sudden, I can not edit any project. They are all locked.
> Hitting the lock icon does not change anything except that
> on the tab where the module name is shown the expression '[read only]"
> appears and disappears. But I still can not edit the source code.
>
> What I am supposed to do to fix this?
>
> --
> Fernando Cabral
> Blogue: http://fernandocabral.org
> Twitter: http://twitter.com/fjcabral
> e-mail: fernandojosecab...@gmail.com
> Facebook: f...@fcabral.com.br
> Telegram: +55 (37) 99988-8868
> Wickr ID: fernandocabral
> WhatsApp: +55 (37) 99988-8868
> Skype:  fernandojosecabral
> Telefone fixo: +55 (37) 3521-2183
> Telefone celular: +55 (37) 99988-8868
>
> Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos,
> nenhum político ou cientista poderá se gabar de nada.
> 
> --
> 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] collection of collection problem

2017-03-25 Thread Jorge Carrión
Fabian: +1  :)

2017-03-25 16:51 GMT+01:00 Fabien Bodard :

> A long thought in bazaar...
>
>
> I think, the first job is to teach a new time to developpers how to
> develop. There is nothing great in the code i've sended, juste the
> evidence.
>
> I've start learnin coding in gwbasic and qbasic... well not the best
> to start. Now we have better languages like python, java, c# and
> i've the impression that taking one hour for making the lacking
> function,has become something insurmountable (in this case 10 minutes
> for me).
>
> In the past I had no choice, no internet, if I wanted something or if
> it did not exist, you had to buy it or create it (sometimes find it in
> a book). Honestly, today I have reproduced so much with Gambas that I
> think we can almost do everything. What is lacking in Gambas is
> documentation. Unfortunately, we do not have time to write it because
> we have grown up and have a lot of work now. All I can do is swing
> from time to time a spade on the mailing list to help the newcomers to
> understand the pattern of thought behind Gambas. Because I see that
> this is also the problem. Whether at the level of the language or at
> the level of the arrangement of forms, at the level of the event
> structure (gridview, drawingarea and many other widgets), the choices
> are quite innovative and destabilizing. Gambas is not there to replace
> or compete with other languages, it is as in kungfu there are several
> phylosophy and it is one among others.
> To summarize it is not the language in itself that must be understood,
> but the phylsophy of development. For the language, there is the wiki.
> For phylosophy ... we'll have to bend over.
>
> Benoit, had said that language was able to appreciate different types
> of procedural, object or event programming. But with time I realize
> that the object / event couple is dominant and that this is our
> signature somehow.
>
> Today it is a coherent mature language (despite the bugs), with
> coherent libraries.
>
> By experience, it is not necessary to copy a code from one language to
> another, but a concept. What it lacks for me would be a UML
> integrator, which would make it easier to manipulate the concepts of a
> project.
> 
> I think over time have spotted key points that make Gambas more
> difficult to digest for developers a bit too pampered.
>
> I will take the time to make a document for the helpers to appreciate
> our philosophy and allow them not to try to model the programming
> style of other languages in Gambas.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Actualization of wordWrapGrid on Gambas Farm

2017-03-18 Thread Jorge Carrión
Hi

I've upload a actualized version of wordwrapgrid control to the farm.
WordWrapGrid is a Gamba's Control that inherits of GridView and shows a
grid that fit the row height to the text showed.

The previous version has a big bug: If set the worwrap property of control
to true only fit the height of the rows showed, the rest of lines are
setted to blank.

I've only tested it with a few rows, and didn't see that. Sorry.

The new versión has a new property named "source". It must be a two
dimensions Array or, directly a Result from a database. (This transform the
control in a sql viewer!)

Two samples are provided in farm, one from a Array ant one from a Result.

Hope this will usefull.


Regards
--
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] New in Gambas Farm: A gridview with automatic row height

2017-03-16 Thread Jorge Carrión
It isn't a bug is the expected behaviour for the example. I set the .expand
property of columns to true, so they change it's width at Form's resize
If you doesn' like that behaviour, comment this lines in Test.Class

For n = 0 To wordWrapGrid1.Columns.Max
wordWrapGrid1.Columns[n].Expand = True
Next

Then the width of columns is "static" and remains under the mouse pointer.

Best Regards.


2017-03-16 13:01 GMT+01:00 Rolf-Werner Eilert <rwe-...@osnanet.de>:

> Am 16.03.2017 08:55, schrieb Jorge Carrión:
> > Hi
> > I've upload to Gambas Farm a new control that I called hGrid (the "h" of
> > "Height" and yes, I know that h usually means "handle" but I'm lack of
> > imagination, I'm afraid)
> >
> > Its a control that inherits of GridView with a new boolean property
> > "wordWrap". If it is setted to True, the wordWrap property of cells its
> set
> > to true too and the height of the rows is fitted to show all the cell
> > contents.
> >
> > I hope it'll be usefull for someone.
> >
>
>
> Ok, tested it :) Runs very well, BUT:
>
> When dragging one of the Columns to the left, the column doesn't stay
> under the mouse pointer. Somehow, the position is counted wrong, and
> after dragging forth and back a bit, the cursor is here and the column
> is there...
>
> Hope you can reproduce and fix this ;)
>
> Regards
> Rolf
>
>
> 
> --
> 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] New in Gambas Farm: A gridview with automatic row height

2017-03-16 Thread Jorge Carrión
mmm... maybe wordWrapGrid?
A little long, but there is not confusing about it is.

I think I'll change it in Fam.

Thank you Rolf.

Regards



2017-03-16 12:15 GMT+01:00 Rolf-Werner Eilert <rwe-...@osnanet.de>:

> Am 16.03.2017 08:55, schrieb Jorge Carrión:
> > Hi
> > I've upload to Gambas Farm a new control that I called hGrid (the "h" of
> > "Height" and yes, I know that h usually means "handle" but I'm lack of
> > imagination, I'm afraid)
>
> Why not calling it "wwGridView" or "WWgridview" or "GridVieWW"?
>
> >
> > Its a control that inherits of GridView with a new boolean property
> > "wordWrap". If it is setted to True, the wordWrap property of cells its
> set
> > to true too and the height of the rows is fitted to show all the cell
> > contents.
> >
> > I hope it'll be usefull for someone.
>
> Oh yes! Great thing! I would love it, and I have instantly ideas where
> to use it.
>
> Regards
> Rolf
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] New in Gambas Farm: A gridview with automatic row height

2017-03-16 Thread Jorge Carrión
Hi
I've upload to Gambas Farm a new control that I called hGrid (the "h" of
"Height" and yes, I know that h usually means "handle" but I'm lack of
imagination, I'm afraid)

Its a control that inherits of GridView with a new boolean property
"wordWrap". If it is setted to True, the wordWrap property of cells its set
to true too and the height of the rows is fitted to show all the cell
contents.

I hope it'll be usefull for someone.


​

Best Regards
--
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] An editor side bar like the kate one

2016-12-11 Thread Jorge Carrión
It looks fine. it gives me several errors as moving mouse thru the preview
of column.

The most frequent is "Null Object" in 2705 line of TextEditor.class.

Best regards.

2016-12-10 18:19 GMT+01:00 Fabien Bodard :

> This is a try to give to the gambas editor a preview side bar like the
> one i like on kate.
>
> It display Bookmarks and modified lines too and separators.
>
>
> Feel free to give me your opinions
>
>
>
> --
> Fabien Bodard
>
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Set cursor position on a webview editable.

2016-12-08 Thread Jorge Carrión
Well I think I've find a solution (a tricky solution) that works: Add a
"strange string" at the end of html, search it and replace with nothing.

Teh code is something like this:

  WebView1.SetFocus()
  WebView1.html &= "··" 'two "middle points" is something I have no seen in
my life.
  WebView1.Eval("document.execCommand('findString',false,'··')") 'search
and select it...
  WebView1.Eval("document.execCommand('insertText',false,'')") 'and delete
it. The cursor remains at the end of text.

This opens the possibility for me to do the spelling "on the fly" and more
things...
If you know a better way I'll very happy to know it.

Best Regards.



2016-12-08 14:42 GMT+01:00 Jorge Carrión <sho...@gmail.com>:

> Hi:
> Gianluigi, your "me.setfocus / webview.setfocus/desktop.sendey", works!
> thanks a lot.
>
> But this seem a little "tricky". I like to the work with JavaScript
> because that would the way of spelling "at the fly" as the user types.
> I've follow the Moviga advices and found some functions that do the
> work... with editing objects of the html.
>
> I attach here a little project that shows wat I mean. It works with a
> textArea, but doesn't work out of it.
>
>
> ​
> I hope Moviga or any other member of the list could help with this Issue.
>
> Best Regards
>
>
> 2016-12-08 10:58 GMT+01:00 Moviga Technologies <mov...@mykolab.ch>:
>
>> Google this: javascript move caret
>>
>> or
>>
>> javascript move text cursor
>>
>> There should be a lot of examples that you can modify to suit your case.
>> Use the .Eval() function.
>>
>> 
>> --
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today.http://sdm.link/xeonphi
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Set cursor position on a webview editable.

2016-12-08 Thread Jorge Carrión

   Hi:
   Gianluigi, your "me.setfocus / webview.setfocus/desktop.sendey", works!
   thanks a lot.
   But this seem a little "tricky". I like to the work with JavaScript because
   that would the way of spelling "at the fly" as the user types.
   I've follow the Moviga advices and found some functions that do the work...
   with editing objects of the html.
   I  attach here a little project that shows wat I mean. It works with a
   textArea, but doesn't work out of it.
   [cid:ii_iwgeuosq0_158dea968a358180]
   â
   I hope Moviga or any other member of the list could help with this Issue.
   Best Regards

   2016-12-08 10:58 GMT+01:00 Moviga Technologies <[1]mov...@mykolab.ch>:

 Google this: javascript move caret
 or
 javascript move text cursor
 There should be a lot of examples that you can modify to suit your case.
 Use the .Eval() function.
 
 --
 Developer Access Program for Intel Xeon Phi Processors
 Access to Intel Xeon Phi processor-based developer platforms.
 With one year of Intel Parallel Studio XE.
 Training and support from Colfax.
 Order your platform today.[2]http://sdm.link/xeonphi
 ___
 Gambas-user mailing list
 [3]Gambas-user@lists.sourceforge.net
 [4]https://lists.sourceforge.net/lists/listinfo/gambas-user

References

   1. mailto:mov...@mykolab.ch
   2. http://sdm.link/xeonphi
   3. mailto:Gambas-user@lists.sourceforge.net
   4. https://lists.sourceforge.net/lists/listinfo/gambas-user


webviewTest-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Set cursor position on a webview editable.

2016-12-07 Thread Jorge Carrión
I'm afraid that my Javascript abilities are too limited.
I Just tried to manage with webview.eval(documment.execcommand ... ) but
without success...

Thanks for the answer...

The project has been rejected for mailing list 1,5mb (too big may be)?

Best Regards



2016-12-07 11:12 GMT+01:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 07/12/2016 à 11:08, Jorge Carrión a écrit :
> > Gianluigi
> >
> > I've tried, but doesn't work. The webview doesn't seem respond to
> > setfocus() after the spelling... so, the desktop.sendkeys doesn't work on
> > it.
> > I'm doing a control compound of a exported class, and a form with a
> webview
> > and a toolbar inside. When I push te spelling button the work is done
> > (higlighting the wrongs words) but I'm not able to return the focus on
> the
> > webview.
> > I suppouse thar I'm missing something... but can't figure what is it. I
> > give up yet in doing the spelling while writing (keyrelease event)
> because
> > the same issue of return the keyboard cursor at the origin point. I'm
> > resigned to do it only with a button... and the user must do a click on
> > webview to return the focus on it...
> >
> >
> >
> > *(I attach the source code (at the moment only spell spanish) so you can
> > see what I'm trying to do.)*
> >
> > *Sorry the message with the attached project has been rejected by the
> list.
> > No attached, then... *
> >
> > Best Regards
> >
>
> Did you try to exec javascript inside the WebView to give the focus to
> the web page?
>
> --
> Benoît Minisini
>
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Set cursor position on a webview editable.

2016-12-07 Thread Jorge Carrión
Gianluigi

I've tried, but doesn't work. The webview doesn't seem respond to
setfocus() after the spelling... so, the desktop.sendkeys doesn't work on
it.
I'm doing a control compound of a exported class, and a form with a webview
and a toolbar inside. When I push te spelling button the work is done
(higlighting the wrongs words) but I'm not able to return the focus on the
webview.
I suppouse thar I'm missing something... but can't figure what is it. I
give up yet in doing the spelling while writing (keyrelease event) because
the same issue of return the keyboard cursor at the origin point. I'm
resigned to do it only with a button... and the user must do a click on
webview to return the focus on it...



*(I attach the source code (at the moment only spell spanish) so you can
see what I'm trying to do.)*

*Sorry the message with the attached project has been rejected by the list.
No attached, then... *

Best Regards

2016-12-07 10:51 GMT+01:00 Gianluigi <bagone...@gmail.com>:

> Something like this, about your example on the Spanish forum:
> '-
> Public Sub Button1_Click()
>
>   Dim ar As String[]
>   Dim i As Integer
>
>   ar = Split(WebView1.Text, " ", Null, True)
>   WebView1.html = Replace(WebView1.html, ar[ar.max], " style=\"background-color: rgb(254, 254, 126);\">" & ar[ar.max] & "")
>   WebView1.SetFocus
>   'Aquí el cursor queda al principo del texto. Lo queremos al final
>   Print ar.Max, " words"
>   For i = 0 To ar.Max
> Desktop.SendKeys("{[Control_L][Right]}")
>   Next
>
> End
> '--
>
> Regards
> Gianluigi
>
> 2016-12-06 21:44 GMT+01:00 Gianluigi <bagone...@gmail.com>:
>
> > Have You tried to use Desktop.SendKeys?
> >
> > Regards
> > Gianluigi
> >
> > 2016-12-04 18:06 GMT+01:00 Jorge Carrión <sho...@gmail.com>:
> >
> >> Hi
> >> I'm doing a spelling checker for a webview. When you write a wrong word
> it
> >> is highlited. That's done, but I can't set the cursor again after the
> >> word.
> >> It always remains at begin of webview text...
> >>
> >> Is it possible to do that?
> >>
> >> Best Regards
> >> 
> >> --
> >> 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
> >>
> >
> >
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/xeonphi
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Set cursor position on a webview editable.

2016-12-04 Thread Jorge Carrión
Hi
I'm doing a spelling checker for a webview. When you write a wrong word it
is highlited. That's done, but I can't set the cursor again after the word.
It always remains at begin of webview text...

Is it possible to do that?

Best Regards
--
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] Installer questions: How to package up new components?

2016-11-04 Thread Jorge Carrión
I think that the stable version of the repository is much better suited for
that.
The trunk version is much intended for development.

Try with
sudo add-apt-repository ppa:gambas-team/gambas3

It contains the last stable version of gambas. Use it for your development
and install it on client's machines. We (near 60 computers in the company)
have been done so for 5 years without problem at all.

Best regards

2016-11-04 17:19 GMT+01:00 Piper984 :

> Hi Willy:
>
> Yes, that makes sense and is very helpful.  I did not realize those PPA's
> existed.  Will give it a try later on this afternoon.
>
>
>
>
>
> --
> View this message in context: http://gambas.8142.n7.nabble.
> com/Installer-questions-How-to-package-up-new-components-
> tp57719p57727.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> 
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature Request

2016-10-31 Thread Jorge Carrión
I agree with that, Fabien.

Regards

2016-10-31 9:33 GMT+01:00 Fabien Bodard <gambas...@gmail.com>:

> 2016-10-30 13:48 GMT+01:00 Jorge Carrión <sho...@gmail.com>:
> > It would be great if Gambas would report of Farm's actualizations on
> > installed projects at start... I think.
>
> Maybe not at Ide start but at the farm start... It avoid some slow.
>
> >
> > Best Regards
> > 
> --
> > The Command Line: Reinvented for Modern Developers
> > Did the resurgence of CLI tooling catch you by surprise?
> > Reconnect with the command line and become more productive.
> > Learn the new .NET and ASP.NET CLI. Get your free copy!
> > http://sdm.link/telerik
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Feature Request

2016-10-30 Thread Jorge Carrión
It would be great if Gambas would report of Farm's actualizations on
installed projects at start... I think.

Best Regards
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About trayIcon popupmenu.

2016-10-29 Thread Jorge Carrión
Your're welcome


2016-10-29 14:07 GMT+02:00 Gianluigi <bagone...@gmail.com>:

> Jorge,
> thanks to you, a much more efficient trick of this:
>
> Public Sub Form_Show()
>
>  Me.Visible = False
>
> End
>
> which I used until now.
>
> Regards
> Gianluigi
>
> 2016-10-29 10:36 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
>
> > Gianluigi and Demostenes:
> >
> > I've follow the conversation between both of you and I undestand now. How
> > it works. I was confused because of Benoit old example wich uses a Module
> > instead a Form.
> >
> > I think the trick is to make a little Form with Border=False,
> > transparent=true, skiptaskbar=true, with menu's editor make the popmenu
> and
> > set the tryIcon property popupmenu as de menu name.
> >
> > Both events Click with left button and the pop of the menu with the right
> > button, works fine.
> >
> > All is clear now. Thank you both very much.
> >
> > Best Regards
> >
> > 2016-10-28 19:08 GMT+02:00 Demosthenes Koptsis <demosthen...@gmail.com>:
> >
> > > See at Application Farm, the VirtualDVD project.
> > >
> > > It implements the sys tray icon with a popup menu
> > >
> > >
> > > On 10/28/2016 07:49 PM, Gianluigi wrote:
> > > > Hi Jorge,
> > > > not sure I understand.
> > > > Had you seen this post? [0]
> > > > Regards
> > > > Gianluigi
> > > >
> > > > [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-
> > > td57442.html
> > > >
> > > > 2016-10-28 18:01 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
> > > >
> > > >> This is the code of the old trayIcon example from Benoit..
> > > >>
> > > >> Private $hTrayIcon As TrayIcon
> > > >>
> > > >> Public Sub Main()
> > > >>
> > > >>$hTrayIcon = New TrayIcon As "TrayIcon"
> > > >>$hTrayIcon.Show
> > > >>
> > > >> End
> > > >>
> > > >> Public Sub TrayIcon_MouseDown()
> > > >>
> > > >>$hTrayIcon.Hide
> > > >>
> > > >> End
> > > >>
> > > >> It works for me except the MouseDown event, that works now with
> Click
> > > >> Event.
> > > >> Ok.
> > > >> There isn't any Form here... How the PopupMenu property is suposed
> to
> > be
> > > >> implemented? A Menu needs a Form as parent as I know...
> > > >>
> > > >> Best Regards.
> > > >> 
> > > >> --
> > > >> The Command Line: Reinvented for Modern Developers
> > > >> Did the resurgence of CLI tooling catch you by surprise?
> > > >> Reconnect with the command line and become more productive.
> > > >> Learn the new .NET and ASP.NET CLI. Get your free copy!
> > > >> http://sdm.link/telerik
> > > >> ___
> > > >> Gambas-user mailing list
> > > >> Gambas-user@lists.sourceforge.net
> > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >>
> > > > 
> > > --
> > > > The Command Line: Reinvented for Modern Developers
> > > > Did the resurgence of CLI tooling catch you by surprise?
> > > > Reconnect with the command line and become more productive.
> > > > Learn the new .NET and ASP.NET CLI. Get your free copy!
> > > > http://sdm.link/telerik
> > > > ___
> > > > Gambas-user mailing list
> > > > Gambas-user@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > >
> > > 
> > > --
> > > The Command Line: Reinvented for Modern Developers
> > > Did the resurgence of CLI tooling catch you by surprise?
> > > Reconnect with the command line and become more productive.
> > > Learn the new .NET and ASP.NET CLI. Get your free copy!
> > > http://sdm.link/telerik
> > > ___
> > > Gambas-user mailing list

Re: [Gambas-user] About trayIcon popupmenu.

2016-10-29 Thread Jorge Carrión
Gianluigi and Demostenes:

I've follow the conversation between both of you and I undestand now. How
it works. I was confused because of Benoit old example wich uses a Module
instead a Form.

I think the trick is to make a little Form with Border=False,
transparent=true, skiptaskbar=true, with menu's editor make the popmenu and
set the tryIcon property popupmenu as de menu name.

Both events Click with left button and the pop of the menu with the right
button, works fine.

All is clear now. Thank you both very much.

Best Regards

2016-10-28 19:08 GMT+02:00 Demosthenes Koptsis <demosthen...@gmail.com>:

> See at Application Farm, the VirtualDVD project.
>
> It implements the sys tray icon with a popup menu
>
>
> On 10/28/2016 07:49 PM, Gianluigi wrote:
> > Hi Jorge,
> > not sure I understand.
> > Had you seen this post? [0]
> > Regards
> > Gianluigi
> >
> > [0] http://gambas.8142.n7.nabble.com/Menu-has-no-Click-event-
> td57442.html
> >
> > 2016-10-28 18:01 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
> >
> >> This is the code of the old trayIcon example from Benoit..
> >>
> >> Private $hTrayIcon As TrayIcon
> >>
> >> Public Sub Main()
> >>
> >>$hTrayIcon = New TrayIcon As "TrayIcon"
> >>$hTrayIcon.Show
> >>
> >> End
> >>
> >> Public Sub TrayIcon_MouseDown()
> >>
> >>$hTrayIcon.Hide
> >>
> >> End
> >>
> >> It works for me except the MouseDown event, that works now with Click
> >> Event.
> >> Ok.
> >> There isn't any Form here... How the PopupMenu property is suposed to be
> >> implemented? A Menu needs a Form as parent as I know...
> >>
> >> Best Regards.
> >> 
> >> --
> >> The Command Line: Reinvented for Modern Developers
> >> Did the resurgence of CLI tooling catch you by surprise?
> >> Reconnect with the command line and become more productive.
> >> Learn the new .NET and ASP.NET CLI. Get your free copy!
> >> http://sdm.link/telerik
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> > 
> --
> > The Command Line: Reinvented for Modern Developers
> > Did the resurgence of CLI tooling catch you by surprise?
> > Reconnect with the command line and become more productive.
> > Learn the new .NET and ASP.NET CLI. Get your free copy!
> > http://sdm.link/telerik
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> 
> --
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] About trayIcon popupmenu.

2016-10-28 Thread Jorge Carrión
This is the code of the old trayIcon example from Benoit..

Private $hTrayIcon As TrayIcon

Public Sub Main()

  $hTrayIcon = New TrayIcon As "TrayIcon"
  $hTrayIcon.Show

End

Public Sub TrayIcon_MouseDown()

  $hTrayIcon.Hide

End

It works for me except the MouseDown event, that works now with Click Event.
Ok.
There isn't any Form here... How the PopupMenu property is suposed to be
implemented? A Menu needs a Form as parent as I know...

Best Regards.
--
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New update on Gambas Farm

2016-10-18 Thread Jorge Carrión
¡¡KISS!! Keep It Simple Stupid!!

The htEdit 1.0.6 version does very tricky things in order to prevent
webview to follow the externals Links. I forgot the wonderfull simplicity
of STOP EVENT sentence... (Here comes the "Stupid" word).
I've Updated to 1.0.7 Version in Gambas's Farm. Much more simple and solid.
Sorry about the noise, GianLuigi.

Best Regards

2016-10-17 21:11 GMT+02:00 Jorge Carrión <sho...@gmail.com>:

> I've updloaded a new project in Gambas Farm (the first I upload!). Is a
> light html Editor control who aims to accomplish the same task than
> TextEdit, but using html insted of RichText.
> It allows url and Image links. I have been based on webrowser example
> from Gambas Farm.
>
> It is a component, so you can create the insallation pack and add to you
> system or jus copy/paste de source code to your proyect.
>
> I've translated to French, English ang German... but if there errors is
> google fault  I don't speak French or German...
>
> Hope will be useful for someone
>
>
> Best Regards
>
--
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] New update on Gambas Farm

2016-10-17 Thread Jorge Carrión
I've updloaded a new project in Gambas Farm (the first I upload!). Is a
light html Editor control who aims to accomplish the same task than
TextEdit, but using html insted of RichText.
It allows url and Image links. I have been based on webrowser example from
Gambas Farm.

It is a component, so you can create the insallation pack and add to you
system or jus copy/paste de source code to your proyect.

I've translated to French, English ang German... but if there errors is
google fault  I don't speak French or German...

Hope will be useful for someone


Best Regards
--
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] A question about WebView

2016-10-16 Thread Jorge Carrión
Hi Gianluigi:

Sorry for the delay but this has been a hard (or good!) weekend for me, no
computers at all... .
I hope the problems of the whilwind are fixed yet in your town.
I've seen your code and it's a good javascript based solution but I'm
afraid I'm not able to implement it in my proyect. This is the first time I
deal with webview component and I prefer to do it whith Gambas.

Essentialy the tricky solution I've found is keep the external urls (href
tags) of the html text in a string[] and then  to replace all  with "blind
inner links" (:

> Lucky you Jorge,
> if here in Genoa, today not there had been a whirlwind (no electricity and
> discarge notebook :-( ) I (too) would have answered so:
> '--
> Public Sub Form_Open()
>
>   WebView1.HTML = MakeHtml()
>
> End
>
> Private Function MakeHtml() As String
>
>   Dim sHtml As String
>
>   sHtml = "" & "\n"
>   sHtml &= "" & "\n"
>   sHtml &= "" & "\n"
>   sHtml &= "http://gambaswiki.org/wiki\;
> onclick=\"myFunction(event)\">Documentation" & "\n"
>   sHtml &= "" & "\n"
>   sHtml &= "function myFunction(event) {" & "\n"
>   sHtml &= "event.preventDefault();" & "\n"
>   sHtml &= "document.getElementById(\"myAnchor\").innerHTML =
> \"Canceled\";" & "\n"
>   sHtml &= "}" & "\n"
>   sHtml &= "" & "\n"
>   sHtml &= "" & "\n"
>   sHtml &= "" & "\n"
>
>   Return sHtml
>
> End
>
> Public Sub Form_Close()
>
>   Print WebView1.HTML
>
> End
> '--
> It is no good code, but I had come this way.
> As I'm starting to study WebView I wanted to ask you, this is how it should
> be implemented the script.
> Otherwise?
> Can you give me any suggestions?
>
> Regards
> Gianluigi
>
> 2016-10-14 17:25 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
>
> > Well... I think that I've found a workaround only with gambas. (It's a
> > little tricky but it works),
> >
> > Thank you for the answers.
> >
> > Best Regards
> >
> > 2016-10-14 15:03 GMT+02:00 Moviga Technologies <mov...@mykolab.ch>:
> >
> > > There might be a way to do it with Gambas, but you can use javascript's
> > > preventDefault()
> > >
> > > http://www.w3schools.com/jsref/event_preventdefault.asp
> > >
> > >
> > > Den 14. okt. 2016 12:15, skrev Jorge Carrión:
> > > > I'm trying to do a control like textEdit, but allowing with links and
> > > > images, based on webBrowser example.
> > > >
> > > > All is done and works fine, but if I create a link ( and
> > I
> > > > click on it the webview, naturally, follows the link and I loose all
> > the
> > > > changes on the page.
> > > >
> > > > I want prevent that behaviour in the way that if user clik on a link
> > and
> > > > the editable property is true, the webview doesn't follow the link.
> > > >
> > > > Hope this will be more clear.
> > > >
> > > > Best Regards
> > > >
> > > > 2016-10-14 11:39 GMT+02:00 Gianluigi <bagone...@gmail.com>:
> > > >
> > > >> Hello Jorge,
> > > >> I do not understand the question, could you be more specific?
> > > >> Thank you
> > > >> Gianluigi
> > > >>
> > > >> 2016-10-13 18:29 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
> > > >>
> > > >>> Is there a way to stop the follow of links in webview when webview
> is
> > > in
> > > >>> "edit mode" (editable=true)?
> > > >>>
> > > >>> Best Regards
> > > >>> 
> > > >>> --
> > > >>> 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] A question about WebView

2016-10-14 Thread Jorge Carrión
Well... I think that I've found a workaround only with gambas. (It's a
little tricky but it works),

Thank you for the answers.

Best Regards

2016-10-14 15:03 GMT+02:00 Moviga Technologies <mov...@mykolab.ch>:

> There might be a way to do it with Gambas, but you can use javascript's
> preventDefault()
>
> http://www.w3schools.com/jsref/event_preventdefault.asp
>
>
> Den 14. okt. 2016 12:15, skrev Jorge Carrión:
> > I'm trying to do a control like textEdit, but allowing with links and
> > images, based on webBrowser example.
> >
> > All is done and works fine, but if I create a link ( > click on it the webview, naturally, follows the link and I loose all the
> > changes on the page.
> >
> > I want prevent that behaviour in the way that if user clik on a link and
> > the editable property is true, the webview doesn't follow the link.
> >
> > Hope this will be more clear.
> >
> > Best Regards
> >
> > 2016-10-14 11:39 GMT+02:00 Gianluigi <bagone...@gmail.com>:
> >
> >> Hello Jorge,
> >> I do not understand the question, could you be more specific?
> >> Thank you
> >> Gianluigi
> >>
> >> 2016-10-13 18:29 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
> >>
> >>> Is there a way to stop the follow of links in webview when webview is
> in
> >>> "edit mode" (editable=true)?
> >>>
> >>> Best Regards
> >>> 
> >>> --
> >>> 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
>
--
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] A question about WebView

2016-10-14 Thread Jorge Carrión
I'm trying to do a control like textEdit, but allowing with links and
images, based on webBrowser example.

All is done and works fine, but if I create a link (:

> Hello Jorge,
> I do not understand the question, could you be more specific?
> Thank you
> Gianluigi
>
> 2016-10-13 18:29 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
>
> > Is there a way to stop the follow of links in webview when webview is in
> > "edit mode" (editable=true)?
> >
> > Best Regards
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A question about WebView

2016-10-13 Thread Jorge Carrión
Is there a way to stop the follow of links in webview when webview is in
"edit mode" (editable=true)?

Best Regards
--
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] Gambas 3.9.1 on Launchpad?

2016-10-13 Thread Jorge Carrión
Sebas: you know how important are you for a lot of us.

Thanks again.



2016-10-13 7:54 GMT+02:00 Julio Sanchez :

> Sebastián:
>
> Thank you for your work!!!
>
> :)
>
> Regards
>
> Julio
>
> 2016-10-13 3:08 GMT+02:00 Sebastián Kulesz :
>
> > My bad! The update should be live by now.
> >
> > On Wed, Oct 12, 2016, 13:29 Christof Thalhofer 
> > wrote:
> >
> > > Hello,
> > >
> > > Gambas 3.9.1 is released according to
> > > http://gambas.sourceforge.net/en/main.html
> > >
> > > But it cannot be found on Launchpad Gambas3 stable:
> > > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3
> > >
> > > Shouldn't it be there?
> > >
> > >
> > > Alles Gute
> > >
> > > Christof Thalhofer
> > >
> > > --
> > > Dies ist keine Signatur
> > >
> > >
> > > 
> > --
> > > 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] App idle with long loops

2016-10-09 Thread Jorge Carrión
Thanks to every one for the information. I think I have enough to make my
proyect more usable.

Best Regards



2016-10-09 18:40 GMT+02:00 Tobias Boege <tabo...@gmail.com>:

> On Sun, 09 Oct 2016, Jorge Carrión wrote:
> > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis <demosthen...@gmail.com>:
> >
> > > On 8/10/2016 19:09 μμ, Tobias Boege wrote:
> > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote:
> > > >> Hello,
> > > >>
> > > >> i have very long (time consuming) For loops and my app is frozen
> until
> > > >> loop is finished.
> > > >>
> > > >> for example i wget urls with a custom Sub which
> Shell("wgetURLS.sh") To
> > > >> sOUTPUT
> > > >>
> > > >> 'get urls
> > > >> For i = 0 To iDepth
> > > >>   wgetURLS(i * 10)
> > > >> Next
> > > >>
> > > >> Public Sub wgetURLS(iStart As Integer)
> > > >> .
> > > >>
> > > >> Shell("wgetURLS.sh") To sOUTPUT
> > > >>
> > > >> .
> > > >>
> > > >> --
> > > >>
> > > >> Is there possible to set the gui idle and the same time run
> For...loops?
> > > >>
> > > > If you only want to refresh the GUI (e.g. if your For loops update a
> > > > ProgressBar on your form and you want to update the value of that bar
> > > > during the loop), then Wait [1] is sufficient.
> > > >
> > > > If you want the GUI to be fully operatable while your loops run in
> the
> > > > background, you have to use a background Task [2]. As Gambas is
> single-
> > > > threaded, Tasks are implemented as external processes which execute
> one
> > > > of your classes. This limits the things you can do with Tasks (you
> cannot
> > > > directly modify the main program, for example, but have to send data
> and
> > > > status reports through a pipe from your Task to the main process and
> > > > interpret them there). However, if all you want is loading some
> files via
> > > > wget, that should not be a problem.
> > > >
> > > > Of course, there is also the gb.net.curl component which can download
> > > files
> > > > asynchronously. If you can use that (which depends on what you want
> to
> > > do),
> > > > you should.
> > > >
> > > > And as a fourth option, looking further into your code: if you want
> to
> > > > execute shell scripts in a For loop, then don't use the Shell-To
> syntax
> > > > but create a Process object instead and accumulate its output in Read
> > > > events. The event loop will take care of everything and the GUI will
> be
> > > > usable without any extra effort on your side.
> > > >
> > > > Finding the best solution depends, who would have thought, on what
> you
> > > want
> > > > to do *specifically*. Tasks are the most general and most cumbersome
> > > option.
> > > >
> > > > Regards,
> > > > Tobi
> > > >
> > > > [1] http://gambaswiki.org/wiki/lang/wait
> > > > [2] http://gambaswiki.org/wiki/comp/gb/task
> > > >
> > > Thanks very much for the details.
> > >
> > > Regards,
> > >
> > > Dim
> > >
> > >
> > Is there any example of task fork use? I have a proyect who sending
> massive
> > e-mails to our customers and I guess that task can be a good solution...
> >
> > Regards
> >
>
> It normally works like this:
>
>   - You write a dedicated class, let's call it MyTask, to perform your
> task.
> This class must inherit the Task class.
>   - The constructor of MyTask can receive some arguments for the task, like
> an array of recipient addresses and bodies for your batch email.
>   - After the MyTask object is created, the process fork is postponed to
> the
> next invocation of the event loop. You may want to keep this in mind if
> you sometimes start a whole bunch of tasks at once or if you want to
> wait for the results of your task in the current procedure. To have the
> tasks started, you either have to enter the event loop, either by
> rolling up the current code path or by calling Wait.
>   - The interpreter will then fork and jump into the Main() method of the
> MyTask object. The standard outpu

Re: [Gambas-user] App idle with long loops

2016-10-09 Thread Jorge Carrión
It's an empty proyect, I'm afraid...
Thanks for the trying.

Regards

2016-10-09 14:36 GMT+02:00 Charlie Reinl <karl.re...@fen-net.de>:

> Am Sonntag, den 09.10.2016, 12:56 +0200 schrieb Jorge Carrión:
> > Is there any example of task fork use? I have a proyect who sending
> massive
> > e-mails to our customers and I guess that task can be a good solution...
> >
> > Regards
> >
> > 2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis <demosthen...@gmail.com>:
> >
> > > On 8/10/2016 19:09 μμ, Tobias Boege wrote:
> > > > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote:
> > > >> Hello,
> > > >>
> > > >> i have very long (time consuming) For loops and my app is frozen
> until
> > > >> loop is finished.
> > > >>
> > > >> for example i wget urls with a custom Sub which
> Shell("wgetURLS.sh") To
> > > >> sOUTPUT
> > > >>
> > > >> 'get urls
> > > >> For i = 0 To iDepth
> > > >>   wgetURLS(i * 10)
> > > >> Next
> > > >>
> > > >> Public Sub wgetURLS(iStart As Integer)
> > > >> .
> > > >>
> > > >> Shell("wgetURLS.sh") To sOUTPUT
> > > >>
> > > >> .
> > > >>
> > > >> --
> > > >>
> > > >> Is there possible to set the gui idle and the same time run
> For...loops?
> > > >>
> > > > If you only want to refresh the GUI (e.g. if your For loops update a
> > > > ProgressBar on your form and you want to update the value of that bar
> > > > during the loop), then Wait [1] is sufficient.
> > > >
> > > > If you want the GUI to be fully operatable while your loops run in
> the
> > > > background, you have to use a background Task [2]. As Gambas is
> single-
> > > > threaded, Tasks are implemented as external processes which execute
> one
> > > > of your classes. This limits the things you can do with Tasks (you
> cannot
> > > > directly modify the main program, for example, but have to send data
> and
> > > > status reports through a pipe from your Task to the main process and
> > > > interpret them there). However, if all you want is loading some
> files via
> > > > wget, that should not be a problem.
> > > >
> > > > Of course, there is also the gb.net.curl component which can download
> > > files
> > > > asynchronously. If you can use that (which depends on what you want
> to
> > > do),
> > > > you should.
> > > >
> > > > And as a fourth option, looking further into your code: if you want
> to
> > > > execute shell scripts in a For loop, then don't use the Shell-To
> syntax
> > > > but create a Process object instead and accumulate its output in Read
> > > > events. The event loop will take care of everything and the GUI will
> be
> > > > usable without any extra effort on your side.
> > > >
> > > > Finding the best solution depends, who would have thought, on what
> you
> > > want
> > > > to do *specifically*. Tasks are the most general and most cumbersome
> > > option.
> > > >
> > > > Regards,
> > > > Tobi
> > > >
> > > > [1] http://gambaswiki.org/wiki/lang/wait
> > > > [2] http://gambaswiki.org/wiki/comp/gb/task
> > > >
> > > Thanks very much for the details.
> > >
> > > Regards,
> > >
> > > Dim
> > >
> > >
> > > 
> > > --
> > > 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
> >
>
> Salut
>
> I once found this one :
> http://gambas.8142.n7.nabble.com/attachment/17635/0/TaskTest.zip
>
> It still exists, but don't remember if it worked.
>
>
> --
> Amicalement
> Charlie
>
>
> 
> --
> 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] App idle with long loops

2016-10-09 Thread Jorge Carrión
Is there any example of task fork use? I have a proyect who sending massive
e-mails to our customers and I guess that task can be a good solution...

Regards

2016-10-08 23:54 GMT+02:00 Demosthenes Koptsis :

> On 8/10/2016 19:09 μμ, Tobias Boege wrote:
> > On Sat, 08 Oct 2016, Demosthenes Koptsis wrote:
> >> Hello,
> >>
> >> i have very long (time consuming) For loops and my app is frozen until
> >> loop is finished.
> >>
> >> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To
> >> sOUTPUT
> >>
> >> 'get urls
> >> For i = 0 To iDepth
> >>   wgetURLS(i * 10)
> >> Next
> >>
> >> Public Sub wgetURLS(iStart As Integer)
> >> .
> >>
> >> Shell("wgetURLS.sh") To sOUTPUT
> >>
> >> .
> >>
> >> --
> >>
> >> Is there possible to set the gui idle and the same time run For...loops?
> >>
> > If you only want to refresh the GUI (e.g. if your For loops update a
> > ProgressBar on your form and you want to update the value of that bar
> > during the loop), then Wait [1] is sufficient.
> >
> > If you want the GUI to be fully operatable while your loops run in the
> > background, you have to use a background Task [2]. As Gambas is single-
> > threaded, Tasks are implemented as external processes which execute one
> > of your classes. This limits the things you can do with Tasks (you cannot
> > directly modify the main program, for example, but have to send data and
> > status reports through a pipe from your Task to the main process and
> > interpret them there). However, if all you want is loading some files via
> > wget, that should not be a problem.
> >
> > Of course, there is also the gb.net.curl component which can download
> files
> > asynchronously. If you can use that (which depends on what you want to
> do),
> > you should.
> >
> > And as a fourth option, looking further into your code: if you want to
> > execute shell scripts in a For loop, then don't use the Shell-To syntax
> > but create a Process object instead and accumulate its output in Read
> > events. The event loop will take care of everything and the GUI will be
> > usable without any extra effort on your side.
> >
> > Finding the best solution depends, who would have thought, on what you
> want
> > to do *specifically*. Tasks are the most general and most cumbersome
> option.
> >
> > Regards,
> > Tobi
> >
> > [1] http://gambaswiki.org/wiki/lang/wait
> > [2] http://gambaswiki.org/wiki/comp/gb/task
> >
> Thanks very much for the details.
>
> Regards,
>
> Dim
>
>
> 
> --
> 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] Christmas gift

2016-09-07 Thread Jorge Carrión
I wish a new pair of socks... 

2016-09-07 18:46 GMT+02:00 PICCORO McKAY Lenz :

> 2016-09-07 12:35 GMT-04:00 Tobias Boege :
>
> > Besides some extensions in the OOP department of the language or related
> > syntactic sugar in the compiler, which I can never remember unless I'm
> >
> the webservices! the webservices! the webservices!
>
>
> > I would like to have a component which lets you treat the various
> > (compressed) archive formats in a way that's similar to the File &
> > Directory functions [1-3] in Gambas, that is as if they were a file
> system.
> >
> well that its ussefully of course! currently compress component handle
> bzip2 and gz only, but its more hard to do in this short time to december!
> JE JE JE SO WEBSERVICES WEBSERVICES! FIRTS!
>
>
> > You better get to work Benoit. This list is not going to become shorter
> :-)
> >
> yeah hurry i'm impatient! (snap snap : lashes sounds)
> 
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Inheritance issue... or visibility issue... or something I think

2016-06-11 Thread Jorge Carrión
Understood. Thanks Benoît.
Best Regards.



2016-06-11 13:22 GMT+02:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 11/06/2016 11:54, Jorge Carrión a écrit :
> > I think that I miss something here.
> >
> > I have a control A inherits usercontainer. It has a property, let's say a
> > connection called Conexion
> >
> > I have another control B inherits, let's say a listbox. It has a Private
> > $conexion as connection variable.
> >
> > in Sub _new() or B, I code this
> >
> > $conexion = me.Parent.Conexion
> >
> > and get a "wanted variant get function" error.
> > If I stop de execution on that line an double-click on me.parent an I can
> > see the Conexion property without problems.
> >
> > But If I code instead:
> >
> > Dim o as object
> > o=me.parent
> > $conexion=o.Conexion
> >
> > Then it works. I have doing something wrong... but, what?
> > See the attached project if I did not been clear enough.
> >
> > Best Regards.
> >
>
> Me.Parent is a Container, so it does not know the 'Conexion' property.
>
> To be able to access the 'Conexion' property, you must assign Me.Parent
> to either:
>
> 1) A variable whose datatype knows the Conexion property: A, or any
> class that inherits A.
>
> 2) An Object variable.
>
> 3) A Variant variable.
>
> If you use 2) and 3), then the property access is resolved at each call,
> which is slow.
>
> If you use 1), the property access is resolved once (the first time it
> is used), and each successive access is fast.
>
> Maybe it should be explained in the "Gambas object model" wiki page.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Inheritance issue... or visibility issue... or something I think

2016-06-11 Thread Jorge Carrión
I think that I miss something here.

I have a control A inherits usercontainer. It has a property, let's say a
connection called Conexion

I have another control B inherits, let's say a listbox. It has a Private
$conexion as connection variable.

in Sub _new() or B, I code this

$conexion = me.Parent.Conexion

and get a "wanted variant get function" error.
If I stop de execution on that line an double-click on me.parent an I can
see the Conexion property without problems.

But If I code instead:

Dim o as object
o=me.parent
$conexion=o.Conexion

Then it works. I have doing something wrong... but, what?
See the attached project if I did not been clear enough.

Best Regards.


test-0.0.1.tar.gz
Description: GNU Zip compressed data
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record

2016-06-05 Thread Jorge Carrión
Ok. I think that the problem is in the definition of the test table.
If you try to update a row in your table you got an error about primary key.

Try to add a "without rowid" in creation of table, like this:

CREATE TABLE "test2" ( "id" INT4 NOT NULL , "id2" INT4 NOT NULL , "fruit"
TEXT, PRIMARY KEY ("id","id2") ) without rowid

This prevents the feature of automated creation of primari index
autoincremental in all tables of sqlite and le yor constrain created
compound primary key to be the only primary key.

updates should works now.

Why in gambas the result of an erroneus update is an addition of record, I
can't imagine...

Regards


2016-06-04 14:54 GMT+02:00 zainudin ahmad <author.i...@gmail.com>:

> you can extract project into /tmp directory (attach project)
>
> On Sat, May 28, 2016 at 3:50 PM, Jorge Carrión <sho...@gmail.com> wrote:
>
> > It will be intersting take a look to your database structure...
> >
> > Regards
> >
> > 2016-05-28 5:24 GMT+02:00 <bugtrac...@gambaswiki.org>:
> >
> > > http://gambaswiki.org/bugtracker/edit?object=BUG.926=L21haW4-
> > >
> > > Comment #10 by Zainudin AHMAD:
> > >
> > > >> maybe you could try to purge everything related to Gambas on your
> > > system, and do a full recompilation from scratch
> > >
> > > I have doing complete removal from synaptic and install gambas from
> PPA.
> > >
> > > in this system I used gambas only from PPA, and I still get this issue.
> > >
> > > Sys Info :
> > >
> > > [System]
> > > Gambas=3.8.4
> > > OperatingSystem=Linux
> > > Kernel=3.2.0-69-generic
> > > Architecture=x86
> > > Distribution=Ubuntu 12.04.5 LTS
> > > Desktop=LXDE
> > > Theme=Oxygen
> > > Language=en_US.UTF-8
> > > Memory=494M
> > >
> > > [Libraries]
> > > Cairo=libcairo.so.0.0.0
> > > 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
> > > OpenGL=libGL.so.173.14.39
> > > OpenGL=libGL.so.96.43.23
> > > 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-MLCzWvSLAH,guid=e9fbdfa8c29a55ad62fb5b2d0041
> > > DEFAULTS_PATH=/usr/share/gconf/LXDE.default.path
> > > DESKTOP_SESSION=LXDE
> > > DISPLAY=:0
> > > GB_GUI=gb.qt4
> > > GDMSESSION=LXDE
> > > GNOME_KEYRING_CONTROL=/tmp/keyring-27ibEk
> > > GNOME_KEYRING_PID=1698
> > > GPG_AGENT_INFO=/tmp/gpg-7kMMn6/S.gpg-agent:1752:1
> > > GTK_MODULES=canberra-gtk-module:canberra-gtk-module
> > > HOME=
> > > LANG=en_US.UTF-8
> > > LANGUAGE=en_US:en
> > > LC_ADDRESS=en_US.UTF-8
> > > LC_IDENTIFICATION=en_US.UTF-8
> > > LC_MEASUREMENT=en_US.UTF-8
> > > LC_MONETARY=en_US.UTF-8
> > > LC_NAME=en_US.UTF-8
> > > LC_NUMERIC=en_US.UTF-8
> > > LC_PAPER=en_US.UTF-8
> > > LC_TELEPHONE=en_US.UTF-8
> > > LC_TIME=en_US.UTF-8
> > > LIBOVERLAY_SCROLLBAR=0
> > > LOGNAME=
> > > MANDATORY_PATH=/usr/share/gconf/LXDE.mandatory.path
> > >
> > >
> >
> PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> > > PWD=
> > > SAL_USE_VCLPLUGIN=gtk
> > > SHELL=/bin/bash
> > > SSH_AGENT_PID=1751
> > > SSH_AUTH_SOCK=/tmp/ssh-ZMKoIXgT1709/agent.1709
> > > TZ=:/etc/localtime
> > > UBUNTU_MENUPROXY=libappmenu.so
> > > USER=
> > > XAUTHORITY=/.Xauthority
> > > XDG_CONFIG_DIRS=/etc/xdg/xdg-LXDE:/etc/xdg
> > > XDG_CONFIG_HOME=/.config
> > > XDG_CURRENT_DESKTOP=LXDE
> > >
> > >
> >
> XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
> > > XDG_MENU_PREFIX=lxde-
> > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> > >
> > >
> >
> XDG_SESSION_COOKIE=c87a744d1d6f8f10324c6148000a-1464403096.168554-1750800897
> > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> > > _LXSESSION_PID=1709
> > >
> > >
> > >
> > >
> > >
> >
> ---

Re: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record

2016-05-28 Thread Jorge Carrión
It will be intersting take a look to your database structure...

Regards

2016-05-28 5:24 GMT+02:00 :

> http://gambaswiki.org/bugtracker/edit?object=BUG.926=L21haW4-
>
> Comment #10 by Zainudin AHMAD:
>
> >> maybe you could try to purge everything related to Gambas on your
> system, and do a full recompilation from scratch
>
> I have doing complete removal from synaptic and install gambas from PPA.
>
> in this system I used gambas only from PPA, and I still get this issue.
>
> Sys Info :
>
> [System]
> Gambas=3.8.4
> OperatingSystem=Linux
> Kernel=3.2.0-69-generic
> Architecture=x86
> Distribution=Ubuntu 12.04.5 LTS
> Desktop=LXDE
> Theme=Oxygen
> Language=en_US.UTF-8
> Memory=494M
>
> [Libraries]
> Cairo=libcairo.so.0.0.0
> 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
> OpenGL=libGL.so.173.14.39
> OpenGL=libGL.so.96.43.23
> 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-MLCzWvSLAH,guid=e9fbdfa8c29a55ad62fb5b2d0041
> DEFAULTS_PATH=/usr/share/gconf/LXDE.default.path
> DESKTOP_SESSION=LXDE
> DISPLAY=:0
> GB_GUI=gb.qt4
> GDMSESSION=LXDE
> GNOME_KEYRING_CONTROL=/tmp/keyring-27ibEk
> GNOME_KEYRING_PID=1698
> GPG_AGENT_INFO=/tmp/gpg-7kMMn6/S.gpg-agent:1752:1
> GTK_MODULES=canberra-gtk-module:canberra-gtk-module
> HOME=
> LANG=en_US.UTF-8
> LANGUAGE=en_US:en
> LC_ADDRESS=en_US.UTF-8
> LC_IDENTIFICATION=en_US.UTF-8
> LC_MEASUREMENT=en_US.UTF-8
> LC_MONETARY=en_US.UTF-8
> LC_NAME=en_US.UTF-8
> LC_NUMERIC=en_US.UTF-8
> LC_PAPER=en_US.UTF-8
> LC_TELEPHONE=en_US.UTF-8
> LC_TIME=en_US.UTF-8
> LIBOVERLAY_SCROLLBAR=0
> LOGNAME=
> MANDATORY_PATH=/usr/share/gconf/LXDE.mandatory.path
>
> PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> PWD=
> SAL_USE_VCLPLUGIN=gtk
> SHELL=/bin/bash
> SSH_AGENT_PID=1751
> SSH_AUTH_SOCK=/tmp/ssh-ZMKoIXgT1709/agent.1709
> TZ=:/etc/localtime
> UBUNTU_MENUPROXY=libappmenu.so
> USER=
> XAUTHORITY=/.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-LXDE:/etc/xdg
> XDG_CONFIG_HOME=/.config
> XDG_CURRENT_DESKTOP=LXDE
>
> XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
> XDG_MENU_PREFIX=lxde-
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
>
> XDG_SESSION_COOKIE=c87a744d1d6f8f10324c6148000a-1464403096.168554-1750800897
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> _LXSESSION_PID=1709
>
>
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] System Colors

2016-05-02 Thread Jorge Carrión
I'll try it.
Thanks Ron

Regards


2016-05-02 19:53 GMT+02:00 Ron <r...@cyberjunky.nl>:

> $ sudo sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g'
> /usr/share/themes/Ambiance/gtk-2.0/gtkrc
> $ sudo sed -i 's/tooltip_bg_color:#00/tooltip_bg_color:#ff/g'
> /usr/share/themes/Ambiance/gtk-2.0/gtkrc
>
> restart app
>
> 2016-05-02 19:14 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
> >  doesn't work. I've even tried to close the IDE and delete de
> > .config/gambas3/gambas.conf but still appearing the original system
> > colors...
> >
> >
> >
> > 2016-05-02 19:06 GMT+02:00 Benoît Minisini <gam...@users.sourceforge.net
> >:
> >
> >> Le 02/05/2016 19:04, Jorge Carrión a écrit :
> >> > I've changed the colors of the desktop theme and the default colors of
> >> > gambas (color.foreground,color.lightbacground, etc. etc.) are not
> >> changed.
> >> >
> >> > Where are they taken from? Someone can tells ir me, please?
> >> >
> >> > Thanks in advance.
> >> >
> >> > Regards
> >>
> >> They are not updated in real-time. You must restart the program.
> >>
> >> --
> >> Benoît Minisini
> >>
> >>
> >>
> --
> >> Find and fix application performance issues faster with Applications
> >> Manager
> >> Applications Manager provides deep performance insights into multiple
> >> tiers of
> >> your business applications. It resolves application problems quickly and
> >> reduces your MTTR. Get your free trial!
> >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> --
> > Find and fix application performance issues faster with Applications
> Manager
> > Applications Manager provides deep performance insights into multiple
> tiers of
> > your business applications. It resolves application problems quickly and
> > reduces your MTTR. Get your free trial!
> > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] System Colors

2016-05-02 Thread Jorge Carrión
Ok. I undestand. Thanks Benoit.



2016-05-02 20:20 GMT+02:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 02/05/2016 19:14, Jorge Carrión a écrit :
> >  doesn't work. I've even tried to close the IDE and delete de
> > .config/gambas3/gambas.conf but still appearing the original system
> > colors...
> >
>
> Gambas IDE uses QT. If you use a GTK+-based system that does not care
> with QT, it's normal...
>
> --
> Benoît Minisini
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] System Colors

2016-05-02 Thread Jorge Carrión
 doesn't work. I've even tried to close the IDE and delete de
.config/gambas3/gambas.conf but still appearing the original system
colors...



2016-05-02 19:06 GMT+02:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 02/05/2016 19:04, Jorge Carrión a écrit :
> > I've changed the colors of the desktop theme and the default colors of
> > gambas (color.foreground,color.lightbacground, etc. etc.) are not
> changed.
> >
> > Where are they taken from? Someone can tells ir me, please?
> >
> > Thanks in advance.
> >
> > Regards
>
> They are not updated in real-time. You must restart the program.
>
> --
> Benoît Minisini
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] System Colors

2016-05-02 Thread Jorge Carrión
I've changed the colors of the desktop theme and the default colors of
gambas (color.foreground,color.lightbacground, etc. etc.) are not changed.

Where are they taken from? Someone can tells ir me, please?

Thanks in advance.

Regards
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Embedding the Linux console

2016-04-30 Thread Jorge Carrión
Wow, what nice look!
I am waiting impatiently the 3.9 release... (or is the 3.8.5?)

Regards


2016-04-30 11:23 GMT+02:00 Fabien Bodard <gambas...@gmail.com>:

> 2016-04-29 10:31 GMT+02:00 Jorge Carrión <sho...@gmail.com>:
> > Good an simple Lee.
> >
> > Unfortunately doesn't work with ssh sessions or nano sessions, etc. Our
> > target is administer a remote computer via ssh within gambas.
> >
> > Thanks for the answer.
> >
> > Best Regards
> >
>
> But now we have the Gambas console. I wanted a real console to embark
> on some of my own projects and I especially wanted to understand how
> to work VT100 terminals in order to make a simpler component that
> gb.curses. Rebuild the machine to learn to communicate with her. The
> second advantage is to gain a certain independence in relation to
> desktop environment. Also the communication between the program and
> the onboard terminal can be more direct.
> Benoit rewrote almost all my code which was based on konsole out. Now
> it is a terminal with a really original internal code. It's pretty
> fast execution has not blush before a terminal C.
>
> Frankly it's one of the beautiful parts of the code gambas project.
> Should frame it :-).
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Embedding the Linux console

2016-04-29 Thread Jorge Carrión
Good an simple Lee.

Unfortunately doesn't work with ssh sessions or nano sessions, etc. Our
target is administer a remote computer via ssh within gambas.

Thanks for the answer.

Best Regards

2016-04-28 20:01 GMT+02:00 T Lee Davidson <t.lee.david...@gmail.com>:

> On 04/28/2016 11:31 AM, Jorge Carrión wrote:
> > Hi,
> >
> > I like to embbed a system console, like gnome-terminal or similar, in a
> > form. We are doing a computer control sistem in the job, and have done a
> > microsoft-tree-domain inteface. i like implement the feature of open a
> > ssh-terminal of the showed computers, but adding it a menu bar.
> >
> > Time ago there was a "embedder" control, but it not longer exist.
> >
> > It's posible do this?
> >
> > Thanks in advance.
>
> [code]
> ' Gambas class file
>
> Public sOutput As String
>
> Public Sub Form_Open()
>TextArea1.Insert("#>")
> End
>
> Public Sub TextArea1_KeyPress()
>If Key.Code <> Key.Enter And Key.Code <> Key.Return Then Return
>Stop Event
>Shell Right(Split(TextArea1.Text, "\n").Pop(), -2) To sOutput
>TextArea1.Insert("\n" & sOutput & "#>")
>TextArea1.EnsureVisible   ' (That's nice, Benoît.)
> End
> [/code]
>
>
> You can of course change the default colors of the TextArea to a light on
> dark to simulate a terminal. But, the cursor will
> likely become invisible and is not easily changed.
>
>
> --
> Lee
> __
>
> "Artificial Intelligence is no match for natural stupidity."
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Embedding the Linux console

2016-04-28 Thread Jorge Carrión
Aaarrghh!!! WHEN will be released de next estable version 

We only work with estable versions... have more than 60 computers in 6
differents cities. Can't actualice daily!!

(No problem, we can wait...)

Best regards

2016-04-28 18:18 GMT+02:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 28/04/2016 17:31, Jorge Carrión a écrit :
> > Hi,
> >
> > I like to embbed a system console, like gnome-terminal or similar, in a
> > form. We are doing a computer control sistem in the job, and have done a
> > microsoft-tree-domain inteface. i like implement the feature of open a
> > ssh-terminal of the showed computers, but adding it a menu bar.
> >
> > Time ago there was a "embedder" control, but it not longer exist.
> >
> > It's posible do this?
> >
> > Thanks in advance.
>
> Not exactly, but yes.
>
> Now you have a terminal emulator control in the development version
> (gb.form.terminal component), that will allow you to do that without any
> external application.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Embedding the Linux console

2016-04-28 Thread Jorge Carrión
Hi,

I like to embbed a system console, like gnome-terminal or similar, in a
form. We are doing a computer control sistem in the job, and have done a
microsoft-tree-domain inteface. i like implement the feature of open a
ssh-terminal of the showed computers, but adding it a menu bar.

Time ago there was a "embedder" control, but it not longer exist.

It's posible do this?

Thanks in advance.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Proposal about Separator

2016-04-13 Thread Jorge Carrión
Why don't use a Button instead a ToolButton? A toolButton is a button that
doesn't show  its borders without mouse cursor upon it...

2016-04-13 10:38 GMT+02:00 Rolf-Werner Eilert <eilert-sprac...@t-online.de>:

> What I miss is a Border property. If you switch Visible off, the whole
> separator distance is skipped, i. e. it is "out of order", same like
> Enabled switched off.
>
> Rolf
>
> Am 13.04.2016 09:59, schrieb Jorge Carrión:
> > I don't understand: If you don't want see it, don't set it... int' it?
> >
> > Regards
> >
> > 2016-04-13 8:40 GMT+02:00 Rolf-Werner Eilert <
> eilert-sprac...@t-online.de>:
> >
> >> Look at the screenshot. I set a separator between the ToolButton and the
> >> next ComboBox.
> >>
> >> The separator produces a thin gray line which looks as if it was the
> >> border of the ToolButton on its left. So it would be great if the
> >> separator's border could be switched off to make it completely
> "invisible".
> >>
> >> Is it possible to implement that?
> >>
> >> Regards
> >> Rolf
> >>
> >>
> >>
> >>
> --
> >> Find and fix application performance issues faster with Applications
> >> Manager
> >> Applications Manager provides deep performance insights into multiple
> >> tiers of
> >> your business applications. It resolves application problems quickly and
> >> reduces your MTTR. Get your free trial!
> >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> >
> --
> > Find and fix application performance issues faster with Applications
> Manager
> > Applications Manager provides deep performance insights into multiple
> tiers of
> > your business applications. It resolves application problems quickly and
> > reduces your MTTR. Get your free trial!
> > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Proposal about Separator

2016-04-13 Thread Jorge Carrión
I don't understand: If you don't want see it, don't set it... int' it?

Regards

2016-04-13 8:40 GMT+02:00 Rolf-Werner Eilert :

> Look at the screenshot. I set a separator between the ToolButton and the
> next ComboBox.
>
> The separator produces a thin gray line which looks as if it was the
> border of the ToolButton on its left. So it would be great if the
> separator's border could be switched off to make it completely "invisible".
>
> Is it possible to implement that?
>
> Regards
> Rolf
>
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas user mail list malfunction

2016-04-12 Thread Jorge Carrión
Jose Monteiro mails are marked as SPAM by google servers claiming they are
hotmail messages that are noncompliant with hotmail tests... Check your
spam folder.

Regards

2016-04-12 21:41 GMT+02:00 Gianluigi :

> I noted a malfunction in the receive mail from the ML.
> I get less messages than those that appear here [0]
> For example I have answered to the question of José Monteiro just because
> I'm hooked to mail Charlie but all messages of Monteiro I have not received
> them also the last Vuott and others.
> Anyone know why?
> Regards
> Gianluigi
>
> [0] http://gambas.8142.n7.nabble.com/gambas-user-f3.html
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to automatically select all text when first entering editable TableView cell?

2016-02-25 Thread Jorge Carrión
The textbox1.select() without parameters doesn't work for me, despite what
gambas help says.
Passing the parameters works well...
However, I must say that I haven't tested it on a tableview...

Regards

2016-02-25 20:30 GMT+01:00 Charlie :

> Hi Jorge,
> I looked at you solution but have a couple of points:-
> 1/. To select all the text in a TextBox there is no need for any more than
> *TextBox1.Select*
> 2/. Even if, having added a TextBox as an editor, you change T Lee's code
> to
> the below it doesn't work for me: -
> * TableView1.Editwith(TextBox1)
>  TextBox1.Select
> * Can you provide code that works as it would be better than my 'Shelling'
> example?
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/How-to-automatically-select-all-text-when-first-entering-editable-TableView-cell-tp55537p55543.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> --
> 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=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
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=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to automatically select all text when first entering editable TableView cell?

2016-02-25 Thread Jorge Carrión
That is very tricky.

Just try this:

Public Sub Form_Open()

  TextBox1.SetFocus()
  TextBox1.Select(0, Len(TextBox1.Text))

End

2016-02-25 18:00 GMT+01:00 Charlie :

> I could not get Gambas to do this, that's not to say it can't. I noticed
> that
> pressing [Ctrl]+A selected the text so my solution is to get BASH to press
> [Ctrl]+A
> 1/. Download and install 'xdotool'
> 2/. Insert the following line after 'TableView1.Edit()'
> Shell "xdotool key ctrl+a"
> It worked for me.
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/How-to-automatically-select-all-text-when-first-entering-editable-TableView-cell-tp55537p55541.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> --
> 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=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
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=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About the initial screen

2016-01-26 Thread Jorge Carrión
Gosh! I'm half blind, I guess...
Thank you Benoit

Best Regards.


2016-01-26 22:31 GMT+01:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 22/01/2016 10:15, Jorge Carrión a écrit :
> > In previous versions the icons of recently opened projects had the
> tooltip
> > property established as the path of the project. Now, if you open several
> > projects with same name (backups in another directory) you can't know
> what
> > of them is the original and what is the backup until you open the
> project.
> > Sometimes until you have modified the project :(
> >
> > It's posible establish the old behavior?
> >
> > Regards
>
> Put your mouse cursor on the project icon, and the tooltip will appear.
>
> --
> Benoît Minisini
>
>
> --
> 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=267308311=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
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=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] About the initial screen

2016-01-22 Thread Jorge Carrión
In previous versions the icons of recently opened projects had the tooltip
property established as the path of the project. Now, if you open several
projects with same name (backups in another directory) you can't know what
of them is the original and what is the backup until you open the project.
Sometimes until you have modified the project :(

It's posible establish the old behavior?

Regards
--
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=267308311=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Happy New Year

2016-01-02 Thread Jorge Carrión
Add myself to the good wishes: Happy new year!


2016-01-01 16:12 GMT+01:00 Fabien Bodard :

> i wish to all Gambas Users a happy new year
>
> --
> Fabien Bodard
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Happy New Year

2016-01-02 Thread Jorge Carrión
Bed & hot milk with honey, Benoit. It's my grandma solution...

2016-01-02 12:32 GMT+01:00 Benoît Minisini :

> Yeah, happy new year to everyone! And may all these stupid germs let us
> alone... ATCHA!
>
> --
> Benoît Minisini
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] About Groups of Controls

2015-12-04 Thread Jorge Carrión
I don't know if its a bug or a expected behaviour, so I ask here first:

If you declare a group of toolbuttons this way:

for n=1 to 5
bCan = New ToggleButton(hbx) As "CancelItemCola"
bCan.Picture = Stock["cancel"]
bCan.Height = 22
bCan.Width = 22
bCan.Border = False
bCan.tag = True 'col["Path"]
bCan.Action = "CancelItemCola"
next

(I mean with both clauses AS  and .Action)

When you click one of the buttons, all of them change its values at same
time...

By erasing or commenting de .Action line all works well, of course...

Best Regards.
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Groups of Controls

2015-12-04 Thread Jorge Carrión
Oh... ok, then. All that has been an accident...  but a instructive
accident, I guess...


Regards

2015-12-04 14:14 GMT+01:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 04/12/2015 13:49, Jorge Carrión a écrit :
> > I didn't expect nothing. It was an accident: I copied and pasted the code
> > with de .Action property line inadvertently from other project and get
> > surprised by the behaviour.
> >
> > Either way I don't understand why this behaviour. I think that should
> call
> > the _click event and the Action_Activate event, but not the click Event
> > several times...
> >
> > Regards
> >
>
> The Action_Activate is called once when you toggle one of the button,
> but The Click event is called once for each control sharing the same
> action.
>
> All controls sharing the same action should have the same state: they
> represent the same action displayed differently at different places.
>
> It's mainly useful when you want to associate a menu entry with a
> toolbar button.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Groups of Controls

2015-12-04 Thread Jorge Carrión
I didn't expect nothing. It was an accident: I copied and pasted the code
with de .Action property line inadvertently from other project and get
surprised by the behaviour.

Either way I don't understand why this behaviour. I think that should call
the _click event and the Action_Activate event, but not the click Event
several times...

Regards

2015-12-04 13:40 GMT+01:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 04/12/2015 13:15, Jorge Carrión a écrit :
> > I don't know if its a bug or a expected behaviour, so I ask here first:
> >
> > If you declare a group of toolbuttons this way:
> >
> > for n=1 to 5
> >  bCan = New ToggleButton(hbx) As "CancelItemCola"
> >  bCan.Picture = Stock["cancel"]
> >  bCan.Height = 22
> >  bCan.Width = 22
> >  bCan.Border = False
> >  bCan.tag = True 'col["Path"]
> >  bCan.Action = "CancelItemCola"
> > next
> >
> > (I mean with both clauses AS  and .Action)
> >
> > When you click one of the buttons, all of them change its values at same
> > time...
> >
> > By erasing or commenting de .Action line all works well, of course...
> >
> > Best Regards.
>
> This is the normal behaviour. What did you expect?
>
> --
> Benoît Minisini
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Print Screen issue

2015-11-25 Thread Jorge Carrión
Hi everybody,

I have to do a manual about a application of mine and it have a lot of
print screen of diferent forms but I can't capture the menu when its
expanded: the PrintScreen key doe'nt work.

Is there a way to capture the Imgage of a form with the menu expanded?

Thanks
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Print Screen issue

2015-11-25 Thread Jorge Carrión
Thanks Rolf. I didn't not nothing about that.

:)

2015-11-25 11:35 GMT+01:00 Rolf-Werner Eilert <eilert-sprac...@t-online.de>:

> I use KSnapshot, and it should be able to make a snapshot of an expanded
> menu.
>
> You could choose "Window under mouse-pointer" and/or a delay of x
> seconds which you use to expand the menu.
>
> Regards
> Rolf
>
> Am 25.11.2015 11:19, schrieb Jorge Carrión:
> > Hi everybody,
> >
> > I have to do a manual about a application of mine and it have a lot of
> > print screen of diferent forms but I can't capture the menu when its
> > expanded: the PrintScreen key doe'nt work.
> >
> > Is there a way to capture the Imgage of a form with the menu expanded?
> >
> > Thanks
> >
> --
> > Go from Idea to Many App Stores Faster with Intel(R) XDK
> > Give your users amazing mobile app experiences with Intel(R) XDK.
> > Use one codebase in this all-in-one HTML5 development environment.
> > Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> > http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Print Screen issue

2015-11-25 Thread Jorge Carrión
Ok. Thanks I'll try it.

2015-11-25 11:58 GMT+01:00 Moviga Technologies :

>
>
> KSnapShot is being deprecated. KScreenGenie is taking over as the
> replacement.
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Restoring position in an HSplit

2015-11-24 Thread Jorge Carrión
You can use the layout property too.

Public sub Form_Open()

 HSplit1.Layout[20,80)

end

Regards

2015-11-24 11:01 GMT+01:00 Tobias Boege :

> On Tue, 24 Nov 2015, Rolf-Werner Eilert wrote:
> > I've got an HSplit which fills the main area in my application.
> >
> > The HSplit contains a TreeView on the left and a TabStrip on the right.
> >
> > Of course, the HSplit makes one bar in the middle when running. When the
> > program starts, the position of the bar is set to 50 % automatically. Of
> > course, the user can grab it and slide it to another position once the
> > program is running.
> >
> > I would like to store this user position, but I do not find a property
> > of HSplit for it. When I save TreeView.Width and try to set it when the
> > program starts (Form_Open), it's overwritten.
> >
> > What can I do?
>
> With gb.settings it's as easy as:
>
>   Public Sub Form_Close()
> ' Save
> mySettings.Write(myHSplit)
>   End
>
>   Public Sub Form_Open()
> ' Restore with default a 1:2 ratio split
> mySettings.Read(myHSplit,, [1, 2])
>   End
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
>
> --
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A little question about treeView

2015-11-05 Thread Jorge Carrión
I have a treeView and I change the current item by

myTreeview.moveto(newkey)

Since then, the current key is newkey but the item is not highlightes on
screen

I can't find the way to highlight the new item... How can it be done?

Thanks in advance

Regards
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A little question about treeView

2015-11-05 Thread Jorge Carrión
Works fine,Toby!
I don't know why I thought the property key was read-only... I'm gettinng
old, I guess... 

Thank you very much.

Regards

2015-11-05 21:56 GMT+01:00 Tobias Boege :

> On Thu, 05 Nov 2015, Jorge Carri??n wrote:
> > I have a treeView and I change the current item by
> >
> > myTreeview.moveto(newkey)
> >
> > Since then, the current key is newkey but the item is not highlightes on
> > screen
> >
> > I can't find the way to highlight the new item... How can it be done?
> >
>
> TreeView has two distinct cursors: one for the visually selected item (in
> single selection mode) and an internal cursor.
>
> The Move*() methods modify the internal cursor and have no effect on the
> GUI. You must set the Key property of TreeView to change the selected
> element on the GUI.
>
> Part of that is written on the TreeView documentation start page[0].
>
> Regards,
> Tobi
>
> [0] http://gambaswiki.org/wiki/comp/gb.qt4/treeview
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How Capture the console exit?

2015-09-30 Thread Jorge Carrión
Thanks Jussi... but I'm not sure that catch the SIGHUP will be the
answer... I'm very confused about this. Perhaps to open a socket listen on
port 21 will be enough,.. or not... Is only that I'm surprised that nobody
has addressed this topic before. FTP is fairly used, I think.

Take a look on GAlarm, anyway.

Regards

2015-09-30 22:45 GMT+02:00 Jussi Lahtinen <jussi.lahti...@gmail.com>:

> If you mean how to catch SIGHUP, then look at how GAlarm uses gb.signal.
> You can find GAlarm from software farm.
>
>
> Jussi
>
> On Wed, Sep 30, 2015 at 11:34 PM, Jorge Carrión <sho...@gmail.com> wrote:
>
> > I'm doing a ftp client (like Filezilla).
> >
> > If I launch the gambas executable from console I can see the dialog
> between
> > server and local machine on it... but how can I capture de console exit
> > within my project?
> >
> > Obbiously If I launch my project from console with
> >
> > ./miproject.gambas 2>file.log
> >
> > and after that on runtime I catch file.log in a textArea, I can see the
> > server's dialog... but I think that way is tricky... It must be a better
> > way, I suppouse.
> >
> > Sumarizing: Is There a way to read the error output of the gambas project
> > in run time?
> >
> >
> > Regards
> >
> >
> --
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How Capture the console exit?

2015-09-30 Thread Jorge Carrión
I'm doing a ftp client (like Filezilla).

If I launch the gambas executable from console I can see the dialog between
server and local machine on it... but how can I capture de console exit
within my project?

Obbiously If I launch my project from console with

./miproject.gambas 2>file.log

and after that on runtime I catch file.log in a textArea, I can see the
server's dialog... but I think that way is tricky... It must be a better
way, I suppouse.

Sumarizing: Is There a way to read the error output of the gambas project
in run time?


Regards
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A question about gb-FTPClient

2015-09-26 Thread Jorge Carrión
it's posible get the hidden files from server with the gambas ftp client?

I've been trying with different options and commands, but unsuccesfully.

Regards
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A question about gb-FTPClient

2015-09-26 Thread Jorge Carrión
No. I mean the dot beginning files. get() doesn't includes It...

Regards.

2015-09-26 21:26 GMT+02:00 Benoît Minisini <gam...@users.sourceforge.net>:

> Le 26/09/2015 20:44, Jorge Carrión a écrit :
> > it's posible get the hidden files from server with the gambas ftp client?
> >
> > I've been trying with different options and commands, but unsuccesfully.
> >
> > Regards
>
> No idea. What do you call "hidden files"? Files beginning with dots? I
> don't see why they would be unavailable, there are not really hidden.
> This is just a convention.
>
> Or maybe there is a ftp option on the server that prevents that?
>
> --
> Benoît Minisini
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A question about FileChooser

2015-09-25 Thread Jorge Carrión
Wen I click with right mouse on a filechooser and select "Open with file
administrator" (I see the menu in spanish, I don't know if is the correct
un-translation (??) to English) always open the Audacious Music player...

I suppouse is a misconfiguration of my system, but... What exactly try to
open filechooser?

And another question: Can I add options to the default popup menu of
filechooser? I mean not by replacing the menu, jus add options...

Regards.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A question about FileView

2015-09-24 Thread Jorge Carrión
I don't know if this is a silly question, but...

There is some way to see the .. (parent directory) on a FileView?

Regards
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Project templates

2015-09-18 Thread Jorge Carrión
That is a fine option, Benoit!
I always begin a proyect by choosing components, linking libraries, copying
and pastin company icons, etc. etc. now I suppouse I can create a template
with all that stuff an just click on new... Awsome!
Keep doing the goob work...

Regards

2015-09-18 2:53 GMT+02:00 Benoît Minisini :

> Hi,
>
> Since revision #732Z, project creation is now based on project templates.
>
> Project templates are just normal projects that are stored:
>
> - In '/usr/share/gambas3/template' : they are the default templates
> provided with the Gambas sources. (Don't forget to issue a ./reconf &&
> ./configure -C if you compile from /trunk).
>
> - In '~/.local/share/gambas3/template' : they are templates defined by
> the user. To define a custom template, just save a project there.
>
> A bookmark has been added in the 'open project' dialog and in the 'save
> project as' dialog that points at the user template directory.
>
> The title and the description of a template project are used for
> describing the template in the project creation dialog.
>
> These title and description can be translated inside the project
> template, and it will be taken into account.
>
> Of course, when creating a project, the template title and description
> are replaced by those specificed in the project creation dialog.
>
> At the moment, I made only two templates. I will make other templates,
> to mimic the old project creation dialog behaviour.
>
> You are welcome to send templates to be integrated by default with
> Gambas! A template is usually a void project, but we can imagine
> providing an application skeleton.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] It's a Bug or I have something misconfigured?

2015-09-11 Thread Jorge Carrión
1.- Create a new qt graphic proyect. (I've attached it)
2.- Activate de Desktop component.
3.- Put a button on fMain with the event click with this only code

desktop.open("http://yahoo.com;)
Works fine and open the default web navigator (google Chrome) with the
yahoo's page

But in console I've got the message:

Fontconfig error: Cannot load default config file

I don't know if I must report it on bugtracker or its a misconfiguration on
my computer...

Regards


My system config:
[System]
Gambas=3.8.1
OperatingSystem=Linux
Kernel=3.16.0-38-generic
Architecture=x86_64
Distribution=Linux Mint 17.2 Rafaela
Desktop=GNOME
Theme=Cleanlooks
Language=es_ES.UTF-8
Memory=7927M

[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.6.13
CLUTTER_BACKEND=x11
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-248uDD9iqD,guid=4e60060b593b0c259d10540e55f2f45e
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=6891
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-p0gBgk
GNOME_KEYRING_PID=2588
GPG_AGENT_INFO=/run/user/1000/keyring-p0gBgk/gpg:0:1
HOME=
LANG=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=
SESSION_MANAGER=local/:@/tmp/.ICE-unix/2598,unix/:/tmp/.ICE-unix/2598
SHELL=/bin/bash
SSH_AGENT_PID=2733
SSH_AUTH_SOCK=/run/user/1000/keyring-p0gBgk/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=e628335a80f946a6457cca0f555e0703-1441985630.34781-245213985
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c2
XDG_VTNR=8


fontconfigwarning-0.0.1.tar.gz
Description: GNU Zip compressed data
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] The interview on FLOSS

2015-09-09 Thread Jorge Carrión
I liked it! Thanks for share.

2015-09-09 16:55 GMT+02:00 Benoît Minisini :

> I have been interviewed by Randall Schwartz and Simon Phipps on the
> FLOSS weekly show on twit.tv. You can show the interview at:
>
> https://twit.tv/shows/floss-weekly/episodes/353
>
> If you watch it, you will probably notice that I will never become an
> english teacher.
>
> Enjoy anyway!
>
> --
> Benoît Minisini
>
>
> --
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] This is some play around the Breeze theme

2015-09-07 Thread Jorge Carrión
I like number 2 or perhaps Number 4 but if you don't know previously
that is a prawn it's hard to recognize.

Wy do not to design a logo based on the G character? Its very much easy to
recognize in little pictures (if google doesn't owns all Gs in the world...
of, course)   :)

Regards

2015-09-07 9:12 GMT+02:00 Fabien Bodard :

> Yesteday i have spend one hour on imaginate how can look like the
> gambas icon in the breeze collection style.
>
> Tell me your opinions on it :-).
>
> --
> Fabien Bodard
>
>
> --
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: how to generation 12 random letters (A-Z and 0-9)

2015-06-05 Thread Jorge Carrión
Gianluigi:
You're no more an Spammer... :D:D
I can see you in my inbox.

Regards.


2015-06-05 15:08 GMT+02:00 Gianluigi bagone...@gmail.com:

 Hello Fernando,
 Since version 3.6 you can use Rand that returns an integer, contrary to
 Rnd, the higher born of the interval can be returned.
 Rand(1, 36), 1)

 Hello all,
 kindly you can let me know if this email appears as a SPAM

 Regards
 Gianluigi

 2015-06-05 11:07 GMT+02:00 Ru Vuott vu...@yahoo.it:

  ...or similarly by using String[] array:
 
  Public Sub Main()
 
  Dim b As Byte
  Dim ss As String[] = [A, B, C, D, E, F, G, H, I, J,
K, L, M, N, O, P, Q, R, S, T,
  U, V, W, X, Y, Z,
1, 2, 3, 4, 5, 6, 7, 8, 9, 0,
  Null]
 
For b = 1 To 12
  ss[ss.Max] = ss[Rnd(0, 36)]
Next
 
Print ss[ss.Max]
 
  End
 
 
 
 
  
  Ven 5/6/15, nando nand...@nothingsimple.com ha scritto:
 
   Oggetto: Re: [Gambas-user] R: how to generation 12 random letters (A-Z
  and 0-9)
   A: mailing list for gambas users gambas-user@lists.sourceforge.net
   Data: Venerdì 5 giugno 2015, 02:55
 
   Thanks folks,
   Not being pickey at all!!
   I
   made two mistakes..
   (That is why open source
   is better than closed source)
   Corrections
   made:
 
   Dim j as Byte
   Dim s as String
 
   For j = 1 To 12
   s =
   Mid(ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789,
   Int(Rnd((1, 37)), 1)
   Next
 
   Print s
 
   :)
   -Fernando
 
   -- Original Message
   ---
   From: Fabien Bodard gambas...@gmail.com
   To: mailing list for gambas users gambas-user@lists.sourceforge.net
   Sent: Wed, 3 Jun 2015 15:14:45 +0200
   Subject: Re: [Gambas-user] R: how to generation
   12 random letters (A-Z and 0-9)
 
Chr(Rand(48,90))
   
2015-06-02 15:28 GMT+02:00 Paul Horechuk
   phorec...@gmail.com:
 Just being a bit picky here, but
   shouldn't that be Rnd(1,36) ? 26
   
letters and 10 digits?

 On 15-06-02 08:49 AM, nando wrote:
 Alternate:
   
   
 Dim j as Byte
 Dim s as String

 For
   j = 1 To 12
s =
   Mid(ABCDEFGJIJKLMOPQRSTUVWXYZ0123456789, Int(1,
   13), 1)
 Next


   Print s

   
   
 -- Original
   Message ---
 From:
   Jussi Lahtinen jussi.lahti...@gmail.com
 To: mailing list for gambas users
   gambas-user@lists.sourceforge.net
 Sent: Sat, 30 May 2015 17:41:43
   +0300
 Subject: Re:
   [Gambas-user] R: how to generation 12 random letters (A-Z
   and 0-9)

   
You can write that in nicer way with rand()
   function, than rnd() function.
   
But that doesn't really matter, your code
   works anyway.

 Jussi
   
   
 On Sat, May
   30, 2015 at 3:12 PM, Ru Vuott vu...@yahoo.it
   wrote:

 Hello,

   
I propose:
   
   

 Public Sub
   Button1_Click()

Dim j As Byte
Dim s As String

   
   For j = 1 To 12
   
 If Fix(Rnd(0, 2)) Then
s =
   Chr(Rnd(48, 58))

 Else
s
   = Chr(Rnd(65, 91))
   
 Endif
   
   Next
   
   

   Print s

 End
   
   


   
 Sab 30/5/15, tsukuba GIMP
   user tsukubagradua...@foxmail.com
   ha scritto:

   Oggetto:
   [Gambas-user] how to generation 12 random letters (A-Z and
   0-9)
   A:
   gambas-user gambas-user@lists.sourceforge.net
   Data: Sabato
   30 maggio 2015, 11:16
   
   
   
  i want when i click button
   (button_1)
   
  LCDpanl(LCDLabel1) will be
   Generation 12 random letters
   
  how to
   [UTF-8?][UTF-8?]do?
   
   
   
 
   
  
 --
   
  ___
   Gambas-user
   mailing list
   
  Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user

   
   


 
 
 --

   ___
 Gambas-user mailing
   list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

   
   
 
 
 --

   ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 --- End of Original Message
   ---

   
   

 
 
 --

   ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Think Free ...
   
Use Open Source Software



 
 
 

Re: [Gambas-user] DrawigArea second mailing

2015-05-16 Thread Jorge Carrión
Gianluigi:

All your mails since a few weeks are marked as SPAM by gmail. The aduced
reason is : this message comes from libero.it but doesn't passes the
autentications tests required by libero.

Regards

2015-05-16 16:18 GMT+02:00 Gian bago...@libero.it:

 I was informed that the previous email with the subject DravingArea error
 (Path Pending) have been seen as spam, this the synthesized text:

 In this attached small example that before it worked well now I get an
 error (Pending path) and do not understand why.
 I installed on a VirtualBox the Gambas3 3.5.4 and 3.6.2 and the code well
 works.

 Regards
 Gianluigi

 [System]
 Gambas=3.7.1 (Compiled)
 OperatingSystem=Linux
 Kernel=3.13.0-51-generic
 Architecture=x86_64
 Distribution=Ubuntu 14.04.2 LTS
 Desktop=GNOME
 Theme=QGtk
 Language=it_IT.UTF-8
 Memory=4961M
 [Libraries]
 Cairo=libcairo.so.2.11301.0
 Curl=libcurl.so.4.3.0
 DBus=libdbus-1.so.3.7.6
 GStreamer=libgstreamer-0.10.so.0.30.0
 GStreamer=libgstreamer-1.0.so.0.204.0
 GTK+3=libgtk-3.so.0.1000.8
 GTK+=libgtk-x11-2.0.so.0.2400.23
 OpenGL=libGL.so.1.2.0
 Poppler=libpoppler.so.44.0.0
 Qt4=libQtCore.so.4.8.6
 SDL=libSDL-1.2.so.0.11.4

 [System]
 Gambas=3.7.1 (PPA)
 OperatingSystem=Linux
 Kernel=3.13.0-38-generic
 Architecture=x86_64
 Distribution=Ubuntu 14.04.2 LTS
 Desktop=GNOME
 Theme=QGtk
 Language=it_IT.UTF-8
 Memory=15977M
 [Libraries]
 Cairo=libcairo.so.2.11301.0
 Curl=libcurl.so.4.3.0
 DBus=libdbus-1.so.3.7.6
 GStreamer=libgstreamer-0.10.so.0.30.0
 GStreamer=libgstreamer-1.0.so.0.204.0
 GTK+3=libgtk-3.so.0.1000.8
 GTK+=libgtk-x11-2.0.so.0.2400.23
 OpenGL=libGL.so.1.2.0
 Poppler=libpoppler.so.44.0.0
 Qt4=libQtCore.so.4.8.6
 SDL=libSDL-1.2.so.0.11.4

 [System]
 Gambas=3.7.90
 OperatingSystem=Linux
 Kernel=3.13.0-53-generic
 Architecture=x86
 Distribution=Ubuntu 14.04.2 LTS
 Desktop=GNOME
 Theme=Gtk
 Language=it_IT.UTF-8
 Memory=3020M
 [Libraries]
 Cairo=libcairo.so.2.11301.0
 Curl=libcurl.so.4.3.0
 DBus=libdbus-1.so.3.7.6
 GStreamer=libgstreamer-0.10.so.0.30.0
 GStreamer=libgstreamer-1.0.so.0.204.0
 GTK+3=libgtk-3.so.0.1000.8
 GTK+=libgtk-x11-2.0.so.0.2400.23
 OpenGL=libGL.so.1.2.0
 Poppler=libpoppler.so.44.0.0
 Qt4=libQtCore.so.4.8.6
 Qt5=libQt5Core.so.5.2.1
 SDL=libSDL-1.2.so.0.11.4
 [System]
 Gambas=3.6.2
 OperatingSystem=Linux
 Kernel=3.16.0-37-generic
 Architecture=x86
 Distribution=Ubuntu 14.04.2 LTS
 Desktop=GNOME
 Theme=QGtk
 Language=it_IT.UTF-8
 Memory=4052M
 [Libraries]
 Cairo=libcairo.so.2.11301.0
 Curl=libcurl.so.4.3.0
 DBus=libdbus-1.so.3.7.6
 GStreamer=libgstreamer-0.10.so.0.30.0
 GStreamer=libgstreamer-1.0.so.0.204.0
 GTK+3=libgtk-3.so.0.1000.8
 GTK+=libgtk-x11-2.0.so.0.2400.23
 OpenGL=libGL.so.1.2.0
 Poppler=libpoppler.so.44.0.0
 Qt4=libQtCore.so.4.8.6
 SDL=libSDL-1.2.so.0.11.4


 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A issue with gbDesktop.open

2015-04-26 Thread Jorge Carrión
Buff... I've based all my project on it!... I suppouse that I'll have to
find a way to freeze the application based on the file itself... I can't
imagine how in this moment.

Thank you a lot, Benoit.

Regards

2015-04-25 23:06 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:

 Le 21/04/2015 13:24, Jorge Carrión a écrit :
  I have a project thas uses gbDesktop in order to open .odt documents and
  let users to modify them.
  In order to control if a document has changed after been closed the
 second
  parameter of desktop.open is setted to True.
 
  gbDesktop.Open(myfile,True)
 
  It seems work fine..but (allways there's a but) yesterday I find that in
 my
  Office development mahcine, executing the project from the IDE, that
 second
  parameter was ignored and the project does'nt wait for the end of
 launched
  Desktop application (LibreOffice).
 
  It drive me nut all the morning and I wrote a workaround... but (again)
  this morning the second parameter works fine.
 
The same machine, the same project, the same gambas. Yesterday doesn't
  work, today works.
 
  There is some explanation? This point is very important to my project, if
  program doesn't wait all the sistem fails...
 
  The system info:
  [System]
  Gambas=3.7.0
  OperatingSystem=Linux
  Kernel=3.13.0-37-generic
  Architecture=x86_64
  Distribution=Linux Mint 17.1 Rebecca
  Desktop=GNOME
  Theme=QCleanlooks
  Language=es_ES.UTF-8
  Memory=5934M
  [Libraries]
  Cairo=libcairo.so.2.11301.0
  Curl=libcurl.so.4.3.0
  DBus=libdbus-1.so.3.7.6
  GStreamer=libgstreamer-0.10.so.0.30.0
  GStreamer=libgstreamer-1.0.so.0.204.0
  GTK+3=libgtk-3.so.0.1000.8
  GTK+=libgtk-x11-2.0.so.0.2400.23
  OpenGL=libGL.so.1.2.0
  Poppler=libpoppler.so.44.0.0
  Qt4=libQtCore.so.4.8.6
  SDL=libSDL-1.2.so.0.11.4
 
  The project uses qt4 and the Desktop Qt4 theme is cleanlooks
 
  I can't send a proyect reproducing the error: *Today* it works fine!
 
  Regards.

 Desktop.Open() relies on an xdg-util shell script to open the file.

 When the Wait argument is True, Desktop.Open() just waits for the end of
 the xdg-util script. It does not know how to wait for the end of the
 program that will open the file for you.

 The Wait argument is mainly useful to catch a possible error when
 running a script. It is not reliable for doing what you want.

 Regards,

 --
 Benoît Minisini


 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A issue with gbDesktop.open

2015-04-26 Thread Jorge Carrión
Ok. Thanks Benoit.



2015-04-26 18:38 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:

 Le 26/04/2015 17:48, Jorge Carrión a écrit :
  A question, Benoit, it's the same thing for
 
  Shell command wait
 
  Is based in xdg-util script too?
 
  Regards
 

 No, but there is an intermediate shell ('/bin/sh' by default) between
 your Gambas program and the executed process.

 --
 Benoît Minisini


 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A issue with gbDesktop.open

2015-04-26 Thread Jorge Carrión
Of course. Thanks again.

It's fine how you are there, working on sunday!!

Regards

2015-04-26 18:47 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:

 Le 26/04/2015 18:42, Jorge Carrión a écrit :
  Ok. Thanks Benoit.
 

 If you don't want the intermediate shell, use EXEC.

 --
 Benoît Minisini


 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A issue with gbDesktop.open

2015-04-26 Thread Jorge Carrión
A question, Benoit, it's the same thing for

Shell command wait

Is based in xdg-util script too?

Regards


2015-04-26 10:31 GMT+02:00 Jorge Carrión sho...@gmail.com:

 Buff... I've based all my project on it!... I suppouse that I'll have to
 find a way to freeze the application based on the file itself... I can't
 imagine how in this moment.

 Thank you a lot, Benoit.

 Regards

 2015-04-25 23:06 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:

 Le 21/04/2015 13:24, Jorge Carrión a écrit :
  I have a project thas uses gbDesktop in order to open .odt documents and
  let users to modify them.
  In order to control if a document has changed after been closed the
 second
  parameter of desktop.open is setted to True.
 
  gbDesktop.Open(myfile,True)
 
  It seems work fine..but (allways there's a but) yesterday I find that
 in my
  Office development mahcine, executing the project from the IDE, that
 second
  parameter was ignored and the project does'nt wait for the end of
 launched
  Desktop application (LibreOffice).
 
  It drive me nut all the morning and I wrote a workaround... but (again)
  this morning the second parameter works fine.
 
The same machine, the same project, the same gambas. Yesterday doesn't
  work, today works.
 
  There is some explanation? This point is very important to my project,
 if
  program doesn't wait all the sistem fails...
 
  The system info:
  [System]
  Gambas=3.7.0
  OperatingSystem=Linux
  Kernel=3.13.0-37-generic
  Architecture=x86_64
  Distribution=Linux Mint 17.1 Rebecca
  Desktop=GNOME
  Theme=QCleanlooks
  Language=es_ES.UTF-8
  Memory=5934M
  [Libraries]
  Cairo=libcairo.so.2.11301.0
  Curl=libcurl.so.4.3.0
  DBus=libdbus-1.so.3.7.6
  GStreamer=libgstreamer-0.10.so.0.30.0
  GStreamer=libgstreamer-1.0.so.0.204.0
  GTK+3=libgtk-3.so.0.1000.8
  GTK+=libgtk-x11-2.0.so.0.2400.23
  OpenGL=libGL.so.1.2.0
  Poppler=libpoppler.so.44.0.0
  Qt4=libQtCore.so.4.8.6
  SDL=libSDL-1.2.so.0.11.4
 
  The project uses qt4 and the Desktop Qt4 theme is cleanlooks
 
  I can't send a proyect reproducing the error: *Today* it works fine!
 
  Regards.

 Desktop.Open() relies on an xdg-util shell script to open the file.

 When the Wait argument is True, Desktop.Open() just waits for the end of
 the xdg-util script. It does not know how to wait for the end of the
 program that will open the file for you.

 The Wait argument is mainly useful to catch a possible error when
 running a script. It is not reliable for doing what you want.

 Regards,

 --
 Benoît Minisini


 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] File in clipboard

2015-04-22 Thread Jorge Carrión
I think is a standard behaviour. The program that receives the clipboard
must be able to search and copy it.

Regards

2015-04-22 9:42 GMT+02:00 Roel Touwen r...@touwtje.info:

 Hi All,

 I would like to copy a file to the clipboard. So not only text.

 When I browse to a file in the filesystem (Dolphin) and do a copy and
 after that I do clipboard.paste I get the filename with file:/// But
 when I do a clipboard.copy file:/// with the filename. The Os only
 gets this as a string and not the filename.

 Anybody?

 Thanks.

 Roel



 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A issue with gbDesktop.open

2015-04-21 Thread Jorge Carrión
I have a project thas uses gbDesktop in order to open .odt documents and
let users to modify them.
In order to control if a document has changed after been closed the second
parameter of desktop.open is setted to True.

gbDesktop.Open(myfile,True)

It seems work fine..but (allways there's a but) yesterday I find that in my
Office development mahcine, executing the project from the IDE, that second
parameter was ignored and the project does'nt wait for the end of launched
Desktop application (LibreOffice).

It drive me nut all the morning and I wrote a workaround... but (again)
this morning the second parameter works fine.

 The same machine, the same project, the same gambas. Yesterday doesn't
work, today works.

There is some explanation? This point is very important to my project, if
program doesn't wait all the sistem fails...

The system info:
[System]
Gambas=3.7.0
OperatingSystem=Linux
Kernel=3.13.0-37-generic
Architecture=x86_64
Distribution=Linux Mint 17.1 Rebecca
Desktop=GNOME
Theme=QCleanlooks
Language=es_ES.UTF-8
Memory=5934M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

The project uses qt4 and the Desktop Qt4 theme is cleanlooks

I can't send a proyect reproducing the error: *Today* it works fine!

Regards.
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] valuebox type numeric doesn't raise change event

2015-04-15 Thread Jorge Carrión
Good work Benoît.

2015-04-15 19:06 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:

 Le 15/04/2015 10:51, Jorge Carrión a écrit :
  Here it is.
 

 Thanks. Fixed in revision #7038.

 Regards,

 --
 Benoît Minisini


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] valuebox type numeric doesn't raise change event

2015-04-15 Thread Jorge Carrión
The subject says all.

[System]
Gambas=3.7.0
OperatingSystem=Linux
Kernel=3.13.0-37-generic
Architecture=x86_64
Distribution=Linux Mint 17.1 Rebecca
Desktop=GNOME
Theme=QGtk
Language=es_ES.UTF-8
Memory=5934M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] valuebox type numeric doesn't raise change event

2015-04-15 Thread Jorge Carrión
Here it is.

2015-04-15 10:25 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:

 Le 15/04/2015 10:07, Jorge Carrión a écrit :
  The subject says all.
 

 It should. Please a provide a little project that shows the bug.

 Regards,

 --
 Benoît Minisini


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



valueboxIssue-0.0.1.tar.gz
Description: GNU Zip compressed data
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New Widget

2015-04-12 Thread Jorge Carrión
It looks strange at open time...(see  attached)
After drag it with mouse it is showed right.

I think is a useful widget, Fabian.

Regards

2015-04-12 22:21 GMT+02:00 Fabien Bodard gambas...@gmail.com:

 Hi this is a try for a new widget.

 Give me your opinion please.

 --
 Fabien Bodard


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A little issue about datechooser

2015-04-12 Thread Jorge Carrión
Ok. I can live with that [?]

Regards

2015-04-12 11:11 GMT+02:00 Benoît Minisini gam...@users.sourceforge.net:

 Le 12/04/2015 10:49, Jorge Carrión a écrit :
  When you change the datechooser month, the day with the same number than
  datechooser.Value is always highlighted.
 
  It's a bug o a expected behavior?
 
 
  Regards

 The control always displays the selected date. So if another month has
 to be visible, the day must be in that month.

 It was not necessarily intented, it was just done like that.

 --
 Benoît Minisini


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] A little issue about datechooser

2015-04-12 Thread Jorge Carrión
When you change the datechooser month, the day with the same number than
datechooser.Value is always highlighted.

It's a bug o a expected behavior?


Regards
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   >