Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Compilation Errors in Project Source.
Wed, Jan 16 2013 5:16 PMPermanent Link

Steve Gill

Avatar

Hi all,

I created a new project and it was working fine for a while.  After renaming a form it suddenly stopped compiling.  It now displays the following compile-time error messages:

[Error] ClientPortal.wbp (15,26): The Create(Application) method is not a class method.
[Error] ClientPortal.wbp (15,26): Expected object but instead found Create(Application).


This is the project source:

project ClientPortal;

uses WebForms, WebCtrls, Login;

begin
  Application.Theme := 'Modern';
  Application.Desktop.Height := 768;
  Application.Desktop.AutoWidth := True;
  Application.Desktop.Color := clDesktopBackground;
  Application.ImagePath := 'images';
  Application.ThemePath := 'themes';
  Application.Title := 'Client Portal';
  Application.Initialize;
  frmLogin := TfrmLogin.Create(Application);
  Application.Run;
end.

The Create method is highlighted when this occurs.

Has anyone else encountered this problem?

Regards,

Steve
Thu, Jan 17 2013 10:32 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< I created a new project and it was working fine for a while.  After
renaming a form it suddenly stopped compiling.  It now displays the
following compile-time error messages:

[Error] ClientPortal.wbp (15,26): The Create(Application) method is not a
class method.
[Error] ClientPortal.wbp (15,26): Expected object but instead found
Create(Application). >>

Send over the project and I'll take a look.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jan 17 2013 3:32 PMPermanent Link

Steve Gill

Avatar

Hi Tim,

<<  Send over the project and I'll take a look. >>

It's ok now.  I ended up recreating the project from scratch as I hadn't done too much work on it.  It's working fine now.

Thanks anyway.

Steve
Image