This from a customer using the setup in the title.
"Thank you for your prompt response.
I am using the Microsoft Greek keyboard -- it is listed as "Greek Polytonic" in the Input Language menu. For complex diacritical marks and accents I have to use key combinations."
Apparently these are not entered correctly on a TRichViewEdit.
Any suggestions on getting this to work properly?
Thanks,
Dick
Multiple Stroke Characters on MS Greek Polytonic Keyboard
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
This keyboard layout has the following features:
1) it allows entering characters not belonging to GREEK_CHARSET;
2) it uses dead keys.
If you use ANSI text in TRichViewEdit, you cannot have these characters (not belonging to any charset) in text.
Unfortunately the problem occurs with Unicode text too. TRichViewEdit supports 2 methods of keyboard inputs, but unfortunately the first of them (default) cannot work with characters not belonging to the keyboard layout's charset, and the second method does not support dead keys.
So, I am afraid, currently the only way to support this keyboard layout is upgrading to Delphi 2009, where TRichViewEdit is a True Unicode window and has no problems with such keyboards.
1) it allows entering characters not belonging to GREEK_CHARSET;
2) it uses dead keys.
If you use ANSI text in TRichViewEdit, you cannot have these characters (not belonging to any charset) in text.
Unfortunately the problem occurs with Unicode text too. TRichViewEdit supports 2 methods of keyboard inputs, but unfortunately the first of them (default) cannot work with characters not belonging to the keyboard layout's charset, and the second method does not support dead keys.
So, I am afraid, currently the only way to support this keyboard layout is upgrading to Delphi 2009, where TRichViewEdit is a True Unicode window and has no problems with such keyboards.
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
This ability (working with keyboard layouts having both "exotic" characters and dead keys) will be given automatically (because in Delphi 2009 TRichViewEdit becomes a Unicode window, like all standard controls, and it does not need to use tricks to accept Unicode input).
But since String, Char and PChar types were changed to 2-byte Unicode characters, other your code working with strings may be affected. Besides I suggest to check if all thirdparty components you need are available for Delphi 2009.
But since String, Char and PChar types were changed to 2-byte Unicode characters, other your code working with strings may be affected. Besides I suggest to check if all thirdparty components you need are available for Delphi 2009.
-
- Posts: 148
- Joined: Wed Dec 07, 2005 2:02 pm
- Contact: