Changeset 72 for trunk/Forms/UFormContacts.pas
- Timestamp:
- Dec 13, 2021, 8:47:20 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormContacts.pas
r63 r72 473 473 begin 474 474 if FUpdateCount = 0 then DoUpdateInterface; 475 ALoadFromFile.Enabled := Assigned(ListView1.Selected); 476 ASaveToFile.Enabled := Assigned(ListView1.Selected); 477 AModify.Enabled := Assigned(ListView1.Selected); 478 AClone.Enabled := Assigned(ListView1.Selected); 479 ARemove.Enabled := Assigned(ListView1.Selected); 475 AAdd.Enabled := Assigned(Contacts); 476 AModify.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected); 477 AClone.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected); 478 ARemove.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected); 480 479 ASelectAll.Enabled := ListView1.Items.Count > 0; 480 ALoadFromFile.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected); 481 ASaveToFile.Enabled := Assigned(Contacts) and Assigned(ListView1.Selected); 481 482 end; 482 483
Note:
See TracChangeset
for help on using the changeset viewer.