TableLayoutPanel positioning and controlcell relationships

I've been working with the Windows Forms 2.0 TableLayoutPanel, have run into some stumbling blocks, and was hoping somebody can help.

1) There doesn't appear to be a way to equate controls with their cell position. I have a need to determine where “this.txtFirstName” is in the row 3, cell 4 position.

2) There doesn't appear to be a way to get the location of a cell, short of calculating the offset, which I've done.

Is there some way to dig into the panel, maybe using reflection or something, to get the internal relationship between cells and controls, and the cell locations?

Thanks in advance!

Print | posted @ Thursday, March 02, 2006 10:59 AM

Comments on this entry:

Gravatar # re: TableLayoutPanel positioning and controlcell relationships
by aseem at 9/7/2008 5:48 PM

i have user control where i have to move the control around table layout panel ,how can i move the contol around table layout panel ,because of columns,rowsn it is not moving on other cell how can i solve this

Your comment:

Title:
Name:
Email:
Website:
 
Italic Underline Blockquote Hyperlink