View Full Version : ListBox.SelectItem
02-10-2004, 05:09 PM
Should the ListBox.SelectItem cause the On Select event to fire for a list box? It changes the highlighted item but does not cause the actions in the On Select event to fire.
02-10-2004, 06:26 PM
Yep it should, see attached. Can you post the file?
Creative Director, Indigo Rose Software (http://www.indigorose.com)
02-10-2004, 07:46 PM
Here is an example of what I was trying to do. I have an event, in this case a timer, that when hit sets the selected item to the next in line within the list box. When I use the ListBox.SelectItem it does not cause the On Select event to fire, which in the case of this demo is a timed message.
I was just curious if that was the way it was supposed to function? The ListBox.SelectItem does not cause the On Select event to trigger. If that is the case, can someone explain the reasoning behind that?
If I want to use it in this fashion, should I change to using the On Focus event instead? Use the SelectItem to select my item and then change focus to the ListBox to cause an event to trigger.
Powered by vBulletin™ Version 4.0.6 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.