Ross Levis wrote:
> The only issue I can think of is with the Shift.  On my keyboard this 
> produces the characters ! @ # $ % ^&*( ).  I think these can be 
> different in different countries, is this correct?
> 
> Can I get around that and check specifically for the internal key code.

If you check the value in the OnKeyDown handler, I _think_ you'll find 
that you get the same number for the "1" key as you do for the "!" key, 
on U.S. keyboards. The keys don't get converted into characters until 
you get the wm_Char message. Wm_KeyDown handles just the key, not its 
meaning. This should mean that there's not really anything to "get around."

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to