Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
How to create context menu on form or grid.
posted

I was tried with Infra 2007. But i didn't known NAME of context menu to create. I want create it when building form and show context menu after right click on form or grid.

Thank you so much.

ps: I used sandbar component before but it not support when running Vista or Seven OS.

Parents
No Data
Reply
  • 69832
    Offline posted

    I'm afraid I had some difficulty understanding this, but if you are just asking the general question of how to assign a ContextMenu to a control/form, you create a System.Windows.Forms.ContextMenu component, populate its MenuItems collection, and assign it to the control/form's ContentMenu property.

Children
No Data