Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Immediate Search correction
Immediate Search correction [message #61009] |
Fri, 18 October 2024 17:48 |
Didier
Messages: 736 Registered: November 2008 Location: France
|
Contributor |
|
|
Hello,
The method GridCtrl::SearchImmediate(bool b) does not work as expected:
When called, I would expect the immediate search function to be activated or not depending on 'b' value
In practice, the check box displayed in the search toolbar has the correct value (so at first everything seems OK) but the real Immediate Search status hasn't change
==> So GridCtrl::SearchImmediate(0), we have inconsistent display and behaviour
I propose the following small correction :
replace :
GridCtrl& SearchImmediate(bool b = true) { search_immediate = b; return *this; }
with :
GridCtrl& SearchImmediate(bool b = true) { search_immediate = !b; SetFindOpts(0); return *this; }
Can somebody apply this change please 
|
|
|
Goto Forum:
Current Time: Mon Aug 25 20:37:44 CEST 2025
Total time taken to generate the page: 0.11972 seconds
|