-
scrollbar position problem
hello i've got just a small problem while doing this:
scrollBar.setScrollPosition(chatBox.maxscroll);
the scroll bar come at the bottom and instantly go up 1 line...i tryed
scrollBar.setScrollPosition(chatBox.maxscroll+1);
same result..
someone may help...?
thx
-
Where do you want it to be?
-
scrollposition
i want it to be at the bottom...but as i said, when pressed, the scroll arrive at the bottom, and come up one line..i want it to stay at the bottom
-
Poof! Whaddya need?
try this
instead of trying to set the scroll position, let the componenet do it for you -- it gets its position from the text field, so you can simply do:
Code:
myTextField.scroll=myTextField.maxscroll;
be aware that "maxscroll" doesn't follow the usual capitalization routine: all letters are lowercase
p.s. hello again OldNewbie
--Rissa
True genius consists of the ability to work around one's shortcomings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|