Search code examples
blackberryfocuslabelfield

moving on text of labelfield in blackberry


i have large data in label field and using FOCUSABLE on it makes the whole data selected at once.Scrolling down focus goes to next LabelField.Is ther a way to move on text of LabelField line by line Eg: my label field is

     String tenlines="line
                      line 2... 
                      line10"
     LabelField f= new LabelField(tenlines);

Solution

  • You can use RichTextField

    String tenlines="line
                          line 2... 
                          line10";
    
     RichTextField detailField = new RichTextField(tenlines)