Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memo field in DBgrid

Status
Not open for further replies.

StuM

MIS
Jan 16, 2001
148
US
I would like to see the first 15 characters of a memo field in a DBgrid... I tried the example in thread102-822409. But can't get a DBisam table to work using the OnGetText event. Has anybody tried this and made it work ?

 
When you say you can't get it to work do you mean you get compilation errors or run time errors? It might help if you could post your OnGetText event code. Remember to use TGML so that it easy for us to read like this:
Code:
// This is my OnGetEvent
...

Andrew
Hampshire, UK
 
IIRC, the default behavior in a grid is to only show the first part of a memo. In order to show all of a memo, you have to write your own OnDrawDataCell event handler that will show more of the memo.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top