Hi,

One option which might work is to put TextArea inside qx.ui.container.Scroll
and then
use scroll.scrollToY(x); (x being a big enough number of pixels, e.g.
100000)

     -ilkka

On Fri, Dec 4, 2009 at 11:11 AM, Dietrich Streifert <
[email protected]> wrote:

> Hello all,
>
> I have a qx.ui.form.TextArea with text larger then the visible text area
> so the a scrollbar is displayed.
>
> Now I need to set the cursor to a position which is out of the current
> view. I'm doing this by using setTextSelection(x,x) where x is the
> desired cursor position.
>
> Unfortunately the cursor position is not scrolled into view which is
> desirable in order to get users attention.
>
> How can I achieve this? Are there any properties which need to be set?
>
> Any help would be great.
>
> Best regards...
>
> --
> Mit freundlichen Grüßen
> Dietrich Streifert
> --
> Visionet GmbH
> Firmensitz: Am Weichselgarten 7, 91058 Erlangen
> Registergericht: Handelsregister Fürth, HRB 6573
> Geschäftsführer: Stefan Lindner
>
>
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>



-- 
http://iki.fi/iao/
+358 50 486 0721
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to