Re: [Gambas-user] Floodfill / pie chart

2009-03-29 Thread Fabien Bodard
or simply the component itself if it work... (i'm not sure in v2) 2009/3/28 Jussi Lahtinen jussi.lahti...@gmail.com: Hi! I noticed Start and End options to make sector (also in circle), but how to fill them with color? Fabien, here it is, but I think it is not very useful. It is made only

Re: [Gambas-user] Floodfill / pie chart

2009-03-29 Thread Fabien Bodard
i think you will better see at my source code in gb.chart. for that download the gambas source and look in ~/gambas/comp/src/gb.chart/_CStylePie.class. you need to use ellipse or circle 2009/3/28 Jussi Lahtinen jussi.lahti...@gmail.com: Hi! I noticed Start and End options to make sector (also

Re: [Gambas-user] Slow Gridview creation

2009-03-29 Thread Fabien Bodard
good work ! 2009/3/27 Jesus Guardon jguar...@telefonica.net: Fabien Bodard escribió: simply the handle name is not good... you have named your gridview gv and not GridView1... it's an usual copypaste error ;-) Ha ha... it's my mistake. Finally I get it working, really really fast method.

Re: [Gambas-user] Floodfill / pie chart

2009-03-29 Thread Jussi Lahtinen
Thanks Fabien! It was very useful! Now I got my code to work, and it's even simpler than the original vb6 version; Sub PieChart() Dim Angle As Float Dim prevAngle As Float Dim ii As Long With Draw .Begin(Me.PicPieChart) .ForeColor = Color.Black .LineWidth = 3 .Circle(105, 105, 105) .LineWidth =

[Gambas-user] Please help with color problem!

2009-03-29 Thread jbskaggs
I have asked this before, but I cannot change colors on may controls like Textlabel, or Progressbar for example: ProgressBar1.ForeColor = Color.DarkGreen This does nothing the bar remains black this happens with many of my controls in Slackware 12.2 but not Ubuntu 8.1. BUT

[Gambas-user] Maybe (still) a bug in bit manipulation functions

2009-03-29 Thread Leonardo Miliani
I made some tests on bit manipulation functions and I think I've found some bugs in them (Gambas 2.12.0). I read in the documentation that a function like SHL should keep care of the initial type of data. I.e., if I use a byte, it should work using 8 bits (the lenght of a byte), if I use an

Re: [Gambas-user] Maybe (still) a bug in bit manipulation functions

2009-03-29 Thread Leonardo Miliani
It seems that there are bugs in the Ror function too. Using the same number, 197 (11000101), if I write ROR(197,3) I get -1610612712 ( 10111000) instead of 10111000 (184). -- Leonardo Miliani Web: www.leonardomiliani.com E-mail: