Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Posts
    53

    Unanswered: selecting data from a flexgrid

    I am trying to click on a field in a flexgrid and transfer the data in that field to a string. Is this possible,, I have a weird feeling that it wont be easy. An help/code is greatly appreciated.

    Thanks
    Jason

  2. #2
    Join Date
    Feb 2004
    Location
    Cali - Colombia
    Posts
    16
    hi!

    it's EASY!!

    if you are using visual basic:

    declares Click() event, and writes instructions like this:

    dim var as string
    var = MSFlexGrid1.TextMatrix(MSFlexGrid1.row, MSFlexGrid1.col)

    In opposite situation:

    MSFlexGrid1.TextMatrix(MSFlexGrid1.row, MSFlexGrid1.col) = var

    this assigns the 'var' value to the cell.


    I hope help u


    Aldemar
    A.C.C.

  3. #3
    Join Date
    Feb 2004
    Location
    Cali - Colombia
    Posts
    16
    hi!

    it's EASY!!

    if you are using visual basic:

    declares Click() event, and writes instructions like this:

    dim var as string
    var = MSFlexGrid1.TextMatrix(MSFlexGrid1.row, MSFlexGrid1.col)

    In opposite situation:

    MSFlexGrid1.TextMatrix(MSFlexGrid1.row, MSFlexGrid1.col) = var

    this assigns the 'var' value to the cell.


    I hope help u


    Aldemar
    A.C.C.

  4. #4
    Join Date
    Jan 2004
    Posts
    53
    Thanks So much,, this worked for exactly what I wanted to do!!!!!!!!


    Thanks Again
    Jason

  5. #5
    Join Date
    Feb 2004
    Location
    Cali - Colombia
    Posts
    16
    It's a pleasure to help u
    A.C.C.

Posting Permissions

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