Topic: Email Hyperlink
Hi,
Is it possible to make an email address field a hyperlink so tyhat you just need to click the email address and your mail client activates?
Thx,
John
My Visual Database → General → Email Hyperlink
Hi,
Is it possible to make an email address field a hyperlink so tyhat you just need to click the email address and your mail client activates?
Thx,
John
Hi John,
I'd probably do it something like this (see attachment) but I'm sure there are other ways too.
The extra bit in the script is just so you can double-click in the grid rather than having to mouse down to the edit field (call me lazy!!).
Hope this helps,
Derek.
Hello,
Yes, just place Label on form and change follow properties:
Font > Color = clHotLight
Font > Style = U
Cursor = crHand
then create event OnClick for the Label
procedure Form1_Label1_OnClick (Sender: string);
begin
OpenURL('mailto:email@gmail.com');
end;
Also you can download example project:
My Visual Database → General → Email Hyperlink
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi