Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - implementing key down/press for child item in
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

implementing key down/press for child item in

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


Joined: 21 March 2008
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote BoboP Quote  Post ReplyReply Direct Link To This Post Topic: implementing key down/press for child item in
    Posted: 12 May 2008 at 8:49am
Hi !!

I need to implement key down /key press event for each  child items in category of propertygrid And implement validations for character / numeric data etc

Does anyone know how to do this ? I am very naive in using property grid.

Will appreciate any suggestion regarding this
Thanks In advance,
Bobo
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 12 May 2008 at 12:44pm
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
BoboP View Drop Down
Groupie
Groupie


Joined: 21 March 2008
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote BoboP Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2008 at 6:29am
Hi ! Thanks !

I need to give a dialogbox to user whenever he presses shift+< in any of child item.
That is checking combination keys.

Could you suggest way to do that

Thanks,
Bobo

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 13 May 2008 at 7:20am
Hi,
 
You can use the KeyUp event:
 
Private Sub wndPropertyGrid_KeyUp(KeyCode As Integer, Shift As Integer)
    If Shift = 1 And KeyCode = 188 Then Form.Show
End Sub
Note: When an editable propertygrid item is selected the Shift + Key will enter the char into the edit portion.
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
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.188 seconds.