Autor Beitrag
110022
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: Sa 29.12.07 02:22 
wenn ich eine *.rtf datei mit meinem programm öffne,also mit "öffnen mit" und dann mein programm nehme,dann sehe ich keinen text im richedit feld.
warum ist das so? und wie mache ich dass es dann auch in meinem programm geöffnet wird?dass es im richedit gezeigt wird?

110022
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: Sa 29.12.07 03:15 
Warum das so ist? Wird wohl daran liegen, dass du es nicht programmiert hast.
Du musst also ParamStr auswerten und entsprechend die Datei öffnen...

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
MDX
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 595
Erhaltene Danke: 4

Windows 8.1, Linux Debian 8, Android Lollipop
Delphi, PHP, Java (Android)
BeitragVerfasst: Sa 29.12.07 03:16 
Ich gebe dir mal einen Tipp:

Such die Datei "%DELPHIVERZEICHNIS%/Demos/RichEdit/remain.pas" raus und kuck mal im Quellcode nach.

Hat bei mir auch mal nicht funktioniert, dann habe ich auch so gemacht!
110022 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: Sa 29.12.07 03:17 
danke @ david-kurz ich versuchs mal :)

edit1:unter welchem ereignis muss ich da suchen?

110022
DrRzf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 260

Win XP Prof
D7 Enterprise
BeitragVerfasst: Sa 29.12.07 06:27 
Ich kenn zwar die demo nicht.
Aber ich würd sagen im OnCreate ereignis der Mainform.
evtl auch in OnShow

_________________
rein statistisch gesehen darf man keiner statistik trauen die man nicht selbst gefälscht hat.