Changeset 257 for trunk/Packages/CevoComponents
- Timestamp:
- Jun 10, 2020, 9:47:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/DrawDlg.pas
r229 r257 29 29 procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; 30 30 procedure MouseLeave; override; 31 procedure KeyDown(var Key: Word; Shift: TShiftState); override; 31 32 public 32 33 constructor Create(AOwner: TComponent); override; … … 171 172 end; 172 173 174 procedure TDrawDlg.KeyDown(var Key: Word; Shift: TShiftState); 175 begin 176 if Key = VK_ESCAPE then Close; 177 inherited KeyDown(Key, Shift); 178 end; 179 173 180 procedure TDrawDlg.VisibleChangedHandler(Sender: TObject); 174 181 begin
Note:
See TracChangeset
for help on using the changeset viewer.