Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Smart User Interface
  New Posts New Posts RSS Feed - Updated version of SUI.INPUT.LIST
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedUpdated version of SUI.INPUT.LIST

 Post Reply Post Reply
Author
Message
mlucas67 View Drop Down
Senior Member
Senior Member


Joined: February 12 2007
Location: United States
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlucas67 Quote  Post ReplyReply Direct Link To This Post Topic: Updated version of SUI.INPUT.LIST
    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
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

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