i'm posting this as s new entry since my older topic dealt with tcpServer and
tcpClient.
In a chat application project with 2 TntMemos, one to send unicode characters as
well as one TntMemo to receive unicode characters, i can send and receive
Chinese characters OK as long as i only copy and paste Chinese characters to the
Send TntMemo in my app during runtime.
In the IDE during Design time, i can also type in the Pinyin directly into the
TntMemo's Lines property using the Windows XP Language bar function set to
Chinese Pinyin character input. Pressing the Space bar "registers" the
characters, and the correct characters are entered.
But during Runtime, if i enter the characters into the Send TntMemo using pinyin
input method, the correct characters initially appear but pressing the Space bar
then changes the characters to other (wrong) characters, not the characters i
originally typed in.
Would anyone else know why this is happening and how it can be fixed?
Thanks for any and all help.
Cheers,
norberto
TntForms.pas contains a function called InitTntEnvironment; I have a
feeling you might need to call that function on startup, so that your
application knows all about the system fonts etc.
Sorry if this is a bit vague -- I can't remember the details, but I seem
to remember having to do something like this in one of my apps.
Cheers,
Martin
See my May 28, 2008, reply to the post "How to get Unicode KeyPress?".
Olivier Beltrami
www.qppstudio.net