Thanks for your quick answer....
At this time, I did like you (using a global flag), but It's not a perfect solution against events bubbling, performances etc...
I try with delegate, addhandler/removehandler, syntax of InfoPath 2003 etc... without any succes :(