PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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 the customers, suppliers, ... is one of the a 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 the Web user will be opened and the email address of the 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. In the page editor, click (or select "Insert .. Control .. Link").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. Click the "Other actions" button.
  5. Select the "Send email to ..." action and validate the window for defining the actions.
  6. Display the "Details" tab and select:
    • "Prefix the URL automatically".
    • "Value represents the URL of the link".
  7. Display the "Link" tab and select the item linked to the control.
  8. 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. Display the "RAD" tab.
  4. Select the "Link" element in the "Control created by RAD" combo box. The description window of the Link control created by RAD is displayed.
  5. Click the "Other actions" button.
  6. Select the "Send email to ..." action and validate the window for defining the actions.
  7. Display the "Details" tab and make sure that the following options are checked:
    • "Prefix the URL automatically".
    • "Value represents the URL of the link".
  8. Validate the description of the control and of the file item window.
  9. Generate the analysis ("Analysis .. Generation").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 required version
  • Version 9
Comments
Click [Add] to post a comment