?? modipass.pas
字號:
unit modipass;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Mask, ExtCtrls, DBCtrls, Grids, DBGrids;
type
TPassModifyDialog = class(TForm)
Label1: TLabel;
Label2: TLabel;
btnOk: TButton;
btnCancel: TButton;
Label4: TLabel;
EditOldPS: TEdit;
EditNewPS: TEdit;
EditRetryNewPS: TEdit;
procedure FormActivate(Sender: TObject);
procedure SpeedButton1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
function Execute:Boolean;
end;
var
PassModifyDialog: TPassModifyDialog;
implementation
{$R *.DFM}
{ TFormPassEdit }
function TPassModifyDialog.Execute:Boolean;
begin
{ Result := False;
if ShowModal=mrOk then
begin
EditPassword.DataSource.DataSet.Post;
Result := True;
end;}
end;
procedure TPassModifyDialog.FormActivate(Sender: TObject);
begin
{ EditPassword.DataSource := DataModuleAll.dsOperator;
EditUserName.DataSource := DataModuleAll.dsOperator;
EditUserNo.DataSource := DataModuleAll.dsOperator; }
EditOldPS.Text := '';
EditNewPS.Text := '';
EditRetryNewPS.Text := '';
EditOldPS.SetFocus;
end;
procedure TPassModifyDialog.SpeedButton1Click(Sender: TObject);
begin
{ with DataModuleAll.TableOperator do
begin
FormMain.RightsDialog.Rights := FieldByName('Rights').AsString;
if FormMain.RightsDialog.Execute then
begin
Edit;
FieldByName('Rights').AsString := FormMain.RightsDialog.Rights;
end;
end;}
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -