Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Working with text and numbers..
Versions des environnements
I have set automatic value for a textbox like "RA-'.
At the end of this text, the user should be able to add a no., like RA-01..
In ADD button click event, I set the value of text to RA and did a setfocus on the textbox.
How should I do this to put the cursor at the end of the text RA.. rather than put the cursor before the text.. ?
If the text is RA-01.. and so forth.. how can I automatically set the value of the text box to RA-02.. when user clicks the ADD button?
Any help? TIA.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement