Solved

Is form created ??

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi exception 7 64
How to call a form that is in a DLL  from an application? 13 71
LAN or WAN ? 11 91
Delphi inherited method 6 68
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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

772 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