for i:=0 to MDIChildCount-1 do
  begin
    listbox1.items.add(MDIChildren[i].Name)
  end;

解决方案 »

  1.   

    在Form中设置WindowsMenu属性为某个带子菜单的菜单项即可。Specifies the Window menu for an MDI parent form.property WindowMenu: TMenuItem;DescriptionUse WindowMenu to get or set the Window menu for an MDI parent form. The Window menu is a standard menu in MDI applications. It contains commands that let the user manage the windows in the application. Menu items usually include Cascade, Arrange Icons, Tile, and so on. The Window menu also lists (at the bottom) the child windows that are currently open in the application. When the user selects one of these windows from the menu, the window becomes the active window in the application. Although this menu is commonly called the Window menu, it can have any name that corresponds to an existing menu item on the menu bar. The names of open child forms are merged onto the menu automatically at run-time.WindowMenu is meaningful only if the form is an MDI parent (that is, if the form抯 FormStyle property is set to fsMDIForm).
      

  2.   

    又来迟了,muf 又说得没错