Franck,

thank you.

The visual part of the colored tabs is simply achieved by 
adding/removing states to the tab button (here invalid/valid) with a 
corresponding  appearance which sets the tab decorators.

The non visual part, calculating the validity of the contained fields 
within the tab, is another thing.

The simple solution for you would be to add/remove some state within a 
recurring timer. Something like (code fragment):

my tabbutton  = new qx.ui.tabview.TabButton();
// ....

my timerFunc = function() {
    // do the Trick
    if(this.hasState('blink'))
        this.removeState('blink');
    else
        this.addState('blink');
};

// http://demo.qooxdoo.org/devel/apiviewer/index.html#qx.util.TimerManager

var timerId = qx.util.TimerManager.getInstance().start(timerFunc, 1000, 
tabbutton, null, 1000);
// ....

qx.util.TimerManager.getInstance().stop(timerId);


Regards
Dietrich

Am 02.07.2013 12:06, schrieb franck34:
> No crash on my side (chrome linux).
>
> Dietrich, this is excellent ! Congrats !
>
> Can you give some hints regarding dynamic tabs color change ? (red <-> 
> green).
>
> I'm looking for a way to make tab "blinking" so toggling colors with 
> some timeout magick can do it
>
> Thanks
> Franck
>


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to