CB
Clay Burch
Syncfusion Team
August 16, 2002 05:48 PM UTC
You can use the Control.ContextMenu property to set a contextmenu for a
control.
Use the designer and drop a ContextMenu onto your form, and then add menu
items to this contextmenu. Then on the design surface, select the control
(or form) that you want to have this menu, and set its ContextMenu property
to point to this ContextMenu that you created.
AD
Administrator
Syncfusion Team
August 19, 2002 01:55 PM UTC
Would you have some code saples or is there any place I can look it up.
CB
Clay Burch
Syncfusion Team
August 19, 2002 08:58 PM UTC
I don't have any code samples as this can all be down from the designer. There is no need to write any code at all.
Here is a link to the MS help for adding a context menu.
ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskAddingContextMenusToForm.htm