aem Posted July 25, 2019 Share Posted July 25, 2019 I have pursued the forum and tried several promising methods, but I cannot seem to be able to programmatically control the selected cell of the tunistringgrid. The tunistringgrid clearly maintains both a 'truly selected' cell and a highlighted cell. Ar runtime if you specify grid.row:=3; grid.col:=3; The cell 3,3 is indeed highlighted. But you can still discern a light line around the cell that had been selected earlier. And if the user hits the ENTER key, the editing occurs within that previous cell, not 3,3 as hoped. The subclassing of the grid class and using currcol/currrow doesn't seem to move the true selection either. I was surprised not to find this mentioned anywhere - but I suppose most people use the stringgrid for display purposes rather than as sections of data entry screens. (incidentally, the ENTER key to edit a cell is a constant complaint from EVERY tester we have) If you have a tip about controlling the selected cell I would be grateful. thanks tonyM Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 25, 2019 Share Posted July 25, 2019 Hi, Can you make a simple testcase for reproduce? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.