Hello Guest it is April 19, 2024, 09:44:00 PM

Author Topic: Assign VB to a button  (Read 4360 times)

0 Members and 1 Guest are viewing this topic.

Offline Ben

*
  •  79 79
    • View Profile
Assign VB to a button
« 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

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Assign VB to a button
« Reply #1 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
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Ben

*
  •  79 79
    • View Profile
Re: Assign VB to a button
« Reply #2 on: June 23, 2008, 09:12:20 PM »
Thanks Brett, that was quick and helpfull. Ben

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Assign VB to a button
« Reply #3 on: June 23, 2008, 09:28:18 PM »
No problem Ben.  :)

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!