Re: ...one more help...with passwords
Posted by webmaster Guido on July 13, 2000 at 02:22:28:
In Reply to: ...one more help...with passwords posted by Kreso on June 27, 2000 at 00:50:58:
: How to use a password in a program. : I tried with Password Dialog and IF combinations but havent succeded yet... : please help ------------------ Let's assume that the correct password is contained in PW, and that the password form's name is FormPW, and that the user enters the password in EditPW. You might try this: --- with FormPW do begin EditPW := ''; ShowModal; if EditPW.Text = PW then // grant access.. else // show a message that the password was wrong end;
Related Articles and Replies:
|