Re: [Gambas-user] Base Conversion

2008-11-16 Thread Jason Hackney
Thanks. There was a python snippet I found on wikipedia earlier. Maybe I'll knock something together in the next few days when I get a little more free time. On Sun, Nov 16, 2008 at 2:27 PM, Pablo Vera <[EMAIL PROTECTED]> wrote: > Here is a VB6 code to convert to and from base36, it should work a

Re: [Gambas-user] Base Conversion

2008-11-16 Thread Pablo Vera
Here is a VB6 code to convert to and from base36, it should work almost the same in Gambas: ' Support functions ' Get a base36 digit Private Function D36(ByVal N As Integer) As String D36 = Chr$(N + IIf(N <= 9, 48, 55)) End Function ' base36 Logarithm Private Function Log36(ByVal X As Double

[Gambas-user] columnview and combobox list as directories "ls"

2008-11-16 Thread Nicolas Koch
Hey everyone, I have been looking for an example, but have been unable to find the following: 1st thing I need a combobox1 to have a list that gets its items from a directory listing "ls" 2nd thing is a ColumnView1 that has 3 columns Directory, Size and Location and also Refresh() ColumnView1.

[Gambas-user] Base Conversion

2008-11-16 Thread Jason Hackney
A cursory look through the docs didn't turn up anything... Is there a function to convert base, say base 10 to base 36? Or base 16 to base 36. I want to get to base 36 from either base10 or base16. It shouldn't be too difficult to hack something together, but was wondering if I'm overlooking somet

Re: [Gambas-user] New Error message with 2.9

2008-11-16 Thread moon_walker
Thanks Stephano! br Attila Stefano Palmeri wrote: > > Il venerdì 14 novembre 2008 20:34:46 moon_walker ha scritto: >> Hi Stefano, >> >> thanks, >> but what means SVN version? :-) >> >> thx >> Attila >> > > From Gambas site download page: > > --

Re: [Gambas-user] celdas de listview

2008-11-16 Thread Doriano Blengino
jjmoncar ha scritto: > buenas noches. > > estoy tratando de hacer una aplicacion con el listview de manera que cuando > se haga click en una celda esta cambie de color. el siguiente codigo lo > hace, pero me cambia el color de ambas celdas. espero me puedan ayudar. > Uhm, I think you should writ

Re: [Gambas-user] Dynamic menu click event

2008-11-16 Thread Doriano Blengino
Toni ha scritto: > Hi Doriano, thanks for your answer! > I have a related doubt... > If I instantiate some Menu objects from code and I assign them all to > the same "handling function", is there a way, inside this function, to > know which Menu object was the one that fired the event? > The L