Talk:AOT Search within search results
Hi,
there's a little piece missing out of this new extension, which you will notice when performing a subsequent search on the search results. That is that the Seach and Stop Buttons are alternately enabled and disabled during the search. Not a very nice affect!
So here is the fix, which is very easy to implement: In the Form SysAOTFind
1.: New Variable in ClassDeclaration
boolean AOT_SearchingOnResults; // flag set true while Search On Results is being performed
2.: In the Method AOT_SearchTable
AOT_SearchingOnResults = true; // add this line While Select AOT_SearchTmp {
...
} AOT_SearchingOnResults = false; // add this line this.endSearch();
3.: In the setSearchMode Method change complete method as seen below
//--> WAJ/AOT_SearchExtended/30.10.2006 if (AOT_SearchingOnResults) { findNow.enabled(false); stop.enabled(true); } else { findNow.enabled(!timeOutMode); stop.enabled(timeOutMode); }
// findNow.enabled(!timeOutMode); // stop.enabled(timeOutMode);
//<-- WAJ/AOT_SearchExtended/30.10.2006
These changes should get rid of the blinking buttons.
Greetings,
Jonathan Watkins