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.

inside custom component

Java Development

Reply
Developer
JoVinz
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

TextField and LisdtField on Screen

I have a textfield and a ListField in a screen. Listfield has lot of rows. When i scroll listfield,textbox also gets scrolled i.e. whole screen is get scrolled. I want that only listfield should be scrolled And textbox should be remain as it is at  the top of screen.Pls help....

Please use plain text.
Developer
pankajace12
Posts: 192
Registered: ‎04-30-2011
My Device: Software
My Carrier: Airtel

Re: TextField and LisdtField on Screen

Hi,

Take two separate manager field.

put textfield in one manager, and listfield in another manager.

And, make scrollable only 2nd manager screen.

Pawan
Thanks
Please use plain text.
Developer
JoVinz
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

Re: TextField and LisdtField on Screen

How to do searching task? Can u give me sample code?
Please use plain text.
Developer
lakshman9687
Posts: 243
Registered: ‎07-22-2011
My Device: BlackBerry Z10
My Carrier: AirTel

Re: TextField and LisdtField on Screen

Hi,

 

In eclipse samples keywordfilterfield example is same thing wat u want so import that example and check it out.

 

Regards,

Lakshman K

----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

Please use plain text.
Developer
JoVinz
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

Re: TextField and LisdtField on Screen

[ Edited ]

I have gone through the sample.... its **bleep** confusing..Can you privide me simple code as an example?

Please use plain text.
Developer
lakshman9687
Posts: 243
Registered: ‎07-22-2011
My Device: BlackBerry Z10
My Carrier: AirTel

Re: TextField and LisdtField on Screen

Hi,

 

Tell me where u r confusing, actually that is the sample code only you have to modify that code according your requirement.

 

Regards,

Lakshman K

----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

Please use plain text.
Developer
JoVinz
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

Re: TextField and LisdtField on Screen

How to KeyWord filter,textbox and List are connected to each other?
Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: TextField and LisdtField on Screen

I recommend that you use MainScreen's Banner or Title area rather than trying to create a Manager for yourself.  This is explained in the KB article:

http://supportforums.blackberry.com/t5/Java-Development/MainScreen-explained/ta-p/606644

 

Please use plain text.
Developer
JoVinz
Posts: 255
Registered: ‎05-03-2012
My Device: 9930
My Carrier: Vodafone

Re: TextField and LisdtField on Screen

I have solved that problem. Can u please tell me about searching in listfield?
Please use plain text.
Developer
peter_strange
Posts: 19,601
Registered: ‎07-14-2008
My Device: Not Specified

Re: TextField and LisdtField on Screen

[ Edited ]

If this Thread is solved, please mark it so.  Instructions in the help link at the top.

 

There is no magic in searching, and nothing BlackBerry specific.  So think about how you would do it, try it, and let us know in a new Thread if you have not managed this and what you have tried and the results you see. 

 

Good luck. 

 

Edit:

 

As the next poster has pointed out, there is in fact a specific BlackBerry search facility.  When I noted above that there was nothign specific, I was meaning that there was nothign specific that would help given an existing ListField and EditField.  If you wish to change your data around to use the Keywird Filter Field, then the nex tpost is a great introduction to it. 

Please use plain text.