Simpler Way to Override CXTPReportInplaceEdit |
Post Reply |
Author | |
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 666 |
Post Options
Thanks(0)
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 (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 666 |
Post Options
Thanks(0)
|
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 (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
|
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 |