Forum > Designer

Problm with desiger recognizing a dialog


I have a small program that needs the TFileOpen Dialog.
I added the dialog to the form and it shows both on the form and in the designer-generated code for the TForm, but when I try to use the dialog with OpenDialog1.Execute, the compiler complains that the OpenDialog1 identifier is not found. The Component List clearly shows the component.
I have had similar trouble with other components added to the form as well, such as TEdit.
Is there anything special that needs to be done to make the components available to my code?

Attached is a quick'n'dirty, that works, maybe you can spot a difference to yours...
Regards Benny


[0] Message Index

Go to full version