![]() |
Hyerlink oder Emailadresse in DBEdit
Hallo
Ich möchte gerne in ein DBEdit Feld einen Hyperlink oder eine emailadresse eingeben und nach der Eingabe wird der Eintrag las effektiven Hyperlink zum anklicken erkannt. Wie geht das? Michael |
Re: Hyerlink oder Emailadresse in DBEdit
Zitat:
Delphi-Quellcode:
function OpenURL(const url: string): Boolean;
begin // uses Shellapi nicht vergessen Result := ShellExecute(Application.MainForm.Handle, 'open', PChar(url), nil, nil, SW_SHOW) > 32; end; .....DBEdit1Doubleclick(.....); begin OpenURL(DBEdit1.Text); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:26 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz