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..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top