0
votes

how can i get parent name if parent is scrollbox.The following example return empty:

ShowMessage(Image1.Parent.Name);
1
See stackoverflow.com/a/35370868/4908529 You need Image1.Parent.Parent.Namekami

1 Answers

1
votes

This works fine :

Image1.Parent.Parent.Name;