How to tell if a form has been created (or any object)?



How to tell if a form has been created (or any object)?..

Answer / Biswajit Das

In Delphi, you can check if an object has been created by checking its Assigned property. Here is a simple example for a TForm:

```
if Assigned(MyForm) then
// The form has been created
end;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Find the RepositoryId of a CORBA Server?

1 Answers  


How to Create a palette with more than one entry ?

1 Answers   Wipro,


How to Extract RGB components of a color?

1 Answers  


How to Convert Data in Paradox Tables to InterBase Using Delphi?

1 Answers  


what is the Purpose of the interbase Client32 files?

1 Answers  


How to Get current record from a TDBGrid ?

1 Answers  


What directory is the ActiveForm in ?

1 Answers  


Convert a color to its VCL string value ?

1 Answers  


How to Determine if you have Delphi v3.02 installed?

1 Answers  


'Missing Data Provider or Data Packet' . what does this error mean?

2 Answers  


When I use the Glyph property, how do I know which color is transparent?

1 Answers  


How to Modify application server SQL from the client?

1 Answers  


Categories