Print Page | Close Window

Simpler Way to Override CXTPReportInplaceEdit

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=23278
Printed Date: 18 June 2024 at 10:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Simpler Way to Override CXTPReportInplaceEdit
Posted By: cpede
Subject: Simpler Way to Override CXTPReportInplaceEdit
Date Posted: 03 March 2017 at 6:29am
It would be nice if you could make a simpler way to overwrite the CXTPReportInplaceEdit in a report control. Right now you introduces a number item CXTPReportRecordItemNumber, where you can type in letters :-o

Now I have to go all the way back to the CXTPReportControl to replace the m_pInplaceEdit, since the GetInplaceEdit() is const and non-virtual.

It seems that the in-place edits are handled different and much better in the CXTPPropertyGridItem class than the CXTPReportControl. Again consistency in the library would be great.

-cpede


-------------
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: cpede
Date Posted: 03 March 2017 at 7:12am
Ups, a little too fast...

I did not see the very practical OnEditChanging method in the CXTPReportRecordItem class. This makes validation easy :-)

-cpede


-------------
Product: Xtreme ToolkitPro (22.1.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



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