Re: [Gambas-user] gb.chart

2009-10-25 Thread Andrea Bertini
the help-code given doesn't work with release 2.16. Messages: = 'the values count must be up then 1' 'no current device' Code: = DIM mychart AS NEW Chart (not writte in the help but inserted) mychart.Count = 3 mychart[0].Values = [1.0, 2.0, 3.0] mychart.Headers.Values = ["tic", "tac"

Re: [Gambas-user] Video Player example

2009-10-25 Thread Ron_1st
On Sunday 25 October 2009, Hartmut Eilers wrote: > Hallo Gambas Users, > > >> for my Video project I need a video player which plays a video > >> in a unvisible DrawingArea where I can grab a picture contolled > >> by a timer. I want to show the grabbed image in a smaller preview > >> window where

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread briansykes
These functions are part of a chat server handshake and they only have it available to me in java so i have to port it to gambas to use it. I'll post the big function so you can get an idea of what is going on. private void n(String s1) { boolean flag = false; String as[] = {

Re: [Gambas-user] Video Player example

2009-10-25 Thread Hartmut Eilers
Hallo List, I didn't know, that the attachments are scrubbed. at least in the digest. so here is the screenshot of my video app for live recordings from 2 cams. http://www.eilers.net/tmp/VideoPlayerProblem2.png regards Hartmut

Re: [Gambas-user] sort multidimensional arrays

2009-10-25 Thread Fabien Bodard
what is the array structure ? send an exemple please 2009/10/25 Matti : > Is there a way to sort an array that has more than one dimension by telling > Gambas on which field the sorting shoiuld be done? > > For example, if I have the array > Max, 14 > Anna, 8 > Fabien, 7 > > I would expect the r

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread Fabien Bodard
2009/10/25 briansykes : > > Sorry i hit the wrong link, but here it is again. sorry. > > private BitSet a(char ac[]) >    { >        int i1 = ac.length * 8; >        BitSet bitset = new BitSet(i1); >        for(int j1 = 0; j1 < i1; j1++) >        { >            int k1 = j1 & 7; >            int l1

Re: [Gambas-user] Tableview question

2009-10-25 Thread richard terry
thanks, I'll digest all the replies. Richard On Monday 26 October 2009 04:10:53 you wrote: > > With a form and a tableview > > I hope you understand more, in the _Save Event, you validate the > entered value and do what you want such as adding a new row > > ' Gambas class file > > > > > P

[Gambas-user] sort multidimensional arrays

2009-10-25 Thread Matti
Is there a way to sort an array that has more than one dimension by telling Gambas on which field the sorting shoiuld be done? For example, if I have the array Max, 14 Anna, 8 Fabien, 7 I would expect the result of sorting by the first field to be Anna, 8 Fabien, 7 Max, 14 Instead, when using A

Re: [Gambas-user] Gambas-user Digest, Vol 41, Issue 47

2009-10-25 Thread Andrea Bertini
gambas-user-requ...@lists.sourceforge.net ha scritto: > Send Gambas-user mailing list submissions to > gambas-user@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a messa

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread briansykes
Sorry i hit the wrong link, but here it is again. sorry. private BitSet a(char ac[]) { int i1 = ac.length * 8; BitSet bitset = new BitSet(i1); for(int j1 = 0; j1 < i1; j1++) { int k1 = j1 & 7; int l1 = j1 >> 3; if((ac[l1] & 0

Re: [Gambas-user] Tableview question

2009-10-25 Thread Fabien Bodard
With a form and a tableview I hope you understand more, in the _Save Event, you validate the entered value and do what you want such as adding a new row ' Gambas class file PUBLIC SUB Form_Open() TableView1.Rows.Count = 3 TableView1.Columns.Count = 2 TableView1[0, 0].Text = "tic" Ta

Re: [Gambas-user] Tableview question

2009-10-25 Thread Fabien Bodard
on the _data event version or gridview mode ? 2009/10/24 richard terry : > I've need to use the table view to allow user to edit/add new cells > > Despite reading Doc's and looking at the  examples in the IDe I'm no closer to > getting the concept of how the thing works, so I wonder if anyone cou

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread Fabien Bodard
Private Function a( BitSet as Byte[]) as Byte[] Dim BitSet1 as New Byte[64] Dim Flag as Boolean = false Dim i As Integer For i = 0 to 64-1 If Flag<>BitSet[i] Then BitSet1[i]=True Flag = BitSet[i] Next return BitSet1 2009/10/25 briansykes : > > I'm trying to convert some java co

[Gambas-user] Release of Gambas 2.17

2009-10-25 Thread Benoît Minisini
Hi, Here is a new release of the stable version of Gambas. Beside the usual bug fixes, Gambas now runs on ARM architectures, which is a good thing, as it will allow to develop Gambas applications on smartphones and other devices using Linux/ARM. If anybody succeeds in such a thing, please tell

Re: [Gambas-user] gb.chart

2009-10-25 Thread Fabien Bodard
this is the basis of the gb.chart use on version 2 ' Gambas class file PUBLIC SUB Form_Open() Chart.Count = 3 Chart[0].Values = [1.0, 2.0, 3.0] Chart.Headers.Values = ["tic", "tac", "toes"] Chart.Legend.Visible = TRUE Chart.Style = ChartType.Pie END PUBLIC SUB DrawingArea1_Draw() Chart

Re: [Gambas-user] Gambas equivilent help

2009-10-25 Thread briansykes
I'm trying to convert some java code to Gambas and i cant seem to get it to work at all here is the code. private BitSet a(BitSet bitset) { BitSet bitset1 = new BitSet(64); boolean flag = false; for(int i1 = 0; i1 < 64; i1++) { if(flag != bitset.get

[Gambas-user] gb.chart

2009-10-25 Thread Andrea Bertini
please post en example working with version 2.16 thx -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take

Re: [Gambas-user] modules

2009-10-25 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Benoît Minisini a écrit : Hi list, I wonder if it is possible to create modules dependencies in order to automatically load N modules when you only select one? JY >>> You mean, when loading a module at runtime? >> well, both @ runtime and w

Re: [Gambas-user] Tableview question

2009-10-25 Thread richard terry
On Sunday 25 October 2009 21:51:12 you wrote: > richard terry wrote: > > I've need to use the table view to allow user to edit/add new cells > > > > Despite reading Doc's and looking at the examples in the IDe I'm no > > closer to getting the concept of how the thing works, so I wonder if > > anyo

Re: [Gambas-user] modules

2009-10-25 Thread Benoît Minisini
> Benoît Minisini a écrit : > >> Hi list, > >> > >> I wonder if it is possible to create modules dependencies in order to > >> automatically load N modules when you only select one? > >> > >> JY > > > > You mean, when loading a module at runtime? > > well, both @ runtime and when beginning the pro

Re: [Gambas-user] Tableview question

2009-10-25 Thread Werner
richard terry wrote: > I've need to use the table view to allow user to edit/add new cells > > Despite reading Doc's and looking at the examples in the IDe I'm no closer > to > getting the concept of how the thing works, so I wonder if anyone could > explain its use in simple terms and show me