Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Simpler Way to Override CXTPReportInplaceEdit
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Simpler Way to Override CXTPReportInplaceEdit

 Post Reply Post Reply
Author
Message
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 666
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post Topic: Simpler Way to Override CXTPReportInplaceEdit
    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++)
Back to Top
cpede View Drop Down
Senior Member
Senior Member


Joined: 13 August 2004
Location: Denmark
Status: Offline
Points: 666
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpede Quote  Post ReplyReply Direct Link To This Post 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 (24.0.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.154 seconds.