Last event after layout is loaded

Solved. Finally I’ve understood the right sequence. Here’s my solution:

      myDiagram.toolManager.textEditingTool.doSuccess = function(oldstring, newstring){
    	  [...check edited value...] 
      };

I pulled out the check from text validation and put it in this overriding.
OMG, it drove me crazy…
Thx
ciao
F