TNGv2 Question about dialogs
Hi,
Is it possible to control what buttons appear in a dialog using the (dlgname,dlg,dlgshow) comments? It appears the default is to have the Cancel and OK. I have a script where I really only want the one button (ie. when something fatal has happened) so having a single button in that case would be better with the behaviour of the OK button so the script can do cleanup if needed.
Cheers
Simon
Re: TNGv2 Question about dialogs
No, this is currently not possible.
Re: TNGv2 Question about dialogs
New version will have option to hide "Cancel" button. See GuessNumber.nc for example.
Re: TNGv2 Question about dialogs
Re: TNGv2 Question about dialogs
I have just installed 2020.03.12 and there doesn't appear to be any dialog in the GuessNumbers.nc script that don't have the cancel button.
1 Attachment(s)
Re: TNGv2 Question about dialogs
Here it is. Both G-code and Python versions.