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
Posts: 62
Registered: ‎05-30-2011
My Device: 9200
My Carrier: Etisalat
Accepted Solution

Urgent help about ListField control ?

I have a ListField which has alot of records and I added an EyelidFieldManager and put a button in it at the addBottom, the problem is that i want to give this list a length and make it scrollable to view the button as it is not visible until I scroll the screen it self down, so any one can help ??

Developer
Posts: 329
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: developer

Re: Urgent help about ListField control ?

Use mainScreen.setStatus() method to ur manager add list to that Screen.

Developer
Posts: 62
Registered: ‎05-30-2011
My Device: 9200
My Carrier: Etisalat

Re: Urgent help about ListField control ?

I am totally dont understand what you mean satish4ru ?

and sorry as I am new on BB applications development

Developer
Posts: 329
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: developer

Re: Urgent help about ListField control ?

 
Developer
Posts: 62
Registered: ‎05-30-2011
My Device: 9200
My Carrier: Etisalat

Re: Urgent help about ListField control ?

Its an empty post satish4ru Smiley Happy

Developer
Posts: 329
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: developer

Re: Urgent help about ListField control ?

Sorry.. can you Ask your question

Developer
Posts: 62
Registered: ‎05-30-2011
My Device: 9200
My Carrier: Etisalat

Re: Urgent help about ListField control ?

its a screen design problem, I have a list and I want to put a button down this list and be viewed regardless of how long is the data of the list and make it scrollable to make the button always shown on the screen.

Developer
Posts: 329
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: developer

Re: Urgent help about ListField control ?

what i mean is please ask your Question clearly ... 

 

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Urgent help about ListField control ?

I would suggest that you use a VerticalFieldManager with the scrollable style (set by default).

overwrite the sublayout of the containing manager to limit the space for the manager, this will force it to scroll the listfield.

see http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/... if you need help in creating a custom layout.
----------------------------------------------------------
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.
@SimonHain on twitter
Developer
Posts: 329
Registered: ‎12-17-2010
My Device: Not Specified
My Carrier: developer

Re: Urgent help about ListField control ?

Thats what i said to there is a methos set Status it will add the button to Screen at bottom you can visible this button on Screen .... once try ..

 

SetStatus(new ButtonField());

add(new listfield());