BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-02-2009, 07:55 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to make TextField moving?

Please Login to Remove!

hi,

i've got such a problem: i have a VerticalFieldManager with height H and width W. and in proper conditions, new textField is created and added (it must be that every time new TextField is created, the reason is not important here).

VerticalFieldManager has proper height (smaller than height of the display). my problem is, that when there are too many textFields, they are hidden and i must scroll down. and i would like to my text moves-up automatically, once it reaches height of the fieldManager.

i tried to use textField.setCursorPosition() but it did not help.

i hope i clearly describe what my problem is. Does anyone has any suggestions?


kind regards
Offline  
Old 03-03-2009, 01:21 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i've found a solution:

textField.setFocus();

kind regards!
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.