Re: [Gambas-user] Two minor bugs

2009-03-05 Thread Rolf-Werner Eilert
Benoît Minisini schrieb:
 Hi everyone!

 When converting one of my apps from Gambas1 to Gambas2, I found 2 minor
 items:

 1. The status of Tool Box Collection is not saved and always starts as
 switched off when starting the Gambas2 IDE. But maybe this is wanted?

 
 This bug is now fixed in revision #1894 (for Gambas 2) and #1895 (for Gambas 
 3).
 
 2. The last (rightmost) column of a TableView is stretched to the
 ultimate width of the tableview and ignores if a Width value is given
 for it.

 Well, it just looks sort of ugly, but I found it worth mentioning anyway.

 Have a nice day!

 Rolf

 
 I (finally) created a new property in the GridView class (and so in its child 
 class TableView): GridView.AutoResize. 
 
 When this property is not set, the last column is not automatically stretched 
 anymore.
 
 You get it in the revision #1895. The gb.gtk version has not been implemented 
 yet.
 
 Enjoy it. :-)
 

H - just tried it in Gambas2 - no reaction.

What I did: Getting the svn into 2.0 (said it's #1896), reconf-all, 
configure, make, make install.


Called Gambas2, opened the project I'm working with. The GridViews in 
question are called tbd and tbk, so I tried

tbd.AutoResize = False
tbk.AutoResize = False

but there was no input help, and AutoResize does not appear in the 
Properties list. Running the program, Gambas said Unknown symbol 
AutoResize in class GridView.

What have I done wrong?

Regards

Rolf

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-03-05 Thread Benoît Minisini
 Benoît Minisini schrieb:
  Hi everyone!
 
  When converting one of my apps from Gambas1 to Gambas2, I found 2 minor
  items:
 
  1. The status of Tool Box Collection is not saved and always starts as
  switched off when starting the Gambas2 IDE. But maybe this is wanted?
 
  This bug is now fixed in revision #1894 (for Gambas 2) and #1895 (for
  Gambas 3).
 
  2. The last (rightmost) column of a TableView is stretched to the
  ultimate width of the tableview and ignores if a Width value is given
  for it.
 
  Well, it just looks sort of ugly, but I found it worth mentioning
  anyway.
 
  Have a nice day!
 
  Rolf
 
  I (finally) created a new property in the GridView class (and so in its
  child class TableView): GridView.AutoResize.
 
  When this property is not set, the last column is not automatically
  stretched anymore.
 
  You get it in the revision #1895. The gb.gtk version has not been
  implemented yet.
 
  Enjoy it. :-)

 H - just tried it in Gambas2 - no reaction.

 What I did: Getting the svn into 2.0 (said it's #1896), reconf-all,
 configure, make, make install.


 Called Gambas2, opened the project I'm working with. The GridViews in
 question are called tbd and tbk, so I tried

 tbd.AutoResize = False
 tbk.AutoResize = False

 but there was no input help, and AutoResize does not appear in the
 Properties list. Running the program, Gambas said Unknown symbol
 AutoResize in class GridView.

 What have I done wrong?

 Regards

 Rolf


You won't see it in Gambas 2, only in Gambas 3. Gambas 2 components and 
interpreter only have bug fixes.

Regards,

-- 
Benoît


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-03-04 Thread Benoît Minisini
 Hi everyone!

 When converting one of my apps from Gambas1 to Gambas2, I found 2 minor
 items:

 1. The status of Tool Box Collection is not saved and always starts as
 switched off when starting the Gambas2 IDE. But maybe this is wanted?


This bug is now fixed in revision #1894 (for Gambas 2) and #1895 (for Gambas 
3).

 2. The last (rightmost) column of a TableView is stretched to the
 ultimate width of the tableview and ignores if a Width value is given
 for it.

 Well, it just looks sort of ugly, but I found it worth mentioning anyway.

 Have a nice day!

 Rolf


I (finally) created a new property in the GridView class (and so in its child 
class TableView): GridView.AutoResize. 

When this property is not set, the last column is not automatically stretched 
anymore.

You get it in the revision #1895. The gb.gtk version has not been implemented 
yet.

Enjoy it. :-)

-- 
Benoît


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-03-04 Thread Ron_1st
On Wednesday 04 March 2009, Benoît Minisini wrote:
 I (finally) created a new property in the GridView class (and so in its child 
 class TableView): GridView.AutoResize. 
 
 When this property is not set, the last column is not automatically stretched 
 anymore.
 
 You get it in the revision #1895. The gb.gtk version has not been implemented 
 yet.
 
 Enjoy it. :-)
 
 -- 
 Benoît
 

