Luke Posted July 7, 2020 Posted July 7, 2020 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. Quote
knsg12 Posted July 7, 2020 Posted July 7, 2020 fglistMenu component has an event OnTapItem. procedure TFormMain.fgListMenu1TapItem(Sender: TObject; const AItem: TfgListMenuItem); AItem is what you need. 1 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.