How to replace "Process Events" in CHUI V8.3B ?

I must lets the user fill-in a frame and wait for an external event in the same time.