how two Merge to columns in TableLayoutPanel-VBForums
Results 1 to 5 of 5

Thread: how two Merge to columns in TableLayoutPanel

  1. #1

    Thread Starter
    Member
    Join Date
    May 2008
    Posts
    37

    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
    vb Coda .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    19,052

    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
    37

    Re: how two Merge to columns in TableLayoutPanel

    i want to know how i make that in coding

  4. #4
    vb Coda .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    19,052

    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
    37

    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
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.