Implemented TextField methods used by ChessFlash.