Alan71
Messages postés530Date d'inscriptionlundi 3 juin 2002StatutMembreDernière intervention13 juin 2004 2 oct. 2002 à 23:08
En drag-drop, je vois pas trop. Mé sinon, tu fais un click sur ta list, tu enregistre le listindex dans une variable et quand tu reklick, tu déplace...
Alan71
Messages postés530Date d'inscriptionlundi 3 juin 2002StatutMembreDernière intervention13 juin 2004 3 oct. 2002 à 19:39
je vais essayer en 10 l. (/!\ code en live!)
Dim TMP as string
Dim TMPI as integer
public sub list-click()
if tmpi=vbnullstring then
tmpi=list.listindex
tmp=list.list(list.listindex)
exit sub
end if
list.removeitem TMPI
list.additem tmp, list.listindex
list.additem list.list(list.listindex),tmpi
list.removeitem list.listindex
tmpi=vbnullstring
end sub