Topic: password

hi

Is it possible that before the program starts, an alert is shown and asks for the password?
what is the script?
thank you

Re: password

Hello,


Please check it out:
http://myvisualdatabase.com/forum/viewtopic.php?id=947


Thanks.

Dmitry.

Re: password

Hi
The Password form is OK
when I insert the password, the numbers are shown, is there any scripts that instead of numbers or letters, some stars are shown?
thanks

Re: password

Hi Identity,
For example,
form1.edit1.passwordchar := '*';
Derek.

Re: password

Hi derek
could you please tell me the complete scrip of showing stars instead of the password?
My scrip for password is :

procedure frmLogin_bLogin_OnClick (Sender: string; var Cancel: boolean);
begin
           if frmLogin.edPassword.Text = '1366' then
    begin
        frmLogin.Hide;
        Form1.Show;
    end else ShowMessage('Wrong Password');
end;

Re: password

you can put this code

form1.edit1.passwordchar := '*';

to the last section between begin and end.

begin

end.


final code should be:

begin
form1.edit1.passwordchar := '*';
end.
Dmitry.

Re: password

I tried it but it does not work . the password is still numbers. is this scrip is for the version  1.45?

Re: password

identity wrote:

I tried it but it does not work . the password is still numbers. is this scrip is for the version  1.45?

Please attach your project (zip file without exe and dll)

Dmitry.