Ashish,
Here is yet another way to change keystrokes from one value to another. This is only an example...you can keep a couple of strings to serve hold a list of 'convert from' characters and 'convert to' characters. You also have to deal with uppercase and lowercase issues.
LPARAMETERS nKeyCode, nShiftAltCtrl
if nKeyCode = asc('A')
nKeyCode = asc('X')
endif
nodefault
dodefault(nKeyCode, nShiftAltCtrl)
>Hi
>
>I want to display someother characters as soon as user keys-in.
>
>E.g. If user keyis in "A" it should give "X".
> For "B" it should display "Z"
>
>This is because I want to create a text box which displays indian font.
>And when user's key's in "A" I will capture "A" and related character will
>be displayed in text box.
>
>In this How I will be able to take care of Backspace ?
>
>I tried kypress Event.
>But it doesn't work properly.
>
>Thanks in Advance.
>
>Ashish
Steve Gibson