[Gambas-user] gb3: signal 11 on formatting a date

2011-06-27 Thread Kevin Fishburne
Dim DateCurrent as Float DateCurrent = -1.71063190910317E+10 Print Format$(CDate(DateCurrent), " d, , hh:nn:AM/PM") I was experimenting and randomly ran across this bug. It looks like the CDate function works, but that formatting it doesn't. -- Kevin Fishburne Eight Virtues www: http://

Re: [Gambas-user] Create and delete labels dinamically

2011-06-27 Thread Charlie Reinl
Am Montag, den 27.06.2011, 22:31 +0200 schrieb M. Cs.: > Thanks! I wonder whether it is possible with any kind of controls to > do the same thing? > > 2011/6/27, Caveat : > > > Salut, yes you can, but that's not all. CONST myGotFocusColor AS Integer = &HAAFF7F& CONST myLostFocusColor AS Intege

Re: [Gambas-user] Programming, age

2011-06-27 Thread Dag-Jarle Johansen
nando,sorry this is going terrible wrong Am 27. Juni 2011 15:49 schrieb Dag-Jarle Johansen < dag.jarle.johan...@gmail.com>: > Hei, Rolf, > > predict you are German, Rolf is in fact a Vikinger name coming to the Saxes > about 200 years before Knut (of denmark) was the master of the empire, for a

Re: [Gambas-user] Create and delete labels dinamically

2011-06-27 Thread tobias
hi, well, to have a dynamic array you need functions like .Add, Remove and stuff. this means that you have to use a class that implements these functions and deals with objects. you may want to use the Object[]: DIM aLabels AS NEW Object[] DIM lblLabel AS NEW Label aLabels.Add(lblLabel) but b

Re: [Gambas-user] Create and delete labels dinamically

2011-06-27 Thread M. Cs.
And the other remark is this is only a static solution: I need to declare the dimension of array, which is a handicap. 2011/6/27, M. Cs. : > Thanks! I wonder whether it is possible with any kind of controls to > do the same thing? > > 2011/6/27, Caveat : >> >> Private allLabels as TextLabel[] >> >

Re: [Gambas-user] Create and delete labels dinamically

2011-06-27 Thread M. Cs.
Thanks! I wonder whether it is possible with any kind of controls to do the same thing? 2011/6/27, Caveat : > > Private allLabels as TextLabel[] > > Public Sub Test_Click() > > allLabels = New TextLabel[10] > createLabels() > deleteLabels() > tidyLabels() > > End > > Public Sub createLabel

Re: [Gambas-user] Programming, age

2011-06-27 Thread Dag-Jarle Johansen
Hei, Rolf, predict you are German, Rolf is in fact a Vikinger name coming to the Saxes about 200 years before Knut (of denmark) was the master of the empire, for a pretty termporary piece of time. As you can imagine, I am a litte proud of what the scandinavian managed, endeed too to conquer norman

Re: [Gambas-user] External Variables

2011-06-27 Thread Jussi Lahtinen
If you use Gambas 3, look at GSLSpline example. It uses external object, but you can use external variables in similar way. gsl_interp_cspline = Pointer@(System.GetExternSymbol("libgsl:0", "gsl_interp_cspline")) Jussi On Mon, Jun 27, 2011 at 13:12, tobias wrote: > hi, > > i have a component t

Re: [Gambas-user] Create and delete labels dinamically

2011-06-27 Thread Caveat
Private allLabels as TextLabel[] Public Sub Test_Click() allLabels = New TextLabel[10] createLabels() deleteLabels() tidyLabels() End Public Sub createLabels() Dim idx As Integer For idx = 0 To 9 allLabels[idx] = New TextLabel(Me) allLabels[idx].X = 10 allLabels[

[Gambas-user] External Variables

2011-06-27 Thread tobias
hi, i have a component that should use a variable (or class) which is declared globally in a project. i know that this isn't good practice but i just want to know if it is possible to tell the compiler not to look for this variable and that it can be resolved when the component loaded. the onl

[Gambas-user] Create and delete labels dinamically

2011-06-27 Thread M. Cs.
I know how to create a label object with the myLabel=New Label(Fmain) sentence. But how could I create an array of labels in order to be able to remove them if needed? -- All of the data generated in your IT infrastructure

Re: [Gambas-user] ScrollView properties

2011-06-27 Thread M. Cs.
Thanks! It works. 2011/6/26, tobias : > hi, > > to be more exact. you should use: > PRINT Mouse.ScreenX - PictureBox1.ScreenX > this will give the position of the mouse relative to PictureBox1's 0,0 > which is the same as your pictures 0,0 > > regards, > tobi > > --

Re: [Gambas-user] Class name bug.

2011-06-27 Thread Demosthenes Koptsis
ok. On Mon, 2011-06-27 at 00:28 +0200, BenoƮt Minisini wrote: > > some more examples > > > > i have classes > > > > cA > > cB > > cC > > > > cB inherits cA > > cC inherits cB > > > > 1) With 2 characters as class names the file browser did not show > > correct the class tree. > > > > 2) After