Thank you master of universe :)


Best regards,

Ron_1st

-- 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-03-04 Thread Rolf-Werner Eilert
Benoît Minisini schrieb:
 Hi everyone!

 When converting one of my apps from Gambas1 to Gambas2, I found 2 minor
 items:

 1. The status of Tool Box Collection is not saved and always starts as
 switched off when starting the Gambas2 IDE. But maybe this is wanted?

 
 This bug is now fixed in revision #1894 (for Gambas 2) and #1895 (for Gambas 
 3).

Wow! Thank you.

 
 2. The last (rightmost) column of a TableView is stretched to the
 ultimate width of the tableview and ignores if a Width value is given
 for it.

 Well, it just looks sort of ugly, but I found it worth mentioning anyway.

 Have a nice day!

 Rolf

 
 I (finally) created a new property in the GridView class (and so in its child 
 class TableView): GridView.AutoResize. 
 
 When this property is not set, the last column is not automatically stretched 
 anymore.
 
 You get it in the revision #1895. The gb.gtk version has not been implemented 
 yet.
 
 Enjoy it. :-)
 


Oh, I will, I will enjoy :-) Thank you very much indeed!

Regards

Rolf

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-03-03 Thread Robert Moss
I agree an option would be nice, the screenshot is beautiful in this regard.

@ Ron: Lazy coder

On Thu, Feb 26, 2009 at 10:01 AM, Ron_1st ron...@tiscali.nl wrote:

 On Thursday 26 February 2009, Rolf-Werner Eilert wrote:

 ---8---

  
   Best regards,
  
   Ron_1st
  
 
  Hi Ron,
 
  just FYI, I found where it is and just switched it off. Here is what I
 did:
 
  Download the source, unpack and ./configure.
 
  Then look for source-dir/gb.qt/src/CGridView.cpp and open it in an
  editor. Look for
 
  void MyTable::updateLastColumn()
 
  and quote the line
 
if (!_last_col_width)
 
  as well as the two lines
 
