Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Mike Hawco
|
Aug 10, 2010 - 12:37 PM
|
I want to implement a variation on the selection of list box item when a key is pressed. The default is that when a key is pressed the next item that starts with the key is selected. I would like the next item with the addition of the character. For example, if the list items are as follows: MAA, MAB, MAC, MBA, MBB, BMA and I select ’M’ I would like ’MAA’ selected. If I then enter ’B’ I would like ’MBA’ selected not ’BMA’ as is currently the norm. Is this currently a supported configuration or would support for this functionality need to be implemented?
|
|
Technical Support
|
Aug 11, 2010 - 8:14 AM
|
Prof-UIS does not implement word-based text search. The default single character search behavior is inherited from the classic Windows Common Controls library. You can implement multi-character word search in any window. You should handle the keyboard input, accumulate typed characters into CString object, search and select items. The keyboard handler should empty the CString object in case of any non-searchable keys were pressed (arrow keys, ect.).
|
|