Question and Answer Database FAQ4590C.txt — Waiting for Show() Category :VCL Platform :All Windows Product :All-CBuilder, Question: How do i make my program stop and wait for a Show() dialog to finish? Answer: Instead of calling Show() call ShowModal(), for example, void __fastcall TForm1::MyBTb(TObject* Sender) { Form2->ShowModal(); } Instead of, void __fastcall TForm1::MyBtb(TObject *Sender) { Form2->Show(); } 5/25/99 11:49:42 AM
Last Modified: 01-SEP-99