Jump to content

[TfgListMenu] How to define tapped item?


Luke

Recommended Posts

Hi All,
i've tryied to manage the event fgListMenuItemOnTap as written below and i've seen that the Sender is not a fgListMenuItem object but fgListMenu.

procedure TFormMain.fgListMenu1Items0Tap(Sender: TObject);
begin
  fgLabel3.Text := Sender.ToString();
end;

In this way i'm not able to understand witch item i've pressed so i've to manage each onItemTap with a specific event.
Is it normal or i'm doing a mistake ?

Thanks a lot,
Luca.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...