RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPasswordDialog.AddButtonClick Method

Controls what happens when the Add button is clicked.

Pascal
procedure AddButtonClick(Sender: TObject);
C++
__fastcall AddButtonClick(TObject * Sender);

AddButtonClick adds the password in the edit box to the current session. Then AddButtonClick clears and sets focus to the edit box. 

After the AddButtonClick method is called, the OK Button is enabled, regardless of whether the edit box currently contains a password. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!