[Gambas-user] Dynamic Objects

2009-03-29 Thread Rodney Rundstrom
Thanks to some of the member I can now create objects dynamically. If I create a number of buttons I can position and label them differently. I can also name them differently However I can have a number of objects with the same name on a form? I can access an event say click on any of the

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: leona...@

[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 intege

[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 intege

[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 ProgressBar1.BackC

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 =

Re: [Gambas-user] Slow Gridview creation

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

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 : > Hi! > > I noticed Start and End options to make sector (also in circle), but > how

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 : > 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 for my special cas