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

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

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

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

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

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

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

ok thanks ...

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

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

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

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

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


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

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


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


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

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

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

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

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


Re: [Gambas-user] 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] gridview contents x, y are default richtext or text?

2017-06-28 Thread adamn...@gmail.com
Just because something has a similar name doesn't mean it is the same thing.

Your original question makes as much sense as: "How come when I access the Text 
property of a GridView, it doesn't give me the value of the Alignment property?"

V_GridView_Cell.Text and _GridView_Cell.RichText are not the same property.

b


On Wed, 28 Jun 2017 18:14:54 -0400
PICCORO McKAY Lenz  wrote:

> 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


-- 
B Bruen 

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


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

2017-06-28 Thread 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


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

2017-06-28 Thread 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


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

2017-06-28 Thread PICCORO McKAY Lenz
but that's the problem, why richtext have contents and .text does not have
it?

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

2017-06-28 13:17 GMT-04:00 Charlie :

> PICCORO McKAY Lenz wrote
> > i have a piece of code, from a complex project, that export line by line
> > to
> > a file, the contents of the gridview, but not the text, only the richtext
> > why are not the same?
>
> Try using:
>
> *linefile &= "\"" & grid[d, c].RichText & "\";"   'Not .Text*
>
> Also you can use: -
>
> *For d = 0 To grid.Rows.Max   'Instead of Count - 1 *
>
> I have attached the program I used to test this.
> 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-tp59568p59569.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] gridview contents x, y are default richtext or text?

2017-06-28 Thread Charlie
PICCORO McKAY Lenz wrote
> i have a piece of code, from a complex project, that export line by line
> to
> a file, the contents of the gridview, but not the text, only the richtext
> why are not the same?

Try using:

*linefile &= "\"" & grid[d, c].RichText & "\";"   'Not .Text*

Also you can use: -

*For d = 0 To grid.Rows.Max   'Instead of Count - 1 *

I have attached the program I used to test this. 
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-tp59568p59569.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


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

2017-06-28 Thread PICCORO McKAY Lenz
i have a piece of code, from a complex project, that export line by line to
a file, the contents of the gridview, but not the text, only the richtext
why are not the same?

For d = 0 To grid.Rows.Count - 1
linefile = ""
For c = 0 To grid.Columns.Count - 1
linefile &= "\"" & grid[d, c].text & "\";"
Next
linefile = Left(linefile, -1) & gb.NewLine
parsetofile &= linefile
Next

"parsetofile" its the file to put stream, but the grid object only have
text content in the richtext, and the text not? why if i using .text does
not show nothing?

in the data event i set both, text and richtext! but only got in richtext!
why?

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


Re: [Gambas-user] Gridview icon detection

2017-01-19 Thread Linus
Hi Fabien,

Thank you for the example but I made a mistake and it’s not for a GRIDVIEW but 
for ColumnView that I would detect the Icon.

Do you have any idea to do that please ?


Olivier Cruilles


> Le 19 janv. 2017 à 07:46, Gianluigi  a écrit :
> 
> Hi Fabien,
> 
> very interesting especially the explanation of _Draw :-)
> 
> I thank you so much
> 
> Regards
> 
> Gianluigi
> 
> 2017-01-19 12:07 GMT+01:00 Fabien Bodard :
> 
>> Ok this is my fault as i've not tested my code ... so i've forgot to
>> little things
>> 
>> This is so the working code :
>> 
>> 
>> Private aMyValues As New String[]
>> Private aMyStates As New Integer[]
>> Private aMyPicState As New Picture[3]
>> 
>> Public Sub _New()
>> 
>>  aMyPicState[0] = Picture["img/checked.png"]
>>  aMyPicState[1] = Picture["img/unchecked.png"]
>>  aMyPicState[2] = Picture["img/tristate.png"]
>> 
>>  'Load here values and states in arrays
>>  aMyValues.Push("First")
>>  aMyStates.Push(CheckBox.True)
>>  aMyValues.Push("Second")
>>  aMyStates.Push(CheckBox.None)
>>  aMyValues.Push("Third")
>>  aMyStates.Push(CheckBox.False)
>>  gridview1.columns.count = 2
>>  gridview1.Columns[0].Width = 22
>> 
>>  GridView1.Rows.height = 22
>> 
>>  GridView1.Rows.Count = aMyValues.Count
>> 
>> End
>> 
>> Public Sub GridView1_Data(Row As Integer, Column As Integer)
>> 
>>  Select Case Column
>> 
>>Case 0
>>  Last.Data.Picture = aMyPicState[aMyStates[Row] + 1]
>>Case 1
>>  Last.data.text = aMyValues[Row]
>> 
>>  End Select
>> 
>> End
>> 
>> Public Sub GridView1_Click()
>> 
>>  If Last.Column = 0 Then
>>Inc aMyStates[GridView1.Row]
>>If aMyStates[GridView1.Row] > 1 Then aMySTates[GridView1.Row] = -1
>>  Endif
>>  GridView1.Refresh
>> 
>> End
>> 
>> 
>> And I've corrected your project and added a form that show how to use
>> the _draw event. Here it allow to get checkboxes drawed with the
>> current desktop theme.
>> 
>> 
>> --
>> 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] Gridview icon detection

2017-01-19 Thread Gianluigi
Hi Fabien,

very interesting especially the explanation of _Draw :-)

I thank you so much

Regards

Gianluigi

2017-01-19 12:07 GMT+01:00 Fabien Bodard :

> Ok this is my fault as i've not tested my code ... so i've forgot to
> little things
>
> This is so the working code :
>
>
> Private aMyValues As New String[]
> Private aMyStates As New Integer[]
> Private aMyPicState As New Picture[3]
>
> Public Sub _New()
>
>   aMyPicState[0] = Picture["img/checked.png"]
>   aMyPicState[1] = Picture["img/unchecked.png"]
>   aMyPicState[2] = Picture["img/tristate.png"]
>
>   'Load here values and states in arrays
>   aMyValues.Push("First")
>   aMyStates.Push(CheckBox.True)
>   aMyValues.Push("Second")
>   aMyStates.Push(CheckBox.None)
>   aMyValues.Push("Third")
>   aMyStates.Push(CheckBox.False)
>   gridview1.columns.count = 2
>   gridview1.Columns[0].Width = 22
>
>   GridView1.Rows.height = 22
>
>   GridView1.Rows.Count = aMyValues.Count
>
> End
>
> Public Sub GridView1_Data(Row As Integer, Column As Integer)
>
>   Select Case Column
>
> Case 0
>   Last.Data.Picture = aMyPicState[aMyStates[Row] + 1]
> Case 1
>   Last.data.text = aMyValues[Row]
>
>   End Select
>
> End
>
> Public Sub GridView1_Click()
>
>   If Last.Column = 0 Then
> Inc aMyStates[GridView1.Row]
> If aMyStates[GridView1.Row] > 1 Then aMySTates[GridView1.Row] = -1
>   Endif
>   GridView1.Refresh
>
> End
>
>
> And I've corrected your project and added a form that show how to use
> the _draw event. Here it allow to get checkboxes drawed with the
> current desktop theme.
>
> 
> --
> 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 icon detection

2017-01-19 Thread Fabien Bodard
Ok this is my fault as i've not tested my code ... so i've forgot to
little things

This is so the working code :


Private aMyValues As New String[]
Private aMyStates As New Integer[]
Private aMyPicState As New Picture[3]

Public Sub _New()

  aMyPicState[0] = Picture["img/checked.png"]
  aMyPicState[1] = Picture["img/unchecked.png"]
  aMyPicState[2] = Picture["img/tristate.png"]

  'Load here values and states in arrays
  aMyValues.Push("First")
  aMyStates.Push(CheckBox.True)
  aMyValues.Push("Second")
  aMyStates.Push(CheckBox.None)
  aMyValues.Push("Third")
  aMyStates.Push(CheckBox.False)
  gridview1.columns.count = 2
  gridview1.Columns[0].Width = 22

  GridView1.Rows.height = 22

  GridView1.Rows.Count = aMyValues.Count

End

Public Sub GridView1_Data(Row As Integer, Column As Integer)

  Select Case Column

Case 0
  Last.Data.Picture = aMyPicState[aMyStates[Row] + 1]
Case 1
  Last.data.text = aMyValues[Row]

  End Select

End

Public Sub GridView1_Click()

  If Last.Column = 0 Then
Inc aMyStates[GridView1.Row]
If aMyStates[GridView1.Row] > 1 Then aMySTates[GridView1.Row] = -1
  Endif
  GridView1.Refresh

End


And I've corrected your project and added a form that show how to use
the _draw event. Here it allow to get checkboxes drawed with the
current desktop theme.


BrokenCode-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] Gridview icon detection

2017-01-18 Thread Gianluigi
Hi Fabien,

I did not understand if you answer the question by Olivier or to that of
the Spanish forum.

Your code am not able to make it work, sorry, you can have a look?

Regarding the new question by Olivier am attaching a possible solution,
always it comes from Shordi code.

Regards

Gianluigi

2017-01-18 21:55 GMT+01:00 Fabien Bodard :

