OnGetText in a DBGrid
Let's assume that I'm a bit thick - here's my story:
I have a DBGrid component being populated by an ADOQuery via a datasource. One of the fields is a memo, and I would like to display it as text. So, after reading the Delphi manual (because I haven't tried to do this before), I went to the object inspector, selected the DBGrid, clicked on the Columns editor, highlighted the memo field, went back to the columns editor and clicked on the Events tab. NO EVENTS. There should be, as I understand it, an OnGetText and an OnSetText event available for each field ...
I've hunted high and low, and I can find no trace of such an event.
I accept I'm doing something wrong, but I have no idea what!
I'm using Delphi 5 with the service pack installed.
Any help gratefully received.
|