返回首页
当前位置: 主页 > 网络编程 > 其他实例教程 >

Delphi中Form和Frame的区别

时间:2011-12-15 01:43来源:知行网www.zhixing123.cn 编辑:麦田守望者

A frame, like a form, is a container for other components. It uses the same ownership mechanism as forms for automatic instantiation and destruction of the components on it, and the same parent-child relationships for synchronization of component properties. But frames can be nested within forms or other frames, and they can be saved on the Component palette for easy reuse. After a frame is created and saved, it continues to function as a unit and to inherit changes from the components (including other frames) it contains. Moreover, an embedded frame continues to inherit changes made to the frame from which it is derived.

------分隔线----------------------------
标签(Tag):delphi
------分隔线----------------------------
推荐内容
猜你感兴趣
博聚网