> Maybe the best will beto use 2 column... one for the icon and one for
> the text. The problem of many users is they want to use the gridview
> as  a data container.
>
> Better way will be to have 2 array or an array of class with two value.
>
>
> Private aMyValues as New String[]
> private aMyStates as new integer[]
> Private aMyPicStates as  new Picture[3]
>
> Public sub _New()
>
> aMyPicState[0]= Picture["img/checked.png"]
> aMyPicState[1]= Picture["img/unchecked.png"]
> aMyPicState[2]= Picture["img/tristate.png"]
>
> 'Load here values and states in arrays
>
> gridview1.columns.count = 2
> gridview1.Columns[0].Width = 22
>
> Gridview1.Rows.height = 22
>
> GriwView1.Rows.Count = aMyValues.count
>
> End
>
> Public sub GridView1_Data(Row as integer, Column as Integer)
>
> select case Column
>
> Case 0
>   Last.Data.Picture = aMyPicState[aMyStates[Row]]
> Case 1
>   Last.data.text = aMyValues[Row]
>
> end
>
>
> End
>
> Public sub GridView1_Click()
>
>   if Last.Column = 0 then
> inc aMySTate
> if aMyState >2 then aMySTate = 0
>   endif
>   GridView1.Refresh
> End
>
>
>
> If you want to delete a value you need to delete it in aMyValues and
> in aMyStates and then set the GridView1.ows.count with the count of
> one of these array to refresh.
>
> By using this technic, you are really free to do what you want with
> gridview.
>
>
>
> 2017-01-18 17:55 GMT+01:00 Gianluigi :
> > You mean something like that:
> >
> > Public Sub GridView1_Click()
> >
> > ' From the Shordi's code, look here
> > https://www.gambas-es.org/show_post.php?p=34694
> >
> > With GridView1
> > If .Column = 0 Then '
> > Columns with CheckBox
> > If .Current.Picture = Picture["on.png"] Then
> > .Current.Picture = Picture["off.png"]
> > Print "CheckBox"; (GridView1.Row + 1); " unchecked"
> > Else
> > .current.Picture = Picture["on.png"]
> > Print "CheckBox"; (GridView1.Row + 1); " checked"
> > Endif
> > Endif
> > End With
> >
> > End
> >
> > Regards
> > Gianluigi
> >
> > 2017-01-18 15:39 GMT+01:00 Yahoo :
> >
> >> Hello,
> >>
> >> In one of my project I use icons in a GridView object to indicate if a
> >> line is ‘checked’ or not and for the moment a double click on these
> lines
> >> can change this state as ‘Checked’ or 'Not Checked’.
> >>
> >> Would anyone know if it's possible to detect if the user click
> >> specifically on the icon on a line of a GridView to do this change of
> state.
> >> Is there a way to access to the Icon Object of a line of a GridView in
> >> fact.
> >>
> >>
> >>
> >>
> >> Thank you
> >>
> >>
> >> —
> >> Olivier Cruilles
> >>
> >> 
> >> --
> >> 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
>
>
>
> --
> Fabien Bodard
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


BrokenCode-0.0.1.tar.gz
Description: GNU Zip compressed data


FalseColumnView-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] Gridview icon detection

2017-01-18 Thread Fabien Bodard
Maybe the best will beto use 2 column... one for the icon and one for
the text. The problem of many users is they want to use the gridview
as  a data container.

Better way will be to have 2 array or an array of class with two value.


Private aMyValues as New String[]
private aMyStates as new integer[]
Private aMyPicStates as  new Picture[3]

Public sub _New()

aMyPicState[0]= Picture["img/checked.png"]
aMyPicState[1]= Picture["img/unchecked.png"]
aMyPicState[2]= Picture["img/tristate.png"]

'Load here values and states in arrays

gridview1.columns.count = 2
gridview1.Columns[0].Width = 22

Gridview1.Rows.height = 22

GriwView1.Rows.Count = aMyValues.count

End

Public sub GridView1_Data(Row as integer, Column as Integer)

select case Column

Case 0
  Last.Data.Picture = aMyPicState[aMyStates[Row]]
Case 1
  Last.data.text = aMyValues[Row]

end


End

Public sub GridView1_Click()

  if Last.Column = 0 then
inc aMySTate
if aMyState >2 then aMySTate = 0
  endif
  GridView1.Refresh
End



If you want to delete a value you need to delete it in aMyValues and
in aMyStates and then set the GridView1.ows.count with the count of
one of these array to refresh.

By using this technic, you are really free to do what you want with gridview.



2017-01-18 17:55 GMT+01:00 Gianluigi :
> You mean something like that:
>
> Public Sub GridView1_Click()
>
> ' From the Shordi's code, look here
> https://www.gambas-es.org/show_post.php?p=34694
>
> With GridView1
> If .Column = 0 Then '
> Columns with CheckBox
> If .Current.Picture = Picture["on.png"] Then
> .Current.Picture = Picture["off.png"]
> Print "CheckBox"; (GridView1.Row + 1); " unchecked"
> Else
> .current.Picture = Picture["on.png"]
> Print "CheckBox"; (GridView1.Row + 1); " checked"
> Endif
> Endif
> End With
>
> End
>
> Regards
> Gianluigi
>
> 2017-01-18 15:39 GMT+01:00 Yahoo :
>
>> Hello,
>>
>> In one of my project I use icons in a GridView object to indicate if a
>> line is ‘checked’ or not and for the moment a double click on these lines
>> can change this state as ‘Checked’ or 'Not Checked’.
>>
>> Would anyone know if it's possible to detect if the user click
>> specifically on the icon on a line of a GridView to do this change of state.
>> Is there a way to access to the Icon Object of a line of a GridView in
>> fact.
>>
>>
>>
>>
>> Thank you
>>
>>
>> —
>> Olivier Cruilles
>>
>> 
>> --
>> 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



-- 
Fabien Bodard

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


Re: [Gambas-user] Gridview icon detection

2017-01-18 Thread Gianluigi
You mean something like that:

Public Sub GridView1_Click()

' From the Shordi's code, look here
https://www.gambas-es.org/show_post.php?p=34694

With GridView1
If .Column = 0 Then '
Columns with CheckBox
If .Current.Picture = Picture["on.png"] Then
.Current.Picture = Picture["off.png"]
Print "CheckBox"; (GridView1.Row + 1); " unchecked"
Else
.current.Picture = Picture["on.png"]
Print "CheckBox"; (GridView1.Row + 1); " checked"
Endif
Endif
End With

End

Regards
Gianluigi

2017-01-18 15:39 GMT+01:00 Yahoo :

> Hello,
>
> In one of my project I use icons in a GridView object to indicate if a
> line is ‘checked’ or not and for the moment a double click on these lines
> can change this state as ‘Checked’ or 'Not Checked’.
>
> Would anyone know if it's possible to detect if the user click
> specifically on the icon on a line of a GridView to do this change of state.
> Is there a way to access to the Icon Object of a line of a GridView in
> fact.
>
>
>
>
> Thank you
>
>
> —
> Olivier Cruilles
>
> 
> --
> 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] Gridview icon detection

2017-01-18 Thread Yahoo
Hello,

In one of my project I use icons in a GridView object to indicate if a line is 
‘checked’ or not and for the moment a double click on these lines can change 
this state as ‘Checked’ or 'Not Checked’.

Would anyone know if it's possible to detect if the user click specifically on 
the icon on a line of a GridView to do this change of state.
Is there a way to access to the Icon Object of a line of a GridView in fact.




Thank you 


— 
Olivier Cruilles

--
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 and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
Good idea! Thank you!

Rolf

Am 23.02.2016 15:31, schrieb Fabien Bodard:
> Just make a Private function :
>
> Private Function GridViewCurrentY() as integer
>
>return GridView.Current.Y - GridView.ScrollY + GridView.ClientY
>
> end
>
>
> IN
>
> GridView.Row = Hour(Now)
>
> baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height /
> 60) * Minute(Now))
>
>
> REPLACE ALL GridView.Current.Y
>
> BY GridViewCurrentY()
>
>
>
>
> 2016-02-23 15:23 GMT+01:00 Rolf-Werner Eilert :
>> Am 23.02.2016 12:56, schrieb Benoît Minisini:
>>> Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit :
> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the
> job. It returns the top cell relative to the GridView top.
>
 Wow, that's tricky :) But it runs, so thank you very much!

 Regards
 Rolf

>>> It's not tricky, it's based on the logic of the ScrollArea the GridView
>>> is now based on:
>>>
>>> - Logical coordinates for the cell.
>>> - The amount of scrolling.
>>> - The client area that takes the border into account.
>>>
>>> If your GridView has a top header, you have to take its size into
>>> account too, by using GridView.Columns.Height.
>>>
>>> Regards,
>>>
>> Oh yes, I knew that, as you had told me about GridView.Rows.Width the
>> other day.
>>
>> Ok, not tricky, more versatile - but still one has to know that :) I
>> will now try to adapt the other elements, let's hope I can solve that on
>> my own...
>>
>> Regards
>> Rolf
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> ___
>> Gambas-user mailing list
>> Gambas-user@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&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Fabien Bodard
Just make a Private function :

Private Function GridViewCurrentY() as integer

  return GridView.Current.Y - GridView.ScrollY + GridView.ClientY

end


IN

GridView.Row = Hour(Now)

baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height /
60) * Minute(Now))


REPLACE ALL GridView.Current.Y

BY GridViewCurrentY()




2016-02-23 15:23 GMT+01:00 Rolf-Werner Eilert :
>
> Am 23.02.2016 12:56, schrieb Benoît Minisini:
>> Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit :
 GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the
 job. It returns the top cell relative to the GridView top.

>>> Wow, that's tricky :) But it runs, so thank you very much!
>>>
>>> Regards
>>> Rolf
>>>
>> It's not tricky, it's based on the logic of the ScrollArea the GridView
>> is now based on:
>>
>> - Logical coordinates for the cell.
>> - The amount of scrolling.
>> - The client area that takes the border into account.
>>
>> If your GridView has a top header, you have to take its size into
>> account too, by using GridView.Columns.Height.
>>
>> Regards,
>>
>
> Oh yes, I knew that, as you had told me about GridView.Rows.Width the
> other day.
>
> Ok, not tricky, more versatile - but still one has to know that :) I
> will now try to adapt the other elements, let's hope I can solve that on
> my own...
>
> Regards
> Rolf
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert

Am 23.02.2016 12:56, schrieb Benoît Minisini:
> Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit :
>>> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the
>>> job. It returns the top cell relative to the GridView top.
>>>
>> Wow, that's tricky :) But it runs, so thank you very much!
>>
>> Regards
>> Rolf
>>
> It's not tricky, it's based on the logic of the ScrollArea the GridView
> is now based on:
>
> - Logical coordinates for the cell.
> - The amount of scrolling.
> - The client area that takes the border into account.
>
> If your GridView has a top header, you have to take its size into
> account too, by using GridView.Columns.Height.
>
> Regards,
>

Oh yes, I knew that, as you had told me about GridView.Rows.Width the 
other day.

Ok, not tricky, more versatile - but still one has to know that :) I 
will now try to adapt the other elements, let's hope I can solve that on 
my own...

Regards
Rolf


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Benoît Minisini
Le 23/02/2016 12:49, Rolf-Werner Eilert a écrit :
>> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the
>> job. It returns the top cell relative to the GridView top.
>>
>
> Wow, that's tricky :) But it runs, so thank you very much!
>
> Regards
> Rolf
>

It's not tricky, it's based on the logic of the ScrollArea the GridView 
is now based on:

- Logical coordinates for the cell.
- The amount of scrolling.
- The client area that takes the border into account.

If your GridView has a top header, you have to take its size into 
account too, by using GridView.Columns.Height.

Regards,

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


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert

