> 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
> <various actions>
> 
> In Gambas 3 I got an error because the Value boxes are recognised as
> plain text boxes not as Value boxes. I changed my code (Dim txtTemp as
> Textbox) but when reading the LAST.Name it returns "TextBox". It is
> returning the type not the name I assigned to the textbox.
> 
> The group feature was great for preventing repetitive code but this
> functionality appears to have gone. I must write similar code for each
> TextBox_GotFocus event.
> 
> Regards
> Michael
> 

ValueBox exists in Gambas 3, so I don't understand what error you are talking 
about. ValueBox are not "recognized as plain text boxes", whatever that 
means...

Can you explain better what happens to you?

-- 
Benoît Minisini

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to