Login  
Search All Forums
Dart Home | PowerTCP Telnet for .NET | Custom Development Reply | PowerTCP Telnet for .NET Topics | Forums   
AuthorForum: PowerTCP Telnet for .NET
Topic: keydown and keypressed events not fired with ctrl x
jo.sonck
jo.sonck@octaplus.be

From: vilvoorde, Belgium
Posts: 13
Member Since: 07/04/03
posted June 3, 2008 12:12 PM

on the powertcp.emulation.vt control the keydown and keypress events are not fired when i hit ctrl-x, ctrl-y or ctrl-z.
is there a property that i can change to allow these events to be fired for each ctrl-key combination?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted June 10, 2008 10:54 AM

Hi,
I am unable to reproduce this behavior.
I just ran the External Client sample, pressed these keys, and both the KeyDown and KeyPress events fired for each.
I checked the property values in the sample, and did not see anything that was set to cause this.

Do you also see the problem with this sample app?

Thanks,
-ken

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

jo.sonck
jo.sonck@octaplus.be

From: vilvoorde, Belgium
Posts: 13
Member Since: 07/04/03
posted June 23, 2008 5:03 AM

Strange! When I try the External Client sample, everything seems to be working just fine.
But when I copy-paste the vt1-control in my application (I just renamed it from "vt1" to "myterminal") it stops firing the keypress-event, and only for the following keys :
ctrl-v ; ctrl-x ; ctrl-y ; ctrl-z
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted June 25, 2008 9:27 AM

Having a Ctrl-Key combination mapped as a shortcut to a menu item stops the VT control from receiving that Ctrl-Key combination. For example, I had a blank form dropped a VT control wired up the KeyDown and KeyPress events and all the combinations worked fine. I added a menu bar and designated Ctrl-V as a shortcut for one of the menu options. The VT control didn't pick up the Ctrl-V combination but any other Ctrl-Key combination was still picked up.
jo.sonck
jo.sonck@octaplus.be

From: vilvoorde, Belgium
Posts: 13
Member Since: 07/04/03
posted June 25, 2008 9:38 AM

Checked it. I have a menustrip on the same form but none of the items has a shortcutkey. If I find anything I'll let you know. thx
jo.sonck
jo.sonck@octaplus.be

From: vilvoorde, Belgium
Posts: 13
Member Since: 07/04/03
posted June 25, 2008 9:54 AM

You were right! I had, out of the blue, 3 menuitems more on my form. (help, edit and tools). must be some automated function. in the edit-strip the ctrl-key combinations were used and intercepted these combinations before they were sent to the terminal control. i deleted them and now everything is working fine again. thanks a lot.
Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX