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
URL: https://forum.asent.com/forum_posts.asp?TID=1090
Printed Date: January 29 2023 at 7:36pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


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.

 

Marshall


Note: the source code for this topic has been moved to the Code Samples forum: http://www.asent.com/forum/forum_posts.asp?TID=1094 - link



Replies:
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.

Thanks,

Pete



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net