AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Enlace
  • Overview
  • How to?
  • To create a Link control associated with an item containing an email address
  • RAD page trick: Automatic creation of the link associated with the email address
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Link control associated with an item containing an email address
Overview
In a database, the email address of customers, suppliers, and so on, is often one of the items stored. 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?

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 "Creación" tab, in the "Controles frecuentes" group, click "Enlace".
  2. Click where you want to create the control in the page. The control appears in the editor.
  3. Open the control description window (select "Description" in the context menu).
  4. Go to the "General" tab:
    • In the "Link action" section, select the type "Custom link (email, phone, etc.)".
    • In the "Address" section, select "email".
  5. Go to the "Details" tab and select:
    • "Agregar prefijo automáticamente a la propiedad URL".
    • "..Value representa la URL del enlace (compatibilidad con WEBDEV 1.5)".
  6. Go the "Binding" tab and select the item to be bound to the control.
  7. Validate the control description.

RAD page trick: Automatic creation of 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" in the context menu).
  2. Select the item containing an email address.
  3. Click "Parameters of the control bound 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. Go to the "General" tab:
    • In the "Link action" section, select the type "Custom link (email, phone, etc.)".
    • In the "Address" section, select "email".
  7. Go to the "Details" tab and select:
    • "Agregar prefijo automáticamente a la propiedad URL".
    • "..Value representa la URL del enlace (compatibilidad con WEBDEV 1.5)".
  8. Go the "Binding" tab and select the item to be bound to the control.
  9. Validate the control description and the window of data file items.
  10. Generate the analysis: under the "Análisis" pane, in the "Análisis" group, pull down "Generación" and select "Generate".
When creating a RAD page, the Link control will be automatically created with all the necessary characteristics.
Ver también
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local