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.

Reply
Developer
Posts: 22
Registered: ‎09-02-2009
My Device: Not Specified
Accepted Solution

BasicEditField Cursor Position Scrolling Up vs Down

Hi everyone: I have a screen with 5 BasicEditFields.

Before releasing the screen user want to edit the data.

When scrolling up, cursor appears AFTER LAST char of field.

When scrolling down, cursor appear AT FIRST char of field.

 

Can I make it perform the same way in both directions? -- Thanks

Guru III
Posts: 32,116
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry PRIV, Passport, Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook,BT Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BasicEditField Cursor Position Scrolling Up vs Down

I dont think this feature can be changed.

 

If you over scroll you can go back to the behavior you like.

 

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V


Highlighted
Developer
Posts: 22
Registered: ‎09-02-2009
My Device: Not Specified

Re: BasicEditField Cursor Position Scrolling Up vs Down

Thank you.

I did receive a suggestion on another board that worked.

 

The commands are:

xxxxxx.setCursorPosition(0)        

xxxxxx being the name of this particular BasicEditField  

and 0 the offset in the field

 

Also

xxxxxx.setFocusListener()

 

The instructions go in different locations in the program, which I found out by trial and error.

When I know Java better, I should be able to get it right the first time.

 

Now scrolling up or down, the cursor goes to the first position (0).

Guru III
Posts: 32,116
Registered: ‎06-25-2008
My Device:

I'm rockin the BlackBerry PRIV, Passport, Z30, Z10, Q10, BlackBerry Mini Stereo Speaker, 64 gig PlayBook,BT Headset HS-700

My Carrier: I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: BasicEditField Cursor Position Scrolling Up vs Down

Thanks for sharing your solution.

 

 

 




Click here to Backup the data on your BlackBerry Device! It's important, and FREE!


Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals

BESAdmin's, please make a signature with your BES environment info.


SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope


Want to thank me? Buy my KnottyRope App here


BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V