Hello,
Can I tell of a ScrollItem which is its parent scrollItem
something like this:
procedure MenuSelect(Sender: TObject;
ACollection: TTMSFMXScrollItems; AItemIndex: Integer; var Allow: Boolean);
begin
if Allow then
If ACollection.Items[AItemIndex].Parent.Text = 'xxx' Then //obviously I couln't find parent property
Begin
Do some things.
End;
Thank you very much!