Skip to content

Context Menu

Brian Garvey

Asked Mar 3, 2006, 5:13 PM EST1 answer
Share
LinkedInX
Right i will try to explain this the best that i can. I am developing a sudoku program and i have 9 x 9 grid made out of labels i want to allow the user to be able to right click on the label and have a context menu come up with the possible numbers. The possible numbers is not a problem the problem is creating a dynamic event to allow me to populate the label that i clicked on with the chosen number that the user has selected from the context menu if someone could help or offer and alternet way of doing this i would much appreciate it

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    If you were to change the contents of the context menu following user selection - not unreasonable as the selected value should no longer be available - this should trigger the labels ContextMenuChanged event.

    I haven't tried it, but it seems reasonable... 
    0