Autor Beitrag
Tanrek
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mo 11.07.05 08:43 
Also, ich hab nen kleines Problem:
Ich habe eine ListView, in der verscheidene Dateien enthalten sind. Das mit den Symbolen und namen ist alles kein Problem, aber nun möchte ich, dass wenn man auf eins der Dateisymbole in der ListView klickt, dies sich auch öffnet... sprich eine .exe wird ausgeführt, ein word-dokument in word geöffnet, usw

wenn es hilft: ich hab die ganzen Dateipfade in einer .ini-Datei gespeichert. Kann also darauf zurückgreifen, wenn das nötig ist :wink:

mfg tanrek
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Mo 11.07.05 08:45 
Suche nach ShellExecute, ShellExecuteEx und/oder CreateProcess.

_________________
Ciao, Sprint.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 11.07.05 08:47 
Hallo,
Wenn du über die Listview an die Dateipfade kommen kannst, dann sollte dir Suche in: Delphi-Library SHELLEXECUTE oder Suche in: Delphi-Forum, Delphi-Library SHELLEXECUTE weiterhelfen.

_________________
We are, we were and will not be.
Tanrek Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mo 11.07.05 08:49 
danke für die schnellen antworten :D ´

eine kleine frage hätt ich dann da noch: wie kann man einen doppelklick erkennen?

mfg
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Mo 11.07.05 08:52 
TListView hat ein Ereignis mit dem Namen OnDblClick. Nährere Informationen findest du in der Delphi Hilfe.

_________________
Ciao, Sprint.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mo 11.07.05 08:53 
In der ListView? Gibbets da nicht das Ereignis OnDblClick? :gruebel:

Edit: Zweimal hintereinander im selben Thread...ich werde alt :lol:

_________________
We are, we were and will not be.


Zuletzt bearbeitet von Gausi am Mo 11.07.05 08:54, insgesamt 1-mal bearbeitet
Tanrek Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mo 11.07.05 08:54 
argh... hab ich net gesehn :?
vielen dank an alle, die mir geholfen habeb :wink: