Autor Beitrag
Regan
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 28.07.06 09:11 
Hallo,
ich habe da ein etwas spezielles Problem:
Mein Programm ist immer im Vordergrund. Jetzt möchte ich, dass wenn man eine Datei, meinetwegen auf dem Destop, anklickt und dann in mein Programm (genauer auf ein TPanel), dass dann in einer ListBox der Pfad des Programms erscheint.
Wie macht man das?
azubi_20
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 593

WinXP SP2, Ubuntu 8.4
D7 Enterp., D2005 Prof., Java (Eclipse 3.4.0)
BeitragVerfasst: Fr 28.07.06 10:03 
Arbeite mit drag'n'drop und werte dann den Parameter aus.
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Fr 28.07.06 18:08 
OK. Danach habe ich schon gesucht (und sogar hier in der Libary Beiträge gefunden), aber die funktionieren alle nicht. Zumindest nicht bei mir. Es wird dort immer von einem DragEnter-Event gesprochen. Das hat aber meine TListBox gar nicht.
azubi_20
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 593

WinXP SP2, Ubuntu 8.4
D7 Enterp., D2005 Prof., Java (Eclipse 3.4.0)
BeitragVerfasst: Mo 31.07.06 09:21 
Schau dir das mal an :
www.swissdelphicente.../showcode.php?id=493
Damit kannst du genau das machen, was du willst...
Regan Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Mo 31.07.06 12:22 
Danke. Genau sowas habe ich gesucht.