Solved

Is form created ??

Posted on 1999-01-15
2
176 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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…

839 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