SRL Archive - MSI Suggestions

Option to not have account information saved


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.

NCDS

2011-12-08 21:23:33

I see no reason not to add it. A simple check box would do the trick and can be added. :)

Coh3n

2011-12-08 21:29:50

From: NCDS
I see no reason not to add it. A simple check box would do the trick and can be added. :)
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.

NCDS

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.


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.

i luffs yeww

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.


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. :)

Coh3n

2011-12-09 00:59:02

From: i luffs yeww
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. :)
Could call MSI_ClearFile if the user hits the No button. Should work I think.

Gu3st...

2011-12-10 20:52:15

Isn't it possible to add custom buttons?

Save?
Yes, No, Clear, Cancel

Coh3n

2011-12-11 02:05:26

From: Zyt3x
Isn't it possible to add custom buttons?

Save?
Yes, No, Clear, Cancel
I'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.