Am 23.02.2016 12:39, schrieb Benoît Minisini:
> Le 22/02/2016 17:43, Rolf-Werner Eilert a écrit :
>> Currently, I'm porting an old calendar project from Gambas2 to Gambas3.
>>
>> There is a GridView which shows days and times. It has 24 rows, so in
>> order to show a Baines Line, the code was
>>
>> GridView.Row = Hour(Now)
>>
>> baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height /
>> 60) * Minute(Now))
>>
>> In Gambas3, GridView.Current.Y seems to give the relative position from
>> the upper edge of the whole grid, even when it is not visible. That
>> means, instead of values like 745, it now receives 1035, so the Baines
>> Line will be too low to appear.
>>
>> What would you use instead of Current.Y to hit the right square of the
>> GridView?
>>
>> Thanks for your help.
>>
>> Regards
>> Rolf
>>
>>
> GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the
> job. It returns the top cell relative to the GridView top.
>

Wow, that's tricky :) But it runs, so thank you very much!

Regards
Rolf


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Benoît Minisini
Le 22/02/2016 17:43, Rolf-Werner Eilert a écrit :
> Currently, I'm porting an old calendar project from Gambas2 to Gambas3.
>
> There is a GridView which shows days and times. It has 24 rows, so in
> order to show a Baines Line, the code was
>
> GridView.Row = Hour(Now)
>
> baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height /
> 60) * Minute(Now))
>
> In Gambas3, GridView.Current.Y seems to give the relative position from
> the upper edge of the whole grid, even when it is not visible. That
> means, instead of values like 745, it now receives 1035, so the Baines
> Line will be too low to appear.
>
> What would you use instead of Current.Y to hit the right square of the
> GridView?
>
> Thanks for your help.
>
> Regards
> Rolf
>
>

GridView.Current.Y - GridView.ScrollY + GridView.ClientY should do the 
job. It returns the top cell relative to the GridView top.

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


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
To make things clearer:

What my program needs is Y coordinates relative to the upper edge of the 
GridView, not relative to the grid's upper edge (which may be scrolled 
to somewhere above under the GridView's upper edge).

Regards
Rolf

Am 23.02.2016 11:17, schrieb Charlie:
> What's a Baines Line?
>
>
>
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/GridView-and-Current-Y-tp55508p55509.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&iu=/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&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Rolf-Werner Eilert
Ah, ok... :) It's not so important for this topic, but: Have you seen a 
calendar application which has a hovering thin horizontal line showing 
the hour + minute graphically above the day's dates? That's a Baines 
Line. Maybe named after its inventor?

But there are other elements which are shown on my calendar, not only 
this line. They do not appear in the right places or better: they do not 
appear at all, because they all receive wrong Y coordinates and are 
placed way too low.

Any idea?

Regards
Rolf

Am 23.02.2016 11:17, schrieb Charlie:
> What's a Baines Line?
>
>
>
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/GridView-and-Current-Y-tp55508p55509.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&iu=/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&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView and Current.Y

2016-02-23 Thread Charlie
What's a Baines Line?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/GridView-and-Current-Y-tp55508p55509.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&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridView and Current.Y

2016-02-22 Thread Rolf-Werner Eilert
Currently, I'm porting an old calendar project from Gambas2 to Gambas3.

There is a GridView which shows days and times. It has 24 rows, so in 
order to show a Baines Line, the code was

GridView.Row = Hour(Now)

baines.Y = GridView.Y + GridView.Current.Y + ((GridView.Current.Height / 
60) * Minute(Now))

In Gambas3, GridView.Current.Y seems to give the relative position from 
the upper edge of the whole grid, even when it is not visible. That 
means, instead of values like 745, it now receives 1035, so the Baines 
Line will be too low to appear.

What would you use instead of Current.Y to hit the right square of the 
GridView?

Thanks for your help.

Regards
Rolf


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView - Width of row header

2015-12-14 Thread Rolf-Werner Eilert

Am 11.12.2015 13:18, schrieb Benoît Minisini:
> Le 11/12/2015 13:14, Rolf-Werner Eilert a écrit :
>> Arrgh - Thank you!
>>
>> Why didn't I find that? Maybe one reason was that the automatic only
>> shows GridView.Row and reacts only when you type the 's.' "blindly", and
>> then shows the list again. So I couldn't find it from trying.
>>
>> But it's not so logical to have it there. IMHO it would be clearer if
>> all things regarding the headers would appear under a keyword Title or
>> Head[er].
>>
>> Anyway, I corrected it, and now it runs perfectly :) Have a nice
>> weekend, I'll be back on Monday.
>>
>> Regards
>> Rolf
>>
> Actually there is some logic, as the row header width is stored in the
> internal object that manages the rows and computes that width. Same
> thing for the column header.
>
> Regards,
>

Ok, I can understand that. And where can I set the alignment for the row 
headers? There is no Rows.Alignment property.

Regards
Rolf


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


Re: [Gambas-user] Gridview

2015-12-12 Thread Buster Seven
ok so what i found was first you have to set the text
then the strikeout
What i was doing was
if canceled
   gridview1.font.strikeout=true
end

gridview1[0,0].text="hello"

this used to work for me and over the whole row

now i have to set each column :-(

anyway thanks for the example


On Sat, Dec 12, 2015 at 8:53 PM, Charlie  wrote:

> This works for me:-
> /Public Sub Form_Open()
> Dim sNetwork As String
> With GridView1
> .Columns.Count = 1
> .Rows.Count = 1
> End With
> GridView1[0, 0].text = "Hello"
> GridView1[0, 0].Font.Strikeout = True
> End/
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/Gridview-tp54834p54927.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> --
> ___
> 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] Gridview

2015-12-12 Thread Charlie
This works for me:- 
/Public Sub Form_Open()
Dim sNetwork As String
With GridView1
.Columns.Count = 1
.Rows.Count = 1
End With
GridView1[0, 0].text = "Hello"
GridView1[0, 0].Font.Strikeout = True 
End/



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-tp54834p54927.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview

2015-12-11 Thread adamn...@gmail.com
On Sat, 12 Dec 2015 07:01:14 +0100
Fabien Bodard  wrote:

> can you send me a short example that show the poblem ... i can't reproduce it
> 
> 2015-12-12 5:51 GMT+01:00 Buster Seven :
> > Its not exacly how i want to fix it but i can handle that
> > so is this no longer how it's ment to work?
> >
> > Thanks
> >
> >
> > On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert <
> > eilert-sprac...@t-online.de> wrote:
> >
> >>
> >> Am 09.12.2015 09:44, schrieb Buster Seven:
> >> > I use to be able to do this code GridView1.Font.Strikeout = True
> >> > and the row in the gridview would be strikedout but it no longer works
> >> > any ideas.
> >> >
> >> >
> >> >
> >>
> >> I just had this problem a few days ago, and after searching for a long
> >> time it turned out that I had a lost line with
> >>
> >> GridView.Data.Text = 
> >>
> >> before the line
> >>
> >> GridView.Data.RichText = 
> >>
> >> Maybe a similar thing in your case? Or just try
> >>
> >> GridView.Data.RichText = "" & myText & ""
> >>
> >> Regards
> >> Rolf
> >>
> >>
> >>
> >> --
> >> ___
> >> 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
> 
> 
> 
> -- 
> Fabien Bodard
> 
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


Always, check Font.Styles that it does support strikeout.
b
-- 
B Bruen 

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


Re: [Gambas-user] Gridview

2015-12-11 Thread Fabien Bodard
can you send me a short example that show the poblem ... i can't reproduce it

2015-12-12 5:51 GMT+01:00 Buster Seven :
> Its not exacly how i want to fix it but i can handle that
> so is this no longer how it's ment to work?
>
> Thanks
>
>
> On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert <
> eilert-sprac...@t-online.de> wrote:
>
>>
>> Am 09.12.2015 09:44, schrieb Buster Seven:
>> > I use to be able to do this code GridView1.Font.Strikeout = True
>> > and the row in the gridview would be strikedout but it no longer works
>> > any ideas.
>> >
>> >
>> >
>>
>> I just had this problem a few days ago, and after searching for a long
>> time it turned out that I had a lost line with
>>
>> GridView.Data.Text = 
>>
>> before the line
>>
>> GridView.Data.RichText = 
>>
>> Maybe a similar thing in your case? Or just try
>>
>> GridView.Data.RichText = "" & myText & ""
>>
>> Regards
>> Rolf
>>
>>
>>
>> --
>> ___
>> 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



-- 
Fabien Bodard

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


Re: [Gambas-user] Gridview

2015-12-11 Thread Buster Seven
Its not exacly how i want to fix it but i can handle that
so is this no longer how it's ment to work?

Thanks


On Wed, Dec 9, 2015 at 7:54 PM, Rolf-Werner Eilert <
eilert-sprac...@t-online.de> wrote:

>
> Am 09.12.2015 09:44, schrieb Buster Seven:
> > I use to be able to do this code GridView1.Font.Strikeout = True
> > and the row in the gridview would be strikedout but it no longer works
> > any ideas.
> >
> >
> >
>
> I just had this problem a few days ago, and after searching for a long
> time it turned out that I had a lost line with
>
> GridView.Data.Text = 
>
> before the line
>
> GridView.Data.RichText = 
>
> Maybe a similar thing in your case? Or just try
>
> GridView.Data.RichText = "" & myText & ""
>
> Regards
> Rolf
>
>
>
> --
> ___
> 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] GridView - Width of row header

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 13:14, Rolf-Werner Eilert a écrit :
>
> Arrgh - Thank you!
>
> Why didn't I find that? Maybe one reason was that the automatic only
> shows GridView.Row and reacts only when you type the 's.' "blindly", and
> then shows the list again. So I couldn't find it from trying.
>
> But it's not so logical to have it there. IMHO it would be clearer if
> all things regarding the headers would appear under a keyword Title or
> Head[er].
>
> Anyway, I corrected it, and now it runs perfectly :) Have a nice
> weekend, I'll be back on Monday.
>
> Regards
> Rolf
>

Actually there is some logic, as the row header width is stored in the 
internal object that manages the rows and computes that width. Same 
thing for the column header.

Regards,

-- 
Benoît Minisini

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


Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Rolf-Werner Eilert

Am 11.12.2015 12:39, schrieb Benoît Minisini:
> Le 11/12/2015 12:13, Rolf-Werner Eilert a écrit :
>> No one here who knows how to achieve this?
>>
>> Regards
>> Rolf
>>
>> Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert:
>>> In an older project with Gambas2, I needed to pick the X position of the
>>> cells. The GridView has Headers = Both. It seems it started counting
>>> with 0 at the first white column, i. e. behind the row header, so never
>>> mind how wide the header was, it would always find the correct position.
>>>
>>> In Gambas3 it seems to start counting with 0 at the leftmost position of
>>> the GridView, i. e. on the left side of the row header. So when the
>>> width of the header varies, how could I find out the width of the header
>>> column, as Column[0] is the first white one?
>>>
>>> Thanks for your help!
>>>
>>> Rolf
>>>
> GridView.Rows.Width returns the width of the row header.
> GridView.Columns.Height returns the height of the column header.
>
> Regards,
>

