Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > General Discussion
  New Posts New Posts RSS Feed - MDI Forms / Child Forms
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI Forms / Child Forms

 Post Reply Post Reply
Author
Message
omn_kv View Drop Down
Newbie
Newbie
Avatar

Joined: 23 June 2005
Location: India
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote omn_kv Quote  Post ReplyReply Direct Link To This Post Topic: MDI Forms / Child Forms
    Posted: 23 June 2005 at 4:52am

Hi ,

I have got a mdimain and two child forms in it who are mdichilds and keypreview = true.

I have a keydown event in botht the forms and the code looks like this.

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
       IF Shift = vbCtrlMask AND KeyCode = vbKeyF6 THEN

               MsgBox "HI"

        END IF

end sub

But when I press CTRL+F6 , in one form the focus goes to other form and repeats. How to override Ctrl+F6 so that it gives me a message box with HI

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.125 seconds.