Hi,

I want to set the blinking cursor to the top of the textarea when it is 
initialized with some data. My code is:

> this.input_field.focus();
> this.input_field.setValue(result);
> this.input_field.getContentElement().scrollToY(0);
The text area scrolls to the top of the text but the blinking cursor is 
somewhere below and I have to press up arrow to get it to the visible 
part of the text area.

cheers,
skar.

-- 
--
The life so short, the craft so long to learn. 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to