PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

  • Overview
  • How to proceed?
  • To create a Link control associated with an item containing an email address
  • RAD Page trick: Automatically creating the link associated with the email address
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
Link control associated with an item containing an email address
Overview
In a database, the email address of customers, suppliers, ... is one of the stored elements. Why not directly create the links to these addresses in your site?
WEBDEV allows you to easily create a Link control used to automatically send an email. For example, a Web user who is looking at a list of suppliers can directly send an email to one of the suppliers. When a click is performed on the Link control, the messaging software of Web user will be opened and the email address of recipient will be displayed.
How to proceed?

To create a Link control associated with an item containing an email address

To create a link control associated with an item containing an email address:
  1. On the "Creation" pane, in the "Usual controls" group, click "Link".
  2. Click the position where the control will be created in the page. The control appears in creation mode.
  3. Display the description window of control ("Description" from the popup menu).
  4. Display the "General" tab:
    • In the "Link action" section, select the type "Custom link (email, phone, etc.)".
    • In the "Address" section, select "email".
  5. Display the "Details" tab and select:
    • "Automatically prefix ..URL".
    • "..Value represents the link URL (compatibility with WEBDEV 1.5)".
  6. Display the "Link" tab and select the item linked to the control.
  7. Validate the control description.

RAD Page trick: Automatically creating the link associated with the email address

  1. In the data model editor, display the window of items for the relevant file ("Description of items" from the popup menu).
  2. Select the item containing an email address.
  3. Click "Parameters of control linked to the selected item (shared information)".
  4. The shared information management window appears.
  5. In "Type of control", select "Link". The description window of the Link control created by RAD is displayed.
  6. Display the "General" tab:
    • In the "Link action" section, select the type "Custom link (email, phone, etc.)".
    • In the "Address" section, select "email".
  7. Display the "Details" tab and select:
    • "Automatically prefix ..URL".
    • "..Value represents the link URL (compatibility with WEBDEV 1.5)".
  8. Display the "Link" tab and select the item linked to the control.
  9. Validate the control description and the window of data file items.
  10. Generate the analysis: on the "Analysis" pane, in the "Analysis" group, expand "Generation" and select "Generation".
When creating a RAD page, the Link control will be automatically created with all the necessary characteristics.
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment