Archie

How are you loading the tree view? In OnLoadChildNodes, yoiu can do something like (untested):
Code:
If (somethingOK) ;
    Move "someGreenCSSClass" to aItems[i].sCSSClass
Else If (somethingERROR) ;
    Move "someRedCSSClass" to aItens[i].sCSSClass
Mike