![]() |
Filtering huge data - CXTPReportFilterEditControl |
Post Reply ![]() |
Author | |
Sergio ![]() Senior Member ![]() ![]() Joined: 18 September 2006 Status: Offline Points: 216 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
Derive your own class from CXTPReportFilterEditControl with delay reaction you need and assign it to ReportHeader with function
BOOL CXTPReportHeader::SetFilterEditCtrl(CXTPReportFilterEditControl* pFilterEdit) |
|
![]() |
|
Sergio ![]() Senior Member ![]() ![]() Joined: 18 September 2006 Status: Offline Points: 216 |
![]() ![]() ![]() ![]() ![]() |
OK, I will try to "override" the reflected message EN_CHANGE, and modify the method CXTPReportFilterEditControl::OnChange(). Thank you. |
|
Sergio
|
|
![]() |
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 |