Hello Guest it is April 18, 2021, 05:35:38 AM

Author Topic: how to add button  (Read 2860 times)

0 Members and 1 Guest are viewing this topic.

how to add button
« on: January 09, 2010, 05:36:49 PM »
can anyone tell me how i go about adding a button to my screen.
i already have the script. but not sure how to add it.
where in the mach3 folder can i locate the file to enter this information.
where do i find screen 4  as shown in the video tutorials.
thanks paul

Offline Hood

  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: how to add button
« Reply #1 on: January 09, 2010, 05:49:22 PM »
Screen4 is on the download page, near the bottom I think.

Just open your screenset in screen4, click on the Img button at the top to get rid of the main bitmap then  click on either of the button icons on the left and then click on the screen where you want the button then click on the None icon on the left so you dont inadvertently add more buttons. Next double click your button and choose VB Button option. Save your new screen as  something else, that way it wont get overwritten if you upgrade Mach. Next open Mach and view menu then load screens and choose your new screen, lastly you go to Operator menu then Edit Button Scripts, your button should be flashing, click it and in the editor that pops up put your script, and thats it done :)
Re: how to add button
« Reply #2 on: January 09, 2010, 08:00:45 PM »
thanks hood