Changeset 41 for trunk/Forms/UItemAdd.pas
- Timestamp:
- Mar 9, 2012, 9:40:05 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UItemAdd.pas
r40 r41 23 23 procedure FormCreate(Sender: TObject); 24 24 procedure FormDestroy(Sender: TObject); 25 procedure FormKeyPress(Sender: TObject; var Key: char); 25 26 procedure FormShow(Sender: TObject); 26 27 private … … 100 101 end; 101 102 103 procedure TItemAddForm.FormKeyPress(Sender: TObject; var Key: char); 104 begin 105 if Key = #27 then Close; 106 end; 107 102 108 procedure TItemAddForm.FormShow(Sender: TObject); 103 109 begin … … 124 130 Panel1.Controls[I].Free; 125 131 126 //Report.Load(SelectedObject, SelectedObject.PrimaryKey + ' = ' +127 //IntToStr(SelectedItemId));132 Report.Load(SelectedObject, SelectedObject.PrimaryKey + ' = ' + 133 IntToStr(SelectedItemId)); 128 134 129 135 // Load column names
Note:
See TracChangeset
for help on using the changeset viewer.