if (((columnPos(n) ...
setColumnWidth(n, ...
 
  by just setting a // at their beginnings.
 
  Then make
  and make install
 
  and the feature has gone... :-)
 
  Rolf
 

 LOL, sneaky hacker :):)

 Thats the beauty of opensource.

 You are not only learn programming/reading the Basic code
 but also learn to read C code at least.
 And for me is the code Benoit is writing good stuff to learn.

 For me he did make _the_ example how to use the macros in C code
 to use them in the gambas project.
 For me it is a good frame work and I can still learn from.

 Thank for the hint. I did not realised to do it that way.
 Now I should read the 'patch' documentation so I can
 easy patch the next version of the source code when released.


 --
  A: Delete the text you reply on.
  Q: What to do to get my post on top?
 ---
  A: Because it messes up the order in which people normally read text.
  Q: Why is top-posting such a bad thing?
 ---
  A: Top-posting.
  Q: What is the most annoying thing in e-mail?



 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-03-03 Thread Rolf-Werner Eilert
Ron_1st schrieb:
 On Thursday 26 February 2009, Rolf-Werner Eilert wrote:
 
 ---8---
 
 Best regards,

 Ron_1st

 Hi Ron,

 just FYI, I found where it is and just switched it off. Here is what I did:

 Download the source, unpack and ./configure.

 Then look for source-dir/gb.qt/src/CGridView.cpp and open it in an 
 editor. Look for

 void MyTable::updateLastColumn()

 and quote the line

  if (!_last_col_width)

 as well as the two lines

  if (((columnPos(n) ...
  setColumnWidth(n, ...

 by just setting a // at their beginnings.

 Then make
 and make install

 and the feature has gone... :-)

 Rolf

 
 LOL, sneaky hacker :):)

Thanks :-)

 
 Thats the beauty of opensource.

This was just my own thought when I had the idea to look for the thing 
in Benoit's code.

 
 You are not only learn programming/reading the Basic code 
 but also learn to read C code at least. 
 And for me is the code Benoit is writing good stuff to learn.

Yes, I thought rarely seen such a clearly structured code and just 
found what I was looking for within a few minutes.

 Now I should read the 'patch' documentation so I can
 easy patch the next version of the source code when released.

Errrm - you don't need to wait for the next one, just patch the one 
you've got. I just deleted the gambas2... subdir, unpacked the source 
again and started over. I didn't even make uninstall before...

Rolf



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-01-14 Thread Ron

I find the default 'autostretch mode' now very nice and handy, if there 
comes a flag I prefer to have this default on/enabled.

Regards,
Ron_2nd.
 On Wednesday 14 January 2009, Rolf-Werner Eilert wrote:

   
 Thinking it over, I still feel that it should be the programmer's choice 
 what width the last column should have. Implementing it as an option 
 (Property: LastColumnStretch or so) would be nice, although it would add 
 to featurism of course.

 
 I agree with this.
 A property to enable/disable the auto fill last column would be very nice



   
 But nobody else here seems to be interested in this topic, and nobody 
 commented on my screenshots (or didn't the pictures get through?). So I 
 don't want to overstress this.

 
 I found the screenshot explaining it just the right way.

   
 On the other hand, imagine what this looks like when you start input 
 within such a table: a column only a single letter wide or a few, and 
 the input line reaches out so far to the right... That IS ugly, isn't it?

 Rolf

 



 Best regards,

 Ron_1st

   


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-01-14 Thread Ron_1st
On Wednesday 14 January 2009, Rolf-Werner Eilert wrote:

 Thinking it over, I still feel that it should be the programmer's choice 
 what width the last column should have. Implementing it as an option 
 (Property: LastColumnStretch or so) would be nice, although it would add 
 to featurism of course.
 
I agree with this.
A property to enable/disable the auto fill last column would be very nice



 But nobody else here seems to be interested in this topic, and nobody 
 commented on my screenshots (or didn't the pictures get through?). So I 
 don't want to overstress this.
 
I found the screenshot explaining it just the right way.

 
 On the other hand, imagine what this looks like when you start input 
 within such a table: a column only a single letter wide or a few, and 
 the input line reaches out so far to the right... That IS ugly, isn't it?
 
 Rolf
 



Best regards,

Ron_1st

-- 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-01-13 Thread Rolf-Werner Eilert
Benoit Minisini schrieb:
 On jeudi 8 janvier 2009, Rolf-Werner Eilert wrote:
 Hi everyone!

 When converting one of my apps from Gambas1 to Gambas2, I found 2 minor
 items:

 1. The status of Tool Box Collection is not saved and always starts as
 switched off when starting the Gambas2 IDE. But maybe this is wanted?
 
 I don't know if I wanted that. Its status is just not saved, so it starts 
 hidden.
 
 2. The last (rightmost) column of a TableView is stretched to the
 ultimate width of the tableview and ignores if a Width value is given
 for it.

 Well, it just looks sort of ugly, but I found it worth mentioning anyway.
 
 The width of the last column is ignored only if it is smaller than the 
 GridView/TableView contents. I don't find that ugly. On the contrary, I did 
 that because I found ugly when there is space between the last column and the 
 right border of the GridView.
 
 Regards,
 

Thinking it over, I still feel that it should be the programmer's choice 
what width the last column should have. Implementing it as an option 
(Property: LastColumnStretch or so) would be nice, although it would add 
to featurism of course.

But nobody else here seems to be interested in this topic, and nobody 
commented on my screenshots (or didn't the pictures get through?). So I 
don't want to overstress this.


On the other hand, imagine what this looks like when you start input 
within such a table: a column only a single letter wide or a few, and 
the input line reaches out so far to the right... That IS ugly, isn't it?

Rolf

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two minor bugs

2009-01-12 Thread Benoit Minisini
On jeudi 8 janvier 2009, Rolf-Werner Eilert wrote:
 Hi everyone!

 When converting one of my apps from Gambas1 to Gambas2, I found 2 minor
 items:

 1. The status of Tool Box Collection is not saved and always starts as
 switched off when starting the Gambas2 IDE. But maybe this is wanted?

I don't know if I wanted that. Its status is just not saved, so it starts 
hidden.


 2. The last (rightmost) column of a TableView is stretched to the
 ultimate width of the tableview and ignores if a Width value is given
 for it.

 Well, it just looks sort of ugly, but I found it worth mentioning anyway.

The width of the last column is ignored only if it is smaller than the 
GridView/TableView contents. I don't find that ugly. On the contrary, I did 
that because I found ugly when there is space between the last column and the 
right border of the GridView.

Regards,

-- 
Benoit Minisini

--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user