Hi, everyone!

I am trying to create a notepad-like text area, with <Tab> key working as in
notepad (inputs a tab character, instead of tabbing to another element).

I create a text area like this:

            var textArea = new qx.ui.form.TextArea();
            textArea.setFont("monospace");
            textArea.setNativeContextMenu(true);
            textArea.setWrap(false);
            textArea.setFocusable(false);

I have 2 problems with it.
1. Now, although it is not focusable, the <Tab> key still moves away from
it, instead of putting a tab character in. Are there any ways to modify this
behavior?
2. In Google Chrome, when you have the data in the text area, and then focus
on some other element, all the data gets its tab characters replaced with
spaces.
This doesn't happen in Firefox.

Windows 7

Cheers,
Gleb
P.S: These sound like bugs, but I am not sure.
-- 
View this message in context: 
http://n2.nabble.com/TextArea-and-Tab-s-tp4004691p4004691.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
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