DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [.13] there is no CANCEL in Settings dialog  (Read 8,385 times)

AbteriX

  • Member #520
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,150
[.13] there is no CANCEL in Settings dialog
« on: October 06, 2005, 03:11 PM »
[.13] there is no CANCEL in Settings dialog...
even if i leave with the [X] button the modifications are taken.

I mean, one should be able to play around in settings
and leave the dialog by canceling the modifcations.

i.e.
i miss an [Cancel]-button.

.
Greetings, Stefan.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [.13] there is no CANCEL in Settings dialog
« Reply #1 on: October 06, 2005, 06:23 PM »
yes, this is a flaw in my programs, i really need to start making the settings dialogs able to cancel without taking effect.
i'm afraid that its a bit hard currently to add that to my existing programs though :(

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: [.13] there is no CANCEL in Settings dialog
« Reply #2 on: October 06, 2005, 06:55 PM »
As a simple way to add this feature (an interim cludge) how about forcing the program to backup the INI file when options are launched, delete the backup on OK and restore it on Cancel or Close ??

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [.13] there is no CANCEL in Settings dialog
« Reply #3 on: October 06, 2005, 06:59 PM »
actually your suggestion is even easier than you say, since the settings arent saved immediately,
so on cancel i could simply reload the settings of interest from the last config file.

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: [.13] there is no CANCEL in Settings dialog
« Reply #4 on: October 06, 2005, 07:08 PM »
:up: Glkad I am useful for something  :-[

Original address: https://www.donationcoder.com/forum/index.php?topic=1110.0