Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - KeyDown Event  in Browser
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

KeyDown Event in Browser

 Post Reply Post Reply
Author
Message
ProScan View Drop Down
Groupie
Groupie


Joined: 07 March 2011
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProScan Quote  Post ReplyReply Direct Link To This Post Topic: KeyDown Event in Browser
    Posted: 13 May 2011 at 5:58am
Hello Codejock team

i have a Form with the Standard Browser Object from shdocvw.dll

in the keydown event from the form i look for the keycode CTRL+N

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)

    If KeyCode = vbKeyN And Shift = 2 Then
        KeyCode = 0                             '<- no Browser Instance
    End If

End Sub

the Form property Keypreview is True
with the shdocvw control the event was fired, when the user pressed ctrl+n
i can cancel the keycode.

i replace this control with the Webbrowser Control from the codejock tools
and start again.... when i pressed ctrl+n the Event is not fired

i works with the version 15.0.2 and vb 6.0

do you have a workaround for this problem ?

Thanks
ProScan

Back to Top
ProScan View Drop Down
Groupie
Groupie


Joined: 07 March 2011
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProScan Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2011 at 6:32am
Hello Codejock Team....
 
is a workaround for this problem available ?
 
ProScan 
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.156 seconds.