PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Special cases
  • Required application feature
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Displays the list of contacts found on the device (Android, iPhone or iPad, Universal Windows). The user has the ability to select one of the contacts.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 18
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Selects a contact and calls this contact
// (using the contact structure)
IF ContactSelect() = True THEN
tapiDialerCall(mContact.MobilePhone)
END
gCurrentContact is Contact
// Selects a contact and dials the phone numbers of this contact
// (using the contact variable)
IF ContactSelect(gCurrentContact) = True THEN
tel is Phone
FOR EACH tel OF gCurrentContact..PhoneNumber
IF tel..Type = phoneCellWork OR tel..Type = phoneWork THEN
tapiDialerCall(tel..Number)
RETURN
END
END
END
Syntax
Versions 17 and later
Caution: Syntax available from version 170069

Selecting a contact and filling the Contact variable (from Android 2.0, iPhone or iPad, Universal Windows) Hide the details

<Result> = ContactSelect(<Contact>)
<Result>: Boolean
  • True if a contact was selected,
  • False otherwise. To find out the error details, use ErrorInfo.
<Contact>: Contact variable
Name of Contact variable that will be filled with the characteristics of the selected contact.
New in version 17
Caution: Syntax available from version 170069

Selecting a contact and filling the Contact variable (from Android 2.0, iPhone or iPad, Universal Windows) Hide the details

<Result> = ContactSelect(<Contact>)
<Result>: Boolean
  • True if a contact was selected,
  • False otherwise. To find out the error details, use ErrorInfo.
<Contact>: Contact variable
Name of Contact variable that will be filled with the characteristics of the selected contact.
Caution: Syntax available from version 170069

Selecting a contact and filling the Contact variable (from Android 2.0, iPhone or iPad, Universal Windows) Hide the details

<Result> = ContactSelect(<Contact>)
<Result>: Boolean
  • True if a contact was selected,
  • False otherwise. To find out the error details, use ErrorInfo.
<Contact>: Contact variable
Name of Contact variable that will be filled with the characteristics of the selected contact.
Warning
From version 17 (69), this syntax is kept for backward compatibility.

Selecting a contact and filling the Contact variable (before Android 2.0, iPhone or iPad, Universal Windows) Hide the details

<Result> = ContactSelect()
<Result>: Boolean
  • True if a contact was selected,
  • False otherwise. To find out the error details, use ErrorInfo.
Remarks

Special cases

  • If the user selects a contact, the Contact structure or the Contact variable is automatically filled with the information relative to the selected contact.
  • ContactSelect is a locking function until the user selects a contacts or cancels the selection window.
  • ContactSelect can be used in the emulator. It cannot be used in the simulator.
Versions 22 and later
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
New in version 22
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
Universal Windows 10 App

Required application feature

The use of this function triggers the declaration of an application feature in the wizard for generating the application.
Required feature: Contacts
This feature allows the applications to access the contacts.
Components
Android wd230android.jar
Minimum required version
  • Version 16
This page is also available for…
Comments
Not working to select in Apple IOS 8.4 - 10.3.1?
This function is not working to select in IOS. The contact list comes up but you cannot select a contact.
riaanjvr
Jun. 23 2017