BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   how to make TextField moving? (http://www.blackberryforums.com/developer-forum/179030-how-make-textfield-moving.html)

misty83 03-02-2009 07:55 AM

how to make TextField moving?
 
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

misty83 03-03-2009 01:21 AM

i've found a solution:

textField.setFocus();

kind regards!


All times are GMT -5. The time now is 06:37 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.