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
Highlighted
Developer
Posts: 141
Registered: ‎08-06-2008
My Device: Not Specified
Accepted Solution

Screen control question.

Hi all,

 

I'm looking for a solution that only scroolls just body of the screen.

I made a header as image on top of screen and on bottom I made a button to be clicked, then in the middle I will get bunch of data that can be over one screen. In this case I want to implement scrollable body just and top is fixed and button at bottom wile be last that can be choosed.

-----------------------------------------------

Titile image(fixed) here

-----------------------------------------------

                          ^

                           |

                           |

                           |

                  scrollable body

                           |

                           |

                           |

-----------------------------------------------

Bottom   image(fixed)                   [button here]

-----------------------------------------------

 

-----------------------------------------------

 

Any examples code or idea will save my life.

 

Thanks,

DK

Developer
Posts: 191
Registered: ‎04-03-2008
My Device: Bold 9700

Re: Screen control question.

That's discussed in this Knowledge Base article.
Developer
Posts: 141
Registered: ‎08-06-2008
My Device: Not Specified

Re: Screen control question.

Thank you.
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Screen control question.

I think I must be missing something.  Doesn't a MainScreen provide what is required?  With MainScreen you have a Title Area and a Status Area, and these areas can have multiple Fields in them by adding the Fields to a Manager then using the Manager in the setTitle(...) or setStatus(...);

Developer
Posts: 141
Registered: ‎08-06-2008
My Device: Not Specified

Re: Screen control question.

I was able to make header part and body scrolling. However, I can not make it for footer part.

 

Any idea?

 

Thanks,

DK.

BlackBerry Development Advisor
Posts: 15,693
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Screen control question.

Please ensure that you are using the Manager.VERTICAL_SCROLL style on the manager for that area.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker