Thanks.
So, to kill my problem (some hours ago I thought it was clear to me but now I am confused), please can you confirm these sentences?
If I call "ba.raiseEvent( this, .... )" from inside my lib in another thread, and I am using
1. release mode --> the B4A sub will be executed synchronously, using the same thread as the calling sub?
2. rapid debug mode --> if the caller is running in the UI thread and I have put @RaisesSynchronousEvents , the B4A sub will be executed synchronously?
3. rapid debug mode --> if the caller is running in its own non-UI thread, the B4A Sub will be executed asynchronously in the UI thread?