Machsupport Forum

Mach Discussion => Mach Screens => Topic started by: Ben on June 23, 2008, 08:14:44 PM

Title: Assign VB to a button
Post by: Ben on June 23, 2008, 08:14:44 PM
How do I assign VB script to a button in Screen4?  It dosen't have the same popup screen to add VB as the old screen designer. Ben
Title: Re: Assign VB to a button
Post by: Chaoticone on June 23, 2008, 08:26:57 PM
Ben, while you have it open in Screen 4, click on the button to open the button set up box. In the middle of the page you have options of assigning it a system function, G-code, OEM code or VB script edited in Mach. Choose this one and save the screen. Open mach 3 with the screen that has that button in it. Go to top, operator, edit button script. The button should be flashing now. Click on it and add your VB and save. You should be set now. Might want to save current layout too in view. Sometimes the VB has a hard time sticking.

Brett
Title: Re: Assign VB to a button
Post by: Ben on June 23, 2008, 09:12:20 PM
Thanks Brett, that was quick and helpfull. Ben
Title: Re: Assign VB to a button
Post by: Chaoticone on June 23, 2008, 09:28:18 PM
No problem Ben.  :)

Brett