Re: Using The Same Basic Menu For Several Forms

From: Veign (NOSPAMinveign_at_veign.com)
Date: 01/21/05

  • Next message: Sivaprasad: "Re: Loading to a DOM object"
    Date: Fri, 21 Jan 2005 16:36:36 -0500
    
    

    Gonna have to change each of the forms menus manually. You could always use
    a find and replace utility to make mass changes across several files (kinda
    of dangerous if you are not careful)...

    Seems like if each of the 5 or 6 forms has the same menu, then is the
    content and code of each form similar? If so, you may be able to just use a
    single form...

    -- 
    Chris Hanscom - Microsoft MVP (VB)
    Veign's Resource Center
    http://www.veign.com/vrc_main.asp
    --
    "Tommy" <tommy@yahoo.com> wrote in message
    news:lns2v0p85u0nv12l8mh8r7klfbilm0qm4u@4ax.com...
    > On Fri, 21 Jan 2005 13:45:42 -0700, alpine
    > <alpine_don'tsendspam@mvps.org> wrote:
    >
    > >On Fri, 21 Jan 2005 20:19:02 GMT, Tommy <tommy@yahoo.com> wrote:
    > >
    > >>I have searched the archives of this group and found messages that say
    > >>the following is not easily done, which is hard to believe.
    > >>
    > >>I have a project that will end up with 5 or 6 forms.  I would like to
    > >>use the same basic menu for each form and then make any necessary
    > >>adjustments to the menu when a form is opened.
    > >>
    > >>Or, is it possible to use the same basic window frame, including the
    > >>menu, in which I could display each form?
    > >>
    > >>Please tell me how this is done or point out an article or tutorial on
    > >>this subject.
    > >>
    > >>Thank you.
    > >>
    > >>Tommy
    > >
    > >
    > >Create a "template" form that has your basic menu structure.  Then,
    > >when you want to add a new form with that menu structure to your
    > >project, add the template form and do a "Save As..." supplying the
    > >desired name for the form you wish to save.  Once you have renamed and
    > >saved the form, tweak the menu structure to your hearts content.
    > >
    > >HTH,
    > >Bryan
    > >____________________________________________________________
    > >New Vision Software                   "When the going gets weird,"
    > >Bryan Stafford               "the weird turn pro."
    > >alpine_don'tsendspam@mvps.org     Hunter S. Thompson -
    > >Microsoft MVP-Visual Basic     Fear and Loathing in LasVegas
    >
    >
    > That's a good idea.  I will use that for now.
    >
    > However, if I want to change the menu later, won't I have to change
    > all of the individual menus?
    >
    > VB doesn't have something like a menu resource that I can save on its
    > own and then use as part of any form or project?
    >
    > Thanks for your help.
    >
    > Tommy
    

  • Next message: Sivaprasad: "Re: Loading to a DOM object"

    Relevant Pages

    • Re: Antwort: Lock auf Tabellen
      ... Tommy Gerig schrieb ... ... > Unter meiner SPID sehe ich die folgenden Sperren: ... > tempdb zeigt unter Index ##lockinfo115 und unter Resource ...
      (microsoft.public.de.sqlserver)
    • Re: Antwort: Lock auf Tabellen
      ... >Hallo Tommy, ... tempdb zeigt unter Index ##lockinfo115 und unter Resource ... Solange auf tempdb eine X-Sperre ist haben die anderen ...
      (microsoft.public.de.sqlserver)
    • Re: How to change MFC image and how to change windows size?
      ... (Tools -> Customize) ... "Tommy" wrote in message ... | OTHER WINDOWS | RESOURCE VIEW. ... VIEW | RESOURCE VIEW ...
      (microsoft.public.vc.language)