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 Zona multilínea
  • Overview
  • Manipulating Multiline Zone controls programmatically
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
Overview
WINDEV and WINDEV Mobile allow you to programmatically manipulate Multiline Zone controls:
  • A Multiline Zone control can be handled in the code using its name. This page presents the different operations available.
  • There are multiple WLanguage functions to handle the dynamic rows of a Multiline Zone control.
This help page explains how to programmatically manipulate Multiline Zone controls.
Manipulating Multiline Zone controls programmatically
To access the controls in a static row of a Multiline Zone control, simply use the following syntax:
<Champ Zone multiligne>.<Nom du champ>
For example:
ZM_General.LIB_N_de_xxx = StringBuild("N° de Bon de Commande: %1", COMMANDE.NumCommande)
To handle the elements in a dynamic row of a Multiline Zone control, you must use the index of the row to handle. The syntax is as follows:
<Champ Zone multiligne>[<Indice>].<Nom du champ> = <Valeur>
For example:
nRow is int = mlzAddLine(MZ_Products)
MZ_Products[nRow].STC_NameProdRow = stRow.sProdCap
MZ_Products[nRow].STC_NameProdRow.Color = LightBlue
MZ_Products[nRow].EDT_QtyRow = stRow.nQuantity
Remarks:
  • Index "1" corresponds to the first row of the Multiline Zone control. All rows are numbered (static rows and dynamic rows). If the Multiline Zone control contains static rows and dynamic rows, the number of static rows must be taken into account.
  • The dynamic rows of a Multiline Zone control can be handled using different WLanguage functions.
Versión mínima requerida
  • Versión 17
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 24/09/2024

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