copy menu from one form to another

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Henk ten Bos

    copy menu from one form to another

    Hi,

    I have two forms. The first form has a menu that was designed using the menu
    editor.
    Is there a way I can "copy" this menu to the second form (without having to
    add it manually).

    thanks,
    Henk


  • J French

    #2
    Re: copy menu from one form to another

    On Sun, 9 Nov 2003 12:21:15 +0100, "Henk ten Bos" <henktb_1@xs4al l.nl>
    wrote:
    [color=blue]
    >Hi,
    >
    >I have two forms. The first form has a menu that was designed using the menu
    >editor.
    >Is there a way I can "copy" this menu to the second form (without having to
    >add it manually).[/color]

    Do you mean at design time or run time ?

    At design time, hack the Form1.FRM file

    Run time is tricky, a menu does not have a hWnd or a Container

    You could spoof it, using PopupMenu

    Comment

    Working...