Results 1 to 4 of 4

Thread: Table Cropper tool.

  1. #1

    Thread Starter
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    Table Cropper tool.

    i need to draw the table outline/border,columns, rows over on a image.
    Like in Rectangular box in ms paint.
    Visual Studio.net 2010
    If this post is useful, rate it


  2. #2
    Member
    Join Date
    Dec 2006
    Location
    Derby, UK
    Posts
    58

    Re: Table Cropper tool.

    I'm not entirely sure I've understood your problem vijy, but if you want to draw a Table with an image behind it use:

    Panel Control (BorderStyle: FixedSingle, BackgroundImage: <your image path>)

    and, inside the Panel, a TableLayoutPanel with the Rows/Columns/Borders you want.

    Chris.

  3. #3

    Thread Starter
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    Re: Table Cropper tool.

    yes, you right but the thing is in runtime user need to draw the table on image.
    so its possible to add a row, column in runtime.
    Visual Studio.net 2010
    If this post is useful, rate it


  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,348

    Re: Table Cropper tool.

    Quote Originally Posted by vijy View Post
    yes, you right but the thing is in runtime user need to draw the table on image.
    so its possible to add a row, column in runtime.
    Yes. As usual, you should start by reading the documentation for the type you're using, i.e. the TableLayoutPanel control. As usual, it names and describes all the members. It describes ColumnCount thusly:
    Gets or sets the number of columns in the table.
    I will leave it to you to determine how to set the number of rows.

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