05-23-2011 09:21 AM - edited 05-23-2011 09:22 AM
I need a custom editfield with single line and horizontal scroll
How can i form such a custom behavior??
Any help plss...
05-23-2011 09:36 AM
Don't they do this be default?
Regardless, I had to make one that emulated this behavoir by having an EditField enclosed in a Manager that listend for key events and would widen the field as needed. The Manager itself was scrollable based on the size of the EditField.
05-23-2011 09:40 AM
can you please post a sample code in which the edit field lengthens based on the text entered.
I have seen some samples which adds an editfield to a Verticalfield manager and handling scrolling. But i dont know how can we handle the edit field width programmatically to control scrolling???
Can you please clarify on this??
05-23-2011 01:51 PM
Are you familiar with the knowledge base of this forum? The Webmasters at RIM are not very good at promoting it, but at least search on this forum also brings up articles from there.
Anyway - here is the artcile which shows how to solve your exact problem. Be sure to read the comments there - they show some enhancement ideas: