Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread OnGetText for Memo
Wed, Nov 15 2006 12:46 AMPermanent Link

Sachith Gunawardane
Tim,

I got application which retrieve data from DBISAM query component. I’m changing the format on “OnGetText” methods of each field in this query.
My issue is for Memo fields it does not go into OnGetText method. How can I change Memo field’s format or content while retrieving?

Regards,
Sachith
Wed, Nov 15 2006 4:19 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sacith,

<< I got application which retrieve data from DBISAM query component. I'm
changing the format on "OnGetText" methods of each field in this query. My
issue is for Memo fields it does not go into OnGetText method. How can I
change Memo field's format or content while retrieving? >>

It works here with Delphi 7.  Are you sure that the memo field's TField
component has its OnGetText event handler assigned properly ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Nov 16 2006 2:20 AMPermanent Link

Sachith Gunawardane


Hi Tim,

Yes, it has been assigned properly, it works for all the other fields. I’m using Delphi 5 with DBISAM 3.24

Regards,
Sachith

Thu, Nov 16 2006 3:49 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Sacith,

<< Yes, it has been assigned properly, it works for all the other fields.
I'm using Delphi 5 with DBISAM 3.24 >>

DBISAM doesn't have anything to do with this - it is a standard Delphi
TDataSet capability defined for the TField components.  I just tried it here
with Delphi 5 and it works fine.  There must be an issue with the way that
you're assigning the event handler or something wrong with the event handler
code that is causing results different from what you expect.

Perhaps you can email me a project that demonstrates what you're trying to
do ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Image