[Gambas-user] Re: casting or changing datatype.

ron ronstk at ...239...
Sat Jan 14 18:37:25 CET 2006


On Saturday 14 January 2006 17:55, Benoit Minisini wrote:
> You can already do that:
> 
> Sub accountGrp_event()
>   If Last = txtUser then Last.Value = "MyName" 
>   If Last = txtOther then Last.Value = "YourName"
>   If Last = Price then Last["Price"].Value = 1000
> End Sub
> 
> Regards,

Everyday you can learn something :)

For this example the .Name is no need to.

But how about the iterating the Form.Controls
to show the name and value.

For many, old VB people, the use of the .Tag as replacement 
is strange and in my case used for the more advanced things
as a simple name.

I do not ask/force to implement it but will be happy if done.

I use a fork to eat food, not do it with software :)
Ron




More information about the User mailing list