|
-
March 30th, 2009, 02:17 AM
#1
TableLayoutPanel not adding controls
Hey there,
Should just be a simple thing i hope...
I have a table layout panel that i am using for organising images, like a picture grid. Im currently creating the table panel, setting the columncount to 6 then adding some dummy picture boxes.
The picture boxes have a black background and have a fake Bitmap object contained as well as a fixedsingle border, just to make them show up. However when i do MyPanel.Controls.Add(DummyPictureBox); it shows up in the list of controls with the panel, it just doesnt seem to display them... ive tried refreshing the panel and tried re-sizing it as well as anything else i can think of, and its just driving me mad... any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|