LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Option to copy boolean text

Solved!
Go to solution

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?

0 Kudos
Message 1 of 3
(2,080 Views)
Solution
Accepted by topic author PadmanabanJ

@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...

0 Kudos
Message 2 of 3
(2,037 Views)

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.

ʍolɟɐʇɐp ʞuıɥʇ
0 Kudos
Message 3 of 3
(2,026 Views)