Recent

Author Topic: No event handlers any more  (Read 3543 times)

wp

  • Hero Member
  • *****
  • Posts: 13264
No event handlers any more
« on: October 07, 2011, 03:57:29 pm »
After installing the snapshot Lazarus-0.9.31-32724-fpc-2.5.1-20111007-win32.exe, I suddenly cannot access event handlers in the object inspector any more. When clicking on any event in the object inspector the editor loads one of the base LCL units and complains about another unit not being found.

Example:
Create a new empty application. Click on OnCreate --> The editor loads the Forms unit and displays the error that the unit "gettext" is not found. A similar effect occurs when clicking on other events (but different units are loaded and different units not found).

I uninstalled that snapshot and reverted to Lazarus-0.9.31-32343-fpc-2.5.1-20110915-win32. This one is ok.


Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: No event handlers any more
« Reply #1 on: October 07, 2011, 04:11:28 pm »
My revision 32703 in 64-bit Linux+Qt is fine.
Make a bugreport.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

sfeinst

  • Sr. Member
  • ****
  • Posts: 250
Re: No event handlers any more
« Reply #2 on: October 07, 2011, 04:18:04 pm »
I was mixing my own copy of freepascal with a lazarus build as opposed to a full build exe, so may not be you rissue, but, when installing a copy from a different build, I found that if I did not set the Pascal source folder correctly, I had similar symptoms.  Events in object inspector stopped working and I got complaints of missing units.

wp

  • Hero Member
  • *****
  • Posts: 13264
Re: No event handlers any more
« Reply #3 on: October 08, 2011, 04:41:57 pm »
Problem solved after applying "Tools" / "Rescan FPC source directory"

 

TinyPortal © 2005-2018