Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: mattyc on July 12, 2020, 07:23:17 AM
-
Hello, I have modified the standard lathe screen with a toggle button to the right of the g-code box. When I made this button with the screen editor and then closed the editor it worked without fail. When I re-loaded mach4 I was unable to click on the button, it was not greyed out, it just wouldn't let me click.
When I open and closed the editor again the button worked. This is a continual pattern of behaviour, as I open Mach4 the button doesn't work, if I open and close the screen editor it then works.
Does anyone know what would cause this behaviour and how to fix it?
-
Hi,
sorry das in deutsch antworte. Mein englisch ist sehr schlecht.
Ich weis nicht ob ich die Frage richtig verstanden habe?
Ist der Button auch aktiviert? (Enabeld)
Vielleicht hilft das weiter?
Gruß Thomas
-
Thanks for the reply. Google Translate is excellent.
The button is enabled. It has all of the same settings that the reset button does which works all the time.
I have also clean installed mach4 on my main computer to see if it was a problem with the install instance. The problem occurs on both computers.
-
I think I need to further clarify my previous post. The enabled property for the button is selected, and has been the whole time. It still does not work.
This is quite frustrating.
-
It would probably help if you posted a screen snip of all of the properties and one of the script code as well.
-
I have attached the properties and events tab for the button. I'm not sure what script you're after? Am I meant to have written a script to accompany the button?
You help is much appreciated.
-
Could not replicate the error. I named it and set all properties the same as yours. Worked as expected even after shutting down and restarting. The only thing I couldn't replicate is the color Silver but I wouldn't think that has anything to do with it. Have you tried deleting it and adding another toggle button?
HTH
RT
-
Thank you very much! You are a legend!
I feel like a complete idiot that I didn't delete the button and try it again, but that is all it took. So much wasted effort reading the screen building guide and playing with properties etc.
I've tried it on both my normal computer and my lathe controller and they both work.
Again, thankyou very much.