| Dart Home | PowerTCP Emulation for .NET | Custom Development | Reply | PowerTCP Emulation for .NET Topics | Forums |
| Author | Forum: PowerTCP Emulation for .NET Topic: Capturing keystrokes in real-time |
| zbych From: Parma, OH USA Posts: 8 Member Since: 01/07/05 |
posted January 7, 2005 10:07 PM Here is my scenario. The user will be filling out the fields on the hosted screen. I need to find a way to capture every keystroke and send each character to the textbox. I tried doing it with KeyDown event and vt1.ScrapeText(vt1.CursorPosition.Y,vt1.CursorPosition.X-1,1). But this gives me only the character before the last. Is there any way to capture the last entered character into the VT control? Any help would be appreciated. Thanks. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 7, 2005 10:28 PM The KeyDown event gives you each keypress exactly as you want. Check out the "External Client" sample for a working demo. |
| zbych From: Parma, OH USA Posts: 8 Member Since: 01/07/05 |
posted January 7, 2005 10:41 PM Thanks. I don't know what I was thinking. I also found out that this can be achieved with vt1_Telnet_EndReceive event and vt1.ScrapeText(vt1.CursorPosition.Y,vt1.CursorPosition.X-1,1). But why bother. Thanks again. |
| Reply | PowerTCP Emulation for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|