DonationCoder.com Forum

DonationCoder.com Software => Mouser's Zone => Screenshot Captor => Topic started by: AbteriX on October 06, 2005, 10:11 AM

Title: [.13] there is no CANCEL in Settings dialog
Post by: AbteriX on October 06, 2005, 10:11 AM
[.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.

.
Title: Re: [.13] there is no CANCEL in Settings dialog
Post by: mouser on October 06, 2005, 01: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 :(
Title: Re: [.13] there is no CANCEL in Settings dialog
Post by: Carol Haynes on October 06, 2005, 01: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 ??
Title: Re: [.13] there is no CANCEL in Settings dialog
Post by: mouser on October 06, 2005, 01: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.
Title: Re: [.13] there is no CANCEL in Settings dialog
Post by: Carol Haynes on October 06, 2005, 02:08 PM
 :up: Glkad I am useful for something  :-[