PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
AlternativeText (Property)
 
..AlternativeText is used to find out and modify the alternative text for the page controls.
Versiones 23 y posteriores
WEBDEV - Código Navegador This property is now available in browser code.
Nueva funcionalidad versión 23
WEBDEV - Código Navegador This property is now available in browser code.
WEBDEV - Código Navegador This property is now available in browser code.
Ejemplo
// Displays the product image from the Product 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>..AlternativeText
<Result>: Character string
Alternative text of control.
<Control>: Character string (with or without quotes)
Name of control whose alternative text is requested. 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>..AlternativeText = <Alternative Text>
<Control>: Character string (with or without quotes)
Name of control to use. 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 with quotes
New alternative text of the control. This text is a simple text, without HTML tags.
Observaciones
  • This property is equivalent to ..Caption applied to the Image controls, Clickable Image controls, Captcha controls, Thumbnail controls, Bar Code controls 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 the Image or Bar Code controls,
    • in the "Details" tab for the Captcha or Thumbnail controls,
    • in the "GUI" tab for the Chart controls.
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario