Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27189

Context Menu Strip

$
0
0
Hello

Trying to find a fairly quick way of programming a context menu strip.

I have 50 buttons on my form.

I'd like them all to have the same Context Menu Strip which when chosen, will give an option to change the colour of each inidividual button...

eg. Right-Click on Button 1>Choose Color>Blue
Right-Click on Button 38>Choose Color>Green

Is there a quick way to code the Context Menu Strip rather than go through and create a new CMS for each button?

And is there a way to do it without having 50 separate "If Button 1 selected" etc

Viewing all articles
Browse latest Browse all 27189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>