TApxPhonebook.ShowNewEntryDialog

TApxPhonebook

function ShowNewEntryDialog : Boolean;

Displays a dialog to add a new entry to the phone book.

Use the ShowNewEntryDialog method to add a new entry to the phone book. The default settings used to initialize the new entry are shown in the following table:

Default settings
Type
EntryName
Empty string
EntryType
pbtSerial
Address
Empty string
Settings
8 data bits, no parity, 1 stop bit
Emulation
TTY
Protocol 
ZModem
Custom1
Empty string
Custom2
Empty string
Custom3
Empty string
Custom4
Empty string

This method returns True if the OK button is clicked; False if the dialog was otherwise terminated. If this method returns True, the entry is added to the phone book. See "Add/edit dialog box" in the printed documentation for further information.

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