Hi Dave,
Thanks for your answer...
So i agree with you about Debugging and also about the 'answer' to see what the code is doing and from where is passing...
And this i am trying to use it, as i also tried to used the dictionary...

Even with the dictionary, i didn't understand the instruction 'pass' for example...

And i also found in the dictionary the 'on focusIn' and for this i tried to use it, but it is not working...
Once again thanks a lot for the example you made for me...
My intention, as you could see, was not to make one 'copy - paste' of what you did...first i tried to understand your code, and i really didn't understand a lot what you made (specially with the properties, behaviours, pass, etc...)
And then i tried to see which events you used and look in the dictionary what they make and try to apply it in my code...
So really i did my best to understand it, but i think that for the moment i am not able to assimilate all these new concepts...but of course that i would like to do it...
But all this, is new for me...and added to this i thought that i already finished my first app, but then when i passed it from desktop to mobile i had problems with the database, with the GUI, with the keyboard hidding some of my text fields, etc...
So i think i was in a hurry to finish my first app...because i am sure that after the inconvenience of the keyboard i will find more...
I don't know if you still remember when you made your first app with LiveCode...me i am waiting impatient that this moment will arrive...
Anyway i will go again in your example and read once again all the code and comments to see if today i am able to assimilate it better...

And after this and the debugging i hope then i can do it for my app...
Regards.