Le 27 sept. 06 à 07:13 Matin, Phil M a écrit:

Using REALbasic 2006r3, is there any way to display drag notification in a Listbox?

I have Listbox1 and Listbox2. Listbox2 is a multiple-selection list box, and I am dragging row(s) to a single row on Listbox1. I would like for rows which can accept the drop (one cannot) to display a Highlight, but it doesn't seem to work.

I can verify that I am getting the DragOver and DropObject events. In the DragOver event I am identifying which row, setting a Window property, and then calling InvalidateCell(row, 0) to try to force the refresh... it just isn't doing it. Everything is working as expected, except for this cell refresh.

I am doing something wrong, or is this not supported yet?

I don't know wether it is actually doable with RB but have you tried Listbox1.refresh? Maybe also MyWindow.updateNow? These are the 2 things I would try before thinking "RB doesn't allow async operations while dragging"._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to