Represent the ascii character as a number. IE. #32,
etc. What does that do?

DJS

--- Michael Davis <[EMAIL PROTECTED]> wrote:

> I am writing a program in which the user needs to
> type in Russian 
> words, using an English keyboard.  I thought I could
> do this as 
> follows:
> 
> I use a TRichEdit component.  The user types in a
> letter of the Roman 
> alphabet, and one or other of the RichEdit's
> keyboard events assigns 
> a corresponding character code for a letter in the
> Cyrillic alphabet 
> to the value of the Key parameter, in place of the
> one passed to it.
> 
> I got a version of this method to work for
> substituting one standard 
> ASCII character for another, but I find that it
> won't work for other 
> characters: I just get question marks instead.
> 
> I have managed to get almost the behaviour I want,
> but in a rather 
> cumbersome way.  The only way I have come up with to
> put the 
> character I want into the RichEdit is: copy the
> character out of a 
> string stored elsewhere, and paste it to where I
> want.  There are a 
> few disadvantages of this method, such as that it
> overwrites whatever 
> else was on the Clipboard.  I am sure there is a
> more direct way to 
> get non-ASCII characters into a RichEdit, but I
> can't work out what 
> it is.
> 
> Any help, anyone?
> 
> Michael Davis
> 
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h3t62ts/M=362335.6886445.7839731.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123374601/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to