Changeset 373 for trunk/Start.pas
- Timestamp:
- Apr 16, 2021, 1:36:07 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r367 r373 57 57 AutoEnemyDownBtn: TButtonC; 58 58 ReplayBtn: TButtonB; 59 procedure ListKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); 60 procedure ListKeyPress(Sender: TObject; var Key: char); 59 61 procedure StartBtnClick(Sender: TObject); 60 62 procedure FormPaint(Sender: TObject); … … 1049 1051 end; 1050 1052 end; 1053 end; 1054 1055 procedure TStartDlg.ListKeyPress(Sender: TObject; var Key: char); 1056 begin 1057 if Key = #13 then StartBtnClick(Sender); 1058 end; 1059 1060 procedure TStartDlg.ListKeyDown(Sender: TObject; var Key: Word; 1061 Shift: TShiftState); 1062 const 1063 DelKey = 46; 1064 begin 1065 if Key = DelKey then DeleteBtnClick(Sender) 1066 else FormKeyDown(Sender, Key, Shift); 1051 1067 end; 1052 1068
Note:
See TracChangeset
for help on using the changeset viewer.