|
-
Jul 15th, 2002, 04:43 AM
#1
Thread Starter
New Member
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
-
Jul 16th, 2002, 11:51 AM
#2
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|