i luffs yeww
2011-12-08 21:17:24
It would be a good security addition, and a simple thing to add (according to what Coh3n said).
Thanks.
Thanks.
2011-12-08 21:17:24
2011-12-08 21:23:33
2011-12-08 21:29:50
From: NCDSNot even. Right now, the form calls ShowMessage to notify the user that it's saving the players. Instead of ShowMessage, call MessageDlg and you can set what it does if the Yes, No, or Cancel buttons are pressed.
I see no reason not to add it. A simple check box would do the trick and can be added. :)
2011-12-09 00:01:53
From: Coh3n
Not even. Right now, the form calls ShowMessage to notify the user that it's saving the players. Instead of ShowMessage, call MessageDlg and you can set what it does if the Yes, No, or Cancel buttons are pressed.
2011-12-09 00:55:14
From: NCDS
Very very true. I never think to use MessageDlg for anything…
Edit: Added this. All should be working fine. Let me know if there are any issues. :)
Note: You will have to delete the Players.txt initially. Otherwise you will still have it as this does not handle that.
2011-12-09 00:59:02
From: i luffs yewwCould call MSI_ClearFile if the user hits the No button. Should work I think.
Hate to be a bother, but could you just clear out that file? Or at least remove the password(s). If not I don't think it's a big deal.
Thanks for adding this, by the way. :)
2011-12-10 20:52:15
2011-12-11 02:05:26
From: Zyt3xI'm not sure. I've only ever used it for Yes, No, and Cancel. You have to specify which buttons you want, so I don't know what other kinds of options there are.
Isn't it possible to add custom buttons?
Save?
Yes, No, Clear, Cancel