Hello Guest it is April 26, 2024, 03:39:34 PM

Author Topic: LUA - add button to disabled whilst running policy  (Read 522 times)

0 Members and 1 Guest are viewing this topic.

Offline Rimmel

*
  •  208 208
    • View Profile
LUA - add button to disabled whilst running policy
« on: May 26, 2022, 10:03:15 AM »
I have added a buttion to the main screen but like many other buttons I do not want it active whilst cnc gcode is running or when the axis are being controlled manually. Any pointers would be appreciated.

Thanks  :)
Re: LUA - add button to disabled whilst running policy
« Reply #1 on: May 26, 2022, 01:04:59 PM »
In the properties of the button there is 'Enabled States'. Just select 'Idle' and the button will only be enabled when the state is idle

Offline Rimmel

*
  •  208 208
    • View Profile
Re: LUA - add button to disabled whilst running policy
« Reply #2 on: May 26, 2022, 02:31:15 PM »
In the properties of the button there is 'Enabled States'. Just select 'Idle' and the button will only be enabled when the state is idle

Thank you