Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果父级是滚动框,我如何获取父级名称。以下示例返回空:
ShowMessage(Image1.Parent.Name);
这很好用:
Image1.Parent.Parent.Name;