Re: [Gambas-user] Externs ... yet again

2014-01-26 Thread Bruce
On Mon, 2014-01-27 at 15:48 +1030, Bruce wrote: > 'aspell_config_replace(spell_config, "lang", "en_US"); > Extern aspell_config_replace(spell_checker As Pointer, Var As String = > "lang", lang As String = "en_AU") In "libaspell" > > Not allowed? > > Syntax error. Missing ',' or ')' in ... > > So

[Gambas-user] Externs ... yet again

2014-01-26 Thread Bruce
'aspell_config_replace(spell_config, "lang", "en_US"); Extern aspell_config_replace(spell_checker As Pointer, Var As String = "lang", lang As String = "en_AU") In "libaspell" Not allowed? Syntax error. Missing ',' or ')' in ... Sorry for terseness , bloody hot here today Bruce --

Re: [Gambas-user] sdl Draw event overhead is killing frame rate

2014-01-26 Thread Kevin Fishburne
On 01/26/2014 06:49 PM, Benoît Minisini wrote: > Le 20/01/2014 05:28, Kevin Fishburne a écrit : >> It must provoke some acid reflux deep within the bowels of SDL. :) I >> don't know...it's damn strange for sure. I also find it strange that the >> FPS is around 500, but when you minimize the window

Re: [Gambas-user] Question on ByteArray > 63 elements

2014-01-26 Thread Jussi Lahtinen
No, you got me wrong... 64 is limit of arguments, so split it in two set of arguments. GG.src.Insert([1,2,3,4, ... ]) GG.src.Insert([ ... 63, 64, 65]) Jussi On Sun, Jan 26, 2014 at 10:59 PM, wally wrote: > Hi Jussi, > > still "too many arguments" > > I do something wrong, incedible a 63 lim

Re: [Gambas-user] sdl Draw event overhead is killing frame rate

2014-01-26 Thread Benoît Minisini
Le 20/01/2014 05:28, Kevin Fishburne a écrit : > > It must provoke some acid reflux deep within the bowels of SDL. :) I > don't know...it's damn strange for sure. I also find it strange that the > FPS is around 500, but when you minimize the window it jumps to over > 2000. Even if it's just refresh

Re: [Gambas-user] multiple selection on gridview

2014-01-26 Thread Benoît Minisini
Le 24/01/2014 19:32, Jorge Carrión a écrit : > Hi > > If you set enable the Multiple property on a gridview, you can select > several rows with key control+Click. Ok, thats expected. > > But once you have selected several row by doing this, if you click on one > of selected item and try to make a D

Re: [Gambas-user] TableView (or GridView) .Height = 100% Control.Count

2014-01-26 Thread Fabien Bodard
Public Sub GridView1_Arrange() GridView1.Height = GridView1.Rows[GridView1.Rows.Max].y + GridView1.Rows[GridView1.Rows.Max].Height + 10 'Print GridView1.Rows[GridView1.Rows.Max].Y + GridView1.Rows[GridView1.Rows.Max].Height End 2014-01-26 Fabien Bodard : > Is this good for you ? : > > GridView1

Re: [Gambas-user] TableView (or GridView) .Height = 100% Control.Count

2014-01-26 Thread Fabien Bodard
Is this good for you ? : GridView1.Height = GridView1.Rows[GridView1.Rows.Max].y + GridView1.Rows[GridView1.Rows.Max].Height + 10 2014-01-26 abbat81 : > > > How to show all rows and to do not show white empty area if it is not > needed. > > >

Re: [Gambas-user] Question on ByteArray > 63 elements

2014-01-26 Thread wally
Fabian it is not known in the project. What i sent is a separate clear example only. This data is sent froma device, always different but usually not bigger than 255 Bytes. I fear i must cut in parts or do all the stuff again in C. On 01/26/2014 10:55 PM, Fabien Bodard wrote: > if it is known

Re: [Gambas-user] Question on ByteArray > 63 elements

