473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

1 Context Menu for mutiple Picture Boxes

working with about 100 picture boxes (not very big, 42X8)
1 image list of 5 pictures
hopefully 1 context menu

how do you program a contex menu so that it knows what picture box you are
clicking on and changes only that picture boxes picture so that you don't
have to write a context menu for every single picture box.

thanks
Nov 16 '05 #1
2 2549
Use the SourceControl property of the context menu to get the picture box
which was right mouse buttoned.

Lloyd Sheen

"beanimanius" <be*********@discussions.microsoft.com> wrote in message
news:9B**********************************@microsof t.com...
working with about 100 picture boxes (not very big, 42X8)
1 image list of 5 pictures
hopefully 1 context menu

how do you program a contex menu so that it knows what picture box you are
clicking on and changes only that picture boxes picture so that you don't
have to write a context menu for every single picture box.

thanks

Nov 16 '05 #2
Could you give an example. I'm not very good at deciphering MSDN.

Thanks.

"Lloyd Sheen" wrote:
Use the SourceControl property of the context menu to get the picture box
which was right mouse buttoned.

Lloyd Sheen

"beanimanius" <be*********@discussions.microsoft.com> wrote in message
news:9B**********************************@microsof t.com...
working with about 100 picture boxes (not very big, 42X8)
1 image list of 5 pictures
hopefully 1 context menu

how do you program a contex menu so that it knows what picture box you are
clicking on and changes only that picture boxes picture so that you don't
have to write a context menu for every single picture box.

thanks


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Chris Coho, Jr. | last post by:
Ok, I'll explain the whole problem because there may be several ways to solve this and hopefully someone knows one. What I'm doing is creating a specialty template editor, similar to say a corel...
4
by: Claire | last post by:
Sorry Ive added this twice (sortof) but if I'd added an addendum to the first one then this would probably have been ignored. This problem affects a ContextMenu attached to a NotifyIcon object. I...
8
by: Dennis C. Drumm | last post by:
Is there a way to modify the standard context menu shown when someone right clicks in a windows text box and that would work for all open windows applications? The standard context menu for...
1
by: Jimbo | last post by:
Hi, I am trying to use a context menu on a picture box. I can create it programmatically and it it pops up nicely when I right click the mouse on the picture box. However, I have the following...
5
by: lgbjr | last post by:
Hello All, I have several Pictureboxes (linked to an AccessDB) on a VB.NET form. I would like to use a context menu to allow the user to open the picture in their default picture viewer or...
1
by: goRide | last post by:
Hi, I'm looking of a way (preferred - a ready class or dll) to customize the context menu. many application has more controls inside the context menu (like textbox, sliders, checkbox, panel...
0
by: JJ | last post by:
How can you enable the clipboard context menu on a rich text box? It seems to be there as default on the text boxes, but not rich text boxes (yet I can use keyboard shortcuts to cut and paste) ...
5
by: neehakale | last post by:
language using: C#. platform for program: WINDOWS FORM I wnt to disable the right click for text boxes.And also want to diable the context menu. I have already disable the Minimize and...
2
by: Salochin | last post by:
Hi all is it possible to get more then one frm / tabel to show its controls Basics: I have 5 tables I would like to update but rather then create mutiple forms to update and use cmdbuttons to open...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.