Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread bill-lancaster
Thanks for the several ideas.
The example from Ru works except when the user scrolls down, then the
balloon is placed well below the gridview control because the cell position
has moved relative to the control.

Using the GridView[Row, Column].EnsureVisible() has the same problem.

BTW the control is destroyed after Balloon.Delay

I've attached a simple example.

Gridview2-0.gz   



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069p50090.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 591 in gambas: Togglebutton component background doesn't work in QT4

2015-01-03 Thread gambas

Comment #2 on issue 591 by uale...@gmail.com: Togglebutton component  
background doesn't work in QT4
https://code.google.com/p/gambas/issues/detail?id=591

Here you go:

[System]
Gambas=3.6.2
OperatingSystem=Linux
Kernel=3.13.0-39-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=980M
[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

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread Fabien Bodard
Hi randall,
Is the balloon can be in the gridview control ? Like balloon in googlemap ?
Le 3 janv. 2015 09:49, "bill-lancaster"  a
écrit :

> Thanks for the several ideas.
> The example from Ru works except when the user scrolls down, then the
> balloon is placed well below the gridview control because the cell position
> has moved relative to the control.
>
> Using the GridView[Row, Column].EnsureVisible() has the same problem.
>
> BTW the control is destroyed after Balloon.Delay
>
> I've attached a simple example.
>
> Gridview2-0.gz <
> http://gambas.8142.n7.nabble.com/file/n50090/Gridview2-0.gz>
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069p50090.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SerialPort: RS232 DTR problem

2015-01-03 Thread Tobias Boege
On Fri, 02 Jan 2015, Beno?t Minisini wrote:
> Le 16/12/2014 15:52, Tobias Boege a ?crit :
> > Hi,
> >
> > [ this is a forwarded bug report -- and this time I'm only translating. I
> >don't understand any of these hardware things. If there are questions
> >left, don't hesitate; ]
> >
> > a user complains that SerialPort.DTR is buggy on his system: after
> > initialisation, this property is False and the voltage is -12V.
> >
> > Setting it to True works and the voltage raises to +12V. But setting it to
> > False afterwards does nothing: the property continues to return True the
> > voltage remains on +12V. The needed hardware is an RS232 or an RS232-USB
> > adapter.
> >
> > He says it worked with Gambas2 and he first noticed that it didn't with
> > Gambas 3.1.1 (from the Ubuntu repositories). I urged him to update and the
> > error still happens with 3.6.2.
> >
> > Attached is the project we came up with to reproduce the issue. He also
> > mentioned that behaviour changed slightly when he left out the graphical
> > component he initially used his project with: with a graphical component,
> > the hardware didn't react and the property remained True and without a
> > graphical component, the hardware reacts correctly, only the property gives
> > the wrong value -- if I got him right.
> >
> > Regards,
> > Tobi
> >
> 
> Does the last revision (#6792) change anything?
> 

He says no.

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread bill-lancaster
Sorry about this,
I thought I'd tried this already - it works fine
Public Sub GridView1_MouseDown()
 Balloon.Info(GridView1[GridView1.Row, GridView1.Column].Text,
GridView1, Mouse.X, Mouse.Y)
End




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069p50094.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview cell coordinates

2015-01-03 Thread Fabien Bodard
You can play with that too. In this example, i show how to make an
internal balloon directly in the gridview



2015-01-03 17:54 GMT+01:00 bill-lancaster :
> Sorry about this,
> I thought I'd tried this already - it works fine
> Public Sub GridView1_MouseDown()
>  Balloon.Info(GridView1[GridView1.Row, GridView1.Column].Text,
> GridView1, Mouse.X, Mouse.Y)
> End
>
>
>
>
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069p50094.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard


bubblegrid-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Not happy!

2015-01-03 Thread Benoît Minisini
Le 03/01/2015 03:54, Kevin Fishburne a écrit :
> On 01/02/2015 09:30 PM, adamn...@gmail.com wrote:
>> On Sat, 03 Jan 2015 02:06:11 +0100
>> Benoît Minisini  wrote:
>>
>>> Le 03/01/2015 00:11, adamn...@gmail.com a écrit :
 The "Show only components used in this project" button has gone missing in 
 the new project properties form.

 :-(
 Bruce

>>> You must click on the magnifer icon in the component filter to open a
>>> menu where you can check that.
>>>
>>> --
>>> Benoît Minisini
>>>
>> Hmm. To coin a phrase from 20 years of software testing..
>> "Now, that is not exactly intuitive to most casual observers"
>> b
>
> It's a "hidden feature"...literally. :)
>

OK, OK, the checkboxes came back in revision #6803.

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Removing an argument from the project properties form

2015-01-03 Thread adamn...@gmail.com
crashes the IDE.

regards
Bruce

-- 
B Bruen 

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to query your package manager for dependencies?

2015-01-03 Thread Tobias Boege
Hi list,

given a package name x, I would like you to write me the line(s) which list
the (first-order, that is immediate) dependencies of the package x (by
calling your package manager appropriately). For example, under Arch Linux,
the package manager is called "pacman":

  $ x="gambas3-runtime"
 -->  $ pacman -Si $x | egrep "Depends On|Optional Deps"
  Depends On : libffi  xdg-utils
  Optional Deps  : None

If you can grep the output a little, like I did above, it would be nice and
if you can separate optional dependencies from mandatory ones, that would be
even better.

While I could google these things for foreign-to-me distributions, I would
rather ask you to actually confirm that the lines you give me do work.
Please use only english locales. Thanks for any contribution.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Removing an argument from the project properties form

2015-01-03 Thread Benoît Minisini
Le 04/01/2015 01:05, adamn...@gmail.com a écrit :
> crashes the IDE.
>
> regards
> Bruce
>

Can you elaborate? I have no problem there.

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SerialPort: RS232 DTR problem

2015-01-03 Thread Benoît Minisini
Le 03/01/2015 15:40, Tobias Boege a écrit :
> On Fri, 02 Jan 2015, Beno?t Minisini wrote:
>> Le 16/12/2014 15:52, Tobias Boege a ?crit :
>>> Hi,
>>>
>>> [ this is a forwarded bug report -- and this time I'm only translating. I
>>> don't understand any of these hardware things. If there are questions
>>> left, don't hesitate; ]
>>>
>>> a user complains that SerialPort.DTR is buggy on his system: after
>>> initialisation, this property is False and the voltage is -12V.
>>>
>>> Setting it to True works and the voltage raises to +12V. But setting it to
>>> False afterwards does nothing: the property continues to return True the
>>> voltage remains on +12V. The needed hardware is an RS232 or an RS232-USB
>>> adapter.
>>>
>>> He says it worked with Gambas2 and he first noticed that it didn't with
>>> Gambas 3.1.1 (from the Ubuntu repositories). I urged him to update and the
>>> error still happens with 3.6.2.
>>>
>>> Attached is the project we came up with to reproduce the issue. He also
>>> mentioned that behaviour changed slightly when he left out the graphical
>>> component he initially used his project with: with a graphical component,
>>> the hardware didn't react and the property remained True and without a
>>> graphical component, the hardware reacts correctly, only the property gives
>>> the wrong value -- if I got him right.
>>>
>>> Regards,
>>> Tobi
>>>
>>
>> Does the last revision (#6792) change anything?
>>
>
> He says no.
>

A stupid bug in the DTR property implementation... It should be fixed in 
revision #6804. Please ask him to confirm.

Regards,

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] ComboBox with RichText and Index

2015-01-03 Thread Christian e Ana Luiza Britto
Hi,
I have two questions:
1) Is it possible to put rich text content in a ComboBox?
2) Is it possible to define user defined keys for every ComboBox content?

Best Regards,
Christian

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Removing an argument from the project properties form

2015-01-03 Thread adamn...@gmail.com
On Sun, 04 Jan 2015 02:32:22 +0100
Benoît Minisini  wrote:

> Le 04/01/2015 01:05, adamn...@gmail.com a écrit :
> > crashes the IDE.
> >
> > regards
> > Bruce
> >
> 
> Can you elaborate? I have no problem there.
> 
> -- 
> Benoît Minisini
> 
Hmm. Maybe I've done something silly to the local IDE. No matter what I do in 
the project properties popup as soon as I click on the save button I get an 
error 13 at FProjectProperty.WriteComponent .1512 which is:
  $aNeed.Clear

...

Aha! It only happens with projects that are components.

Try (say)
1) open gb.markdown
2) open project properties
3) click OK (no need to worry about the arguments tab - it appears to be a 
furphy)

here I get when running the IDE from the IDE a null object for $aNeed 


???
Bruce
-- 
B Bruen 

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user