Re: LOGIN


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by WAllison on December 20, 2001 at 00:26:52:

In Reply to: LOGIN posted by deadlock on October 04, 2001 at 14:37:49:

: hello...
: I'm a new programmer in delphi 5.2 of this language and i want to know if someone knows how to create a login security in the application.

The easiest way to do it would be to create a form with 2 mask edits(Username/Password) plus 2 buttons(use bitbtns and set results to mrOK and mrCancel). Then call it with:

if FormName.ShowModal = mrOK(this is returned when the bitbtn is pressed - mrCancel for cancel(obvious) then try and validate the username/password - these will need to be stored somewhere - possibly in a file - you may need to encrypt the passwords.


Related Articles and Replies


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]