09-23-2019 04:09 AM
Hi,
I'm using a Boolean control in the UI. Some emailID will be provided as the boolean text. So, whenever the user clicks on this button, it will navigate to the webpage.
I should also provide an option to copy the email text directly from the UI. Is it possible to do it without triggering user event?
Solved! Go to Solution.
09-23-2019 05:33 AM
@PadmanabanJ wrote:
I'm using a Boolean control in the UI. Some emailID will be provided as the boolean text. So, whenever the user clicks on this button, it will navigate to the webpage.
I should also provide an option to copy the email text directly from the UI. Is it possible to do it without triggering user event?
Not sure how a user event would help... Normal events are required.
You have options:
1) Make a Boolean button and a string. The string can be copied, the Boolean clicked.
2) Make two Boolean buttons, one to go to the page, one to copy it to the clipboard.
3) Catch the mouse enter event on the Boolean button. When entered long enough, show a string indicator on top of the button, and the cursor will change to a string cursor.
The last two solutions work with events. Those events can be utilized as callback events, in an XControl, or in a dynamically started VI, so you don't have the clutter in your main diagram.
There are probably other solutions...
09-23-2019 05:44 AM
l would create a run-time menu for the boolean control. So the user could do right-click -> copy Email-ID. This of course needs a user event for the menu selection.