Hello Guest it is April 11, 2021, 04:05:24 PM

Author Topic: A Get It Out Of The Way button???  (Read 6864 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: A Get It Out Of The Way button???
« Reply #10 on: August 11, 2014, 07:03:05 AM »
Files below,

many thanks

Dave
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: A Get It Out Of The Way button???
« Reply #11 on: August 11, 2014, 07:20:58 AM »
Which button do you have the code in?
Hood

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: A Get It Out Of The Way button???
« Reply #12 on: August 11, 2014, 07:22:33 AM »
Ok I see now, Park Gantry button.
You will have to alter it to a VB button in the screen designer. I think you have it as a code button and for that you can only have one line of code, so that is likely your problem.
Hood

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: A Get It Out Of The Way button???
« Reply #13 on: August 11, 2014, 07:32:59 AM »
Hmm, ok thanks.

I can't see how that's done in Machscreen, I must admit that that program is a difficult piece of work, for me at least. :(

I see no VB button feature at all, just "Button".
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: A Get It Out Of The Way button???
« Reply #14 on: August 11, 2014, 07:37:59 AM »
Double click your button and you will see similar to below, just choose the VB option. Once saved then go into Mach again then on Operator menu choose Edit Button Script. Your button will be flashing, click it and the editor will open, paste your code in then File and Save and then exit the editor.

Hood

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: A Get It Out Of The Way button???
« Reply #15 on: August 11, 2014, 07:48:11 AM »
Is that from MachScreen?

I can't double-click anything in my version, clicking just brings up a little box with the image name, button name etc in it.

No double-click option.

I have version 1.60
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: A Get It Out Of The Way button???
« Reply #16 on: August 11, 2014, 07:53:56 AM »
Its Screen4, I dont use MachScreen so dont know how to do it in that.

Hood

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: A Get It Out Of The Way button???
« Reply #17 on: August 11, 2014, 08:29:07 AM »
Excellent, downloaded, edited, working nicely now :)

Many thanks
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: A Get It Out Of The Way button???
« Reply #18 on: August 11, 2014, 08:55:13 AM »
One little thing, is there a way to get the button text on two lines in screen4??

The "Lines" box is greyed out.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: A Get It Out Of The Way button???
« Reply #19 on: August 11, 2014, 09:10:01 AM »
If you are meaning the actual Text on the button then I dont think so. I always use Image buttons so can not be 100% sure though.
If it can be done in MachScreen then just open your screenset in it and alter.
Hood