584,854 active members*
4,386 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2017
    Posts
    143

    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

  2. #2
    Join Date
    Mar 2017
    Posts
    1295

    Re: TNGv2 Question about dialogs

    No, this is currently not possible.

  3. #3
    Join Date
    Mar 2017
    Posts
    1295

    Re: TNGv2 Question about dialogs

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

  4. #4
    Join Date
    Jun 2017
    Posts
    143

    Re: TNGv2 Question about dialogs

    Awesome! Thank you.

  5. #5
    Join Date
    Jun 2017
    Posts
    143

    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
    Join Date
    Mar 2017
    Posts
    1295

    Re: TNGv2 Question about dialogs

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

Similar Threads

  1. TNGv2 for Mac OSX
    By tantemay in forum PlanetCNC
    Replies: 47
    Last Post: 08-24-2023, 07:12 PM
  2. [TNGv2] - Expr.txt
    By PlanetCNC in forum PlanetCNC
    Replies: 14
    Last Post: 05-29-2023, 06:20 PM
  3. [TNGv2] - 2021-10-08
    By PlanetCNC in forum PlanetCNC
    Replies: 5
    Last Post: 10-11-2021, 08:17 PM
  4. Replies: 7
    Last Post: 11-23-2019, 12:50 PM
  5. [TNGv2 - API]
    By PlanetCNC in forum PlanetCNC
    Replies: 0
    Last Post: 10-27-2019, 11:23 PM

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
  •