Arrgh - Thank you!

Why didn't I find that? Maybe one reason was that the automatic only 
shows GridView.Row and reacts only when you type the 's.' "blindly", and 
then shows the list again. So I couldn't find it from trying.

But it's not so logical to have it there. IMHO it would be clearer if 
all things regarding the headers would appear under a keyword Title or 
Head[er].

Anyway, I corrected it, and now it runs perfectly :) Have a nice 
weekend, I'll be back on Monday.

Regards
Rolf


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


Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Benoît Minisini
Le 11/12/2015 12:13, Rolf-Werner Eilert a écrit :
> No one here who knows how to achieve this?
>
> Regards
> Rolf
>
> Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert:
>> In an older project with Gambas2, I needed to pick the X position of the
>> cells. The GridView has Headers = Both. It seems it started counting
>> with 0 at the first white column, i. e. behind the row header, so never
>> mind how wide the header was, it would always find the correct position.
>>
>> In Gambas3 it seems to start counting with 0 at the leftmost position of
>> the GridView, i. e. on the left side of the row header. So when the
>> width of the header varies, how could I find out the width of the header
>> column, as Column[0] is the first white one?
>>
>> Thanks for your help!
>>
>> Rolf
>>

GridView.Rows.Width returns the width of the row header.
GridView.Columns.Height returns the height of the column header.

Regards,

-- 
Benoît Minisini

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


Re: [Gambas-user] GridView - Width of row header

2015-12-11 Thread Rolf-Werner Eilert
No one here who knows how to achieve this?

Regards
Rolf

Am 10.12.2015 08:37, schrieb Rolf-Werner Eilert:
> In an older project with Gambas2, I needed to pick the X position of the
> cells. The GridView has Headers = Both. It seems it started counting
> with 0 at the first white column, i. e. behind the row header, so never
> mind how wide the header was, it would always find the correct position.
>
> In Gambas3 it seems to start counting with 0 at the leftmost position of
> the GridView, i. e. on the left side of the row header. So when the
> width of the header varies, how could I find out the width of the header
> column, as Column[0] is the first white one?
>
> Thanks for your help!
>
> Rolf
>
>
> --
> ___
> 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] GridView - Width of row header

2015-12-09 Thread Rolf-Werner Eilert
In an older project with Gambas2, I needed to pick the X position of the 
cells. The GridView has Headers = Both. It seems it started counting 
with 0 at the first white column, i. e. behind the row header, so never 
mind how wide the header was, it would always find the correct position.

In Gambas3 it seems to start counting with 0 at the leftmost position of 
the GridView, i. e. on the left side of the row header. So when the 
width of the header varies, how could I find out the width of the header 
column, as Column[0] is the first white one?

Thanks for your help!

Rolf


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


Re: [Gambas-user] Gridview

2015-12-09 Thread Rolf-Werner Eilert

Am 09.12.2015 09:44, schrieb Buster Seven:
> I use to be able to do this code GridView1.Font.Strikeout = True
> and the row in the gridview would be strikedout but it no longer works
> any ideas.
>
>
>

I just had this problem a few days ago, and after searching for a long 
time it turned out that I had a lost line with

GridView.Data.Text = 

before the line

GridView.Data.RichText = 

Maybe a similar thing in your case? Or just try

GridView.Data.RichText = "" & myText & ""

Regards
Rolf


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


[Gambas-user] Gridview

2015-12-09 Thread Buster Seven
I use to be able to do this code GridView1.Font.Strikeout = True
and the row in the gridview would be strikedout but it no longer works
any ideas.


[System]
Gambas=3.8.3
OperatingSystem=Linux
Kernel=3.16.0-38-generic
Architecture=x86_64
Distribution=Linux Mint 17.2 Rafaela
Desktop=MATE
Theme=Gtk
Language=en_AU.UTF-8
Memory=3806M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-fJFsDYEYt1,guid=55c82620eff601a2ac233aa3566759b3
DEFAULTS_PATH=/usr/share/gconf/mate.default.path
DESKTOP_SESSION=mate
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=mate
GDM_XSERVER_LOCATION=local
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-y01wld
GNOME_KEYRING_PID=2008
GPG_AGENT_INFO=/run/user/1000/keyring-y01wld/gpg:0:1
HOME=/home/
LANG=en_AU.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MDMSESSION=mate
MDM_LANG=en_AU.UTF-8
MDM_XSERVER_LOCATION=local
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1382,unix/:/tmp/.ICE-unix/1382
SHELL=/bin/bash
SSH_AGENT_PID=1916
SSH_AUTH_SOCK=/run/user/1000/keyring-y01wld/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=8
XAUTHORITY=/home//.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1449613740.958271-1038001112
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=c1
XDG_VTNR=8
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridView and RichText

2015-11-27 Thread Rolf-Werner Eilert
In a GridView, I have this line (and similar ones) in the Data event:

tbk.Data.RichText = "" & ktText[Row] & 
""

But it doesn't do anything to the text. Here the text should be italics, 
bold and blue.

What am I doing wrong?

Regards
Rolf


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


Re: [Gambas-user] GridView Row Height

2015-03-14 Thread adamn...@gmail.com
WARNING : Thread steal  :-)

While we're on the subject (almost)...

Is there any way to set the row height in a column view.  I have tried the -1 
trick on everything I can see including the hidden objects to no avail.

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


Re: [Gambas-user] GridView Row Height

2015-03-14 Thread Nikola Rogozarski
O Yes, that's it. Thanks a lot !!!

On Sat, Mar 14, 2015 at 6:28 PM, Fabien Bodard  wrote:

> Oups
> Try
> Gridview1.rows[i].Height=-1
> Le 14 mars 2015 18:13, "Nikola Rogozarski"  a
> écrit
> :
>
> > Thank's Fabien, I tried it, but it appears the following error :
> > '_GridView1_Cell.Height ' Is read only
> >
> > On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard 
> > wrote:
> >
> > > Le 14 mars 2015 12:36, "Nikola Rogozarski"  a
> > > écrit
> > > :
> > > >
> > > > Hello guys! Is there an example of how to setup the height of a row
> of
> > a
> > > > GridView, depending on the length of the content. I do not see
> > properties
> > > > of auto height. When filling the GridView I did this,
> > > >
> > > > For Each result
> > > > GridView1[i,2].text = result!description
> > > > GridView1[i,2].WordWrap = true
> > > Gridview1[I,2].Height = -1
> > >
> > > > inc i
> > > > Next
> > > >
> > > >  but without success.
> > > >
> > >
> > >
> >
> --
> > > > 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
> > >
> >
> >
> --
> > 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
>
--
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 Row Height

2015-03-14 Thread Tobias Boege
On Sat, 14 Mar 2015, Nikola Rogozarski wrote:
> On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard  wrote:
> > Le 14 mars 2015 12:36, "Nikola Rogozarski"  a
> > ??crit
> > :
> > >
> > > Hello guys! Is there an example of how to setup the height of a row of a
> > > GridView, depending on the length of the content. I do not see properties
> > > of auto height. When filling the GridView I did this,
> > >
> > > For Each result
> > > GridView1[i,2].text = result!description
> > > GridView1[i,2].WordWrap = true
> > Gridview1[I,2].Height = -1
> >
> > > inc i
> > > Next
> > >
> > >  but without success.
> > >
> >
> Thank's Fabien, I tried it, but it appears the following error :
> '_GridView1_Cell.Height ' Is read only
> 

You guys are talking about row heights, right? Then you should operate on
rows instead of cells. Maybe Fabien meant to type

  GridView.Rows[I].Height = -1

Apparently (on my system), you need to do that after setting the text of
any cell in that row to make the height adjust.

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] GridView Row Height

2015-03-14 Thread Fabien Bodard
Oups
Try
Gridview1.rows[i].Height=-1
Le 14 mars 2015 18:13, "Nikola Rogozarski"  a écrit
:

> Thank's Fabien, I tried it, but it appears the following error :
> '_GridView1_Cell.Height ' Is read only
>
> On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard 
> wrote:
>
> > Le 14 mars 2015 12:36, "Nikola Rogozarski"  a
> > écrit
> > :
> > >
> > > Hello guys! Is there an example of how to setup the height of a row of
> a
> > > GridView, depending on the length of the content. I do not see
> properties
> > > of auto height. When filling the GridView I did this,
> > >
> > > For Each result
> > > GridView1[i,2].text = result!description
> > > GridView1[i,2].WordWrap = true
> > Gridview1[I,2].Height = -1
> >
> > > inc i
> > > Next
> > >
> > >  but without success.
> > >
> >
> >
> --
> > > 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
> >
>
> --
> 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] GridView Row Height

2015-03-14 Thread Nikola Rogozarski
Thank's Fabien, I tried it, but it appears the following error :
'_GridView1_Cell.Height ' Is read only

On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard  wrote:

> Le 14 mars 2015 12:36, "Nikola Rogozarski"  a
> écrit
> :
> >
> > Hello guys! Is there an example of how to setup the height of a row of a
> > GridView, depending on the length of the content. I do not see properties
> > of auto height. When filling the GridView I did this,
> >
> > For Each result
> > GridView1[i,2].text = result!description
> > GridView1[i,2].WordWrap = true
> Gridview1[I,2].Height = -1
>
> > inc i
> > Next
> >
> >  but without success.
> >
>
> --
> > 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
>
--
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 Row Height

2015-03-14 Thread Fabien Bodard
Le 14 mars 2015 12:36, "Nikola Rogozarski"  a écrit
:
>
> Hello guys! Is there an example of how to setup the height of a row of a
> GridView, depending on the length of the content. I do not see properties
> of auto height. When filling the GridView I did this,
>
> For Each result
> GridView1[i,2].text = result!description
> GridView1[i,2].WordWrap = true
Gridview1[I,2].Height = -1

> inc i
> Next
>
>  but without success.
>
--
> 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


[Gambas-user] GridView Row Height

2015-03-14 Thread Nikola Rogozarski
Hello guys! Is there an example of how to setup the height of a row of a
GridView, depending on the length of the content. I do not see properties
of auto height. When filling the GridView I did this,

For Each result
GridView1[i,2].text = result!description
GridView1[i,2].WordWrap = true
inc i
Next

 but without success.
