I need the equivalent of 'set near on' for a listbox using incremental search (VFP7).
I.e. for a list of several hundred names, if the user types S and there are no names beginning with S the highlight should move to the nearest name, instead of staying in its existing position as it now does.
I've tried various bits of code comparing keystroke with list.value in InteractiveChange & Keypress , with no joy and would be grateful for any help
I.e. for a list of several hundred names, if the user types S and there are no names beginning with S the highlight should move to the nearest name, instead of staying in its existing position as it now does.
I've tried various bits of code comparing keystroke with list.value in InteractiveChange & Keypress , with no joy and would be grateful for any help