why does not the following work in D3 ( new application with notthing added
at this stage)
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Title := Form1.Caption; <--------- problem line
Application.Run;
If you try and change to the form Unit1 the following error comes up "Error
in module Project1: Call to Application.CreateForm is missing or
incorrect".
If the line is changed to : "Application.Title = 'My title test'; "
everything is happy?
If the problem line is shifted to Form1.oncreate it all works;
Note : The run and pause icons disappear when the 'e' for title is typed
and in the line that works the icons reappear after the semi colon is
typed.
Maurice Butler
Like Magic Ltd
---------------------------------------------------------------------------
New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz