implementing key down/press for child item in |
Post Reply |
Author | |
BoboP
Groupie Joined: 21 March 2008 Status: Offline Points: 25 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi, You are not the only one... see: |
|
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.... |
|
BoboP
Groupie Joined: 21 March 2008 Status: Offline Points: 25 |
Post Options
Thanks(0)
|
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |