Posted July 7, 20205 yr 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.
July 7, 20205 yr fglistMenu component has an event OnTapItem. procedure TFormMain.fgListMenu1TapItem(Sender: TObject; const AItem: TfgListMenuItem); AItem is what you need.
Create an account or sign in to comment