Changeset 33 for trunk/Forms/UFormCategorySelect.pas
- Timestamp:
- Jul 13, 2016, 2:51:53 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormCategorySelect.pas
r13 r33 18 18 ListBox1: TListBox; 19 19 procedure FormShow(Sender: TObject); 20 procedure ListBox1DblClick(Sender: TObject); 21 procedure ListBox1KeyPress(Sender: TObject; var Key: char); 20 22 private 21 23 { private declarations } … … 26 28 var 27 29 FormCategorySelect: TFormCategorySelect; 30 31 resourcestring 32 SCategory = 'Category'; 33 SRemoveCategory = 'Remove categories'; 34 SRemoveCategoryQuery = 'Do you really want to remove selected categories?'; 28 35 29 36 implementation … … 38 45 procedure TFormCategorySelect.FormShow(Sender: TObject); 39 46 begin 47 end; 48 49 procedure TFormCategorySelect.ListBox1DblClick(Sender: TObject); 50 begin 51 ButtonOk.Click; 52 end; 53 54 procedure TFormCategorySelect.ListBox1KeyPress(Sender: TObject; var Key: char); 55 begin 56 if Key = #13 then ButtonOk.Click; 40 57 end; 41 58
Note:
See TracChangeset
for help on using the changeset viewer.