2014-01-26 Thread Fabien Bodard
if it is known datas why don't you store them to a file ? 2014-01-26 Tobias Boege : > On Sun, 26 Jan 2014, wally wrote: >> Hi Jussi, >> >> still "too many arguments" >> >> I do something wrong, incedible a 63 limit for Byte[] >> >> GG.src.Insert([1,2,3,4, ... , 64, 65]) >> > > This is a known limi

Re: [Gambas-user] Issue 355 in gambas: gb.gtk still uses gtk2

2014-01-26 Thread gambas
Comment #5 on issue 355 by mckayger...@gmail.com: gb.gtk still uses gtk2 http://code.google.com/p/gambas/issues/detail?id=355 does gtk2 choice will dissapear or we can choose between gtk2 and gtk3 ( i notice that gtk3 are more heaviweith rather that gtk2 and also hard to mantain..) NOTE that

Re: [Gambas-user] Question on ByteArray > 63 elements

2014-01-26 Thread Tobias Boege
On Sun, 26 Jan 2014, wally wrote: > Hi Jussi, > > still "too many arguments" > > I do something wrong, incedible a 63 limit for Byte[] > > GG.src.Insert([1,2,3,4, ... , 64, 65]) > This is a known limit, but it has nothing special to do with the Byte[] class. IIRC, I was the one who last asked

Re: [Gambas-user] Question on ByteArray > 63 elements

2014-01-26 Thread wally
Hi Jussi, still "too many arguments" I do something wrong, incedible a 63 limit for Byte[] GG.src.Insert([1,2,3,4, ... , 64, 65]) wally On 01/26/2014 08:40 PM, Jussi Lahtinen wrote: > Example: > GG.src.Insert([1,2,3,4]) > > Jussi > > > On Sun, Jan 26, 2014 at 7:03 PM, wally wrote: > >> Hello

Re: [Gambas-user] TableView (or GridView) .Height = 100% Control.Count

2014-01-26 Thread abbat81
How to show all rows and to do not show white empty area if it is not needed. -- View this message in context: http://gambas.8142.n7.nabble.com/TableView-or-GridView-Height-100-Control-Count-tp45372p45377.html Sent from the gambas-user ma

Re: [Gambas-user] Question on ByteArray > 63 elements

2014-01-26 Thread Jussi Lahtinen
Example: GG.src.Insert([1,2,3,4]) Jussi On Sun, Jan 26, 2014 at 7:03 PM, wally wrote: > Hello, > > i need to write more than 63 Bytes to an Byte[] in a structure. > > How to do this job ? > > mini example attached > > > thank you wally > > '#

Re: [Gambas-user] TableView (or GridView) .Height = 100% Control.Count

2014-01-26 Thread Fabien Bodard
Do you want the 5 rows to take all the clientheight ? I'm don't really understand what you means and what you want. Can you send us a small project that illustrate the problem or at less screenshots. Le 26 janv. 2014 16:04, "abbat81" a écrit : > GridView & TableView > > I do not know how many ro

[Gambas-user] Question on ByteArray > 63 elements

2014-01-26 Thread wally
Hello, i need to write more than 63 Bytes to an Byte[] in a structure. How to do this job ? mini example attached thank you wally '## ' Gambas class file Public Struct myStruct src As Byte[] dst As Byte[] End Struct Public G

Re: [Gambas-user] How to import and/or use Linux function "memcopy"?

2014-01-26 Thread Jussi Lahtinen
> Thanks, I had missed that property. Function memmove now works as I > think it should. The pointer acts like an integer giving the > starting location of the array in bytes. As I recall, in VB6 I can > use "iArray" as a variable and it is assumed to mean > "iArray(0)", Or, I could have specif

[Gambas-user] TableView (or GridView) .Height = 100% Control.Count

2014-01-26 Thread abbat81
GridView & TableView I do not know how many rows a control will has It can has a 5 or 15 rows. So, how to set contol.height to show all 15 rows and if there are 5 rows to do not show empty area without rows in a control. I can not calculate a pixels of one row because font size can be different

[Gambas-user] Issue 505 in gambas: Provide a way to add manpages to generated installation packages

2014-01-26 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 505 by computer...@gmail.com: Provide a way to add manpages to generated installation packages http://code.google.com/p/gambas/issues/detail?id=505 Currently, it's not po