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 Área de texto enriquecido
  • Overview of Rich Text Area control
  • Page control
  • Creating a Rich Text Area control
  • Creating the control
  • Typing a text in the Rich Text Area control
  • Inserting a link into the Rich Text Area control
  • Inserting an image into the Rich Text Area control
  • Inserting a font icon into the Rich Text Area control
  • Characteristics of Rich Text Area control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Overview of Rich Text Area control

Page control

The Rich Text Area control (also called RTA) is a Static Text control offering several layout possibilities:
  • Text formatting,
  • Insertion of images or links,
  • Insertion of icons coming from the font,
  • etc.
The Rich Text Area control can be used to format a text section in a site.
In edit, the HTML Rich Text Area control allows the developer to type the text to display (with all the formatting options).
At runtime, the HTML Rich Text Area control allows the user to see a text with formatting, images and links.
Creating a Rich Text Area control

Creating the control

To create a Rich Text Area control:
  1. Under the "Creación" pane, in the "Controles frecuentes" group, click on "Rich Text area".. XXXX
  2. Click where you want to create the control in the page. The control appears in the editor.

Typing a text in the Rich Text Area control

To type a text in the Rich Text Area control:
  1. Select the control.
  2. Click on the field: a yellow Banner appears around the field and the field switches to edit mode..
  3. In edit mode:
    • you have the ability to type your text directly. For example, you can paste text from a program such as Word: the formatting will be preserved..
    • the editor ribbon adapts to the field entry: all available editing options are displayed:
      These editing options are grouped into 4 categories:
      • Font: allows you to specify the font attributes of the selected text.
      • Paragraph: specify paragraph attributes (indents, bullets, lists, centering and justification)
      • CSS Style - Semantics: associate a CSS style and semantics with the selected text.
      • Fields: add fields to the Rich Text Area control:
        • an Image control,
        • a Link control,
        • an icon coming from the font,
        • another field: all fields in the "Creation" pane are available.

Inserting a link into the Rich Text Area control

To insert a link into the Rich Text Area control:
  1. Enter in edit in the Rich Text Area control.
  2. Select the text that must be changed into link.
  3. On the "Texto" tab, in the "Controles" group, click "Enlace". The link description window appears. This window is used to specify the link characteristics. The action associated with the link can be defined in the "General" tab.
Remarks:
  • When a link is inserted into the Rich Text Area control, this link corresponds to a Link control. This control is included in the Rich Text Area and it can be handled through programming via its name.
  • The list of controls found in the Rich Text Area control is displayed in the "General" tab of the control description.
  • To create a link in a Rich Text Area control, you also have the ability to Drag and Drop an existing Link control.

Inserting an image into the Rich Text Area control

To insert an image into the Rich Text Area control:
  1. Enter in edit in the Rich Text Area control.
  2. Position at the location where image will be inserted.
  3. On the "Texto" tab, in the "Controles" group, click "Imagen".
  4. The image description window appears. This window is used to specify the image characteristics. The "General" tab is used to:
    • specify the image to display,
    • specify the wrapping mode of image and the display mode of image.
Remarks:
  • When an image is inserted into the Rich Text Area control, this image corresponds to an Image control. This control is included in the Rich Text Area and it can be handled through programming via its name.
  • The list of controls found in the Rich Text Area control is displayed in the "General" tab of the control description.
  • To create an Imagein a Rich Text Area control, you also have the ability to Drag and Drop an existing Image control.

Inserting a font icon into the Rich Text Area control

Para añadir una Icon en un pie de foto HTML:
  1. Posicione el cursor del ratón en el texto HTML a modificar.
  2. Haga clic en el botón Íconos de fuente .
  3. La siguiente ventana se abre.
  4. Seleccione la familia de iconos en la lista de fuentes.
  5. Haga doble clic en la Icon solicitada o seleccione la Icon y valide la ventana. La Icon se añade en el título HTML en la posición del cursor.
Atención: La configuración actual del proyecto debe manipular cadenas Unicode en tiempo de ejecución. Esta opción está disponible en la ventana de configuración de description.
Characteristics of Rich Text Area control
The main characteristics of the Rich Text Area control can be accessed via the control description window. The description window of Rich Text Area control is used to:
  • edit the HTML source code of the control ("General" tab). This code can be modified in the editor directly. It is possible to:
    • Add HTML code. If possible, the result of the added HTML code will be viewed in the editor (only the animations are not supported). These additions are stored in the control.
    • Delete a section of HTML code. You have the ability to delete the HTML code corresponding to a link for example.
    • Fill the generated HTML code. You can for example add specific tags for displaying a help tooltip.
  • see the list of controls found in the area ("General" tab).
  • display the description window of the controls found in the area ("Edit" button in the "General" tab).
  • define the interface options ("UI" tab). You can define:
    • whether the Rich Text Area control can be stacked.
    • the semantics associated with the Rich Text Area control.
Remarks:
  • The description window of the controls found in the Rich Text Area control differs from the one of the control outside the rich text area. Indeed, some information (especially the position and the style) is defined in relation to the Rich Text Area control (and not in relation to the Link or Image control).
  • On a Static control found in a Rich Text Area control, you can define an anchor via the Static control description window ("General" tab, "Define as anchor").
Versión mínima requerida
  • Versión 19
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 17/07/2024

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