Thread View: comp.lang.pascal.delphi.misc
2 messages
2 total messages
Started by Louis de Stoutz
Wed, 28 Jan 1998 00:00
Multiple character set applications
Author: Louis de Stoutz
Date: Wed, 28 Jan 1998 00:00
Date: Wed, 28 Jan 1998 00:00
23 lines
1525 bytes
1525 bytes
Hi everybody! I have to write applications where users can enter data as well in latin letters as in greek letters. In the Windows environment and especially for applications like Word or Excel, this works easily by switching keyboard with either Alt-Shift or through the taskbar. How do I make this work a) in the IDE for writing on my forms b) in the applications, so that the user can switch himself when entering data I tried to use different character sets in the Font property (e.g. OEM_CHARSET, hoping it would be taken over from Windows) but it doesn't work. Of course I can specify the greek character set, but then, what about english. I suppose I don't have to actually program a switch of charsets in the application? Thanks for any help, Louis de Stoutz <loudest@ibm.net>
Re: Multiple character set applications
Author: Piotr Trzcionkowski
Date: Mon, 02 Feb 1998 00:00
Date: Mon, 02 Feb 1998 00:00
25 lines
1877 bytes
1877 bytes
Wed, 28 Jan 1998 16:56:05 GMT, loudest@ibm.net (Louis de Stoutz)
napisa�(a):
>Hi everybody!
>
>I have to write applications where users can enter data as well in
>latin letters as in greek letters. In the Windows environment and
>especially for applications like Word or Excel, this works easily by
>switching keyboard with either Alt-Shift or through the taskbar.
>
>How do I make this work
>a) in the IDE for writing on my forms
>b) in the applications, so that the user can switch himself when
>entering data
>
>I tried to use different character sets in the Font property (e.g.
>OEM_CHARSET, hoping it would be taken over from Windows) but it
>doesn't work. Of course I can specify the greek character set, but
>then, what about english. I suppose I don't have to actually program a
>switch of charsets in the application?
You should use Unicode API -> all functions are ended with "W" for
example TextOutW('$0501') to display polish "�" without any switching.
You must know not all functions works in Win95 otherwise in nt.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads