Antwort auf: Drag & Drop

Startseite Foren Deutsches LiveCode-Forum Drag & Drop Antwort auf: Drag & Drop

#4044
Klaus Major
Administrator

    Hallo Georg,

    ins Feld:

    on dragenter
      set the dragaction to "copy"
    end dragenter
    
    on dragdrop
      put the dragdata["files"] into tDateiListe
      ## Liste mit dem absoluten PFAD zur ge-drop-ten Datei
      ## CR getrennt, falls mehrere FILES gedropt wruden
      ## Nun mach was mit tDateiListe :-)
    
      ## Sehen heisst glauben:
      answer tDateiListe
    end dragdrop

    Gruß

    Klaus