Open main menu

CDOT Wiki β

Changes

Project R0.1 20132- OOP344

55 bytes added, 21:46, 17 June 2013
Help Needed
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.
 
* Anyone know where/how to submit when it's complete?
==Blog Posts==