Recent

Author Topic: The ide can't create a OnClick event in button  (Read 17504 times)

alberto

  • Guest
The ide can't create a OnClick event in button
« on: November 21, 2003, 07:10:58 pm »
Hi to all:

i have a problem, and i can't undertand wath is the problem

when i try to create a button OnCLick event with double-click in the button, the lazarus send me the following message:

Error: Unit not found: Messages

if i delete the reference to the unit messages, the error change to the next unit

if check my paths, and all is ok, but if i compile my project, this is compiled OK, and run
but the Lazarus IDE can't create my event

I note the following, my form with problem is a form external to project, this form is in another directory, because this form is inside a external control.


Thanks for all:

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2565
The ide can't create a OnClick event in button
« Reply #1 on: November 26, 2003, 03:45:39 pm »
Make sure you have the FCL sources and that your environment options -> path to FPC sources points to them.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Anonymous

  • Guest
The ide can't create a OnClick event in button
« Reply #2 on: December 01, 2003, 08:09:21 am »
Thanks, it work now

i need copy the .pas unit in the same directory has the project, and then work ok

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2565
The ide can't create a OnClick event in button
« Reply #3 on: December 01, 2003, 12:12:17 pm »
Which unit ?
If you mention messages.pas, than that's not the solution !
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018