Frame : How to disable frame exit ?

How to disable frame exit ?

with TForm, we can assign canclose := false in FormCloseQuery event.

But in Frame ?