you could just try caption:='MyNewCaption'; or 
self.caption:='MyNewCaption';

Jeremy
-----Original Message-----
From: Alistair George <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Tue, 18 Feb 2003 08:59:44 +1300
Subject: [DUG]:  form.caption

> Hi all.
> Can anyone advise why a form does not respond to:
> form.caption:='MyNewCaption';
> 
> I have tried it in the create,show,paint but the caption remains the
> same as
> default designed form. The form is showmodal, but I have also tried
> changing the
> caption from the calling program after the showmodal call.
> Al+
> 
> -----------------------------------------------------------------------
> ----
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to