Results 1 to 6 of 6

Thread: mergecells flexgrid vb6

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2006
    Posts
    40

    mergecells flexgrid vb6

    Hi, im using a MSHFlexgrid in my vb6 application and i need to merge some portion of the grid (not a full row/col). I know how to merge complete columns/rows from a flexgrid but I want to know how to do a merge from a range.

    Ex: i want to merge the columns in row 1 (but only start the merging from col6..i dont want to merge cols 0 to 5)..even if all the text in the row is the same.

    help me since im very stuck with this

    TIA

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: mergecells flexgrid vb6

    Please mark you thread resolved using the Thread Tools as shown

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2006
    Posts
    40

    Re: mergecells flexgrid vb6

    thx but that's not i want...

    that code merge ALL the cells in the row that have the same text...that's not what i want to do..


    i want to merge specific cells from the row

  4. #4
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: mergecells flexgrid vb6

    Please mark you thread resolved using the Thread Tools as shown

  5. #5

    Thread Starter
    Member
    Join Date
    Sep 2006
    Posts
    40

    Re: mergecells flexgrid vb6

    same thing except with columns this time instead of rows

    my merging needs to be done on rows but not all the cells from those rows

    something that would act like:

    mergerow(rowindex,startcolumindex,endcolumnindex)

  6. #6
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: mergecells flexgrid vb6

    Unfortunately, the only way to stop the merging of cells with the same text is to put a hidden column (colwidth=0, text= "") between the columns you don't want to be merged.

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