get empty parent name in firemonkey if parent is an scrollbox

  

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

ShowMessage(Image1.Parent.Name);

Comments are closed.