Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
New Developer
scampbell
Posts: 2
Registered: ‎09-17-2012
My Carrier: None

TextArea line limit and appending

i'm searched everywhere and can't find an answer to this, so sorry if its already common knowledge.

 

The main issue is that I'm trying to read in a very large text file, but it will only read in 546 lines onto the TextArea, it is also a updated often and I want the textArea to reflect new lines in the text file, but I want it to append to the text Area and not just do a settext and redisplay everything. 

 

so the questions are

 

1. Is there some line limit on a TextArea control that is preventing more the 546 lines to be written?

 

  - I tried playing with the min and max settings and such, it doesn't seem to make a difference.

  - I tried using the parent control 'abstractTextControl' and it also limits at 546 lines

 

2. Is there a way to append text to a TextArea instead of setting the whole text everytime.

 

  - at a total loss on this one.  spent the better part of a day searching and trying to figure it out.

 

Thank You.

Please use plain text.
Developer
ekke
Posts: 913
Registered: ‎04-08-2010
My Carrier: vodafone

Re: TextArea line limit and appending

if the 546 - lines - limit is reproducable you should submit an Issue

-------------------------------------------------------------------------------
ekke (independent software architect, rosenheim, germany)

BlackBerry Elite Developer
International Development Mobile Apps BlackBerry 10 Cascades
Cascades - Workshops / Trainings / Bootcamps

Open Source Enthusiast
blog: http://ekkes-corner.org videos: https://vimeo.com/ekkescorner/videos
bb10-development: http://appbus.org Twitter: @ekkescorner
Please use plain text.