Guesses ....

Form.Caption  is referencing the wrong form?

or Some other code is setting the form caption after yours.  Try putting the
code in a button to test form this.

Rob

Software engineer
Wild Software Ltd
Ph 03 377-0495
----- Original Message -----
From: "Alistair George" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, February 18, 2003 8:59 AM
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