Autor Beitrag
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Sa 15.01.05 20:52 
ausblenden volle Höhe Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
object Form1: TForm1
  Left = 202
  Top = 64
  Width = 833
  Height = 627
  HorzScrollBar.Visible = False
  VertScrollBar.Visible = False
  Caption = 'xFile-Transfer'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  Menu = MainMenu1
  OldCreateOrder = False
  DesignSize = (
    825
    573)
  PixelsPerInch = 96
  TextHeight = 13
  object StatusBar1: TStatusBar
    Left = 0
    Top = 554
    Width = 825
    Height = 19
    Panels = <>
  end
  object ShellTreeView1: TShellTreeView
    Left = 0
    Top = 32
    Width = 201
    Height = 257
    ObjectTypes = [otFolders]
    Root = 'rfMyComputer'
    ShellListView = ShellListView1
    UseShellImages = True
    AutoRefresh = False
    Indent = 19
    ParentColor = False
    RightClickSelect = True
    ShowRoot = False
    TabOrder = 1
  end
  object ShellTreeView2: TShellTreeView
    Left = 0
    Top = 296
    Width = 201
    Height = 257
    ObjectTypes = [otFolders]
    Root = 'rfNetwork'
    ShellListView = ShellListView2
    UseShellImages = True
    Anchors = [akLeft, akBottom]
    AutoRefresh = False
    Indent = 19
    ParentColor = False
    RightClickSelect = True
    ShowRoot = False
    TabOrder = 2
  end
  object ShellListView1: TShellListView
    Left = 202
    Top = 32
    Width = 624
    Height = 257
    ObjectTypes = [otFolders, otNonFolders]
    Root = 'rfMyComputer'
    ShellTreeView = ShellTreeView1
    Sorted = True
    Anchors = [akTop, akRight]
    DragMode = dmAutomatic
    ReadOnly = False
    HideSelection = False
    IconOptions.AutoArrange = True
    MultiSelect = True
    RowSelect = True
    OnDragDrop = ShellListView1DragDrop
    OnDragOver = ShellListView1DragOver
    TabOrder = 3
  end
  object ShellListView2: TShellListView
    Left = 202
    Top = 296
    Width = 624
    Height = 257
    ObjectTypes = [otFolders, otNonFolders]
    Root = 'rfNetwork'
    ShellTreeView = ShellTreeView2
    Sorted = True
    Anchors = [akRight, akBottom]
    DragMode = dmAutomatic
    ReadOnly = False
    HideSelection = False
    MultiSelect = True
    RowSelect = True
    OnDragDrop = ShellListView2DragDrop
    OnDragOver = ShellListView2DragOver
    TabOrder = 4
  end
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 825
    Height = 29
    Caption = 'ToolBar1'
    TabOrder = 5
  end
  object Button1: TButton
    Left = 320
    Top = 192
    Width = 75
    Height = 25
    Caption = 'Button1'
    TabOrder = 6
  end
  object MainMenu1: TMainMenu
    Left = 760
    object Datei1: TMenuItem
      Caption = '&Datei'
    end
    object Bearbeiten1: TMenuItem
      Caption = '&Bearbeiten'
    end
    object Ansicht1: TMenuItem
      Caption = '&Ansicht'
    end
    object Extras1: TMenuItem
      Caption = '&Extras'
    end
    object Hilfe1: TMenuItem
      Caption = '&Hilfe'
    end
  end
  object XPManifest1: TXPManifest
    Left = 792
  end
end
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 15.01.05 20:52 
egal, poste es

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Sa 15.01.05 20:52 
hab ich schon
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 15.01.05 20:56 
Keldorn hat folgendes geschrieben:

Ob dus gleich in deinen slv´s siehst, hängt wieder von deinen Einstellungen im OI ab. setzt autorefresh auf true, oder beim dragdrop ganz am ende:
ausblenden Delphi-Quelltext
1:
(Sender as TShellListView).Refresh;					


sehe ich das autorefresh irgendwo bei den shelllistviews auf true gesetzt?
:autsch:

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Sa 15.01.05 20:58 
Ist doch eigentlich egal!
Es ist ja nichtmal zum kopieren gegangen!
Ich hab ja auch nichts im Explorer gesehen
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 15.01.05 20:59 
Handycommander hat folgendes geschrieben:
Ist doch eigentlich egal!

ist es nicht
Zitat:

Es ist ja nichtmal zum kopieren gegangen!
Ich hab ja auch nichts im Explorer gesehen

ich sehe die kopierten dateien im Explorer, die ich jetzt schon zum 10. mal wieder gelöscht habe.

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Sa 15.01.05 21:07 
jetzt klappts :P
aber es kommt nicht mal irgendso ein dialog, dass es kopiert wird oder so
wie kann ich das jetzt noch in ne listview einfügen und dann löschen, wenn es fertig ist?
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 15.01.05 21:10 
Handycommander hat folgendes geschrieben:
jetzt klappts :P

nach den zich posts: raus mit der sprache: woran hat es gelegen ;)?
Zitat:

aber es kommt nicht mal irgendso ein dialog, dass es kopiert wird oder so

der kommt von alleine, sobald du eine größere datenmenge kopierst.

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Sa 15.01.05 21:12 
Ich hab aus fersehen aufs netzwerklaufwerk kopiert :roll:
Wie kann ich das nun in eine listview einfügen, und wenn es fertig ist, wieder löschen oder so?
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Sa 15.01.05 21:21 
:autsch:

weißt du, wieviel (sinnlose) zeit das jetzt hier war?

if src_slv.Items[i].Selected then dort statt den string aufbauen die einträge in eine listview schreiben.

im übrigen: du brauchst nur ein dargdrop und dragover ereignis. für eine slv erstellen und bei der anderen diese beiden ereignisse im oi einstellen, dadurch, das im code nur mit source und sender gearbeitet wird, bist du allgemein und es geht in beide richtungen.

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Handycommander Threadstarter
ontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1054

Windows XP Pro, Vista
Visual Studio 2008
BeitragVerfasst: Sa 15.01.05 21:24 
Sorry,

bin noch ein anfänger.