Solved

Is form created ??

Posted on 1999-01-15
2
177 Views
Last Modified: 2010-04-06
How can I detect if a certain form has been created like:

Application.CreateForm(TTestForm, TestForm);


0
Comment
Question by:Tulip
2 Comments
 
LVL 7

Accepted Solution

by:
BlackMan earned 50 total points
ID: 1356743
You can test if the forminstance is Nil, like this:

If Not Assigned(TestForm) Then
  TestForm := TTestForm.Create(Self);
0
 

Author Comment

by:Tulip
ID: 1356744
Thanks, that's it !!
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

Suggested Solutions

Title # Comments Views Activity
code issue 8 181
SUM 2 INTEGER ARRAYS INTO 1 10 111
Firemonkey DbLookupComboBox equivalent ? 2 66
Delphi: barcode reading on android platform 1 68
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 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