Autor Beitrag
cherry
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 136

WinXP - Professional
RAD Studio 2009
BeitragVerfasst: Mo 04.04.05 13:19 
Hey guys ...

Ich habe mir einen eigenen Editor Programmiert nur so zum Spass.
Jetzt möchte ich mit einem doppelklick auf eine txt-Datei
diese in meinem Editor anzeigen lassen.

Wie übergebe ich nun die nötigen Argumente an meinen Editor (Pfad der Datei) ?

Und wie kann ich dieses Argument in Delphi ansprechen ?

:shock: THX

Cherry


Moderiert von user profile iconraziel: Topic aus Sonstiges verschoben am Mo 04.04.2005 um 17:05
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: Mo 04.04.05 13:21 
:welcome:

Schon mal unsere Suche versucht ;) Die findet mehr als es auf den ersten Blick aussieht. Einfach mal was eingeben ;)

AXMD
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Mo 04.04.05 13:34 
:welcome: Im DelphiForum! ;)

ParamStr(n) heißt das Stichwort... :lol: Probier einfach mal aus, was du bekommst, wenn du z.B.
ausblenden Delphi-Quelltext
1:
ShowMessage(ParamStr(1));					

machst. ;)
cherry Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 136

WinXP - Professional
RAD Studio 2009
BeitragVerfasst: Mo 04.04.05 14:40 
Titel: 1000 THX
Vielen dank euch beiden WeBsPaCe & AXMD.

Funktioniert bestens !!!

1000 THX :shock: