0 Replies Latest reply on Jul 2, 2009 12:24 PM by Rakesh Prajapati

    Text selection in Text control

    Rakesh Prajapati

      Hi,

       

      I have Text control which has selectable=true.On click of a button i want to select some portion of the text in that Text control.

       

      For example if complete text of the Text control in "Rakesh Prajapati", i want to select text from index 0 to 5 that is select "Rakesh"

       

      In case of TextInut or TextArea controls it is possible by setting selection start and end indexes. How can i do this for Text control?

       

       

      - Rakesh