TableLayoutPanel Issue
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/8325193/tablelayoutpanel-row-and-column-resize-during-runtime">TableLayoutPanel row and column resize during runtime</a>  </p>
</blockquote>



<pre><code>private void tableLayoutPanel1_MouseMove(object sender, MouseEventArgs e)
{
    try
    {
        if (resizing)
        {
            if (rbColumn.Checked)
            {
                columnStyles[GColumn].SizeType = SizeType.Absolute;
                columnStyles[GColumn].Width += e.X - columnStyles[GColumn].Width;
            }
            else
            {
                rowStyles[GRow].SizeType = SizeType.Absolute;
                rowStyles[GRow].Height += e.Y - rowStyles[GRow].Height;
            }

            // To move entire tablelayoutpanel during runtime  
            // this.tableLayoutPanel1.Height = tableLayoutPanel1.Top + e.Y;
            // this.tableLayoutPanel1.Width = tableLayoutPanel1.Left + e.X;
        }
    }
    catch (Exception ex)
    {
        // MessageBox.Show(ex.ToString());
    }
}
</code></pre>

<p>Design:</p>

<p>Used TableLayoutPanel and Two radio buttons are rbRow and rbCOlumn. </p>

<p>My problem is, during mouseclick event, i am getting specific row and column value during runtime. ie. Row=2 column=3</p>

<p>In MouseMove event,Column 3 is moving perfectly. Along with this, 4th,5th columns are also moving. I want to move only 3rd column.(During runtime and rbColumn selected) and for row too..</p>

<p>Hope u get some idea. Help me</p>
