Changeset 95 for trunk/Forms/UFormAcronym.pas
- Timestamp:
- Aug 17, 2016, 11:20:37 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAcronym.pas
r89 r95 75 75 I: Integer; 76 76 begin 77 FormCategorySelect.Load(ListBoxCategories.Items); 78 if FormCategorySelect.ShowModal = mrOk then begin 79 for I := 0 to FormCategorySelect.ListBox1.Count - 1 do 80 if FormCategorySelect.ListBox1.Selected[I] then begin 81 ListBoxCategories.Items.AddObject(FormCategorySelect.ListBox1.Items[I], FormCategorySelect.ListBox1.Items.Objects[I]); 82 end; 77 FormCategorySelect := TFormCategorySelect.Create(Self); 78 try 79 FormCategorySelect.Load(ListBoxCategories.Items); 80 if FormCategorySelect.ShowModal = mrOk then begin 81 for I := 0 to FormCategorySelect.ListBox1.Count - 1 do 82 if FormCategorySelect.ListBox1.Selected[I] then begin 83 ListBoxCategories.Items.AddObject(FormCategorySelect.ListBox1.Items[I], FormCategorySelect.ListBox1.Items.Objects[I]); 84 end; 85 end; 86 finally 87 FreeAndNil(FormCategorySelect); 83 88 end; 84 89 end;
Note:
See TracChangeset
for help on using the changeset viewer.