Print Page | Close Window

Updated version of SUI.INPUT.LIST

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: Smart User Interface
Forum Description: Smart User Interface Library beta discussions & support
Printed Date: February 24 2024 at 6:47am
Software Version: Web Wiz Forums 12.03 -

Topic: Updated version of SUI.INPUT.LIST
Posted By: mlucas67
Subject: Updated version of SUI.INPUT.LIST
Date 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.



Note: the source code for this topic has been moved to the Code Samples forum: - link

Posted By: PSchellenbach
Date Posted: July 19 2007 at 11:50am
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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 -
Copyright ©2001-2019 Web Wiz Ltd. -