08-05-2011 11:30 AM
plz help me...i want to do page like scrolling inside a activerichtextfield....my field contains large data...i want to add functionality that can help the user in scrolling pagewise...when user scrolls the page, cursor should be on the top left corner of the new page.....any idea abt it guys...plz help asap.........
08-08-2011 04:58 AM
I am not aware of a way of doing this.
I have a different suggestion to RexDoug's, and that more closely replicates what the user would do/see.
You can calculate the number of lines that would display, not sure exactly how to do this, but you could start by dividing the the Screen height by the font height. Now you know how many lines are displayed on the page. Then you can figure out some way of taking the trackball down that many lines, I think you might get away with calling navigationMovement with the value of n (number of lines) in the dy. Then the cursor will move straight down and the scroll should go with it.
I think parts of this can be refined, so give this a go and see if it works, then we can work on figuring out exactly how many lines to do down.