how can i get parent name if parent is scrollbox.The following example return empty:
ShowMessage(Image1.Parent.Name);
This works fine :
Image1.Parent.Parent.Name;
This works fine :