>>The problem that your code will not work, because:
>>1. It doesn't work (this key doesn't select text).
>
>My mistake. I meant keyboard "{SHIFT+END}" I did not see the need for keyboarding the Home key.
>
SHIFT+END selects text from cursor point to the end, i.e. if a user clicks in the middle of text, just right part of the text will be selected.
>>>2. If you put something in click you should add some flag technique to allow user to start editing at last (for the second click, e.g.).
>
>Actually, a triple click is what completely selects a textbox. This behavior BTW, is completely unaffected by my click() code. I do not understand the need to check for second clicks and the like.
If you simply select all text in click event than user cannot for example, click to another place in text and start printing from this point (insert some character).
Edward Pikman
Independent Consultant