Re: [Gambas-user] What has happened to ValueBox

2010-12-18 Thread Michael
Benoit, Here is more information to help you rewrite the valuebox. I had a ValueBox set to date and it was in a VBox. If I set the "Expand" property to TRUE then I could never see the text. If I set Expand to False then it was ok. I experimented with resizing the form and found that the text wa

Re: [Gambas-user] What has happened to ValueBox

2010-12-17 Thread Michael
Thanks. I'll be off air for 2 weeks due to moving house. I look forward to getting latest version in 2011. Regards Michael On 18/12/10 04:24, Benoît Minisini wrote: >> Benoit, >> On the line "Dim txtTemp as Valuebox = LAST" I get an error "Expecting >> valuebox got textbox" But the last control

Re: [Gambas-user] What has happened to ValueBox

2010-12-17 Thread Benoît Minisini
> Benoit, > On the line "Dim txtTemp as Valuebox = LAST" I get an error "Expecting > valuebox got textbox" But the last control was a valuebox. > It works if I change the code to "Dim txtTemp as Textbox" even though it > is not a textbox firing the event. OK I see! The ValueBox of Gambas 2 inheri

Re: [Gambas-user] What has happened to ValueBox

2010-12-17 Thread Michael
Benoit, On the line "Dim txtTemp as Valuebox = LAST" I get an error "Expecting valuebox got textbox" But the last control was a valuebox. It works if I change the code to "Dim txtTemp as Textbox" even though it is not a textbox firing the event. Then I cannot read the "name" that I assigned to t

Re: [Gambas-user] What has happened to ValueBox

2010-12-17 Thread Benoît Minisini
> In Gambas 2 I had a number of Value Boxes which I assigned to Group > "Value". Then I would identify the calling box in code as follows: > Public Sub Value_GotFocus() > dim txtTemp as valueBox = LAST > SELECT CASE txtTemp.Name 'Returns name of calling Value Box > > > In Gambas 3 I got

[Gambas-user] What has happened to ValueBox

2010-12-17 Thread Michael
In Gambas 2 I had a number of Value Boxes which I assigned to Group "Value". Then I would identify the calling box in code as follows: Public Sub Value_GotFocus() dim txtTemp as valueBox = LAST SELECT CASE txtTemp.Name 'Returns name of calling Value Box In Gambas 3 I got an error becau