Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2021-09

Unable to show method

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcos Douglas B. Santos

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210914/85fb85fe/attachment.html>

Reply by email

John Landmesser
to Marcos Douglas B. Santos
Marcos Douglas B. Santos wrote 21 lines
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

Reply by email

John Landmesser
to Marcos Douglas B. Santos: I have an issue creating a new component, but it can be reproduce easily using a default…
Marcos Douglas B. Santos wrote 21 lines
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

Reply by email

Marcos Douglas B. Santos
to John Landmesser: Tested on Lazarus 2.3.0 rmain-2_3-337-gfc99cfa6ee FPC 3.2.2 x86_64-linux-gtk2 You need to…
AM John Landmesser wrote 30 lines
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

Reply by email