MATLAB Answers

Email link in GUI dialog box

26 views (last 30 days)
Celine Cluzel
Celine Cluzel on 1 Jul 2011
Commented: Adam Danz on 26 Jan 2020
I've developed an application and on the front page, the ABOUT button opens a small window containing with version number and contact details to get help, i.e. name, phone number and email address. Is it possible to embed the email address as a 'mailto' link as opposed to standard text?
Thanks Celine


Sign in to comment.

Accepted Answer

Jan on 1 Jul 2011
You can create a button, which calls WEB in the callback:
Yair has described how a borderless button can be drawn: Undocumented:Borderless button. If you use this, care for at least an underlined style, otherwise the user does not get the impression, that this is a link.


Celine Cluzel
Celine Cluzel on 1 Jul 2011
Brilliant, thanks for your help, it works perfectly.
Adam Danz
Adam Danz on 26 Jan 2020
8.5 years later....
Here's a demo.
In that demo, replace this line
th.ButtonDownFcn = @(~,~)web('');
with this
th.ButtonDownFcn = @(~,~)web('');

Sign in to comment.

More Answers (0)

Sign in to answer this question.



Translated by