I can not get setFocused to work at all on a TextField. I tried in an event,
before the control gets added to the page and after the control gets added
and in all cases there is no focus set on a TextField. I think you should
report this as a bug.
Jim Hunter
D4PHP.ORG
On 4/6/07, Leander Hanwald <[EMAIL PROTECTED]> wrote:
Hi Jim
I missed your answer :)
The Problem is inside of firefox AND internet explorer here. There is no
cursor, and I can't type in the field after setting the cursor when I
don't do it manually.
Is there any example online where I can check it against working code?
Greetings,
Leander
Jim Hunter wrote:
> Are you testing this inside FireFox? There is a known FireFox bug that
> effects the carat in edit boxes. If you check the archives you will
> find some previous talk on this. Basically, FireFox hides the carat
> (cursor). I think someone found a work around, but I have not tried it
> yet.
>
> Jim Hunter
> Jim's Delphi for PHP Blog <http://www.myblogthoughts.com/wp/?cat=2>
>
> On 4/3/07, *Leander Hanwald* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hi @ all
>
> I have a small problem with the focus handling. It simply didn't
> work for me ;)
>
> I have a atom object with an added label and an added (but hidden)
> editfield. (I'm not sure if this is the best way, but it seems to
> work in the rest for me).
> When the user clicks on the atom (or label, but it seems that
> allways the atom fires the event) the label is hidden
> (setDisplay(false)) and the editfield shown (setDisplay(true))
>
> But how can I set the focus (the blinking cursor) inside of the
> editfield when it appears?
>
> I tried it with this code:
>
> this._editField.setFocused(true);
> this._editField.focus();
>
> I also checked the sourcecode of qooxdoo but could not find
> another relevant function for that.
>
> In my example the editfield is shown, but not focused. Any ideas?
> _______________________________________________________________
> SMS schreiben mit WEB.DE <http://WEB.DE> FreeMail - einfach,
> schnell und
> kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
>
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel