default listbox locks

ice-9

Registered User.
Local time
Today, 12:36
Joined
May 21, 2004
Messages
88
Hi,

i did a search, but i coudnt find a sulotion.
I want to selected a item in a listbox when a form opens.
i tried:

Me.ProjectView.Selected(1) = True
but this locks the listbox, and nothingelse can be selected.

i tried it with Me!ProjectView!Selected(1) = True
this returns an error.

how can i fix it?
 
List Box

Change the list box property 'MultiSelect' from 'none' to 'extended'.
This should solve your problem.

Sam
 
Sammy B said:
Change the list box property 'MultiSelect' from 'none' to 'extended'.
This should solve your problem.

Sam

Sam,
Thanks for your reply.
But with your solution i would have a multi select listbox. i dont want it to be possible to select mutiple list elements.
And still one selection locks, and i can selecct other, but only as multi
 

Users who are viewing this thread

Back
Top Bottom