Sign in to follow this  
Followers 0
creeping

Update listbox contents as user types

2 posts in this topic

Im sure there is a function to do this or a better way than I currently have.

I have a listbox, as the user types weather the listbox has focus or they type in an edit box (not sure which way I want to do it yet) I want to update the listbox to match what they are typing and remove any listbox objects that dont not match. (basically call a function I will create each time they press a key so I can change the way matching occurs)

I could set hotkeys for lots of characters (which I dont want to do)

Get the $msg each time the main loop executes (too CPU intensive)

Is there a better way?

Thanks

Share this post


Link to post
Share on other sites



Check out the example for this UDF, which at least does partially what you want...

It does "match what they are typing", but it doesn't delete the other entries that

don't match.. Looks like you have to create a UDF yourself for that part to work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0