#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2013
    Posts
    2
    Rep Power
    0

    How would I code this ?


    I am coding a spelling bee program as a project in college.
    I have a form where the user inputs all sort of words and this is then saved as a record in a .dat file.

    I have all the records displayed in a string grid. I now want the user to be able to click 10 words, which will be saved under a test name. How would I code this.

    Any help is appreciated.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2008
    Posts
    350
    Rep Power
    7
    I don't think a StringGrid allows for non-contiguous selected rows. So if you need non-contiguous rows to be selected, either process them one at a time as the user clicks on them, or you'll need another control that allows non-contiguous rows to be selected (such as dbgrid - which is an option even if you are not using a database - you can use clientdataset as your in-memory table to point the DBGrid at)

IMN logo majestic logo threadwatch logo seochat tools logo