--
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] 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
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] 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] Gridview cell coordinates

2015-01-02 Thread Tobias Boege
On Fri, 02 Jan 2015, bill-lancaster wrote:
> I want to position a balloon by the gridview cell that was right clicked.
> It is necessary to scroll down to the lower rows.
> I'm struggling with this so any suggestion as to the best way to do this
> would be welcome.
> 

I think you can use GridView[Row, Column].EnsureVisible() to have the
GridView scroll down to your row. Then it's a matter of placing the Balloon
correctly:

  Balloon("Text", GridView, Gridview[Row, Column].X, GridView[Row, Column].Y)

should do it.

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] Gridview cell coordinates

2015-01-02 Thread Charlie Reinl
Am Freitag, den 02.01.2015, 10:48 -0700 schrieb bill-lancaster:
> I want to position a balloon by the gridview cell that was right clicked.
> It is necessary to scroll down to the lower rows.
> I'm struggling with this so any suggestion as to the best way to do this
> would be welcome.
> 

Salut Bill,

as far as I remember, the balloon is attached to a Control.
like that 

(Message as String, Control as Control [ , X as Integer, Y as Integer ])

I would try to place a Control h=1,w=1 in the middle of the cell (known
by the click) and then call the balloon attached to that Control.

While I describe this out of running example, I do not know
how and when destroy this Control 

-- 
Amicalement
Charlie


--
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] Gridview cell coordinates

2015-01-02 Thread bill-lancaster
I want to position a balloon by the gridview cell that was right clicked.
It is necessary to scroll down to the lower rows.
I'm struggling with this so any suggestion as to the best way to do this
would be welcome.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-cell-coordinates-tp50069.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 sort function

2014-12-29 Thread T Lee Davidson
Bill, my message asking if it helped was delivered after yours due to the 
mailing list issue.

Glad it helped :-) Thanks to Bruce for clearing that up.


Lee
__

"Artificial Intelligence is no match for natural stupidity."

On 12/25/2014 04:04 AM, bill-lancaster wrote:
> Bruno and Lee, thank you for the Christmas present!
> Bill
>
>
>
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49878.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] Gridview sort function

2014-12-28 Thread bill-lancaster
Bruno and Lee, thank you for the Christmas present!
Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49878.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 sort function

2014-12-28 Thread T Lee Davidson

On 12/24/2014 05:40 PM, B Bruen wrote:
> On Wed, 24 Dec 2014 11:57:11 -0500
> T Lee Davidson  wrote:
>
>> Apparently I didn't take enough time, Bill.
>>
>> I only tested that the text of the TextBox changed appropriately for a 
>> column_click, I did not test clicking Button1.
>>
>> You are right. The value of TableView.Columns.Ascending within the 
>> Column_Click event does not agree with the value outside of the Column_Click
>> event. I do not understand this behavior.
>>
>> So I'd say that either there is something missing in the documentation, or 
>> this is a bug. I have attached a modified version of your sample that
>> shows this anomaly more clearly.
>>
>> Can anyone else shed some light on this?
>>
>>
>> Lee
>> __
>>
>> "Artificial Intelligence is no match for natural stupidity."
>>
>
> This may shed a bit of light:
>
> Public Sub TableView1_ColumnClick(Column As Integer)
>
> The "Column" value in the click handler is the newly "selected" column, 
> however the sort values have not been set yet, this happens after the click 
> handler has finished. So you are not correctly displaying the sort values in 
> the TextBox1.
>
> Attached updated project with some more debug info that shows the actual sort 
> values.
>
> After you have waded through that a bit, uncomment lines 11 and 12 which 
> should really confuse you :-)
>
> cheers
> Bruce
>

Yes, that does explain it. Thanks Bruce.

It is clear now that the TableView sort properties (.Sort and .Ascending) are 
not to be relied upon within the Column_Click event. But they can 
indeed be relied upon within the Sort event.

Bill, does that help?


Lee
__

"Artificial Intelligence is no match for natural stupidity."

--
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 sort function

2014-12-24 Thread B Bruen
On Wed, 24 Dec 2014 11:57:11 -0500
T Lee Davidson  wrote:

> Apparently I didn't take enough time, Bill.
> 
> I only tested that the text of the TextBox changed appropriately for a 
> column_click, I did not test clicking Button1.
> 
> You are right. The value of TableView.Columns.Ascending within the 
> Column_Click event does not agree with the value outside of the Column_Click 
> event. I do not understand this behavior.
> 
> So I'd say that either there is something missing in the documentation, or 
> this is a bug. I have attached a modified version of your sample that 
> shows this anomaly more clearly.
> 
> Can anyone else shed some light on this?
> 
> 
> Lee
> __
> 
> "Artificial Intelligence is no match for natural stupidity."
> 

This may shed a bit of light:

Public Sub TableView1_ColumnClick(Column As Integer)

The "Column" value in the click handler is the newly "selected" column, however 
the sort values have not been set yet, this happens after the click handler has 
finished. So you are not correctly displaying the sort values in the TextBox1.

Attached updated project with some more debug info that shows the actual sort 
values.

After you have waded through that a bit, uncomment lines 11 and 12 which should 
really confuse you :-)

cheers
Bruce
-- 
B Bruen 


TableviewExample-0.0.1.tar.gz
Description: Binary 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] Gridview sort function

2014-12-24 Thread Charlie Reinl
Am Mittwoch, den 24.12.2014, 11:57 -0500 schrieb T Lee Davidson:
> Apparently I didn't take enough time, Bill.
> 
> I only tested that the text of the TextBox changed appropriately for a 
> column_click, I did not test clicking Button1.
> 
> You are right. The value of TableView.Columns.Ascending within the 
> Column_Click event does not agree with the value outside of the Column_Click 
> event. I do not understand this behavior.
> 
> So I'd say that either there is something missing in the documentation, or 
> this is a bug. I have attached a modified version of your sample that 
> shows this anomaly more clearly.
> 
> Can anyone else shed some light on this?
> 
> 
> Lee

Salut Lee,

out of the help page 
---
 /comp/gb.qt4/_gridview_columns/ascending 
_GridView_Columns.Ascending (gb.qt4)

Property Ascending As Boolean

SINCE 3.1
Return or set the sort indicator orientation.
---

I read like this : Return or set the sort arrow orientation.
Only cosmetic/visible stuff.
And now you have to change your sort orientation.

Have nice holidays 
Charlie


--
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 sort function

2014-12-24 Thread T Lee Davidson

Apparently I didn't take enough time, Bill.

I only tested that the text of the TextBox changed appropriately for a 
column_click, I did not test clicking Button1.

You are right. The value of TableView.Columns.Ascending within the Column_Click event does not agree with the value outside of the Column_Click 
event. I do not understand this behavior.


So I'd say that either there is something missing in the documentation, or this is a bug. I have attached a modified version of your sample that 
shows this anomaly more clearly.


Can anyone else shed some light on this?


Lee
__

"Artificial Intelligence is no match for natural stupidity."

On 12/24/2014 04:51 AM, bill-lancaster wrote:

Thanks for taking the time Lee,
In fact I made that error when composing a simple example, my main programme
didn't have that error.
To make things simple for myself I toggle a boolean value every time the
gridview1_ColumnClick event occurs rather than use the Ascending value.
Thanks again
Bill


TableviewExample-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] Gridview sort function

2014-12-24 Thread bill-lancaster
Thanks for taking the time Lee,
In fact I made that error when composing a simple example, my main programme
didn't have that error.
To make things simple for myself I toggle a boolean value every time the
gridview1_ColumnClick event occurs rather than use the Ascending value.
Thanks again
Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49869.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 sort function

2014-12-23 Thread T Lee Davidson
This code:

Public Sub TableView1_ColumnClick(Column As Integer)

  TextBox1.Text = "column = " & Column & " sort = "
  If TableView1.Columns.Sort Then
   TextBox1.Text &= "Asc"
  Else
   TextBox1.Text &= "Desc"
  Endif
End

uses the wrong property.

TableView1.Columns.Sort sets or returns the index of the column that displays 
the sort indicator, not whether any particular column is sorted 
ascending or descending.

Try, "If TableView1.Columns.Ascending Then" instead.


Lee
__

"Artificial Intelligence is no match for natural stupidity."

On 12/23/2014 12:08 PM, bill-lancaster wrote:
> Thanks for that Lee,
>
> Please see the attached example.  The result of the column_click event does
> not agree with the results of button1_click which reports on the state of
> .Ascending.  In fact after two column_clicks there is no change of state
> with the Ascending property with the column_click event.
>
> Any thoughts?
>
> Gambas 3.5.3
> Kubuntu 14.04 TableviewExample-0.gz
> 
>
>

--
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 sort function

2014-12-23 Thread bill-lancaster
Thanks for that Lee,

Please see the attached example.  The result of the column_click event does
not agree with the results of button1_click which reports on the state of
.Ascending.  In fact after two column_clicks there is no change of state
with the Ascending property with the column_click event.

Any thoughts?

Gambas 3.5.3
Kubuntu 14.04 TableviewExample-0.gz
  




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863p49866.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 sort function

2014-12-23 Thread T Lee Davidson
A column-click changes the state of TableView.Columns.Sort.

But that value appears to be one click "behind" which the following code shows:

Public Sub TableView1_ColumnClick(Column As Integer)

   Print Column, TableView1.Columns.Sort

End


Lee
__

"Artificial Intelligence is no match for natural stupidity."

On 12/23/2014 07:03 AM, bill-lancaster wrote:
> After setting the sort option (TableView1.Sorted = True) does a click on a
> column change the state of TableView1.Columns.Sort or do I need to change it
> myself?

--
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] Gridview sort function

2014-12-23 Thread bill-lancaster
After setting the sort option (TableView1.Sorted = True) does a click on a
column change the state of TableView1.Columns.Sort or do I need to change it
myself?




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Gridview-sort-function-tp49863.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 not setting Row & Column on right-click Menu event

2014-08-27 Thread Benoît Minisini
Le 07/08/2014 00:43, DaveOxford1 a écrit :
> Hi All
>
> When right-clicking on a GridView, .Row and .Column are not set to the
> values for the new cell in the Menu event (as they in the Click event for a
> left-click).
>
> Is this a bug or the intended behaviour?
>
> If it /is/ the intended behaviour, how can I ascertain the Row and Column
> values?
>
> Hope someone can help!
>
> Dave
> Gambas 3.5.3, qt4, on crunchbang waldorf.
>

It is actually the intended behaviour: the current cell is changed only 
when clicking with the left button. Maybe it should be configurable, I 
don't know...

