在主表单的init事件中写:
do xxx.mpr with this
主表单的属性改为allwaysontop

解决方案 »

  1.   

      首先 主表单的init事件中写:
       do xxx.mpr with this
      设置shoewindow的属性设为2-顶层表单,在菜单生成器中,在‘常规选项’中选‘顶层表单’,然后生成菜单即可。
      

  2.   

    在主窗口运行之前执行菜单程序
    如:
    main.prg
    do mmenu.mpr
    do aaa(表单
      

  3.   

     
      首先 主表单的init事件中写:
      do xxx.mpr with this
      设置shoewindow的属性设为2-顶层表单,在菜单生成器中,在‘常规选项’中选‘顶层表单’,然后生成菜单即可。