Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

UI_PICT_Button and email

Nader Belal
Mentor

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 ?

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
1 ACCEPTED SOLUTION

Solution

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"

Joachim Suehlo . AC12-25 . MAC OSX 10.15 . WIN10

View solution in original post

2 REPLIES 2

Solution

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"

Joachim Suehlo . AC12-25 . MAC OSX 10.15 . WIN10

View solution in original post

Nader Belal
Mentor

Thank @Joachim Suehlo , it worked as a sharm 

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!