Results 1 to 5 of 5

Thread: how two Merge to columns in TableLayoutPanel

Hybrid View

  1. #1

    Thread Starter
    Member
    Join Date
    May 2008
    Posts
    47

    how two Merge to columns in TableLayoutPanel

    hi i want to know

    how to Merge two columns in TableLayoutPanel in windows app in .net (vb.net or C#.net)

  2. #2
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: how two Merge to columns in TableLayoutPanel

    you'd use the control's colSpan property to use 2 columns for 1 control

  3. #3

    Thread Starter
    Member
    Join Date
    May 2008
    Posts
    47

    Re: how two Merge to columns in TableLayoutPanel

    i want to know how i make that in coding

  4. #4
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,464

    Re: how two Merge to columns in TableLayoutPanel

    here's an example with a button that i set DockStyle.Fill + column span 2:

    vb Code:
    1. Button1.Dock = DockStyle.Fill
    2. TableLayoutPanel1.SetColumnSpan(Button1, 2)

  5. #5

    Thread Starter
    Member
    Join Date
    May 2008
    Posts
    47

    Re: how two Merge to columns in TableLayoutPanel

    thank you very much for help me
    many thankxxxxxxxxx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width