listbox.selected and its associated boundcolumn

ogg13

Registered User.
Local time
Yesterday, 20:12
Joined
Jan 30, 2007
Messages
49
Hi guys, quick question.

Im trying to programmatically select a listing in a list box,

lstResults.Selected(1) = True

and then have the listbox's Boundcolumn update to reflect what has been selected.

The above snippet of code visually selects the item in the list box just fine... highlights it in black with white text, however the boundcolumn is not updating as I would expect until a user actually clicks on or keys down to the item selected.

How would I go about automatically 'refreshing' the boundcolumn property?

Thanks.
 
Code:
Me.lstResult = Me.lstResult.ItemData(0)
 
Worked brilliantly... thanks again!
 

Users who are viewing this thread

Back
Top Bottom