Table of contents
TOC
折叠目录
展开目录

LinkedWindows 集合(VBA 加载项对象模型)LinkedWindows Collection (VBA Add-In Object Model)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

包含链接的窗口框架中的所有链接的窗口。备注要修改开发环境窗口的停靠链接状态,请使用LinkedWindows集合。Contains all linked windows in a linked window frame. Remarks Use the LinkedWindows collection to modify thedocked andlinked state of windows in thedevelopment environment.

重要 对象、 属性和方法用于控制链接的窗口、 链接的窗口框架和停靠的窗口都包含在 Macintosh 上与 Windows 中编写的代码的兼容性。但是,这些语言元素将生成运行时错误在 Macintosh 上运行时。Important Objects, properties, and methods for controlling linked windows, linked window frames, and docked windows are included on the Macintosh for compatibility with code written in Windows. However, these language elements will generate run-time errors when run on the Macintosh.

Window对象的LinkedWindowFrame属性返回具有有效的LinkedWindows集合的窗口对象。链接的窗口框架包含所有 windows 可以链接或停靠。这包括除代码窗口、设计器对象浏览器窗口和查找和替换窗口外的所有窗口。如果一个链接的窗口框架中的所有窗格都移到另一个窗口时,销毁任何窗格与该链接的窗口框架。但是,如果从主窗口中删除所有窗格,它不会被销毁。使用Visible属性来检查或设置窗口的可见性。可以使用Add方法向当前链接窗口的集合中添加一个窗口。一个窗口是一个链接的窗口框架中的一个窗格,可以添加到另一个链接的窗口框架。使用Remove方法移除集合中的当前链接窗口; 窗口这将导致被取消链接,或断开坞站连接窗口。LinkedWindows集合用于靠接和取消从主窗口框架。The LinkedWindowFrame property of the Window object returns a Window object that has a valid LinkedWindows collection. Linked window frames contain all windows that can be linked or docked. This includes all windows except code windows, designers, the Object Browser window, and the Search and Replace window. If all the panes from one linked window frame are moved to another window, the linked window frame with no panes is destroyed. However, if all the panes are removed from the main window, it isn't destroyed. Use the Visible property to check or set the visibility of a window. You can use the Add method to add a window to thecollection of currently linked windows. A window that is a pane in one linked window frame can be added to another linked window frame. Use the Remove method to remove a window from the collection of currently linked windows; this results in the window being unlinked or undocked. The LinkedWindows collection is used to dock and undock windows from the main window frame.

© 2018 Microsoft