If I have an edit field on a form, and the edit field is set to the
OEM_CHARSET, then if I programmatically set the text to a char like
CHAR(228), the character displays as I would expect (an uppercase
sigma), but if the user of my program tries to enter this character by
holding the Alt key and typing the number 228 (or 0228, either way), the character displays in the edit field as something else. Problem happens with other charsets too.
How can I fix the program so that the user can enter high characters
correctly from the keyboard? I have thought about writing event
handlers to trap the Alt key, etc., but I am wondering if there is an
easier way.
Thanks. -Eric
OEM_CHARSET, then if I programmatically set the text to a char like
CHAR(228), the character displays as I would expect (an uppercase
sigma), but if the user of my program tries to enter this character by
holding the Alt key and typing the number 228 (or 0228, either way), the character displays in the edit field as something else. Problem happens with other charsets too.
How can I fix the program so that the user can enter high characters
correctly from the keyboard? I have thought about writing event
handlers to trap the Alt key, etc., but I am wondering if there is an
easier way.
Thanks. -Eric