TableLayoutPanel and label

  • Thread starter Thread starter x10179
  • Start date Start date
X

x10179

Hello

I'm a newbie with the TableLayoutPanel and have a couple of questions
1) Is there a way to set the label control such that the cell expands
and shrinks along with the text in the label control
2) Is there a way to hide/show a row as needed ?
 
Hello

I'm a newbie with the TableLayoutPanel and have a couple of questions
1) Is there a way to set the label control such that the cell expands
and shrinks along with the text in the label control

Setting the TableLayoutPanel Row to AutoSize may do what you want for
the height. For the width, set the Column to AutoSize. You may also
want to set the label to Dock.Fill
2) Is there a way to hide/show a row as needed ?

Set the Visible property of the object in each column of the row to
False.
 
Setting the TableLayoutPanel Row to AutoSize may do what you want for
the height.  For the width, set the Column to AutoSize.  You may also
want to set the label to Dock.Fill


Set the Visible property of the object in each column of the row to
False.

doesn't work
 
Back
Top