Home All Groups Group Topic Archive Search About
Author
29 Nov 2007 5:54 AM
HardySpicer
I have a List Box which I fill with files and that bit works ok.
I then want to click on one of the files to select it from the many
others.
Is this possible in a list box?

Thanks

Hardy

Author
29 Nov 2007 6:03 AM
Cor Ligthert[MVP]
>I have a List Box which I fill with files and that bit works ok.
> I then want to click on one of the files to select it from the many
> others.
> Is this possible in a list box?
>
Yes

Cor
Author
29 Nov 2007 7:58 AM
HardySpicer
On Nov 29, 7:03 pm, "Cor Ligthert[MVP]" <notmyfirstn***@planet.nl>
wrote:
> >I have a List Box which I fill with files and that bit works ok.
> > I then want to click on one of the files to select it from the many
> > others.
> > Is this possible in a list box?
>
> Yes
>
> Cor

Can you please point me in teh right direction?

Thanks

Hardy
Author
29 Nov 2007 6:08 PM
Cor Ligthert[MVP]
Hardy,

Assuming that you fill the itemarray, it is just using the
listbox.selecteditem

http://msdn2.microsoft.com/en-us/library/system.windows.forms.listbox.selecteditem.aspx

However what than?

Cor