Ignore:
Timestamp:
Feb 1, 2018, 12:51:32 PM (7 years ago)
Author:
chronos
Message:
  • Added: Show all fields tab in contact form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormContacts.pas

    r3 r8  
    110110  if FormContact.ShowModal = mrOK then begin
    111111    Contact := TContact.Create;
     112    Contact.Parent := Contacts.ContactsFile;
    112113    FormContact.SaveData(Contact);
    113114    Contacts.Add(Contact);
     
    171172  if Assigned(Contacts) then
    172173    ListView1.Items.Count := Contacts.Count
    173     else ListView1.Clear;
     174    else ListView1.Items.Count := 0;
    174175  ListView1.Refresh;
    175176end;
Note: See TracChangeset for help on using the changeset viewer.