Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Changing form name corrupts unit header
Sat, Apr 28 2012 10:33 PMPermanent Link

Rick

Hi Tim.

If I'm looking at the form designer view and I change the form name in the
object inspector then it appears that the first line in the unit source is
overwritten with characters relating to the form name. The characters seem
to be added depending on the content of the unit.

Sometimes the "interface" leyword is pulled up onto the first line. The net
result is that the unit is uncompilable.

For example, if I change the form name to "frmMain" whilst in form designer
view the first few lines in the unit source change to the following (notice
the first line):

Unit UnitTfrmMaininterface

uses WebCore, WebForms;

type

  TfrmMain = class(TForm)

Thanks.

--
Rick

Sun, Apr 29 2012 12:51 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Rick,

<< If I'm looking at the form designer view and I change the form name in
the object inspector then it appears that the first line in the unit source
is overwritten with characters relating to the form name. The characters
seem to be added depending on the content of the unit. >>

Got it, thanks.  This is fixed for the next build/release.

--
Tim Young
Elevate Software
www.elevatesoft.com
Image