The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
Updated version of SUI.INPUT.LIST |
Post Reply |
Author | |
mlucas67
Senior Member Joined: February 12 2007 Location: United States Status: Offline Points: 103 |
Post Options
Thanks(0)
Posted: July 18 2007 at 3:06am |
This version allows for multiple keystrokes to refine the search. It works much like the Windows searchable lists do. Every keystroke within 3 seconds of each other will be added to the criteria for the search. After 3 seconds the buffer is reset and starts at the first character again.
That's 3 seconds between each keystroke, so you can keep typing if necessary. It won't reset until the next keystroke when it checks the inter-keystroke time to see if it is more than 3 seconds, if it is, the buffer is set to the current keystroke rather than appending to the buffer.
It's not perfect yet, will skip down one match even when you still match the current line, but it's darn close for 30 seconds worth of work.
Marshall
Note: the source code for this topic has been moved to the Code Samples forum: link |
|
PSchellenbach
Admin Group Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
|
Hi Marshall -
Nice job! I updated your code a little because of a small change required for jBase compatibility, and moved the source to the Code Samples forum. Thanks, Pete |
|
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 |