avoid selection in list box when first opened

  • Thread starter Thread starter george
  • Start date Start date
G

george

Hi,
On a tab page a have a subform with a list box in it. When
I view the tab page the first record of the listbox is
highlighted in black and this doesn't look good.

Is it possible to either avoid having the record
highlighted or (at least) change the selection color to
something else except black?

thanks in advance, george
 
George,

If you want to force the user to select a record in a listbox, use:

lstMyListBox.Value = Null

This assumes your bound column doesn't contain nulls. Use this
statement in the SubForm's Load event.

-Ken
 
Back
Top