• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 156
  • Last Modified:

Writing own forms that acts like a dialog.

How can I use a second made form that act like a dialog.
I mean by this that the main form will stop processing until it gets a result (or a form close) from the second form ?
I'm using delphi 3 and are not using MDI (or should I ?).

Bye,
P05010
0
p05010
Asked:
p05010
1 Solution
 
rwilson032697Commented:
Use the ShowModal method:

eg:
MyForm.ShowModal; // Doesn't return until the form closes...

Cheers,

Raymond
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now