|
- Special cases
- Application in the background: Android 10 specific case
- Required application feature
ContactEdit (Function) In french: ContactEdite
// Open the current contact's form in edit mode // Global variables gCurrentContact is Contact
...
// - Click on BTN_Modify // Starts editing the contact ContactEdit(gCurrentContact)
Syntax Versions 17 and later
Opening the form of a contact in edit mode (from Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactEdit(<Contact>)
<Result>: Boolean - True if the contact was modified,
- False otherwise. The ErrorOccurred variable is set to True if an error occurs. To find out the error details, use ErrorInfo.
Versions 22 and later New in version 22
<Contact>: Contact variable Name of the Variable of type Contact corresponding to the Contact whose record is to be opened. This contact must exist in the database of contacts found on the device. New in version 17
Opening the form of a contact in edit mode (from Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactEdit(<Contact>)
<Result>: Boolean - True if the contact was modified,
- False otherwise. The ErrorOccurred variable is set to True if an error occurs. To find out the error details, use ErrorInfo.
Versions 22 and later New in version 22
<Contact>: Contact variable Name of the Variable of type Contact corresponding to the Contact whose record is to be opened. This contact must exist in the database of contacts found on the device.
Opening the form of a contact in edit mode (from Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactEdit(<Contact>)
<Result>: Boolean - True if the contact was modified,
- False otherwise. The ErrorOccurred variable is set to True if an error occurs. To find out the error details, use ErrorInfo.
Versions 22 and later New in version 22
<Contact>: Contact variable Name of the Variable of type Contact corresponding to the Contact whose record is to be opened. This contact must exist in the database of contacts found on the device.
Warning
From version 17 (69), this syntax is kept for backward compatibility.
Opening the form of a contact in edit mode (before Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactEdit([<Contact identifier>])
<Result>: Boolean - True if the contact was modified,
- False otherwise. The ErrorOccurred variable is set to True if an error occurred. For more details about the error, use the function ErrorInfo.
Versions 22 and later New in version 22
<Contact identifier>: Optional character string Identifier of contact to edit. This identifier is found in the mContact.ID variable of the Contact structure. If this parameter is not specified or if it corresponds to an empty string (""), the form of the current contact is displayed. Reminder: To browse the contacts found on the device, use the following functions: ContactFirst, ContactNext, ContactPrevious and ContactLast.
Related Examples:
|
Cross-platform examples (WINDEV Mobile): WM Managing Contacts
[ + ] This example presents the management of contacts for Android et iOS. It is used o: - list the contacts found on the phone - call the contacts - send SMSs to the contacts - ...
|
Business / UI classification : Business Logic Component : wd260android.jar
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |