Print Page | Close Window

Message posted in case of edit changed.

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=11729
Printed Date: 01 July 2024 at 7:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Message posted in case of edit changed.
Posted By: devam
Subject: Message posted in case of edit changed.
Date Posted: 05 August 2008 at 9:24am
Upon changing text and moving focus out from an edit box in a property grid, or upon changing text and pressing Enter, the control (XTPPropertyGrid) fires a message XTP_PGN_ITEMVALUE_CHANGED. I have handled this message to save the changed text.

But only in case if we change the string from "2f_MSP Ring_2" to "2f_MSP Ring_1" (by taking the cursor to the last position and pressing backspace and then typing the digit 2 and then pressing enter or moving focus out of the row), XTPPropertyGrid is not firing the XTP_PGN_ITEMVALUE_CHANGED event, instead it is firing another event (called XTP_PGN_EDIT_CHANGED) which I cannot handle because this is the event fired in case of each keypress in the edit box. This problem is persistent only on the affore-mentioned text, any other text change is firing the correct message.
 
Any help on how we can handle this change in text would be of great help.


-------------
DC



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