OnChar event |
Post Reply |
Author | |
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
Posted: 06 January 2009 at 1:24pm |
read the topic https://forum.codejock.com/forum_posts.asp?TID=12975
It will help you to manage user entry validation, auto-correction and recover selection for non-confirmed OnEditChanging cases.
You don't need to capture OnChar - use CXTPReportRecordItemText, CXTPReportRecordItemNumber, etc and CXTPReportInplaceEdit as a base class for you and overwrite OnEditChanging function.
|
|
adico
Groupie Joined: 20 April 2006 Location: United States Status: Offline Points: 23 |
Post Options
Thanks(0)
|
Is there a way to capture the OnChar event of a CXTPReportRecordItem?
I am currently overriding CXTPReportRecordItemText inside header I have overridden the following: virtual void OnBeginEdit(XTP_REPORTRECORDITEM_ARGS* pItemArgs); virtual BOOL OnChar(XTP_REPORTRECORDITEM_ARGS* pItemArgs, UINT nChar); in the .cpp file, the code hits the breakpoint inside OnBeginEdit but not inside OnChar method. Am I missing something ? Please advise |
|
I am not my memories...I am my dreams!
|
|
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 |