> >
> >

> >
> >
> > Much better as a scx file.
> >
> > What I meant about using the listbox is why use a listbox at all?
> > If you drag and drop many images you can still see only one file name in the "listbox". As such it acts more like a textbox.
> >
> >
> > Bernard
> >

> >
** If you see someone without a smile, give em one of yours :) **> >
My Blog
>
>
> you want to drag & drop a bomb into my listbox.its normal it is "anti bomb" :-U
> I tried to use a textbox but unsuccessfully. If you have a solution...thanks in advance.
>
> Dont rate please.its only for the pleasure to help.Give me only a feed back.
> Yousfi Benameur
To fix this error,just add this code to your Form::OleDragDrop event:
oDataObject.GetData(15, @aValues )
If EMPTY(aValues) &&<------------------------this is new
Return
Endif &&<-------------------- End of new code
For i = 1 To Alen(aValues)
and make the list look like a proper listbox.
Resize it, and AutoHideScrollbar = 0
Now that was much easier to do with a .scx than a prg.
Bernard
** If you see someone without a smile, give em one of yours :) **My Blog