[Gambas-user] A refreshing a gui question

2009-04-16 Thread richard terry
I wondered if there was anyway to force a refresh of a gui in the following circumstance. If one has say a toolbutton with its auto-size property set to true and one changes the application font, then the button doesn't auto resize. If one closes the form and opens it again it does. Any help

Re: [Gambas-user] atanh - wrong calculation

2009-04-16 Thread Jussi Lahtinen
Confirmed. Regards, Jussi On Thu, Apr 16, 2009 at 23:07, Andreas Müller wrote: > Hello all, > > first I want to thank Benoit for his wonderfull Gambas system - never > was programming easier than with this IDE! > > Now my little problem. I calculated the atanh(0.5) and got: > >        ?(Atnh(0

[Gambas-user] Installing GridEditor Component

2009-04-16 Thread Jason Hackney
I'm having a bit of trouble getting the GridEditor component intsalled into 2.7. Followed the directions at Gareth's site ( http://gambasrad.org/software/gambas-grideditor/documentation/how-to/installing-grideditor ). The project compiles without errors. Make -> Executable goes through the messag

[Gambas-user] atanh - wrong calculation

2009-04-16 Thread Andreas Müller
Hello all, first I want to thank Benoit for his wonderfull Gambas system - never was programming easier than with this IDE! Now my little problem. I calculated the atanh(0.5) and got: ?(Atnh(0.5)) 3,162277660168 but this is wrong. The definition of atanh() should be: a

Re: [Gambas-user] databrowser toolbar - delete

2009-04-16 Thread Jesus Guardon
Hi Nando I don't know exactly if this behavior could be changed, but, why don't you use a tableview or gridview instead? I think it may be not so difficult to implement the same functionality in a custom toolbar. Regards Jesús nando escribió: > hi, > is there a way when i press the del butto

[Gambas-user] databrowser toolbar - delete

2009-04-16 Thread nando
hi, is there a way when i press the del button in the toolbar not to delete the register in the database but modify the register to set it as inactive? Thank you -- Stay on top of everything new and different, both insid

[Gambas-user] Nasty bug in "With" instruction!

2009-04-16 Thread Jussi Lahtinen
Hi! Confirmed on Gambas2 and Gambas3. Code: Dim tmp As New Class1 With tmp .y = 0 tmp = funcx() Debug .y Debug tmp.y End With Public Function funcx() As Class1 Dim test As New Class1 test.y = 1 Return test End Output of debug is; 0 1 I think .y and tmp.y should be same! Regards,

Re: [Gambas-user] Writing a "Choose Your Own Adventure" prototype

2009-04-16 Thread Leonardo Miliani
Doriano Blengino ha scritto: > jbskaggs ha scritto: >> I am not saying goto isnt needed at all- just that to do what he is doing it >> isn't. Furthermore too many goto's create spaghetti code which becomes >> really hard to follow. :) >> >> >> But I do get what your saying and I have used goto's

Re: [Gambas-user] Writing a "Choose Your Own Adventure" prototype

2009-04-16 Thread Doriano Blengino
jbskaggs ha scritto: > I am not saying goto isnt needed at all- just that to do what he is doing it > isn't. Furthermore too many goto's create spaghetti code which becomes > really hard to follow. :) > > > But I do get what your saying and I have used goto's the same way- though > not in a while