December 23rd, 2013, 07:26 AM
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.
December 23rd, 2013, 03:06 PM
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)