[Lazarus] Unable to show method

John Landmesser jmlandmesser at gmx.de
Tue Sep 14 16:29:47 CEST 2021


Am 14.09.21 um 12:56 schrieb Marcos Douglas B. Santos via lazarus:
> Hello,
>
> I have an issue creating a new component, but it can be reproduce
> easily using a default component:
> - drop a TPopupMenu
> - on Object Inspector, go to Events tab
> - double-click in `Items.OnClick` to implement
> - you will get the message: "Unable to show method. Please fix the
> error shown in the message window which is normally below the source
> editor."
>
> There is no message in Message Windows.
>
> Lazarus 2.0.12 r64642 FPC 3.2.0 i386-win32-win32/win64
> Lazarus 2.0.13 r64940M FPC 3.2.0 i386-win32-win32/win64
>
> Should I open a ticket?
>
> best regards,
> Marcos Douglas
>

Tested on Lazarus 2.3.0 rmain-2_3-337-gfc99cfa6ee FPC 3.2.2
x86_64-linux-gtk2

You need to have at least one item WITH(!) a name.

Without an item with name i get your error.

John



More information about the lazarus mailing list