I dont get it. You have a DBGrid, a DBCombobox, a few DBEdit and t Memo on form. Each line in dbgrid is showed in these components. So why want you to click on a cell. The option you have set in DBGrid is dgRowselect. It meens you can't edit a cell.
MY ONLY QUESTION FOR NOW IS. After displaying another window(Form), edit the RTF in RichMemo...
How do I get it back to the cell where I clicked the "Button" in the cell???
The cursor on DBGrid didn't moved when you calling a new form.
I don't undersand what you mean.
How did you call the selected recod in the new form?
You must not of read the thread very well...
the reason I was using the DB controls is because the DB components were not working.
I have since fixed those.
I am not using DB Controls except one I need to store RTf code. Because LAZ doesn't to my knowledge have a DB RichEdit Control that can be hooked up to the SQL components.
SO, I am using a DB Memo as a go between storing the RTF data in Db and using RichMemo to edit the RTF.
I use code to transfer the RTF from DB Grid to DBMemo then onto RichMemo.
So, I have it setup so the user edits the grid directly.
Things have changed, go back and re-read the entire thread,.