Message posted in case of edit changed. |
Post Reply |
Author | |
devam
Groupie Joined: 20 March 2008 Location: India Status: Offline Points: 15 |
Post Options
Thanks(0)
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
|
|
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 |