TableLayoutPanel

I am writing a VB program using VB 2005 Beta 2 that uses TableLayoutPanels on the form. The program dynamically creates a specified number of rows and columns. I would then like to populate the cells with pictureboxes, and then draw text or other stuff in them. The information is to be read from external data sources.

The question is this: How do I create a picturebox (in code) and place it in a specified cell (row and column)?

I also want to be sure the picturebox "fills" the cell. Each cell is created with a fixed size.

Can I draw directly into a cell? Or do I need a picturebox? Some of the cells will have very small text drawn sideways. Others will have small text drawn the normal way. Others will have thick lines drawn in them.

[747 byte] By [bsaucer] at [2007-12-16]