Changes

Jump to: navigation, search

Project R0.1 20132- OOP344

468 bytes added, 22:45, 17 June 2013
Help Needed
* In test 4.9 (END button), the test gives the string which stays in the middle of the field, is that OK?! I see that kind of a weird situation. In that case it fails the END button test, because values for curPosition & strOffset are not right. Ideas?
 
You want to set the curPosition=size-*strOffset. This will mean that it scrolls down the string to the end if the length of the string is longer than the field, but only move to the end of the string if it isn't, which allows for having the string stay in the middle of the field as in the test. When you do this, though, don't forget that you need to make sure that, when the curPosition goes outside the field, the curPosition and offset are changed accordingly.
==Blog Posts==

Navigation menu