LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cut copy option through buttons

hi,
   i am planning to give cut copy paste options ,at the press of different boolean buttons,how can i make it....?????
 
i know there is an option available to make the same in run time menu,,,,, but my question is how can i implement same using the different buttons.....
0 Kudos
Message 1 of 8
(4,364 Views)

If you know how to code for cut-copy-paste thro' rtm, then it is child's play to code it for buttons. Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
Message 2 of 8
(4,350 Views)
What are you trying to cut and copy from?  If it's something simple like a .NET container that has a rich text box inserted into it, then you can use invoke nodes to do copy, cut, and paste.  Then, all you would need to do is have an event structure that on a value change of your cut button would invoke the cut method of the container, and so on and so forth.  I hope that makes sense, but it probably won't if you are trying to cut or copy something else.  What exactly is your goal with this?
Brian Coalson

Software Engineer
National Instruments
0 Kudos
Message 3 of 8
(4,331 Views)
Like Brian said, there are many ways to "cut, copy and paste" things depending on what is is that you are wanting to do. Please say more about what the GUI is like and how you want it to work.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 8
(4,318 Views)

hi,

  thanks for all ur reply..

 

what i simply need is,, what are all utilities that we can do with the menu editor need to be done at the press of  buttons..... please refer the sample picture for apt details....

 

0 Kudos
Message 5 of 8
(4,312 Views)
Yes, I understand that you want buttons to do the editing functions. But to tell you how to make them do what you want we need to know how you want the user interface in your application to work. In other words, when someone presses the "copy" button, what do you want to have happen?
  • What data should the code copy?
  • How is the data selected?
  • Where is the data at?
  • Where do you want it put after the copy?
  • Are you going to want to paste it into another application?
What do you want the buttons to do?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 8
(4,307 Views)
See the attached VI & modify it as per your requirement.
- Partha ( CLD until Oct 2027 🙂 )
Message 7 of 8
(4,295 Views)
hi,
   thanks for all ur reply,
 
                       actually user will be selecting the string control and he wil try to copy or cut the data through my buttons,and he will try to paste in other string controls.....
 
i feel very satisfied using same application using runtime menu,its very apt for my requirement,.....but i feel dificulty only while i trying through buttons...
 
 
0 Kudos
Message 8 of 8
(4,282 Views)