Please ignore #2, I was wrong
I believe I just needed a .bringtoFront() ;
User Profile
Collapse
-
Some new issues...
Hi! me again!
Just getting back to actually implementing some of your ideas and I thank you for the taking the time to clean some things up :)
I did want to point out 3 things in the code you pasted above that didn’t work at first without a little more modification. And lastly I’m hoping you can share your smarts again on the new problem I’ve created for myself.
1. Adjusting the...Leave a comment:
-
-
woohoo! I got it!
You were right to take the
List<PictureBox > listPictureBoxe s1 = new List<PictureBox >();
out of the for loop, but the deleting part was a nightmare! I was getting tons of errors that I was trying to remove controls that were out of range.
Here is how I got the delete to work:
...Code:private int moveBlueBox(int minimumIncrease) { int randomDestinationLeave a comment:
-
I'm still doing something wrong...
You give me far too much credit in trying to work that out :)
It keeps thinking that private List<PictureBox > listPictureBoxe s1; is null?
...Code:private void generatelistPictureboxes1(int numofPBs, int xstart, int ystart) { int horizontalspacing = 5; int verticalspacing = 3; for (int i = 0; i < numofPBs;Leave a comment:
-
How to Locate and Delete a PictureBox that was created with an Array
Hello All,
I am in desperate need of your smarts!
I'm attempting to auto generate X number of pictureboxes when a program loads.
I'm generating 2 different arrays that will produce some number of picture boxes.
When I click button 1, I want to send a separate picture box near one of the auto generated picture boxes and remove a designated-array-generated picture box. I do not want to remove all picture boxes,...
No activity results to display
Show More
Leave a comment: