[Lazarus] Unable to show method
Marcos Douglas B. Santos
md at delfire.net
Tue Sep 14 18:40:06 CEST 2021
On Tue, Sep 14, 2021 at 11:29 AM John Landmesser via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>
> 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.
Hello John,
But the IDE gives the name, automatically... I didn't understand what you meant.
And it happens in TPopupMenu, a default component that came with Lazarus.
Marcos Douglas
More information about the lazarus
mailing list