lenin
Nov 16th, 2000, 10:25 AM
Hi,
can anyone tell me if there is an event fired when the contents of a list box change. I don't think onchange is the required event: MS says:
This event is fired when the contents are committed and not while the value is changing. For example, on a text box, this event is not fired while the user is typing, but rather when the user commits the change by leaving the text box that has focus.
I have a list box which automatically matches a partial string as it is typed in a text box with its nearest full string in the list box. So as someone is typing the selected item in the text box changes. I need the method ( if one exists ) which is when when the contents change AND gfocus is not lost.
Any help greatly appreciated.
Lenin.
can anyone tell me if there is an event fired when the contents of a list box change. I don't think onchange is the required event: MS says:
This event is fired when the contents are committed and not while the value is changing. For example, on a text box, this event is not fired while the user is typing, but rather when the user commits the change by leaving the text box that has focus.
I have a list box which automatically matches a partial string as it is typed in a text box with its nearest full string in the list box. So as someone is typing the selected item in the text box changes. I need the method ( if one exists ) which is when when the contents change AND gfocus is not lost.
Any help greatly appreciated.
Lenin.