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
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
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
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?
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
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
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
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:
>
>
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
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:
> ==
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
11 matches
Mail list logo