I've got an annoying bit of behaviour when using textselect inside a TStringGrid control (for a Borland C++ program):
I have a vertical list of numbers in a TStringGrid going from 1-31 (they are dates). I need to click on any given number within the grid, and have found using this textselect method works well with other strings (eg Months or year strings). However, if I search for the string "32" say (expecting a negative result) it returns a positive result and clicks the number 23... Similarly, if I search for the number "99" it returns a positive by clicking on the number 9.
It looks as if it's trying to do a search based on the characters, but not on their order, or the number of times they are supposed to appear.
Anyone had any similar problems? If so, how do you go about working round it?
Appears it's actually some oddness with the actual way that QARun picks up the values from the grid - it seems to pick them up twice for some reason! I've kind of got a workround now (by using "11" for "1" and "2323" for "23", etc.), but it's interesting to see that if two numbers/letters follow each other then TextSelect will still find them...