[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Writing own forms that acts like a dialog.

Posted on 1999-01-10
1
Medium Priority
?
154 Views
Last Modified: 2010-04-06
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
Comment
Question by:p05010
1 Comment
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 40 total points
ID: 1355670
Use the ShowModal method:

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

Cheers,

Raymond
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Integration Management Part 2
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month19 days, 13 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question