Results 1 to 2 of 2

Thread: Vb.net + Pop Up Menus

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2002
    Location
    chennai india
    Posts
    7

    Question Vb.net + Pop Up Menus

    Can any one tell me how do we use POP UP MENUS in VB.NET.
    actually if i use the main menu tool from the toolbox, i will have my menu bar appearing immediately below the Title bar. Instead I would like to place a bitmap immediately following the title bar. Following the bitmap should be my menu bar. so any one who has an answer kindly mail it to my personal id asap.
    thanks
    ramjee
    regards
    ramjee

  2. #2
    Addicted Member
    Join Date
    Nov 2000
    Location
    San Diego - California
    Posts
    251
    For Pop-Up menus you should used the new Context Menu control. After configuring the the Context Menu, you then go to the relevant control that will host the Context Menu and reference the context menu in the ContextMenu property of the host control.

    If you want to place a bit-map above the main-menu bar. Set the menubar's docking property to none. Drag the menu bar to the middle of the form. Place the bit-maps picturebox on the form, set the docking property of the picturebox to Top and then reset the docking property of the main menu to top.

    You should have the picturebox docked at the top and them the main menu docked at the top after the picturebox.

    Good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width