Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is form created ??

Posted on 1999-01-15
2
Medium Priority
?
184 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 200 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

971 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