Working with picture box question
Ok everyone I have a quick question I have 10 picture boxes 5 on left side 5 on right side of screen and basically I would like for when I click on lets say picture box 1 it will display content in the center of the application. Where would I start to add the content as well? Would I have to create a separate form to be able to do this?
Re: Working with picture box question
Can you define "content"? It's a bit of a vague term.
Re: Working with picture box question
Quote:
Originally Posted by
jmcilhinney
Can you define "content"? It's a bit of a vague term.
Basically if I click on picture box 1 it would display all of the settings for it in the center of the screen but I would not want it to open up in a new form just display in the white area in the center of my screen(I Have a grey area on left and right sides with the picture boxes over them and then the center white for the content for when the picture box is clicked). But my question is how would I get it to where I could set this up in this manner?
Re: Working with picture box question
It seems like you're trying to complicate something that's quite simple. Just put the appropriate controls on your form. Handle the Click event of the PictureBoxes and then populate the other controls with the appropriate data.
Re: Working with picture box question
Well more detailed I have one picture box which has a picture of settings like gears and basically if I was to click on that how would I display the settings to the center of the screen but not in a separate form that pops up. For the settings to display in the center white area on the same form what would i have to create for it to display the settings I create would I use some kind of container?
Re: Working with picture box question
Quote:
Originally Posted by
jmcilhinney
It seems like you're trying to complicate something that's quite simple. Just put the appropriate controls on your form. Handle the Click event of the PictureBoxes and then populate the other controls with the appropriate data.
Well what I mean is let's say I clicked the settings picturebox I would want it to display the content in the center area on the same form then once I click another picture box it would make the settings content go away and show that picture box content.
Re: Working with picture box question
You would just put the appropriate controls on the form, as I have already said. If you want to display text in a Label then you add a Label. If you want something else then you add something else. As I said, you appear to be trying to complicate something that is very simple. All the stuff about Pictureboxes and areas of the form is irrelevant to display data to the user.