Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread WebForms error
Fri, Jul 20 2012 4:50 PMPermanent Link

Gerald J. Clancy, Jr.

I'm getting a compiler error in the WebForms unit on the declaration of
TMsgDlgType below ("Expected type name but instead found (") and don't
understand why.

type

  TMsgDlgType = (mtWarning,mtError,mtInformation,mtConfirmation,mtCustom);

  TMsgDlgBtns = array of TMsgDlgBtn;

  TMsgDlgResultEvent = procedure (DlgResult: TModalResult) of object;

Jerry
Fri, Jul 20 2012 5:58 PMPermanent Link

Gerald J. Clancy, Jr.

Ignore this. I think it got created when I unsuccessfully attempted to
install a later build. I uninstalled and reinstalled the initial build and
the error seems to have gone away.

"Jerry Clancy" <jclancy@billtrak.com> wrote in message
news:686FE0AA-74B2-4590-8CD3-55AD4705A9C7@news.elevatesoft.com...
> I'm getting a compiler error in the WebForms unit on the declaration of
> TMsgDlgType below ("Expected type name but instead found (") and don't
> understand why.
>
> type
>
>   TMsgDlgType = (mtWarning,mtError,mtInformation,mtConfirmation,mtCustom);
>
>   TMsgDlgBtns = array of TMsgDlgBtn;
>
>   TMsgDlgResultEvent = procedure (DlgResult: TModalResult) of object;
>
> Jerry
>
Mon, Jul 23 2012 1:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jerry,

<< Ignore this. I think it got created when I unsuccessfully attempted to
install a later build. I uninstalled and reinstalled the initial build and
the error seems to have gone away. >>

Many of these integer constant declarations were converted to enumerated
types, which support for was added later on in a new build.  Your problem is
most likely being caused by mixing older framework code with newer framework
code.

Tim Young
Elevate Software
www.elevatesoft.com
Image