Autor Beitrag
Supernova
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 108

WinXP
D7 Prof
BeitragVerfasst: So 18.01.04 15:46 
Wie kann ich einen Hyperlink in mein Programm einbinden ??
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: So 18.01.04 17:06 
Du könntest einfach ein Label verwenden und auf das OnClick-Ereignis reagieren. Um den Link dann zu öffnen, kannst du ShellExecute verwenden. Such einfach mal im Forum, da wirst du 100%-ig fündig. :)

_________________
Viele Grüße
Jakob
raven_22
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 95

Win XP pro
D7 Enterprise
BeitragVerfasst: Di 20.01.04 15:08 
Hi !

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ShellApi;
....


procedure TForm1.Label2DblClick(Sender: TObject);
begin
ShellExecute(Application.Handle, 'open', PChar('mailto:Ich@wars_nicht.de'), nil,
nil, sw_ShowNormal);
end;


procedure TForm1.Label1Click(Sender: TObject);
begin
ShellExecute(Application.Handle, 'open', PChar('http://www.was-auch-immer.de'), nil,
nil, sw_ShowNormal);
end;


www.tutorials.de/sho...&threadid=137310

// So einfach ! :wink:
// Das ganze Projekt, kannst von mir bekommen !
// Mail an raven_22@gmx.de

// Gruß raven 8)[/delphi]

_________________
---_-= raven_22 =-_---