Jump to content

кнопка просмотра введенного пароля


MSMK

Recommended Posts

у меня не срабатывают события ClientEvents
в логах ошибка Project.exe: 00002A30: 16:27:08 [172.17.1.47]:EUniSessionException : Недопустимый сеанс или тайм-аут сеанса. : Addr: $007E520C

Link to comment
Share on other sites

Just now, Sherzod said:

Вы создаёте контролы динамически ?

Не динамически. В общем перезапустил Delphi, и заработала кнопка отображения пароля. Магия )

Link to comment
Share on other sites

16 hours ago, Volk65 said:

Maybe I misunderstood, but why such difficulties? Why not?: 


procedure TMainForm.Btn1Click(Sender: TObject);
begin
  ShowPsw:=not ShowPsw;
  if ShowPsw then
    UniEdit1.PasswordChar:=#0
  else
    UniEdit1.PasswordChar:='*';
end;

более менее оптимальный способ

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...