Autor Beitrag
Bockscar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 105



BeitragVerfasst: Mi 27.04.05 11:49 
Fuer mein Spiel gibt es natuerlich auch eine Anleitung. Ich habe mir einen Button 'Anleitung' erstellt, der, wenn er geklickt wird, die Anleitung anziegen soll.

Habe die Suchfunktion benutzt und mich durchgewurschtelt, da es sicher nicht schwer ist, aber leider nichts brauchbares gefunden.

hoffe auf einig antworten. handelt sich um ein schulprojekt, dass bald fertig sein muss.
DarkHunter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 477

Win XP
D3 Prof, D2005 PE
BeitragVerfasst: Mi 27.04.05 12:22 
Ich gehe mal davon aus du weißt wie man text dateien ausließt (ist hier schon oft genug erwähnt worden) werde ich es nicht weiter erläutern

Also
am einfachsten wäre ein Weiteres Form mit einem Memo/Label drinne welches den Text enthält. Dieses Memo/Label befindet sich auf einem 2ten Forumlar, welches du mit Klick auf den Button sichtbar machst.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Mi 27.04.05 12:23 
ich glaube er sucht das hier:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
uses ShellAPI;
...

ShellExecute(0, 'open', PChar('spielanleitung.txt'), '', '', SW_SHOW);

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
DarkHunter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 477

Win XP
D3 Prof, D2005 PE
BeitragVerfasst: Mi 27.04.05 12:25 
user profile iconretnyg hat folgendes geschrieben:
ich glaube er sucht das hier:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
uses ShellAPI;
...

ShellExecute(0, 'open', PChar('spielanleitung.txt'), '', '', SW_SHOW);


Kann auch sein, dann wird das aber nicht im Programm direkt geöffnet, bei meiner Lösung hingegen schon...