TNGv2 Question about dialogs

Results 1 to 6 of 6

Thread: TNGv2 Question about dialogs

  1. #1
    Member theRat's Avatar
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    143
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:


  2. #2
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1311
    Downloads
    0
    Uploads
    0

    Default Re: TNGv2 Question about dialogs

    No, this is currently not possible.



  3. #3
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1311
    Downloads
    0
    Uploads
    0

    Default Re: TNGv2 Question about dialogs

    New version will have option to hide "Cancel" button. See GuessNumber.nc for example.



  4. #4
    Member theRat's Avatar
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    143
    Downloads
    0
    Uploads
    0

    Default Re: TNGv2 Question about dialogs

    Awesome! Thank you.



  5. #5
    Member theRat's Avatar
    Join Date
    Jun 2017
    Location
    Australia
    Posts
    143
    Downloads
    0
    Uploads
    0

    Default 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.



  6. #6
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1311
    Downloads
    0
    Uploads
    0

    Default Re: TNGv2 Question about dialogs

    Here it is. Both G-code and Python versions.

    Attached Files Attached Files


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

TNGv2 Question about dialogs

TNGv2 Question about dialogs