hey guys, any tip how to get a text selected when the object receive the focus?

it not seems hard to do but i cant find how to do that ;/

it is a modaldialog with a cWebForm that receive the focus when open, simple like that

i already tried several ways with no success

am i missing something?

Click image for larger version. 

Name:	selected_form.png 
Views:	75 
Size:	42.8 KB 
ID:	14750