Hallo,
Ich zitiere mal Jörg S. aus dem XProfan.com Forum zum Drag n Drop vom 4.10.2007:
Zitat
Hallo Frank,
es kann doch nicht wirklich im Sinne des erfinders sein, daß eine Zeile einfach geleert wird, wenn man einen "gedragten" Eintrag auf der gleichen Stelle wieder losläßt, oder?
Bug oder Feature?
Code
[COLOR=#ff8800]$I Listview_Funktionen.inc[/COLOR]
[URL='http://xprofan.com/faq.mx?UserMessages']UserMessages[/URL] 16
[URL='http://xprofan.com/faq.mx?Cls']Cls[/URL]
[URL='http://xprofan.com/faq.mx?declare']declare[/URL] hDll&,LV&
hDll&=[URL='http://xprofan.com/faq.mx?UseDll']UseDll[/URL]("Listview.dll")
[URL='http://xprofan.com/faq.mx?InitMessages']InitMessages[/URL](%[URL='http://xprofan.com/faq.mx?hwnd']hwnd[/URL])
LV&=[URL='http://xprofan.com/faq.mx?CreateListView']CreateListView[/URL](%[URL='http://xprofan.com/faq.mx?hwnd']hwnd[/URL],%[URL='http://xprofan.com/faq.mx?hinstance']hinstance[/URL],-1,$[URL='http://xprofan.com/faq.mx?FFFFFF']FFFFFF[/URL],-1,$21)
'SetFont LV&,hFont&
[URL='http://xprofan.com/faq.mx?EnableDragDrop']EnableDragDrop[/URL](LV&,5)
[URL='http://xprofan.com/faq.mx?EnableEdits']EnableEdits[/URL](LV&,1)
[URL='http://xprofan.com/faq.mx?SetCheckboxState']SetCheckboxState[/URL](LV&,-1,1)
[URL='http://xprofan.com/faq.mx?Declare']Declare[/URL] Text$
Text$="Nr;Test,Test"
[URL='http://xprofan.com/faq.mx?SetColumnsFromMem']SetColumnsFromMem[/URL](LV&,[URL='http://xprofan.com/faq.mx?Addr']Addr[/URL](Text$),0)
[URL='http://xprofan.com/faq.mx?WhileLoop']WhileLoop[/URL] 0,10
[URL='http://xprofan.com/faq.mx?AddString']AddString[/URL](LV&,[URL='http://xprofan.com/faq.mx?Format$']Format$[/URL]("00",&[URL='http://xprofan.com/faq.mx?Loop']Loop[/URL]) + "|Test|Test")
[URL='http://xprofan.com/faq.mx?Wend']End[/URL]While
[URL='http://xprofan.com/faq.mx?ShowListView']ShowListView[/URL](LV&,10,10,[URL='http://xprofan.com/faq.mx?WIDTH']WIDTH[/URL](%[URL='http://xprofan.com/faq.mx?hwnd']hwnd[/URL]) - 20,[URL='http://xprofan.com/faq.mx?HEIGHT']HEIGHT[/URL](%[URL='http://xprofan.com/faq.mx?hwnd']hwnd[/URL]) - 20)
SetText %hwnd, str$(GetDllVersion())
[URL='http://xprofan.com/faq.mx?While']While[/URL] 1
[URL='http://xprofan.com/faq.mx?WaitInput']WaitInput[/URL]
[URL='http://xprofan.com/faq.mx?Case']Case[/URL] %[URL='http://xprofan.com/faq.mx?umessage']umessage[/URL] = 16:[URL='http://xprofan.com/faq.mx?Break']Break[/URL]
[URL='http://xprofan.com/faq.mx?Wend']End[/URL]While
[URL='http://xprofan.com/faq.mx?CloseMessages']CloseMessages[/URL](%[URL='http://xprofan.com/faq.mx?hwnd']hwnd[/URL])' _ONCE
[URL='http://xprofan.com/faq.mx?DeleteObject']DeleteObject[/URL] LV&
[URL='http://xprofan.com/faq.mx?FreeDll']FreeDll[/URL] hDll&
Alles anzeigen
Ich habe mir mal eine Testumgebung mit der neusten Listview.dll zusammengebaut.
Bei mir ist dieses Problem immer noch vorhanden.
Wollte mal höflichst anfragen wie es mit der Behebung aussieht.:-)
Oder habe ich etwas übersehen?
Gruß