Have a TDBGrid that displays history for a customer. There may be one or more rows for a single customer. There is a column that displays an image and when the image is clicked it pulls up a pdf file stored in the db for this record.
My problem is that cell remains in the clicked state even after the user moves on to a different record and when the user enters the hostory tab for the second customer the focus is already on the image and clicking it does not pull up the pdf but the image turns into the words "memo".
The only way around it is to click somewhere else on the grid and then re-click the cell with the image to pull up the pdf file.
I have tried refresh, focus, focus cell on the history tab enter and exit but so far have not had success.
Thanks in dvance for your suggestions
My problem is that cell remains in the clicked state even after the user moves on to a different record and when the user enters the hostory tab for the second customer the focus is already on the image and clicking it does not pull up the pdf but the image turns into the words "memo".
The only way around it is to click somewhere else on the grid and then re-click the cell with the image to pull up the pdf file.
I have tried refresh, focus, focus cell on the history tab enter and exit but so far have not had success.
Thanks in dvance for your suggestions