PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Special cases
  • Required application feature
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Opens the form of a contact in edit mode in the device's native contacts application (Android, iPhone, iPad, Universal Windows).
Example
// 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

Opening a contact form in edit mode Hide the details

<Result> = ContactEdit(<Contact>)
<Result>: Boolean
  • True if the contact was modified,
  • False otherwise. If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo.
Universal Windows 10 App
  • True if the user interface is displayed,
  • False otherwise.
<Contact>: Contact variable
Name of the Contact variable corresponding to the contact whose form will be opened. This contact must exist in the database of contacts found on the device.
Remarks

Special cases

  • Universal Windows 10 App ContactEdit is a non-blocking function.
  • To update the Contact variable with the details of the contact that was previously edited, use ContactRead.
  • ContactEdit can be used in the emulator. It cannot be used in the simulator.
Universal Windows 10 App

Required application feature

When this function is used, an application feature is declared in the application generation wizard.
Required feature: Contacts
This feature allows the applications to access the contacts.
Business / UI classification: Business Logic
Component: wd280android.aar
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment