Highlight item in Listbox

K

Katrina

Is there a problem with setting the value of the first item as the default
value of the control?
 
G

Guest

Hi...

Sorted it out..

Sub listboxname_gotfocus()
Listboxname.selected(1) = true
end sub

highlights the first item..
 
Top