Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Filtering huge data - CXTPReportFilterEditControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Filtering huge data - CXTPReportFilterEditControl

 Post Reply Post Reply
Author
Message
Sergio View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 September 2006
Status: Offline
Points: 216
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sergio Quote  Post ReplyReply Direct Link To This Post Topic: Filtering huge data - CXTPReportFilterEditControl
    Posted: 06 January 2010 at 4:48am
Hello,

Happy New Year!


1) Is it possible to add some delay to the CXTPReportFilterEditControl before applying the filter?

When there are a lot of records, typing the filter is slow because the filter is applied to each typed character!

The filter should be applied 100 milliseconds after the last typed character. If a character is typed in the meantime, the delay should be reseted to 100 milliseconds.


2) Is it possible to make the copy/paste available when typing text in the filter text edit control?


I hope you will give an answer.

Regards,
Sergio
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 06 January 2010 at 5:01pm
Derive your own class from CXTPReportFilterEditControl with delay reaction you need and assign it to ReportHeader with function

BOOL CXTPReportHeader::SetFilterEditCtrl(CXTPReportFilterEditControl* pFilterEdit)

Back to Top
Sergio View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 September 2006
Status: Offline
Points: 216
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sergio Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2010 at 8:53am
Originally posted by mdoubson mdoubson wrote:

Derive your own class from CXTPReportFilterEditControl with delay reaction you need and assign it to ReportHeader with function

BOOL CXTPReportHeader::SetFilterEditCtrl(CXTPReportFilterEditControl* pFilterEdit)



OK, I will try to "override" the reflected message EN_CHANGE, and modify the method CXTPReportFilterEditControl::OnChange().

Thank you.
Sergio
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.141 seconds.