PDA

View Full Version : make text selected


epopov
10-31-2003, 12:38 AM
Hi,

I have inputtext in my application. I do setText() for it and setAttribute('focus',true) for it. But sometimes all text becomes selected and sometimes part of it becomes selected.

What should I do to make all text selected?
Can you give me some examples?

antun
10-31-2003, 08:18 AM
I don't think there are any APIs for selecting part of an inputtext field. I believe that everything should be selected - can you give me an example where the entire field is not selected, but part of it is?

-Antun