Re: [qooxdoo-devel] focus() strange behavior

2006-09-08 Thread Alex D.
Hi Sebastian, I have already splited these actions. The example below was only a demonstration. What i have is a window with a list in it. Before the windows is opened it's list is filled with data and focused. Therefor window-class has a routine setList() that becomes an Array with data an set

Re: [qooxdoo-devel] focus() strange behavior

2006-09-08 Thread Sebastian Werner
Maybe it's better to split these actions. Why do you need to wait for the appear to fill the list? Maybe you can tell us some more background and what the exact result should be. Cheers, Sebastian Alex D. schrieb: > Hello, > i have a strange behavior of focus() function and i can't explain

Re: [qooxdoo-devel] focus() strange behavior

2006-09-07 Thread Alex D.
Sebastian, do you have an idea, what may be the reason for this kind of behavior? I really need this in my app. since a user should have a possibility to do all the stuff with the  keyboard. And it looks like a bug for me. Probably you do have an idea for a workaround. Thanks in advance, alex.d

Re: [qooxdoo-devel] focus() strange behavior

2006-09-07 Thread Alex D.
Oh! sorry, i thought window is qooxdoo-window and setTimeout is it's method. Now it's clear. BUT it doesnt' work too... :'( alex.d This is a standard function, present in any modern browser. alex.d wrote: Anyway: win1.setTimeout is not a function what revision do you use?

Re: [qooxdoo-devel] focus() strange behavior

2006-09-07 Thread dperez
This is a standard function, present in any modern browser. alex.d wrote: > > Anyway: > win1.setTimeout is not a function > what revision do you use? >> Sorry, I meant window.setTimeout(function() { liste.focus() }, 1); >> >> >> dperez wrote: >> >>> Sorry, I meant window.setTimer(functio

Re: [qooxdoo-devel] focus() strange behavior

2006-09-07 Thread Alex D.
Anyway:     win1.setTimeout is not a function what revision do you use? Sorry, I meant window.setTimeout(function() { liste.focus() }, 1); dperez wrote: Sorry, I meant window.setTimer(function() { liste.focus() }, 1); alex.d wrote: Hi dperez, window has no such

Re: [qooxdoo-devel] focus() strange behavior

2006-09-07 Thread dperez
Sorry, I meant window.setTimeout(function() { liste.focus() }, 1); dperez wrote: > > Sorry, I meant window.setTimer(function() { liste.focus() }, 1); > > > alex.d wrote: >> >> Hi dperez, >> window has no such method "setInterval", but if i do understand it - >> your idea was to set a timer

Re: [qooxdoo-devel] focus() strange behavior

2006-09-07 Thread dperez
Sorry, I meant window.setTimer(function() { liste.focus() }, 1); alex.d wrote: > > Hi dperez, > window has no such method "setInterval", but if i do understand it - > your idea was to set a timer that focuses the list every millisecond? > smth. like this: > >

Re: [qooxdoo-devel] focus() strange behavior

2006-09-07 Thread Alex D.
Hi dperez, window has no such method "setInterval", but if i do understand it - your idea was to set a timer that focuses the list every millisecond? smth. like this:     timer = new qx.client.Timer(1);     timer.addEventListener(qx.constant.Event.INTERVAL, func

Re: [qooxdoo-devel] focus() strange behavior

2006-09-06 Thread dperez
This trick can work: Instead of liste.focus(); employ this: window.setInterval(1, function() { liste.focus(); }); alex.d wrote: > > Hello, > i have a strange behavior of focus() function and i can't explain it. > The situation is following: i have a window: > ==

[qooxdoo-devel] focus() strange behavior

2006-09-06 Thread Alex D.
Hello, i have a strange behavior of focus() function and i can't explain it. The situation is following: i have a window: var win1 = new qx.ui.window.Window; win1.setSpace(10, 600, 10, 400); that has a list with few items. Li