-
Select Text on onSetFocus
Hi, when I click on the text box "text_txt.text", zero should be selected.
But it is not happening. I have attached file.
text_txt.text = "0";
text_txt.onSetFocus = function() {
Selection.setFocus("text_txt");
}
But when i write the code (Selection.setFocus("text_txt")) outside the event handler, it works,
text_txt.text = "0";
Selection.setFocus("text_txt");
Please help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|