1、unit2.form2.showmodal  窗体出现以后form1就不能选了,我希望fom1上面的   菜单仍然能选。如何弄呀?
2、form2一双击蓝条会最大化,如何让他仍然在form1 里? 也就是说不附盖Form1  而是在菜单下面和他成为一个窗体?
3、SQL语句新建一个表如何写呀?新建的表就是表1的备份表。以上问题请高手指教!!谢谢。

解决方案 »

  1.   

    1、delphi帮助:function ShowModal: Integer; virtual;DescriptionUse ShowModal to show a form as a modal form.  A modal form is one where the application can抰 continue to run until the form is closed. Thus, ShowModal does not return until the form closes. When the form closes, it returns the value of the ModalResult property.
    不要使用showmodal,使用show或application.createform()
    2、form1.WindowState:=wsMaximized;
    3、学习一下sql语句:http://expert.csdn.net/Expert/topic/3008/3008997.xml?temp=.2696802
      

  2.   

    建议使用MDI来做,你需要的都能完成。快速学习SQL建议参看SQL21天!
      

  3.   

    unit2.form2.showform2.parent:=form1;-->放在form2.show的前面select * into tablenew from table1
      

  4.   

    你要的功能是MDI窗体实现的。不是两个普通的窗体。
      

  5.   

    create talbe 表1
    (字段1 varchar(20)
      字段2 int)
    insert 表1 select * from 表2
      

  6.   

    用MDI,FORM1的FORMSTYLE是MDIFORM,FORM2的FORMSTYLE是MDICHILD