Anyway, you can use the solutions provided in the other answers to your 
post.

Regards,


-- 
Benoît Minisini

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView not setting Row & Column on right-click Menu event

2014-08-07 Thread DaveOxford1
Many thanks, Shane!

I didn't know about RowAt & ColumnAt - very useful.

Dave




--
View this message in context: 
http://gambas.8142.n7.nabble.com/GridView-not-setting-Row-Column-on-right-click-Menu-event-tp47692p47698.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView not setting Row & Column on right-click Menu event

2014-08-07 Thread Shane
hi Dave i came across this an hour ago myself what i did was

Public mX As Integer
Public mY As Integer

Public Sub GridView1_MouseMove()

   mX = Mouse.X
   mY= Mouse.Y

End

then you can use

Public Sub GridView1_Menu()
 Row = GridView1.RowAt(mY)
 Col = GridView1.ColumnAt(mX)
End

hope this helps
Shane.

On 07/08/14 08:43, DaveOxford1 wrote:
> Hi All
>
> When right-clicking on a GridView, .Row and .Column are not set to the
> values for the new cell in the Menu event (as they in the Click event for a
> left-click).
>
> Is this a bug or the intended behaviour?
>
> If it /is/ the intended behaviour, how can I ascertain the Row and Column
> values?
>
> Hope someone can help!
>
> Dave
> Gambas 3.5.3, qt4, on crunchbang waldorf.
>
>
>
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/GridView-not-setting-Row-Column-on-right-click-Menu-event-tp47692.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> --
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>


--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridView not setting Row & Column on right-click Menu event

2014-08-06 Thread DaveOxford1
Hi All

When right-clicking on a GridView, .Row and .Column are not set to the
values for the new cell in the Menu event (as they in the Click event for a
left-click).

Is this a bug or the intended behaviour?

If it /is/ the intended behaviour, how can I ascertain the Row and Column
values?

Hope someone can help!

Dave
Gambas 3.5.3, qt4, on crunchbang waldorf.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/GridView-not-setting-Row-Column-on-right-click-Menu-event-tp47692.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView changing Columns[].Width

2014-02-25 Thread Rolf-Werner Eilert
Sorry, there was another reason: I forgot to set the flag for 
controlling the column width in the function - now everything works as 
expected.

Didn't mean to bother you with this

Regards
Rolf


Am 25.02.2014 10:37, schrieb Rolf-Werner Eilert:
> When I have a GridView with several Columns and I set "automatic" for
> the Column Width (gridview.Columns[x].Width = -1), it seems I cannot
> change back to a defined width programmatically later.
>
> So if I set gridview.Columns[x].Width = 10, nothing happens. The user,
> however, can drag the column lines by hand. It will then not switch to
> automatic again.
>
> Any idea if that's wanted?
>
> Rolf
>
> --
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridView changing Columns[].Width

2014-02-25 Thread Rolf-Werner Eilert
When I have a GridView with several Columns and I set "automatic" for 
the Column Width (gridview.Columns[x].Width = -1), it seems I cannot 
change back to a defined width programmatically later.

So if I set gridview.Columns[x].Width = 10, nothing happens. The user, 
however, can drag the column lines by hand. It will then not switch to 
automatic again.

Any idea if that's wanted?

Rolf

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview column clicked indicator

2014-02-07 Thread bill-lancaster
Oh!  I should pay better attention.
Thanks again



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45583.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview column clicked indicator

2014-02-07 Thread Jorge Carrión
Just click on title bar...

Regards


2014-02-06 bill-lancaster :

> Thanks Jorge, can the indicator be changed to point up as well as down?
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45570.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview column clicked indicator

2014-02-06 Thread bill-lancaster
Thanks Jorge, can the indicator be changed to point up as well as down?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567p45570.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview column clicked indicator

2014-02-06 Thread Jorge Carrión
Try simply myGridview.sorted=true
Then a indicator appears on title anch changes on click.
You must provide de sort routine by yourself.

Regards


2014-02-06 bill-lancaster :

> I thought I had seen an added feature to gridview where the ColumnClick
> event
> results in a small indicator in the column header but can't find it now.
> Anyway, such a feature would be helpful to show which column in a table had
> been sorted (and also if 'up' or 'down' sorted).
> Any ideas?
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> --
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gridview column clicked indicator

2014-02-06 Thread bill-lancaster
I thought I had seen an added feature to gridview where the ColumnClick event
results in a small indicator in the column header but can't find it now.
Anyway, such a feature would be helpful to show which column in a table had
been sorted (and also if 'up' or 'down' sorted).
Any ideas?



--
View this message in context: 
http://gambas.8142.n7.nabble.com/gridview-column-clicked-indicator-tp45567.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView question

2014-01-03 Thread Charlie Reinl
Am Freitag, den 03.01.2014, 01:19 +0100 schrieb Benoît Minisini:
> Look at the Rows.Width and Columns.Height properties. I thought it was
> not hard to find...
but it was, if you don't search 'gambas3 height of the column header' 
but 'gambas3 column header height'

Thanks for the advice.
-- 
Amicalement
Charlie


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView question

2014-01-02 Thread Benoît Minisini
Le 02/01/2014 23:20, Charlie Reinl a écrit :
> oh, Michael said 'you are not alone', may be I am?
> Nobody ?
>
>
> Salut,
>
> where can I find the Row-headers.Width and Column-headers.Height, for
> finally place my Editor right to the cell...
> Or missed I something?
> This
> 
> With GV1[GV1.Row, 1]
>  cbxFName.Move(GV1.X + .X , GV1.Y + .Y , .Width, .Height)
> 
> works well without headers.
>

Look at the Rows.Width and Columns.Height properties. I thought it was 
not hard to find...

-- 
Benoît Minisini

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridView question

2014-01-02 Thread Charlie Reinl
oh, Michael said 'you are not alone', may be I am?
Nobody ?


Salut,

where can I find the Row-headers.Width and Column-headers.Height, for
finally place my Editor right to the cell...
Or missed I something? 
This

With GV1[GV1.Row, 1]
cbxFName.Move(GV1.X + .X , GV1.Y + .Y , .Width, .Height)

works well without headers.
-- 
Amicalement
Charlie



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview

2014-01-01 Thread Bruce
On Thu, 2014-01-02 at 14:53 +1030, Bruce wrote:
> On Thu, 2014-01-02 at 14:34 +1100, Shane wrote:
> > what is needed to get
> > word warp height resizing working ? this is what i have
> > 
> > GridView1.Rows[Index].Height = -1
> > GridView1[Index, 0].WordWrap = True
> > 
> > so wordwarp works but the height is not resized
> > 
> > --
> 
> You have to set the row height to -1 in the Arrange event, not when you
> load a cell.  
> 
> This is because of something like the runtime does not know what to do
> with the row heights until it is all loaded.
> 
> I had the same problem some months ago, Beniot's explanation is
> somewhere in the mailing list archives. I can only suggest you search it
> for "gridview row height", but I do not remember the topic, sorry.
> 
> hth
> Bruce
> 
> 
Aha, found it!

Topic is "gridview row heights when cell is wrapped" and Benoit's
answers on the 1st May 2013 are germaine.

B




--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview

2014-01-01 Thread Bruce
On Thu, 2014-01-02 at 14:34 +1100, Shane wrote:
> what is needed to get
> word warp height resizing working ? this is what i have
> 
> GridView1.Rows[Index].Height = -1
> GridView1[Index, 0].WordWrap = True
> 
> so wordwarp works but the height is not resized
> 
> --

You have to set the row height to -1 in the Arrange event, not when you
load a cell.  

This is because of something like the runtime does not know what to do
with the row heights until it is all loaded.

I had the same problem some months ago, Beniot's explanation is
somewhere in the mailing list archives. I can only suggest you search it
for "gridview row height", but I do not remember the topic, sorry.

hth
Bruce


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gridview

2014-01-01 Thread Shane
what is needed to get
word warp height resizing working ? this is what i have

GridView1.Rows[Index].Height = -1
GridView1[Index, 0].WordWrap = True

so wordwarp works but the height is not resized

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridView question

2013-12-30 Thread Charlie Reinl
Salut,

where can I find the Row-headers.Width and Column-headers.Height, for
finally place my Editor right to the cell...
Or missed I something? 
This

With GV1[GV1.Row, 1]
cbxFName.Move(GV1.X + .X , GV1.Y + .Y , .Width, .Height)

works well without headers.
-- 
Amicalement
Charlie


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GridView, ColumnClick is not fired

2013-12-29 Thread Benoît Minisini
Le 29/12/2013 17:40, Charlie Reinl a écrit :
> Salut Benoît,
>
> GridView, ColumnClick is not fired. so a click on Columns Header ends in
> Click and says the click was on row 0.
>
> attached a TEST-project
>

It should be fixed in revision #6034.

Regards,

-- 
Benoît Minisini

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] GridView, ColumnClick is not fired

2013-12-29 Thread Charlie Reinl
Salut Benoît,

GridView, ColumnClick is not fired. so a click on Columns Header ends in
Click and says the click was on row 0.

attached a TEST-project 

-- 
Amicalement
Charlie

[System]
Gambas=3.5.90   r6023
OperatingSystem=Linux
Kernel=2.6.32-54-generic
Architecture=x86
Distribution=Ubuntu 10.04.4 LTS
Desktop=GNOME
Theme=QPlastique
Language=de_DE.UTF-8
Memory=3024M
[Libraries]
Cairo=libcairo.so.2.10800.10
Curl=libcurl.so.4.1.1
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.24.1
GTK+=libgtk-x11-2.0.so.0.2000.1
Poppler=libpoppler.so.5.0.0
Qt4=libQtCore.so.4.6.2
SDL=libSDL-1.2.so.0.11.3


TEST-0.0.5.tar.gz
Description: application/compressed-tar
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 20:25, Tobias Boege wrote:
> On Tue, 27 Aug 2013, Shane wrote:
>> On 27/08/13 20:02, Shane wrote:
>>> On 27/08/13 18:52, Tobias Boege wrote:
 On Tue, 27 Aug 2013, Shane wrote:
> On 27/08/13 17:48, Tobias Boege wrote:
>> On Tue, 27 Aug 2013, Shane wrote:
>>> On 27/08/13 17:00, Tobias Boege wrote:
 On Tue, 27 Aug 2013, Shane wrote:
