![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm learning Screen4 and building custom screens. I have figured out how to design buttons and assign VB code to each. My question is "Do you have to enter VB code from scratch for each button or is there a way to copy, paste, and edit code from one button to another?" For example, code for finding center of the four corners of work for probe are similar. Would like to enter for one corner, then copy and paste to next corner, edit, and save. Is this possible? How? |
|
#2
| ||||
| ||||
| In Mach3, choose Operator > Edit Button Script and select the button. When the VB window opens, select all and copy. Then again, Operator > Edit Button Script, select other button and paste.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#4
| ||||
| ||||
| Try control-C for copy and control-V for paste. Sounds like it's not copying, though. Try copying and pasting into notepad, then copy and paste from there.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#5
| |||
| |||
| For some reason the mouse click on select all, copy, etc. not working for the "button edit". Does work in other programs, etc. so know is good. Did try with the key board commands and it works. Being able to copy/paste code with many lines of VB sure does speed up things. Thanks for your help. |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |