CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2001
    Posts
    1

    FlexGrid Question

    Ok i need to figure out how to compare elements in a colum, i have numbers going straight down and i need to figure out how to code comparing these elements where i can figure which one is the greatest, then give the row it is located in .... Also this flexgrid is created by prompting the user for the amount of rows so this program needs to compare a constantly changing number of rows underneath a colum....???? what do i do anyone please help!?


  2. #2
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: FlexGrid Question

    If you need to find the greatest number in a column you can sort msflexgrid by this column and find the greatest.
    Another approach - you can put all numbers from the column to the array and then sort the array.

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

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

Featured