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 / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
The AlternativeText property is used to get and edit the alternative text of controls in a page.
Ejemplo
// Displays the product image from the Product data file
IMG_Product = Product.Image
IMG_Product.AlternativeText = Product.Name
Sintaxis

Finding out the alternative text associated with the control Ocultar los detalles

<Result> = <Control used>.AlternativeText
<Result>: Character string
Alternative text of control.
<Control used>: Control name
Name of the field for which the alternative text is searched. This control can be:
  • an Image control or a clickable image,
  • a Captcha control,
  • a Thumbnail control,
  • a Bar Code control,
  • a Chart control.

Modifying the alternative text associated with the control Ocultar los detalles

<Control used>.AlternativeText = <Alternative text>
<Control used>: Control name
Name of the control to be used. This control can be:
  • an Image control or a clickable image,
  • a Captcha control,
  • a Thumbnail control,
  • a Bar Code control,
  • a Chart control.
<Alternative text>: Character string
New alternative text of the control. This text is a simple text, without HTML tags.
Observaciones
  • This property is equivalent to the Caption property on Image, Clickable Image, Captcha, Thumbnail, Bar Code and Chart controls.
  • The alternative text of an image ("alt" attribute in HTML) indicates the text displayed by the browser when the image is not available. This text is also used instead of the image for the accessibility of pages.
  • The alternative text can also be defined in the editor in the description window of the control. For example:
    • in the "Help" tab for Image, Bar Code, and Thumbnail controls,
    • in the "Details" tab for Captcha controls,
    • in the "UI" tab for Chart controls.
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

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