TApxPhonebook.ShowEditDialog

TApxPhonebook

function ShowEditDialog(
  EntryToEdit : TAxPBookRecord) : Boolean;

Displays a dialog to edit a phone book entry.

Use the ShowEditDialog method to edit an existing phone book entry through a dialog. EntryToEdit is a TAxPBookRecord containing the phone book entry to edit. You can obtain a TAxPBookRecord to an existing phone book entry by setting the EntryName to the name of the entry, then reading the SelectedEntry property. See "Add/edit dialog box" in the printed documentation.

This method returns True if the OK button is clicked. If the dialog is closed in any other manner, this method returns False.

See also: AddEntry, DeleteEntry, EntryName, Execute, ShowNewEntryDialog