 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon Aug 28, 2006 6:36 pm Post subject: DB-aware components: OnGetText using WideString for a simple |
|
|
Hello,
I am developing with Delphi 6. I made an Access 97 database, and I
connect to this database through an TADOConnection using the Jet
Engine.
Because I want to be able to support Unicode - and as far as I know
Access 97 MDBs do not support that - I store some fields values in UTF8
format. I use a TDBAdvStringGrid to show the contents of one table in a
table kind of view. It has an event called OnGetDisplWideText that
allows me to generate a WideText that is drawn into a cell no matter
which field type the field corresponding with the actual cell really
has.
For a closer look at a record I want to use the Delphi DB-aware
components like TDBEdit. That component doesn't have an event similar
to the one of the TDBAdvStringGrid. I saw that a TField has an event
called OnGetText. But this has a string as a parameter, zhus I cannot
calculate a WideString out of the fields contents and return that.
Does anybody know a way to do that with just the components that I
have. Is there a simple way to programm an extended TDBEdit derived
from the normal TDBEdit that would let me do it. Or are there any
freeware components somebody is aware of?
Thanks in advance for answering my questions.
Regards,
Christian Kirchhoff |
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Tue Aug 29, 2006 12:26 am Post subject: Re: DB-aware components: OnGetText using WideString for a si |
|
|
Hoi Christian
You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this news
group do not officially exist, the group to use is b.p.d.database.general.
How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|