Recent

Author Topic: Error with forms  (Read 2860 times)

T-bear

  • Full Member
  • ***
  • Posts: 160
Error with forms
« on: August 16, 2010, 01:59:06 pm »
Hi,
When i try working with several forms, i get these errormessages:
1) Unit1.Pas(42,18) Error: Identifier not "TLevel2"
2) Unit1.Pas(42,18) Error: Error in type definition

Here are row 40-44
40) var
41)   Level1: TLevel1;
42)   Level2: TLevel2;
43)   P: integer;
44)   E: array [1..20] of integer;  

The name of my forms are Level1, and level2.
What do i have to do to dont get these errormessages? :-[
Thanks :)

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
Re: Error with forms
« Reply #1 on: August 16, 2010, 06:25:46 pm »
add the units where these forms are defined to the uses clause of the unit with the errors
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018