BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-04-2009, 05:30 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8100
PIN: N/A
Carrier: Vodafone India
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Can I change page scroll direction on Storm?

Please Login to Remove!

Hi Folks,

When we push new screen, by default it loads from left to right.
I want to load it from right to left.

Is there any API to set scrolling at page load?

Thanks,
Alpesh
Offline  
Old 08-04-2009, 07:51 AM   #2 (permalink)
Thumbs Must Hurt
 
shraddha294's Avatar
 
Join Date: Oct 2007
Location: Hyderabad
Model: 8800
PIN: N/A
Carrier: TMobile
Posts: 111
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check the API for scroll(int direction) method defined in the net.rim.device.api.ui.Screen class.
It will help u set the direction of vertical and horizontal scroll.
Offline  
Old 08-05-2009, 02:33 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jun 2008
Model: 8100
PIN: N/A
Carrier: Vodafone India
Posts: 39
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply.

scroll(int direction) will not be the solution for my requirement.

If we push new screen on Storm, it flashes from left to right and I want to change the behavior to right to left.

For e.g. open 'Media' on Storm, u can see the music, videos etc.. When you select 'Music' the next screen loads in direction from right to left and if you click back the main page loads from left to right.

I want to have same functionality and page loading direction in my app but I don't know how ?

Hope it clears now.

Thanks,
Alpesh
Offline  
Old 08-07-2009, 02:33 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You cannot change this behavior - there is no public API for these transitions.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.