Print Page | Close Window

implementing key down/press for child item in

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=10601
Printed Date: 09 June 2024 at 1:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: implementing key down/press for child item in
Posted By: BoboP
Subject: implementing key down/press for child item in
Date 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



Replies:
Posted By: Aaron
Date Posted: 12 May 2008 at 12:44pm

Hi,

You are not the only one...

see:

http://forum.codejock.com/forum_posts.asp?TID=10556 - http://forum.codejock.com/forum_posts.asp?TID=10556
 
http://forum.codejock.com/forum_posts.asp?TID=10088 - http://forum.codejock.com/forum_posts.asp?TID=10088
 
http://forum.codejock.com/forum_posts.asp?TID=9944 - http://forum.codejock.com/forum_posts.asp?TID=9944
 
 
 
 


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


Posted By: BoboP
Date 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



Posted By: Aaron
Date 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....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net