You are not missing a unit, you have a conflict between the definition of an 
event in the form file and the actual. event handler in the unit file.  I've 
run across this on a couple of occasions and the only what I have found to 
resolve the issue was to open the form file and determine which assigned event 
in the form file does not have a corresponding handler in the unit file.

Jeff



  ----- Original Message ----- 
  From: el stamatakos 
  To: [email protected] 
  Sent: Wednesday, November 28, 2007 12:21
  Subject: RE: [lazarus] some questions


  Hi All,
   I am still not able to get the OnCreate Event Handler for a form to work. It 
keeps complaining about missing units. I checked the Project Inspector and the 
LCL package is under the required packages. Should there be others there. When 
I go to Add and the Tab New Requirement there are many packages under Package 
Name: Do I need to install more. I appreciate all the help since I am a 
beginner and have no idea what is wrong. Thanks
   
  Best,
  Lefti

  > Date: Wed, 28 Nov 2007 19:38:04 +0100
  > From: [EMAIL PROTECTED]
  > To: [email protected]
  > Subject: Re: [lazarus] some questions
  > 
  > On Wed, 28 Nov 2007 09:25:41 -0600
  > "Marco Alvarado" <[EMAIL PROTECTED]> wrote:
  > 
  > > Hello!
  > > 
  > > 1) I have solved all of my "unit not found" problems by adding all the
  > > Path templates. Just go to the main menu > Project > Compiler Options,
  > > and click the right [...] button for Other Unit Files and for Other
  > > Sources. At the bottom of the dialog, you will see the Path templates,
  > > just add all of them.
  > 
  > No. Please add instead the LCL to the requirements in the project
  > inspector.
  > 
  > 
  > > 2) I have never worked with databases, maybe someone else can help you
  > > on this :)
  > > 
  > > Regards!
  > > -Marco
  > > 
  > > 2007/11/28, el stamatakos <[EMAIL PROTECTED]>:
  > > >
  > > > Hi All,
  > > > I would like to start by saying "Lazarus" seems like the answer I
  > > > have been looking for, for a long time. I love Delphi and have
  > > > finally found something similar for Linux.
  > > > I have a few questions, first I registered to the forums but never
  > > > received an e-mail back with password so I cannot log in.
  > > > I have two questions that pertain to the Linux version of Lazarus
  > > >
  > > > 1) I use a form and then I click in the OnCreate Event Handler in
  > > > the object inspector and it returns an error "Unable to find
  > > > method. Plz fix the error shown in the message window.". I look at
  > > > the message window and the error is "Error:unit not found:Forms". I
  > > > take the same code into windows and do not have this problem. Any
  > > > ideas.
  > 
  > Is the unit part of your project and the LCL in the list of
  > requirements (see Project / Project Inspector)?
  > 
  > 
  > Mattias
  > 
  > _________________________________________________________________
  > To unsubscribe: mail [EMAIL PROTECTED] with
  > "unsubscribe" as the Subject
  > archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to