Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - RC swallows Keycode 27 when in focus
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RC swallows Keycode 27 when in focus

 Post Reply Post Reply
Author
Message
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Topic: RC swallows Keycode 27 when in focus
    Posted: 22 August 2007 at 10:50am

hi,

I noticed a bug with RC where it swallows the Keycode 27(Esc key) whenever the RC has focus.

To reproduce the bug, do the following using Reportsample.

1. Set Keypreview for frmTreeview = True
2. Place the following code under Form_keyPress Event

Select Case KeyAscii
Case 27: Unload Me
End Select

3. run project and load treeview sample from menu
4. If you press Esc the form does not unload. Press tab to switch focus to ok button then press Esc. The form unloads.

Environ: Vista/VB 6 SP6
hope twil be fixed for next release
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.123 seconds.