|
- Special cases
- Required application feature
- Application in the background: Android 10 specific case
ContactDisplay (Function) In french: ContactAffiche
// Syntax kept for backward compatibility // Opens the form of the first contact found on the phone IF ContactFirst(contactPhone) = True THEN ContactDisplay() END
//Procedure used to display the contact selected in a Looper control PROCEDURE DisplayContact(nContactNum is int) tContact is Contact IF nContactNum <= gtabContacts..Count THEN tContact = gtabContacts[nContactNum] // Initializes the contact VariableReset(gCurrentContact) gCurrentContact = tContact ContactDisplay(gCurrentContact) END
Syntax Versions 17 and later
Displaying a contact from a Contact variable (from Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactDisplay(<Contact>)
<Result>: Boolean - True if the form of the contact was opened,
- False otherwise. To find out the error details, use ErrorInfo.
<Contact>: Contact variable Name of the Contact variable corresponding to the contact to display. This contact must exist in the database of contacts. New in version 17
Displaying a contact from a Contact variable (from Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactDisplay(<Contact>)
<Result>: Boolean - True if the form of the contact was opened,
- False otherwise. To find out the error details, use ErrorInfo.
<Contact>: Contact variable Name of the Contact variable corresponding to the contact to display. This contact must exist in the database of contacts.
Displaying a contact from a Contact variable (from Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactDisplay(<Contact>)
<Result>: Boolean - True if the form of the contact was opened,
- False otherwise. To find out the error details, use ErrorInfo.
<Contact>: Contact variable Name of the Contact variable corresponding to the contact to display. This contact must exist in the database of contacts.
Warning
From version 17 (69), this syntax is kept for backward compatibility.
Displaying a contact from a Contact variable (before Android 2.0, iPhone, iPad, Universal Windows) Hide the details
<Result> = ContactDisplay([<Contact identifier>])
<Result>: Boolean - True if the form of the contact was opened,
- False otherwise. To find out the error details, use ErrorInfo.
<Contact identifier>: Optional character string Identifier of contact to display. 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. Component : wdandroid.jar
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |