ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Contact functions (Lotus Notes or Android/iPhone/iPad)
  • Properties specific to the description of WebAddress 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 WebAddress type is used to define the advanced characteristics of a site address as well as its type (custom page, blog, ftp, etc.). The characteristics of this site address can be defined and modified by several WLanguage properties.
This type of variable is used by the Contact variables.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Opens a browser on the Web site of a contact
IF MyContacts.WebSite.Count > 0 THEN
ASite is WebAddress = MyContacts.WebSite[1]
BrowserRunApp(ASite.Address)
END
Remarks

Properties specific to the description of WebAddress variables

The following properties can be used to handle a site address:
Property nameType usedEffect
AddressCharacter stringWeb address.
LabelCharacter stringLabel for "custom" addresses (optional).
If the Type property is not set to the webCustom constant, the value of this property will be ignored.
TypeInteger constant
Android Type of Web address:
  • webOther: other type.
  • webWork: address of a professional site.
  • webFTP: address of a FTP site.
  • webCustom: custom type corresponding to the value of the Label property.
  • webPersonalSite: address of a personal site.
iPhone/iPadIOS WidgetMac Catalyst Type of Web address:
  • webCustom: custom type corresponding to the value of the Label property.
  • webPersonalSite: address of a personal site.
Universal Windows 10 App Type of Web address:
  • webOther: other type.

Reinitialization

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

Last update: 05/26/2022

Send a report | Local help