>I have a text box that I put an automatic value after button click, I do setfocus(). But the cursor is at ther first character, how can I put the cursor at the end of the text?
>
>TIA.
Look up the .SelStart property. I think this is what you need.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)