dll中创建的form
其上有 menu和 button但是到显示的时候,结果却不相同?
何故?

解决方案 »

  1.   

    不知道是不是mdi,
    Application.handle:=parent; 
    if DllForm = nil then 
    DllForm := TDllForm.Create(Application);
    DllForm.PParentWindow:=Parent 
    DllForm.Show; 大约是这样创建的,
    如果,是mdi窗体,并且不行的话,那么如何改为非mdi窗体呢?
      

  2.   

    不知道是不是mdi,
    Application.handle:=parent; 
    if DllForm = nil then 
    DllForm := TDllForm.Create(Application);
    DllForm.PParentWindow:=Parent 
    DllForm.Show; 大约是这样创建的,
    如果,是mdi窗体,并且不行的话,那么如何改为非mdi窗体呢?
      

  3.   

    试了不行,
    主和dll都是 fsnormal
      

  4.   

    去掉这一句~~
    DllForm.PParentWindow:=Parent