I wonder how can can I lock the focus on a certain form in delphi 7. this should enable the form to behave as a MessageBox. When clicked outside the form it should flash, beep and retrive its focus. I'm only a beginner with delphi, so thanks.
Answers and Replies
I somehow found a way to do it.here is how it looks:
object = TForm1(TForm)
if Condition1 then
procedure TForm1.OnDeactivate(Sender : TObject);
if not OkLetGo then begin