2021-11-30 11:12 AM - last edited on 2024-09-24 10:30 AM by Doreena Deng
Hi everyone,
GDL has UI_BUTTON function that enables the library part to do certain functions, by selecting the "Type" of function we want. Same goes with UI_PICT_BUTTON (with the obvious differences).
And from the different "Type"s available, is UI_LINK, which if used and pressed by the user "the URL in expression is opened in the default web browser" (copied from GDL Manual).
How to make a UI_BUTTON if pressed it will open a new email with the desired email address to be sent ?
Solved! Go to Solution.
2021-11-30 02:29 PM
I use this routine:
str_version = "0.23"
UI_BUTTON UI_LINK, "Support Request", 340, dy - 5, 100, 25 , 1 , \
"mailto:js@xyz.de?subject=Support request for bp_fallrohr_22 " + str_version + "&body=Hello Joachim, %0A%0A" UI_TOOLTIP "send support request"
2021-11-30 02:29 PM
I use this routine:
str_version = "0.23"
UI_BUTTON UI_LINK, "Support Request", 340, dy - 5, 100, 25 , 1 , \
"mailto:js@xyz.de?subject=Support request for bp_fallrohr_22 " + str_version + "&body=Hello Joachim, %0A%0A" UI_TOOLTIP "send support request"
2021-11-30 03:56 PM
Thank @Jochen Suehlo , it worked as a sharm