Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

launch once (2)

Status
Not open for further replies.

sggaunt

Programmer
Jul 4, 2001
8,620
GB
awarnica

I seem to have a problem with your launch one copy code.

Any attempt to assign anything other than a string constant to application.title seems to result in Uncompilable code
e.g Application.Title := 'my program'; is fine
Application.Title := ACONSTANT; Greys out the Run arrow

And attemping to edit the project options brings up an 'Application.createform is missing or incorrect' error.

(Oddly the build does seem to complete, though the execuatbles don't exhibit the correct only one behaviour when run directly, they cannot be run from the interface as I said)

Steve



 
Application.Title := ACONSTANT; this line should be after
Application.Run line.

HTH

--- markus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top