> I am unable to set the Gridview Mode Property in the IDE
> I get Incorrect Property Value (not an Object)
>
>
> [System]
> OperatingSystem=Linux
> Kernel=3.8.0-29-generic
> Architecture=x86_64
> Distribution=Ubuntu 13.04
> Desktop=XFCE
> Theme=QGtk
> Language=en_AU.UTF-8
> Memory=3808M
> [Libraries]
> Cairo=libcairo.so.0.0.0
> Cairo=libcairo.so.2.11200.14
> Curl=libcurl.so.4.3.0
> DBus=libdbus-1.so.3.7.2
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.6.0
> GTK+=libgtk-x11-2.0.so.0.2400.17
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.28.0.0
> Qt4=libQtCore.so.4.8.4
> SDL=libSDL-1.2.so.0.11.4
>
 What does

 $ gbx3 --version

 say?

 Regards,
 Tobi

 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance 
 Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


>>> sorry 3.4.90
>>>
>> Nothing more? If it 3.4.90 I would expect that it also prints the SVN
>> revision number as of #5662 (which was May this year). Can you dig out 
>> the
>> revision you're using for us?
>>
>> Regards,
>> Tobi
>>
>> --
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
> ok it from http://ppa.launchpad.net/sebikul/gambas-daily/ubuntu
> and its 3.4.99-2+svn 4657 build 41
>
 This appears to be the latest revision. I already reported problems with
 this revision (including the "Incorrect property value" issue). Don't get 
 me
 wrong but I'm glad I'm not the only one seeing this :-)

 My solution was to downgrade to #5802. I think svn4622 in Sebi's numbering
 scheme should be fine.

 Regards,
 Tobi

 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


>>> This seems strange being using grid view for ages no problem?
>>>
>>>
>>> --
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>
>> looks like setting in code works
>> is this something with the ppa version i had another problem recently
>> and had to down grade
>> so what is the best way to do things like this setting properties in
>> code or the ide?
> Generally, you should use the IDE. Just this time the IDE is broken.
> Remember that you use a development version if you 

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote:
> On 27/08/13 20:02, Shane wrote:
> > On 27/08/13 18:52, Tobias Boege wrote:
> >> On Tue, 27 Aug 2013, Shane wrote:
> >>> On 27/08/13 17:48, Tobias Boege wrote:
>  On Tue, 27 Aug 2013, Shane wrote:
> > On 27/08/13 17:00, Tobias Boege wrote:
> >> On Tue, 27 Aug 2013, Shane wrote:
> >>> I am unable to set the Gridview Mode Property in the IDE
> >>> I get Incorrect Property Value (not an Object)
> >>>
> >>>
> >>> [System]
> >>> OperatingSystem=Linux
> >>> Kernel=3.8.0-29-generic
> >>> Architecture=x86_64
> >>> Distribution=Ubuntu 13.04
> >>> Desktop=XFCE
> >>> Theme=QGtk
> >>> Language=en_AU.UTF-8
> >>> Memory=3808M
> >>> [Libraries]
> >>> Cairo=libcairo.so.0.0.0
> >>> Cairo=libcairo.so.2.11200.14
> >>> Curl=libcurl.so.4.3.0
> >>> DBus=libdbus-1.so.3.7.2
> >>> GStreamer=libgstreamer-0.10.so.0.30.0
> >>> GStreamer=libgstreamer-1.0.so.0.6.0
> >>> GTK+=libgtk-x11-2.0.so.0.2400.17
> >>> OpenGL=libGL.so.1.2.0
> >>> Poppler=libpoppler.so.28.0.0
> >>> Qt4=libQtCore.so.4.8.4
> >>> SDL=libSDL-1.2.so.0.11.4
> >>>
> >> What does
> >>
> >> $ gbx3 --version
> >>
> >> say?
> >>
> >> Regards,
> >> Tobi
> >>
> >> --
> >> Introducing Performance Central, a new site from SourceForge and
> >> AppDynamics. Performance Central is your source for news, insights,
> >> analysis and resources for efficient Application Performance 
> >> Management.
> >> Visit us today!
> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> > sorry 3.4.90
> >
>  Nothing more? If it 3.4.90 I would expect that it also prints the SVN
>  revision number as of #5662 (which was May this year). Can you dig out 
>  the
>  revision you're using for us?
> 
>  Regards,
>  Tobi
> 
>  --
>  Introducing Performance Central, a new site from SourceForge and
>  AppDynamics. Performance Central is your source for news, insights,
>  analysis and resources for efficient Application Performance Management.
>  Visit us today!
>  http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>  ___
>  Gambas-user mailing list
>  Gambas-user@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 
> >>> ok it from http://ppa.launchpad.net/sebikul/gambas-daily/ubuntu
> >>> and its 3.4.99-2+svn 4657 build 41
> >>>
> >> This appears to be the latest revision. I already reported problems with
> >> this revision (including the "Incorrect property value" issue). Don't get 
> >> me
> >> wrong but I'm glad I'm not the only one seeing this :-)
> >>
> >> My solution was to downgrade to #5802. I think svn4622 in Sebi's numbering
> >> scheme should be fine.
> >>
> >> Regards,
> >> Tobi
> >>
> >> --
> >> Introducing Performance Central, a new site from SourceForge and
> >> AppDynamics. Performance Central is your source for news, insights,
> >> analysis and resources for efficient Application Performance Management.
> >> Visit us today!
> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> > This seems strange being using grid view for ages no problem?
> >
> >
> > --
> > Introducing Performance Central, a new site from SourceForge and
> > AppDynamics. Performance Central is your source for news, insights,
> > analysis and resources for efficient Application Performance Management.
> > Visit us today!
> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> looks like setting in code works
> is this something with the ppa version i had another problem recently
> and had to down grade
> so what is the best way to do things like this setting properties in 
> code or the ide?

Generally, you should use the IDE. Just this time the IDE is broken.
Remember that you use a development version if you run Sebi's PPA. Things
may be broken there.

Rega

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 20:02, Shane wrote:
> On 27/08/13 18:52, Tobias Boege wrote:
>> On Tue, 27 Aug 2013, Shane wrote:
>>> On 27/08/13 17:48, Tobias Boege wrote:
 On Tue, 27 Aug 2013, Shane wrote:
> On 27/08/13 17:00, Tobias Boege wrote:
>> On Tue, 27 Aug 2013, Shane wrote:
>>> I am unable to set the Gridview Mode Property in the IDE
>>> I get Incorrect Property Value (not an Object)
>>>
>>>
>>> [System]
>>> OperatingSystem=Linux
>>> Kernel=3.8.0-29-generic
>>> Architecture=x86_64
>>> Distribution=Ubuntu 13.04
>>> Desktop=XFCE
>>> Theme=QGtk
>>> Language=en_AU.UTF-8
>>> Memory=3808M
>>> [Libraries]
>>> Cairo=libcairo.so.0.0.0
>>> Cairo=libcairo.so.2.11200.14
>>> Curl=libcurl.so.4.3.0
>>> DBus=libdbus-1.so.3.7.2
>>> GStreamer=libgstreamer-0.10.so.0.30.0
>>> GStreamer=libgstreamer-1.0.so.0.6.0
>>> GTK+=libgtk-x11-2.0.so.0.2400.17
>>> OpenGL=libGL.so.1.2.0
>>> Poppler=libpoppler.so.28.0.0
>>> Qt4=libQtCore.so.4.8.4
>>> SDL=libSDL-1.2.so.0.11.4
>>>
>> What does
>>
>> $ gbx3 --version
>>
>> say?
>>
>> Regards,
>> Tobi
>>
>> --
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
> sorry 3.4.90
>
 Nothing more? If it 3.4.90 I would expect that it also prints the SVN
 revision number as of #5662 (which was May this year). Can you dig out the
 revision you're using for us?

 Regards,
 Tobi

 --
 Introducing Performance Central, a new site from SourceForge and
 AppDynamics. Performance Central is your source for news, insights,
 analysis and resources for efficient Application Performance Management.
 Visit us today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


>>> ok it from http://ppa.launchpad.net/sebikul/gambas-daily/ubuntu
>>> and its 3.4.99-2+svn 4657 build 41
>>>
>> This appears to be the latest revision. I already reported problems with
>> this revision (including the "Incorrect property value" issue). Don't get me
>> wrong but I'm glad I'm not the only one seeing this :-)
>>
>> My solution was to downgrade to #5802. I think svn4622 in Sebi's numbering
>> scheme should be fine.
>>
>> Regards,
>> Tobi
>>
>> --
>> Introducing Performance Central, a new site from SourceForge and
>> AppDynamics. Performance Central is your source for news, insights,
>> analysis and resources for efficient Application Performance Management.
>> Visit us today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
> This seems strange being using grid view for ages no problem?
>
>
> --
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
looks like setting in code works
is this something with the ppa version i had another problem recently
and had to down grade
so what is the best way to do things like this setting properties in 
code or the ide?

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@li

Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 18:52, Tobias Boege wrote:
> On Tue, 27 Aug 2013, Shane wrote:
>> On 27/08/13 17:48, Tobias Boege wrote:
>>> On Tue, 27 Aug 2013, Shane wrote:
 On 27/08/13 17:00, Tobias Boege wrote:
> On Tue, 27 Aug 2013, Shane wrote:
>> I am unable to set the Gridview Mode Property in the IDE
>> I get Incorrect Property Value (not an Object)
>>
>>
>> [System]
>> OperatingSystem=Linux
>> Kernel=3.8.0-29-generic
>> Architecture=x86_64
>> Distribution=Ubuntu 13.04
>> Desktop=XFCE
>> Theme=QGtk
>> Language=en_AU.UTF-8
>> Memory=3808M
>> [Libraries]
>> Cairo=libcairo.so.0.0.0
>> Cairo=libcairo.so.2.11200.14
>> Curl=libcurl.so.4.3.0
>> DBus=libdbus-1.so.3.7.2
>> GStreamer=libgstreamer-0.10.so.0.30.0
>> GStreamer=libgstreamer-1.0.so.0.6.0
>> GTK+=libgtk-x11-2.0.so.0.2400.17
>> OpenGL=libGL.so.1.2.0
>> Poppler=libpoppler.so.28.0.0
>> Qt4=libQtCore.so.4.8.4
>> SDL=libSDL-1.2.so.0.11.4
>>
> What does
>
> $ gbx3 --version
>
> say?
>
> Regards,
> Tobi
>
> --
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
 sorry 3.4.90

>>> Nothing more? If it 3.4.90 I would expect that it also prints the SVN
>>> revision number as of #5662 (which was May this year). Can you dig out the
>>> revision you're using for us?
>>>
>>> Regards,
>>> Tobi
>>>
>>> --
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>
>> ok it from http://ppa.launchpad.net/sebikul/gambas-daily/ubuntu
>> and its 3.4.99-2+svn 4657 build 41
>>
> This appears to be the latest revision. I already reported problems with
> this revision (including the "Incorrect property value" issue). Don't get me
> wrong but I'm glad I'm not the only one seeing this :-)
>
> My solution was to downgrade to #5802. I think svn4622 in Sebi's numbering
> scheme should be fine.
>
> Regards,
> Tobi
>
> --
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
This seems strange being using grid view for ages no problem?


--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote:
> On 27/08/13 17:48, Tobias Boege wrote:
> > On Tue, 27 Aug 2013, Shane wrote:
> >> On 27/08/13 17:00, Tobias Boege wrote:
> >>> On Tue, 27 Aug 2013, Shane wrote:
>  I am unable to set the Gridview Mode Property in the IDE
>  I get Incorrect Property Value (not an Object)
> 
> 
>  [System]
>  OperatingSystem=Linux
>  Kernel=3.8.0-29-generic
>  Architecture=x86_64
>  Distribution=Ubuntu 13.04
>  Desktop=XFCE
>  Theme=QGtk
>  Language=en_AU.UTF-8
>  Memory=3808M
>  [Libraries]
>  Cairo=libcairo.so.0.0.0
>  Cairo=libcairo.so.2.11200.14
>  Curl=libcurl.so.4.3.0
>  DBus=libdbus-1.so.3.7.2
>  GStreamer=libgstreamer-0.10.so.0.30.0
>  GStreamer=libgstreamer-1.0.so.0.6.0
>  GTK+=libgtk-x11-2.0.so.0.2400.17
>  OpenGL=libGL.so.1.2.0
>  Poppler=libpoppler.so.28.0.0
>  Qt4=libQtCore.so.4.8.4
>  SDL=libSDL-1.2.so.0.11.4
> 
> >>> What does
> >>>
> >>> $ gbx3 --version
> >>>
> >>> say?
> >>>
> >>> Regards,
> >>> Tobi
> >>>
> >>> --
> >>> Introducing Performance Central, a new site from SourceForge and
> >>> AppDynamics. Performance Central is your source for news, insights,
> >>> analysis and resources for efficient Application Performance Management.
> >>> Visit us today!
> >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> >>> ___
> >>> Gambas-user mailing list
> >>> Gambas-user@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>
> >>>
> >> sorry 3.4.90
> >>
> > Nothing more? If it 3.4.90 I would expect that it also prints the SVN
> > revision number as of #5662 (which was May this year). Can you dig out the
> > revision you're using for us?
> >
> > Regards,
> > Tobi
> >
> > --
> > Introducing Performance Central, a new site from SourceForge and
> > AppDynamics. Performance Central is your source for news, insights,
> > analysis and resources for efficient Application Performance Management.
> > Visit us today!
> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> ok it from http://ppa.launchpad.net/sebikul/gambas-daily/ubuntu
> and its 3.4.99-2+svn 4657 build 41
> 

This appears to be the latest revision. I already reported problems with
this revision (including the "Incorrect property value" issue). Don't get me
wrong but I'm glad I'm not the only one seeing this :-)

My solution was to downgrade to #5802. I think svn4622 in Sebi's numbering
scheme should be fine.

Regards,
Tobi

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 17:48, Tobias Boege wrote:
> On Tue, 27 Aug 2013, Shane wrote:
>> On 27/08/13 17:00, Tobias Boege wrote:
>>> On Tue, 27 Aug 2013, Shane wrote:
 I am unable to set the Gridview Mode Property in the IDE
 I get Incorrect Property Value (not an Object)


 [System]
 OperatingSystem=Linux
 Kernel=3.8.0-29-generic
 Architecture=x86_64
 Distribution=Ubuntu 13.04
 Desktop=XFCE
 Theme=QGtk
 Language=en_AU.UTF-8
 Memory=3808M
 [Libraries]
 Cairo=libcairo.so.0.0.0
 Cairo=libcairo.so.2.11200.14
 Curl=libcurl.so.4.3.0
 DBus=libdbus-1.so.3.7.2
 GStreamer=libgstreamer-0.10.so.0.30.0
 GStreamer=libgstreamer-1.0.so.0.6.0
 GTK+=libgtk-x11-2.0.so.0.2400.17
 OpenGL=libGL.so.1.2.0
 Poppler=libpoppler.so.28.0.0
 Qt4=libQtCore.so.4.8.4
 SDL=libSDL-1.2.so.0.11.4

>>> What does
>>>
>>> $ gbx3 --version
>>>
>>> say?
>>>
>>> Regards,
>>> Tobi
>>>
>>> --
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance Management.
>>> Visit us today!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>>
>> sorry 3.4.90
>>
> Nothing more? If it 3.4.90 I would expect that it also prints the SVN
> revision number as of #5662 (which was May this year). Can you dig out the
> revision you're using for us?
>
> Regards,
> Tobi
>
> --
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
ok it from http://ppa.launchpad.net/sebikul/gambas-daily/ubuntu
and its 3.4.99-2+svn 4657 build 41


--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote:
> On 27/08/13 17:00, Tobias Boege wrote:
> > On Tue, 27 Aug 2013, Shane wrote:
> >> I am unable to set the Gridview Mode Property in the IDE
> >> I get Incorrect Property Value (not an Object)
> >>
> >>
> >> [System]
> >> OperatingSystem=Linux
> >> Kernel=3.8.0-29-generic
> >> Architecture=x86_64
> >> Distribution=Ubuntu 13.04
> >> Desktop=XFCE
> >> Theme=QGtk
> >> Language=en_AU.UTF-8
> >> Memory=3808M
> >> [Libraries]
> >> Cairo=libcairo.so.0.0.0
> >> Cairo=libcairo.so.2.11200.14
> >> Curl=libcurl.so.4.3.0
> >> DBus=libdbus-1.so.3.7.2
> >> GStreamer=libgstreamer-0.10.so.0.30.0
> >> GStreamer=libgstreamer-1.0.so.0.6.0
> >> GTK+=libgtk-x11-2.0.so.0.2400.17
> >> OpenGL=libGL.so.1.2.0
> >> Poppler=libpoppler.so.28.0.0
> >> Qt4=libQtCore.so.4.8.4
> >> SDL=libSDL-1.2.so.0.11.4
> >>
> > What does
> >
> > $ gbx3 --version
> >
> > say?
> >
> > Regards,
> > Tobi
> >
> > --
> > Introducing Performance Central, a new site from SourceForge and
> > AppDynamics. Performance Central is your source for news, insights,
> > analysis and resources for efficient Application Performance Management.
> > Visit us today!
> > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> sorry 3.4.90
> 

Nothing more? If it 3.4.90 I would expect that it also prints the SVN
revision number as of #5662 (which was May this year). Can you dig out the
revision you're using for us?

Regards,
Tobi

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Shane
On 27/08/13 17:00, Tobias Boege wrote:
> On Tue, 27 Aug 2013, Shane wrote:
>> I am unable to set the Gridview Mode Property in the IDE
>> I get Incorrect Property Value (not an Object)
>>
>>
>> [System]
>> OperatingSystem=Linux
>> Kernel=3.8.0-29-generic
>> Architecture=x86_64
>> Distribution=Ubuntu 13.04
>> Desktop=XFCE
>> Theme=QGtk
>> Language=en_AU.UTF-8
>> Memory=3808M
>> [Libraries]
>> Cairo=libcairo.so.0.0.0
>> Cairo=libcairo.so.2.11200.14
>> Curl=libcurl.so.4.3.0
>> DBus=libdbus-1.so.3.7.2
>> GStreamer=libgstreamer-0.10.so.0.30.0
>> GStreamer=libgstreamer-1.0.so.0.6.0
>> GTK+=libgtk-x11-2.0.so.0.2400.17
>> OpenGL=libGL.so.1.2.0
>> Poppler=libpoppler.so.28.0.0
>> Qt4=libQtCore.so.4.8.4
>> SDL=libSDL-1.2.so.0.11.4
>>
> What does
>
> $ gbx3 --version
>
> say?
>
> Regards,
> Tobi
>
> --
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
sorry 3.4.90



--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gridview Mode

2013-08-27 Thread Tobias Boege
On Tue, 27 Aug 2013, Shane wrote:
> I am unable to set the Gridview Mode Property in the IDE
> I get Incorrect Property Value (not an Object)
> 
> 
> [System]
> OperatingSystem=Linux
> Kernel=3.8.0-29-generic
> Architecture=x86_64
> Distribution=Ubuntu 13.04
> Desktop=XFCE
> Theme=QGtk
> Language=en_AU.UTF-8
> Memory=3808M
> [Libraries]
> Cairo=libcairo.so.0.0.0
> Cairo=libcairo.so.2.11200.14
> Curl=libcurl.so.4.3.0
> DBus=libdbus-1.so.3.7.2
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.6.0
> GTK+=libgtk-x11-2.0.so.0.2400.17
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.28.0.0
> Qt4=libQtCore.so.4.8.4
> SDL=libSDL-1.2.so.0.11.4
> 

What does

$ gbx3 --version

say?

Regards,
Tobi

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gridview Mode

2013-08-26 Thread Shane
I am unable to set the Gridview Mode Property in the IDE
I get Incorrect Property Value (not an Object)


[System]
OperatingSystem=Linux
Kernel=3.8.0-29-generic
Architecture=x86_64
Distribution=Ubuntu 13.04
Desktop=XFCE
Theme=QGtk
Language=en_AU.UTF-8
Memory=3808M
[Libraries]
Cairo=libcairo.so.0.0.0
Cairo=libcairo.so.2.11200.14
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.2
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.6.0
GTK+=libgtk-x11-2.0.so.0.2400.17
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.28.0.0
Qt4=libQtCore.so.4.8.4
SDL=libSDL-1.2.so.0.11.4

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gridview and wordwrapping/row heights (again)

2013-05-17 Thread Richard Terry
HI List,

I've looked up the list achives on this and found a number of mails, and 
it seems one should be able to get the grid cells contents to wordwrap 
and the row height to expand to the right height to see all the text.

However I"m unsuccessful, having tried eg the cell wordwrap property 
=true. Mention was made somewhere to set the rowheight to -1.

No combination works for me.

Is this possible, if so any change of example

My gambas3 version is the latest from the Kendek ppa.

Thanks

richard


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gridview

2013-05-15 Thread Fabien Bodard
Manually but it would be better if you use the _data event for filling so
you can use flags
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gridview

2013-05-15 Thread Shane
is there a way to set the background and foreground colour of a gridview 
row and when other is selected the previous one returns to it original 
colours or would this have to be done manually

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   >