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 HTML
  • Overview
  • Displaying information in an HTML control
  • HTML control in a page (server code)
  • Getting the value of an HTML control
  • Control in a page
  • HTML control properties
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
Manipulating HTML controls programmatically
Overview
You can programmatically manipulate HTML controls. To do so, use the variable of the HTML control in the code. The variable of the HTML control corresponds to the name of the HTML control. The variable type is a character string.
Displaying information in an HTML control

HTML control in a page (server code)

To display information in an HTML control, simply assign a value.
For example:
  • Direct assignment:
    HTM_WebPage = "Name of Web user"

    let sMyPage = [
    	<a href="http://www.pcsoft.fr" target="_blank"> PC SOFT</a>
    	]
    HTM_Site = sMyPage
  • Assignment using a variable:
    HTM_WebPage = MyPage
  • Assignment using a calculation:
    HTM_Name = "Customer name: " + NoSpace(CUSTOMER.NAME) + TAB + NoSpace(CUSTOMER.FIRSTNAME)
You can also use the Value property.
Getting the value of an HTML control

Control in a page

To get the content of an HTML control (the user can enter values in the control):
  • Simply assign a value. For example:
    HTMLContent = HTM_HTMLControl
  • Use the Value property.
HTML control properties
For a complete list of WLanguage properties that can be used with HTML controls, see HTML control properties.
Ver también
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

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