set default and cancel buttons (issue #1126)

git-svn-id: trunk@7954 -
This commit is contained in:
vincents 2005-10-11 11:05:25 +00:00
parent bb847bd425
commit 7549daa294

View File

@ -184,6 +184,7 @@ begin
Parent:=Self;
Caption:=lisMenuOpen;
OnClick:=@OpenButtonClick;
Default:=true;
end;
CancelButton:=TButton.Create(Self);
@ -192,6 +193,7 @@ begin
Parent:=Self;
Caption:=dlgCancel;
ModalResult:=mrCancel;
Cancel:=true;
end;
end;