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

Java Development

Reply
Regular Contributor
heretocode
Posts: 70
Registered: ‎12-19-2011
My Carrier: Airtel

Stop a screen to get scroll

Hi

   My screen gets scroll even there is nothing to show.and a blank screen comes in foreground.

 

I add following line in constructor

super(NO_VERTICAL_SCROLL | NO_VERTICAL_SCROLLBAR);

Screen becomes white . it shows nothing.

i am running app on torch 9860.

please help.

 

Please use plain text.
Developer
lakshman9687
Posts: 226
Registered: ‎07-22-2011
My Carrier: AirTel

Re: Stop a screen to get scroll

Hi,

 

You can controll your screen by setExtent(width,height ) of manager.

 

----------------------------------------------------------
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
peter_strange
Posts: 17,695
Registered: ‎07-14-2008

Re: Stop a screen to get scroll

I don't think there is enough information in your post to help us understand your problem.

 

However I wonder why you think it is a good idea not to have scrolling on your MainScreen?

 

Also have you you reviewed this?

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

 

Please use plain text.