PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of Contact variables
  • Reinitialization
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
The Contact type is used to define the advanced characteristics of a contact found in the phone book.
The characteristics of this contact can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Adds a phone number to the contact named "John Doe"
arrContact is array of Contact = ContactList()
IF NOT ErrorOccurred THEN
c is Contact
FOR EACH c OF arrContact
IF c.LastName ~= " Doe " _AND_ c.FirstName ~= " John "
tel is Phone
tel.Number = " 0467010203 "
tel.Type = phoneHome
Add(c.Phone, tel)
ContactModify(c)
RETURN
END
END
END
Remarks

Properties specific to the description of Contact variables

The following properties can be used to handle a phone contact:
Property nameType usedEffect
AddressArray of AddressList of postal addresses of contact.
DisplayedNameCharacter stringName of contact as it must be displayed on the phone (in the list of contacts or when receiving a call for example).
This name is automatically build from the information given for the contact, it cannot be modified. Typically, the displayed name corresponds to the concatenation of the first name and family name. If this information was not specified for the contact, the displayed name can correspond to the email address or to the phone number of the contact.
This property is read-only.
EmailArray of EmailAddressList of email addresses of contact.
EventArray of EventList of events associated with the contact.
FavoriteBoolean
  • True if the contact is found in the list of favorites,
  • False otherwise.
FirstNameCharacter stringFirst name of the contact.
IDIntegerContact identifier.
Caution: This property is read-only..
InstantMessagingArray of InstantMessagingList of addresses of instant messaging of the contact.
Universal Windows 10 App This property is not available.
LastNameCharacter stringFamily name of the contact.
NoteArray of character stringsList of notes associated with the contact.
iPhone/iPadIOS WidgetMac Catalyst Only one note can be associated with the contact.
PhoneArray of PhoneList of phone numbers of the contact.
SIPArray of SIPAddressList of SIP addresses of the contact.
iPhone/iPadIOS WidgetMac Catalyst This property is not available.
SourceArray of ContactSourceList of contact sources (Google, Exchange, Facebook accounts) to which the contact belongs.
iPhone/iPadIOS WidgetMac Catalyst The source cannot be modified. The contact can only belong to one source.
WebSiteArray of WebAddressList of Web addresses of contact.

Reinitialization

You can use VariableReset or ContactReset to reset the content of a Contact variable.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment