Look at the lastkey command or the keypress event. The keypress event is where I get most of what I need. I NULL out non numerics and so forth here ...
hth
>Hi,
>
>I am looking for an analog of VFP's Inkey() function in Visual Basic.
>I want to analyze a user pressing Escape key during long code processing. Another solution?
>
>Igor
~Joe Johnston USA
"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams